Debian Codegraph @

docs/src/scss/extensions/_steps.scss

raw
1 .md-typeset div.steps > ol {
2 counter-reset: item;
3
4 > li {
5 position: relative;
6 padding-left: 1em;
7 list-style: none;
8
9 &::before {
10 position: absolute;
11 top: 0;
12 left: 0;
13 z-index: -1;
14 display: block;
15 width: 1.75em;
16 height: 1.75em;
17 margin-left: -1.25em;
18 color: var(--md-steps-fg-color);
19 font-weight: 600;
20 font-size: 0.9em;
21 text-align: center;
22 background-color: var(--md-steps-bg-color);
23 border: 1px solid var(--md-steps-border-color);
24 border-radius: 100px;
25 content: counter(item);
26 counter-increment: item;
27 }
28
29 &::after {
30 position: absolute;
31 top: 0;
32 bottom: 0;
33 left: -0.36em;
34 display: block;
35 width: 1px;
36 margin-top: 2em;
37 border-left: 1px solid var(--md-steps-border-color);
38 content: '';
39 }
40 }
41 }