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

View file

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