Underline h2 headings and decrease the space around headings

This commit is contained in:
Tom Willemse 2023-07-24 16:28:32 -07:00
parent 4b7eb38ee7
commit 57b59e8535

View file

@ -61,7 +61,7 @@ figure {
}
h1, h2, h3, h4, h5, h6 {
margin: 3em 0 1em;
margin: 2rem 0 0.2rem;
}
h1 {
@ -70,6 +70,16 @@ h1 {
h2 {
font-size: 1.5rem;
border-bottom-width: 1px;
border-bottom-style: solid;
@media (prefers-color-scheme: dark) {
border-bottom-color: @dark-foreground;
}
@media (prefers-color-scheme: light) {
border-bottom-color: @light-foreground;
}
}
h3 {