Skip to content

Commit 3e2e654

Browse files
committed
Refactor styles in HTML export to improve padding for headings
1 parent 06764ff commit 3e2e654

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

exporters/html/html_export.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -575,18 +575,24 @@ def get_common_styles() -> str:
575575
576576
h1 {{
577577
color: var(--selex-dark-blue);
578-
border-bottom: 2px solid var(--selex-middle-blue);
579-
padding-bottom: 10px;
578+
padding: 20px 0 10px 0;
580579
}}
581580
582581
h2 {{
583582
color: var(--selex-dark-blue);
584583
border-bottom: 1px solid var(--selex-dark-grey);
585-
padding-bottom: 5px;
584+
padding: 15px 0 5px 0;
586585
}}
587586
588-
h3 {{ color: var(--selex-dark-blue); }}
589-
h4 {{ color: var(--selex-dark-blue); }}
587+
h3 {{
588+
color: var(--selex-dark-blue);
589+
padding: 12px 0 8px 0;
590+
}}
591+
592+
h4 {{
593+
color: var(--selex-dark-blue);
594+
padding: 10px 0 6px 0;
595+
}}
590596
591597
/* Markdown content styling */
592598
table {{

0 commit comments

Comments
 (0)