Fix spacing

This commit is contained in:
Quentin 2021-07-14 22:57:08 +02:00
parent 73af25ae48
commit 3ab9023b73
Signed by: quentin
GPG Key ID: A98E9B769E4FF428
1 changed files with 9 additions and 5 deletions

View File

@ -116,7 +116,7 @@ h2, h3, header > .meta, .sidelinks {
}
h3 {
padding-top: 5px;
margin-top: 5px;
}
h4, h5, h6 {
@ -140,15 +140,19 @@ article ul li::before {
}
p + p,
* + h2,
h2:not(:first-child) + p,
h2:not(:first-child) + .highlighter-rouge
h2:not(:first-child) + pre
* + h3,
h2 + p,
h2 + .highlighter-rouge,
h2 + pre
{
padding-top: 5rem;
}
p + p {
padding-top: 3rem;
}
a, a:hover, a:visited {
padding: 0rem 0.6rem;
margin: 0rem -0.6rem;