Files
laraundfelix/resources/css/base.css
T
LarsandClaude Opus 5.5 33aaf64024
CI Feature / test (push) Successful in 36s
Deploy Test / test (push) Successful in 32s
Deploy Test / deploy (push) Successful in 32s
Stabilisiere den Website-Rahmen und veredele die zentralen Widgets.
Designiteration 1 auf Grundlage des Brand-UI-Kits (vorläufige Werte):
- Kopfzeile mit konstanter Box und zwei Zuständen (großzügig, kompakt
  beim Scrollen) ohne Layoutsprung; Navigation bricht nie um, sondern
  verkürzt erst den Kontozugang und schaltet dann in den Menümodus.
  Scrollbalken-Reserve, gemeinsames Breitenmodell (Lesebereich,
  Standard, Breit, Vollbreite), Wortmarke und Inhalt fluchten.
- Fokusfalle im Mobilmenü schließt auch den Weg von der
  Menü-Schaltfläche in den Inhalt.
- Fußbereich mit Grundzeile für rechtliche Links und grünem Bogen.
- Markenakzente (Unterstreichung, Strahlen, Bogen) als Komponenten.
- Hero: Varianten Markenbühne (randlos) und Editorial, zweite
  Schaltfläche, Bildausschnitt. Bild und Text: Bildformat und
  Ausschnitt. Karten: hervorgehobene erste Karte, ganze Karte klickbar.
  Programmkarten mit Markentafel. Alles additiv, ohne neue Version.

Testanpassungen: Die Website-Wortmarke trägt jetzt brand-lockup, die
erste Hero-Schaltfläche button-brand (beabsichtigte Gestaltung).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 06:43:13 +01:00

150 lines
2.7 KiB
CSS

/* Grundelemente und Typografie, gemeinsam für Website, Anmeldung und Mitgliederbereich. */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
background: var(--color-surface);
color: var(--color-text);
font-family: var(--font-reading);
font-size: 100%;
line-height: var(--leading-body);
-webkit-text-size-adjust: 100%;
/* Platz für den Scrollbalken immer freihalten: kurze und lange Seiten haben dieselbe Breite, nichts springt. */
scrollbar-gutter: stable;
/* Sprungziele und Fokus nicht unter der klebenden Kopfzeile verstecken. */
scroll-padding-top: calc(var(--header-height) + var(--space-4));
}
body {
margin: 0;
min-height: 100vh;
font-size: var(--text-body);
background: var(--color-surface);
color: var(--color-text);
}
img,
video,
svg {
max-width: 100%;
}
img {
height: auto;
}
a {
color: var(--color-link);
text-decoration-thickness: 1px;
text-underline-offset: 0.18em;
}
a:hover {
color: var(--color-link-hover);
text-decoration-thickness: 2px;
}
:focus-visible {
outline: 3px solid var(--color-focus);
outline-offset: 3px;
}
h1,
h2,
h3 {
font-family: var(--font-display);
color: var(--color-heading);
line-height: var(--leading-heading);
letter-spacing: -0.02em;
font-weight: 800;
overflow-wrap: break-word;
hyphens: auto;
}
h1 {
font-size: var(--text-h1);
margin: 0 0 var(--space-4);
}
h2 {
font-size: var(--text-h2);
margin: 0 0 var(--space-3);
}
h3 {
font-size: var(--text-h3);
margin: 0 0 var(--space-2);
font-weight: 700;
}
p {
margin: 0 0 var(--space-4);
}
.lede {
font-size: var(--text-lede);
color: var(--color-text);
max-width: var(--measure);
}
.prose {
max-width: var(--measure);
}
.prose > :last-child,
.lede:last-child {
margin-bottom: 0;
}
.prose ul,
.prose ol {
margin: 0 0 var(--space-4);
padding-left: 1.4rem;
}
.prose li > p {
margin: 0;
}
.visually-hidden {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
border: 0;
}
.skip {
position: absolute;
left: var(--space-4);
top: -4rem;
z-index: 100;
background: var(--lf-white);
color: var(--lf-navy);
padding: var(--space-2) var(--space-3);
border-radius: var(--radius-small);
}
.skip:focus {
top: var(--space-4);
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}
}