fix: add margin on h2

pull/13/head
Nicolas Doby 2023-01-06 10:18:19 +01:00
parent 44050ace93
commit 1cc7144697
1 changed files with 8 additions and 0 deletions

View File

@ -103,6 +103,7 @@ main {
li { li {
line-height: 17px; line-height: 17px;
margin-bottom: 1rem;
a { a {
font-weight: bold; font-weight: bold;
@ -114,6 +115,9 @@ main {
} }
} }
} }
li:last-child {
margin-bottom: 0;
}
} }
.table-of-contents > ul ul { .table-of-contents > ul ul {
@ -128,6 +132,10 @@ main {
} }
} }
.table-of-contents > ul ul li+li {
}
.table-of-contents > ul ul li+li, .table-of-contents > ul ul li+li,
.table-of-contents > ul ul li:first-child { .table-of-contents > ul ul li:first-child {
margin-bottom: .5rem; margin-bottom: .5rem;