Adjust heading margins

This commit is contained in:
Helen Chong 2024-05-20 11:46:12 +08:00
parent 3c411191c9
commit 6166be410f
5 changed files with 7 additions and 7 deletions

View File

@ -36,8 +36,8 @@ h3, .h3 {
font-size: var(--sz-h3); font-size: var(--sz-h3);
} }
h2:has(+ *[class]), .h2:has(+ *[class]), h2:has(+ *[class]:not(.heading-anchor)), .h2:has(+ *[class]),
h3:has(+ *[class]), .h3:has(+ *[class]) { h3:has(+ *[class]:not(.heading-anchor)), .h3:has(+ *[class]) {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }

View File

@ -29,7 +29,7 @@
} }
:not(.heading-wrapper) + .heading-wrapper { :not(.heading-wrapper) + .heading-wrapper {
margin-top: 1.7em; margin-top: 1.8em;
} }
/* BLOCKQUOTES With CITATIONS */ /* BLOCKQUOTES With CITATIONS */

View File

@ -4,7 +4,7 @@
<subtitle>Leilukin&#39;s personal website.</subtitle> <subtitle>Leilukin&#39;s personal website.</subtitle>
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/> <link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
<link href="https://leilukin.neocities.org"/> <link href="https://leilukin.neocities.org"/>
<updated>2024-05-19T14:33:20Z</updated> <updated>2024-05-20T03:44:52Z</updated>
<id>https://leilukin.neocities.org</id> <id>https://leilukin.neocities.org</id>
<author> <author>
<name>Leilukin</name> <name>Leilukin</name>

View File

@ -36,8 +36,8 @@ h3, .h3 {
font-size: var(--sz-h3); font-size: var(--sz-h3);
} }
h2:has(+ *[class]), .h2:has(+ *[class]), h2:has(+ *[class]:not(.heading-anchor)), .h2:has(+ *[class]),
h3:has(+ *[class]), .h3:has(+ *[class]) { h3:has(+ *[class]:not(.heading-anchor)), .h3:has(+ *[class]) {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }

View File

@ -29,7 +29,7 @@
} }
:not(.heading-wrapper) + .heading-wrapper { :not(.heading-wrapper) + .heading-wrapper {
margin-top: 1.7em; margin-top: 1.8em;
} }
/* BLOCKQUOTES With CITATIONS */ /* BLOCKQUOTES With CITATIONS */