summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/css/styles.css13
1 files changed, 10 insertions, 3 deletions
diff --git a/static/css/styles.css b/static/css/styles.css
index bff28f2..e8c894b 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -45,7 +45,6 @@ body {
grid-template-columns: 1fr 2fr;
font-family: 'TeX Gyre Heros';
font-size: 1em;
- margin-top: 0;
}
footer {
@@ -80,7 +79,11 @@ img {
line-height: 1.2;
}
-.content h2 h3 h4 h5 h6 {
+.content h2,
+.content h3,
+.content h4,
+.content h5,
+.content h6 {
margin: 0;
}
@@ -88,7 +91,11 @@ img {
font-size: 2.5em;
}
-.content h2 > p h3 > p h4 > p h5 > p h6 > p {
+.content h2 + p,
+.content h3 + p,
+.content h4 + p,
+.content h5 + p,
+.content h6 + p {
margin-top: 0;
}