blob: c6fbf539db4908581612562027d57c6a48ad724b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
.list {
margin: 0;
::marker {
color: var(--color-primary-dark);
}
& & {
margin-top: var(--spacing-2xs);
}
&__item {
&:not(:last-child) {
margin-bottom: var(--spacing-2xs);
}
}
&--ordered {
padding: 0;
counter-reset: li;
list-style-type: none;
}
&--ordered &__item {
display: table;
counter-increment: li;
&::before {
content: counters(li, ".") ". ";
display: table-cell;
padding-right: var(--spacing-2xs);
color: var(--color-secondary);
}
}
&--unordered {
padding: 0 0 0 var(--spacing-sm);
}
}
|