headings react to elements above with a extra margin

This commit is contained in:
2026-05-14 22:15:37 +02:00
parent 0125fc4ad5
commit e73e39bf67
+6 -6
View File
@@ -399,15 +399,15 @@
color: #efe6d7 !important; color: #efe6d7 !important;
} }
.westgate-wiki .wiki-article-prose p + :where(h1, h2), .westgate-wiki .wiki-article-prose :where(h1, h2):not(:first-child),
.westgate-wiki-compose .wiki-article-prose .ck.ck-editor__editable_inline.ck-content p + :where(h1, h2), .westgate-wiki-compose .wiki-article-prose .ck.ck-editor__editable_inline.ck-content :where(h1, h2):not(:first-child),
.westgate-wiki-compose .ck.ck-editor__editable_inline.wiki-article-prose.ck-content p + :where(h1, h2) { .westgate-wiki-compose .ck.ck-editor__editable_inline.wiki-article-prose.ck-content :where(h1, h2):not(:first-child) {
margin-block-start: 1.05em; margin-block-start: 1.05em;
} }
.westgate-wiki .wiki-article-prose p + :where(h3, h4), .westgate-wiki .wiki-article-prose :where(h3, h4):not(:first-child),
.westgate-wiki-compose .wiki-article-prose .ck.ck-editor__editable_inline.ck-content p + :where(h3, h4), .westgate-wiki-compose .wiki-article-prose .ck.ck-editor__editable_inline.ck-content :where(h3, h4):not(:first-child),
.westgate-wiki-compose .ck.ck-editor__editable_inline.wiki-article-prose.ck-content p + :where(h3, h4) { .westgate-wiki-compose .ck.ck-editor__editable_inline.wiki-article-prose.ck-content :where(h3, h4):not(:first-child) {
margin-block-start: 0.85em; margin-block-start: 0.85em;
} }