exclude figure, img from heading margins

This commit is contained in:
2026-05-14 22:33:48 +02:00
parent e73e39bf67
commit ae15873837
+6 -6
View File
@@ -399,15 +399,15 @@
color: #efe6d7 !important; color: #efe6d7 !important;
} }
.westgate-wiki .wiki-article-prose :where(h1, h2):not(:first-child), .westgate-wiki .wiki-article-prose :where(:not(figure, img)) ~ :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 .wiki-article-prose .ck.ck-editor__editable_inline.ck-content :where(:not(figure, img)) ~ :where(h1, h2),
.westgate-wiki-compose .ck.ck-editor__editable_inline.wiki-article-prose.ck-content :where(h1, h2):not(:first-child) { .westgate-wiki-compose .ck.ck-editor__editable_inline.wiki-article-prose.ck-content :where(:not(figure, img)) ~ :where(h1, h2) {
margin-block-start: 1.05em; margin-block-start: 1.05em;
} }
.westgate-wiki .wiki-article-prose :where(h3, h4):not(:first-child), .westgate-wiki .wiki-article-prose :where(:not(figure, img)) ~ :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 .wiki-article-prose .ck.ck-editor__editable_inline.ck-content :where(:not(figure, img)) ~ :where(h3, h4),
.westgate-wiki-compose .ck.ck-editor__editable_inline.wiki-article-prose.ck-content :where(h3, h4):not(:first-child) { .westgate-wiki-compose .ck.ck-editor__editable_inline.wiki-article-prose.ck-content :where(:not(figure, img)) ~ :where(h3, h4) {
margin-block-start: 0.85em; margin-block-start: 0.85em;
} }