Skip to content

Commit

Permalink
Fix the colour of h4
Browse files Browse the repository at this point in the history
  • Loading branch information
xfq committed Mar 21, 2024
1 parent b6cbbc7 commit 3d68ca6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion local.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
--links-title-text: #005a9c;
--xref-bg: #fbf4e0;
--summary-text: saddlebrown;
--h4-color: #005a9c;
}

@media (prefers-color-scheme: dark) {
Expand All @@ -50,6 +51,7 @@
--links-title-text: rgb(110 194 255);
--xref-bg: rgb(53 42 11);
--summary-text: rgb(236 164 113);
--h4-color: rgb(110 194 255);
}
}

Expand Down Expand Up @@ -217,7 +219,7 @@ body { font-size: 80%; margin: 2em; }



h4 { color: #005a9c; margin-top: 2em; }
h4 { color: var(--h4-color); margin-top: 2em; }
.indent { margin-left: 3em; }

.links h4, .xref h4 {
Expand Down

0 comments on commit 3d68ca6

Please sign in to comment.