Lasse begrenzte Farbflächen bei kein Abstand ohne Lücke verschmelzen
CI Feature / test (push) Successful in 7m19s
Deploy Test / test (push) Successful in 6m48s
Deploy Test / deploy (push) Successful in 39s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-30 11:11:07 +01:00
1 parent 25b2149d43
commit 66f9275099
8 files changed
+67 -1

No files matched your search

+18
View File
@@ -164,6 +164,24 @@ .section-bg-width-section {
overflow: clip;
}
/*
* Flächen verschmelzen: Steht eine begrenzte Fläche mit „Abstand unten: kein Abstand“ direkt vor einer Fläche mit
* „Abstand oben: kein Abstand“ (oder umgekehrt), fällt der Außenabstand der begrenzten Fläche an dieser Naht weg und ihre
* Ecken sind dort eckig. So bilden die Flächen einen Block statt zweier Kacheln mit Lücke. Ein Trenner zwischen den
* Abschnitten, ein Abstand ungleich „kein Abstand“ oder ein Abschnitt ohne eigene Fläche behalten die Lücke.
*/
.section-bg-width-section.section-space-bottom-none:has(+ :is(.section-bg-light, .section-bg-dark, .section-bg-accent, .section-bg-palette, .section-bg-image).section-space-top-none) {
margin-bottom: 0;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
:is(.section-bg-light, .section-bg-dark, .section-bg-accent, .section-bg-palette, .section-bg-image).section-space-bottom-none + .section-bg-width-section.section-space-top-none {
margin-top: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.section-bg-width-section.section-width-narrow {
--section-width: var(--container-narrow);
}