summaryrefslogtreecommitdiff
path: root/static/css
diff options
context:
space:
mode:
authorRochDLY <roch.delannay@gmail.com>2024-06-28 15:17:48 +0200
committerRochDLY <roch.delannay@gmail.com>2024-06-28 15:17:48 +0200
commit335bf4cc4c391ea7f7bc6fc73e9ed5ece09d1cd5 (patch)
tree8bcd818f8bc45702417e7edd68b4250bf8e6c127 /static/css
parentcd180ae4ed2935b313ceb4296732188c6c05f0f8 (diff)
downloadpandoc-site-335bf4cc4c391ea7f7bc6fc73e9ed5ece09d1cd5.tar.gz
pandoc-site-335bf4cc4c391ea7f7bc6fc73e9ed5ece09d1cd5.tar.bz2
pandoc-site-335bf4cc4c391ea7f7bc6fc73e9ed5ece09d1cd5.zip
styles: correction des sélecteurs pour les paragraphes qui suivent les tires
Diffstat (limited to 'static/css')
-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;
}