Underline h2 headings and decrease the space around headings
This commit is contained in:
parent
4b7eb38ee7
commit
57b59e8535
1 changed files with 11 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue