File tree Expand file tree Collapse file tree 1 file changed +29
-7
lines changed
Expand file tree Collapse file tree 1 file changed +29
-7
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments