Skip to content

Commit 24a32d0

Browse files
chpollinclaude
andcommitted
style: nummerierte Listen mit KUG-Blau-Kreisen auf Info-Seiten
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6fb7b72 commit 24a32d0

File tree

1 file changed

+29
-7
lines changed

1 file changed

+29
-7
lines changed

docs/css/pages.css

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,41 @@
119119
color: var(--color-text-primary);
120120
}
121121

122-
/* Pipeline ordered list */
123-
.page__pipeline {
124-
list-style: decimal;
125-
padding-left: var(--space-6);
122+
/* Ordered lists in sections */
123+
.page__section ol {
124+
list-style: none;
125+
counter-reset: item;
126+
padding-left: 0;
126127
margin-top: var(--space-3);
127128
}
128129

129-
.page__pipeline li {
130-
margin-bottom: var(--space-3);
130+
.page__section ol li {
131+
counter-increment: item;
132+
margin-bottom: var(--space-4);
133+
padding-left: var(--space-8);
134+
position: relative;
131135
color: var(--color-text-secondary);
132136
}
133137

134-
.page__pipeline li strong {
138+
.page__section ol li::before {
139+
content: counter(item);
140+
position: absolute;
141+
left: 0;
142+
top: 0.1em;
143+
width: 1.6em;
144+
height: 1.6em;
145+
background: var(--color-kug-blau);
146+
color: var(--color-text-inverse);
147+
font-size: var(--text-sm);
148+
font-weight: var(--weight-semibold);
149+
border-radius: 50%;
150+
display: flex;
151+
align-items: center;
152+
justify-content: center;
153+
line-height: 1;
154+
}
155+
156+
.page__section ol li strong {
135157
color: var(--color-text-primary);
136158
}
137159

0 commit comments

Comments
 (0)