Skip to content

Commit

Permalink
Add styles for level 6 headings
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeSCahill committed Nov 12, 2024
1 parent b152233 commit 41c58f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/css/dark-mode.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ html[data-theme=dark] {
--scrollbar_hover-thumb-color: var(--color-gray-30);
--body-font-color: var(--color-white);
--button-font-color: #181818;
--alt-heading-font-weight: 500;
--alt-heading-font-weight: bold;
--sticky-table-header-background: #545454;
--tooltip-background: white;
--tooltip-font-color: #181818;
Expand Down
7 changes: 6 additions & 1 deletion src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ html {
}

.admonitionblock .content a {
white-space: normal; /* Allows links to wrap within admonition blocks */
white-space: normal !important; /* Allows links to wrap within admonition blocks */
}
}

Expand Down Expand Up @@ -123,6 +123,11 @@ html {
font-weight: var(--alt-heading-font-weight);
}

.doc h6:not(.discrete) {
font-size: calc(16 / var(--rem-base) * 1rem);
font-weight: var(--alt-heading-font-weight);
}

.doc h1 .anchor,
.doc h2 .anchor,
.doc h3 .anchor,
Expand Down
2 changes: 1 addition & 1 deletion src/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ html[data-theme=dark] {
--body-font-family-bold: "Inter SemiBold", "Calibre Regular", "Open Sans", arial, helvetica, sans-serif;
--monospace-font-family: "IBM Plex Mono", "Courier Prime", courier, monospace;
--monospace-font-weight-bold: 500;
--alt-heading-font-weight: 500;
--alt-heading-font-weight: bold;
/* nav */
--nav-line-height: 1.3;
/* admonitions */
Expand Down

0 comments on commit 41c58f8

Please sign in to comment.