Interligne des corps en <div> : CSS compilée + div vides de fin masquées

Les <div></div> vides en fin de corps creusaient désormais un espace avant
les mots-clés : masquées via :has(~ …), sélecteur passé en @at-root
interpolé car Ruby Sass 3.7 supprime sinon silencieusement le :has().
This commit is contained in:
2026-10-12 14:31:21 +02:00
parent da2504cf2f
commit 69d07ec0c0
2 changed files with 13 additions and 0 deletions
+6
View File
@@ -2177,6 +2177,12 @@ footer {
line-height: 1.4; }
.article .main-content-text p:first-child {
margin-top: 0 !important; }
.article .main-content-text div:not([class]) {
line-height: 1.4; }
.article .main-content-text div:not([class]):empty {
height: 1rem; }
.article .main-content-text div:not([class]):empty:not(:has(~ div:not([class]):not(:empty))) {
display: none; }
.article .main-content-text strong, .article .main-content-text b {
font-weight: bold; }
.article .main-content-text em, .article .main-content-text i {