Nach der zweiten Sichtung auf luf-test: - Symbol neben dem Absatz in drei Stufen (symbol_size: medium, large, xlarge) statt nur einer. "large" bleibt unverändert, schon gespeicherte Seiten ändern sich nicht. Neu: symbol_align (top, center, bottom) legt die senkrechte Lage neben dem Absatz fest; Vorgabe oben. Bei wenig Platz steht das Symbol darüber, immer links ausgerichtet. - Merkmalszeile: ein bis zwölf statt zwei bis vier Merkmale und in jeder Platzbreite (1 bis 4 Einheiten). Die Spalten folgen weiter der Breite; ein einzelnes Merkmal wird nicht über die ganze Breite gezogen. Die Tests zur Anzahl und zur Platzbreite sind bewusst geändert: Die alten Grenzen (2 bis 4, nicht in 1 Einheit) waren eine Vorgabe, die das Raster nicht braucht. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
235 lines
5.4 KiB
CSS
235 lines
5.4 KiB
CSS
/*
|
|
* Markensymbole und Material-Tags (Brand-Kit 16_Lara-Felix-Kleingrafiken).
|
|
* Nur Tokens aus tokens.css. Symbole sind dekorativ (aria-hidden); Tags tragen immer Text.
|
|
*/
|
|
.brand-symbol {
|
|
display: inline-block;
|
|
inline-size: 1.5em;
|
|
block-size: 1.5em;
|
|
flex: none;
|
|
vertical-align: -0.3em;
|
|
overflow: visible;
|
|
}
|
|
|
|
.brand-tag {
|
|
--brand-tag-bg: var(--lf-tag-combo-bg);
|
|
--brand-tag-ink: var(--lf-tag-combo-ink);
|
|
--brand-tag-glyph: var(--brand-tag-ink);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4em;
|
|
max-inline-size: 100%;
|
|
padding: 0.28em 0.8em 0.28em 0.55em;
|
|
border-radius: var(--radius-pill);
|
|
background: var(--brand-tag-bg);
|
|
color: var(--brand-tag-ink);
|
|
font-size: 0.875rem;
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.brand-tag__glyph {
|
|
inline-size: 1.45em;
|
|
block-size: 1.45em;
|
|
flex: none;
|
|
color: var(--brand-tag-glyph);
|
|
}
|
|
|
|
.brand-tag--film {
|
|
--brand-tag-bg: var(--lf-tag-film-bg);
|
|
--brand-tag-ink: var(--lf-navy);
|
|
--brand-tag-glyph: var(--lf-tag-film-glyph);
|
|
}
|
|
|
|
.brand-tag--uebung {
|
|
--brand-tag-bg: var(--lf-tag-exercise-bg);
|
|
--brand-tag-ink: var(--lf-tag-exercise-ink);
|
|
}
|
|
|
|
.brand-tag--pdf {
|
|
--brand-tag-bg: var(--lf-tag-pdf-bg);
|
|
--brand-tag-ink: var(--lf-tag-pdf-ink);
|
|
--brand-tag-glyph: var(--lf-tag-pdf-glyph);
|
|
}
|
|
|
|
.brand-tag--paket {
|
|
--brand-tag-bg: var(--lf-tag-package-bg);
|
|
--brand-tag-ink: var(--lf-tag-package-ink);
|
|
}
|
|
|
|
/*
|
|
* Gestaltung im Text (CMS): Symbol vor der Überschrift, Pinselstrich, Merkmalszeile.
|
|
* Die Symbole haben feste Markenfarben mit viel Navy; auf dunklen Flächen stehen sie deshalb auf einer weißen Scheibe,
|
|
* sonst verschwänden die Linien.
|
|
*/
|
|
.lf-heading-symbol {
|
|
display: inline-block;
|
|
inline-size: 1.2em;
|
|
block-size: 1.2em;
|
|
margin-inline-end: 0.35em;
|
|
vertical-align: -0.2em;
|
|
overflow: visible;
|
|
}
|
|
|
|
.lf-heading-brush {
|
|
display: block;
|
|
inline-size: 7rem;
|
|
max-inline-size: 60%;
|
|
block-size: auto;
|
|
margin-block: 0.2rem var(--space-2);
|
|
}
|
|
|
|
.scope-dark .lf-heading-symbol,
|
|
.scope-accent .lf-heading-symbol,
|
|
.lf-bt--navy .lf-heading-symbol,
|
|
.lf-hero--editorial-solid .lf-heading-symbol,
|
|
.scope-dark .lf-features__symbol,
|
|
.scope-accent .lf-features__symbol {
|
|
box-sizing: content-box;
|
|
padding: 0.14em;
|
|
border-radius: 50%;
|
|
background: var(--lf-white);
|
|
}
|
|
|
|
.lf-features {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
|
|
gap: var(--space-5) var(--space-4);
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
/* Ein einzelnes Merkmal wird nicht über die ganze Breite gezogen. */
|
|
.lf-features--1 {
|
|
grid-template-columns: minmax(0, 28rem);
|
|
}
|
|
|
|
.lf-features__item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: var(--space-2);
|
|
min-inline-size: 0;
|
|
}
|
|
|
|
.lf-features__symbol {
|
|
inline-size: 3.5rem;
|
|
block-size: 3.5rem;
|
|
flex: none;
|
|
overflow: visible;
|
|
}
|
|
|
|
.lf-features__title {
|
|
margin: 0;
|
|
color: var(--color-heading);
|
|
font-size: var(--text-h3);
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.lf-features__text {
|
|
margin: 0;
|
|
max-inline-size: var(--measure);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.lf-features__more {
|
|
margin: var(--space-1) 0 0;
|
|
}
|
|
|
|
/* Link der Merkmale: kleiner Textlink (Vorgabe) oder Pille. */
|
|
.lf-features__link {
|
|
font-weight: 700;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.lf-features__link--text {
|
|
color: var(--color-link);
|
|
font-size: 0.9375rem;
|
|
text-decoration: underline;
|
|
text-underline-offset: 0.2em;
|
|
}
|
|
|
|
.lf-features__link--text:hover {
|
|
color: var(--color-link-hover, var(--color-link));
|
|
}
|
|
|
|
.lf-features__link--pill {
|
|
display: inline-block;
|
|
padding: 0.5em 1.1em;
|
|
border-radius: var(--radius-pill);
|
|
background: var(--color-action);
|
|
color: var(--color-action-text);
|
|
font-size: 0.9375rem;
|
|
line-height: 1.25;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.lf-features__link--pill:hover {
|
|
background: var(--color-action-hover);
|
|
}
|
|
|
|
.lf-features__link:focus-visible {
|
|
outline: 3px solid var(--color-focus, var(--lf-focus));
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
/*
|
|
* Symbol links neben dem ganzen Absatz (Einstellung „Größe des Symbols“ = Mittel, Groß, Sehr groß): Überschrift, Text
|
|
* und Schaltfläche stehen in einer Spalte rechts. Die senkrechte Lage (oben, Mitte, unten) wählt die Einstellung
|
|
* „Ausrichtung des Symbols“. Bei wenig Platz im Slot steht das Symbol darüber, links ausgerichtet.
|
|
*/
|
|
.lf-lead {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
.lf-lead--top { align-items: flex-start; }
|
|
.lf-lead--center { align-items: center; }
|
|
.lf-lead--bottom { align-items: flex-end; }
|
|
|
|
.lf-lead__symbol {
|
|
inline-size: clamp(4.5rem, 12cqi, 7rem);
|
|
block-size: clamp(4.5rem, 12cqi, 7rem);
|
|
flex: none;
|
|
overflow: visible;
|
|
}
|
|
|
|
.lf-lead--medium .lf-lead__symbol {
|
|
inline-size: 3.5rem;
|
|
block-size: 3.5rem;
|
|
}
|
|
|
|
.lf-lead--xlarge .lf-lead__symbol {
|
|
inline-size: clamp(6rem, 20cqi, 10rem);
|
|
block-size: clamp(6rem, 20cqi, 10rem);
|
|
}
|
|
|
|
.lf-lead__body {
|
|
flex: 1 1 0;
|
|
min-inline-size: 0;
|
|
}
|
|
|
|
.lf-lead__body > :first-child {
|
|
margin-block-start: 0;
|
|
}
|
|
|
|
@container slot (max-width: 24rem) {
|
|
.lf-lead {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
.scope-dark .lf-lead__symbol,
|
|
.scope-accent .lf-lead__symbol {
|
|
box-sizing: content-box;
|
|
padding: 0.5rem;
|
|
border-radius: 50%;
|
|
background: var(--lf-white);
|
|
}
|