diff --git a/src/less/include/common.less b/src/less/include/common.less index f2fe9cb..1110f2b 100644 --- a/src/less/include/common.less +++ b/src/less/include/common.less @@ -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 {