-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
43 lines (42 loc) · 819 Bytes
/
style.css
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
40
41
42
43
.list-counter-circle {
list-style: none;
counter-reset: list;
margin: 0;
padding: 0;
overflow: hidden;
}
.list-counter-circle > li {
position: relative;
display: block;
height: 2rem;
line-height: 2rem;
margin-left: 1.75rem;
margin-bottom: 0.25rem;
padding-left: 1rem;
padding-right: 0.5rem;
color: #fff;
background: #7b1fa2;
white-space: nowrap;
border-radius: 0.25rem;
}
.list-counter-circle > li:last-child {
margin-bottom: 0;
}
.list-counter-circle > li::before {
content: counter(list);
counter-increment: list;
position: absolute;
left: -2rem;
top: -0.25rem;
bottom: -0.25rem;
width: 2.5rem;
line-height: 2rem;
border-radius: 1.25rem;
border: 0.25rem solid #fff;
text-align: center;
color: #fff;
background: #7b1fa2;
}
.no-active {
display: none;
}