Verkleinere die Zahlenkreise und setze Abstand zwischen die Punkte
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e904b500fb
commit
f11ff89f2d
4 files changed
+12
-2
No files matched your search
@@ -32,7 +32,7 @@ .text-list-symbol__mark > svg {
|
||||
|
||||
/* Nummern im Kreis: Die Zahl zählt der Browser (CSS-Zähler), die Liste bleibt für Hilfstechnik eine geordnete Liste. */
|
||||
ol.text-list-circle {
|
||||
--text-circle-size: 2rem;
|
||||
--text-circle-size: 1.75rem;
|
||||
counter-reset: text-circle;
|
||||
padding-inline-start: 0;
|
||||
}
|
||||
@@ -59,7 +59,7 @@ .text-list-circle > li::before {
|
||||
border-radius: 50%;
|
||||
background: var(--tone-bg, #032551);
|
||||
color: var(--tone-fg, #f4f6f8);
|
||||
font-size: 0.95rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
line-height: 1;
|
||||
@@ -87,3 +87,9 @@ .text-list-symbol > li > .text-list-symbol__mark {
|
||||
inline-size: var(--text-list-symbol-size);
|
||||
block-size: var(--text-list-symbol-size);
|
||||
}
|
||||
|
||||
/* Abstand zwischen zwei Punkten: Kreise und Symbole berühren sich nicht, auch wenn der Text nur eine Zeile hat. */
|
||||
.text-list-circle > li + li,
|
||||
.text-list-symbol > li + li {
|
||||
margin-block-start: var(--space-2, 0.5rem);
|
||||
}
|
||||
Reference in new issue
Block a user