- Seitenliste: zuletzt bearbeitete Seiten zuerst, „Zuletzt bearbeitet“ in deutscher Zeit (jede Revision und Veröffentlichung aktualisiert die Seite), Pfad und Datum sortierbar, 25/50/100 je Seite. Bisher stand eine neue Seite ohne Suche auf einer späteren Listenseite. - Kopfzeile und Fußbereich zeigen die freigegebene Lara-&-Felix- Wortmarke (Kompaktfassung aus Brand-UI-Kit 08) als zugeschnittene WebP-Ableitung mit festen Maßen; Ausgangszustand ≈ 80 px, kompakt 60 px, Smartphone 48 px. Mitgliederbereich unverändert. - Abschnittsgestaltung „Abstand oben“ (wie Abstand / gering / kein): Der erste Abschnitt kann direkt unter der Kopfzeile beginnen; der Abstand unten und alle anderen Abschnitte bleiben unverändert. Tests: Erwartung an die Wortmarke bewusst angepasst (brand-logo statt brand-lockup); neue Tests für Liste, Bearbeitungsdatum und Abstand oben. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
173 lines
4.0 KiB
CSS
173 lines
4.0 KiB
CSS
/*
|
|
* Abschnitte des Seiteneditors (Seite → Abschnitte → Slots → Widgets).
|
|
* Gestaltung nur über Aufzählungswerte; jede Fläche setzt die Bedeutungswerte neu (tokens.css).
|
|
*
|
|
* Responsive Regeln (siehe SectionLayouts::columns):
|
|
* - Abschnitt unter 40rem: alle Slots untereinander in Slot-Reihenfolge.
|
|
* - 40 bis 60rem: gleich breite Slots nebeneinander, ungleiche untereinander.
|
|
* - ab 60rem: Verhältnis der Rastereinheiten.
|
|
* Jeder Slot ist ein eigener Container; Widgets richten sich nach der Slotbreite, nicht nach dem Fenster.
|
|
*/
|
|
|
|
.page-sections {
|
|
display: block;
|
|
}
|
|
|
|
.page-section {
|
|
position: relative;
|
|
isolation: isolate;
|
|
background: var(--color-surface);
|
|
color: var(--color-text);
|
|
padding-block: var(--section-space);
|
|
--section-space: clamp(3rem, 2rem + 4vw, 6rem);
|
|
}
|
|
|
|
.section-space-compact {
|
|
--section-space: clamp(1.5rem, 1rem + 2vw, 3rem);
|
|
}
|
|
|
|
.section-space-large {
|
|
--section-space: clamp(4.5rem, 3rem + 5vw, 8rem);
|
|
}
|
|
|
|
/* Abweichender Abstand oben (Abschnittsgestaltung „Abstand oben“); der Abstand unten folgt weiter --section-space. */
|
|
.page-section.section-space-top-small {
|
|
padding-top: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
|
|
}
|
|
|
|
.page-section.section-space-top-none {
|
|
padding-top: 0;
|
|
}
|
|
|
|
/* Aufeinanderfolgende Abschnitte ohne eigene Fläche teilen sich den Abstand, statt ihn zu verdoppeln. */
|
|
.section-bg-default + .section-bg-default {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.section-divider-space {
|
|
margin-bottom: var(--section-space);
|
|
}
|
|
|
|
.page-section-inner {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: min(var(--section-width), 100% - 2 * var(--gutter));
|
|
margin-inline: auto;
|
|
container-type: inline-size;
|
|
container-name: section;
|
|
--section-width: var(--container-standard);
|
|
}
|
|
|
|
.section-width-narrow .page-section-inner {
|
|
--section-width: var(--container-narrow);
|
|
}
|
|
|
|
.section-width-wide .page-section-inner {
|
|
--section-width: var(--container-wide);
|
|
}
|
|
|
|
.section-width-full .page-section-inner {
|
|
--section-width: 100%;
|
|
}
|
|
|
|
.section-grid {
|
|
display: grid;
|
|
gap: var(--grid-gap);
|
|
grid-template-columns: minmax(0, 1fr);
|
|
align-items: start;
|
|
}
|
|
|
|
@container section (min-width: 40rem) {
|
|
.section-grid {
|
|
grid-template-columns: var(--section-cols-md, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@container section (min-width: 60rem) {
|
|
.section-grid {
|
|
grid-template-columns: var(--section-cols-lg, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
.section-slot {
|
|
min-width: 0;
|
|
container-type: inline-size;
|
|
container-name: slot;
|
|
}
|
|
|
|
/* Flächen */
|
|
.section-bg-light {
|
|
--color-surface: var(--color-surface-subtle);
|
|
}
|
|
|
|
/* Dunkle Fläche und Markenakzent: Bedeutungswerte aus .scope-dark / .scope-accent (tokens.css). */
|
|
.section-bg-dark,
|
|
.section-bg-accent {
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
/* Hintergrundbild mit Fokuspunkt (object-position) und Überlagerung für ausreichenden Kontrast. */
|
|
.section-bg-image {
|
|
--color-surface: var(--lf-navy);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.page-section-image {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: -2;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.section-bg-image::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.section-overlay-light::before {
|
|
background: rgb(255 255 255 / 84%);
|
|
}
|
|
|
|
.section-overlay-dark::before {
|
|
background: rgb(3 37 81 / 78%);
|
|
}
|
|
|
|
/* Ohne Überlagerung bleibt die Schrift dunkel; geeignet für Widgets mit eigener heller Fläche. */
|
|
.section-overlay-none {
|
|
--color-surface: transparent;
|
|
}
|
|
|
|
/* Trenner zwischen Abschnitten */
|
|
.section-divider {
|
|
width: min(var(--container-standard), 100% - 2 * var(--gutter));
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.section-divider-line {
|
|
padding-block: var(--space-5);
|
|
}
|
|
|
|
.section-divider-line span {
|
|
display: block;
|
|
border-top: 1px solid var(--lf-line);
|
|
}
|
|
|
|
.section-divider-accent {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding-block: var(--space-2);
|
|
}
|
|
|
|
.section-divider-accent span {
|
|
display: block;
|
|
width: 4.5rem;
|
|
height: 5px;
|
|
border-radius: 5px;
|
|
background: var(--lf-yellow);
|
|
}
|