-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
84 lines (71 loc) · 1.16 KB
/
main.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
body{
counter-reset: achievement;
}
#achievements-container{
width: 300px;
margin: 20px auto 0 auto;
}
.achievement:nth-child(n+100){
display: none;
}
.achievement .achievement-number{
position: relative;
font-family: sans-serif;
font-weight: bold;
font-size: 18px;
margin: -32px 0 0 76px;
color: #b09eb7;
z-index: 3;
}
.achievement p:before{
counter-increment: achievement;
content: counter(achievement);
}
.achievement .achievement-image{
display: block;
position: absolute;
width: 62px;
height: 48px;
margin: 20px 19px 0 14px;
}
.blue div{
border-color: #89b8cf;
background: #f3f8fa;
}
.blue > .achievement-number{
color: #89b8cf;
}
.purple div{
border-color: #b09eb7;
background: #f7f5f8
}
.purple > .achievement-number{
color: #b09eb7;
}
.achievement{
width: 100px;
height: 100px;
margin: 15px;
display: inline-block;
}
.main {
width: 90px;
border-radius: 50%;
height: 90px;
border: 5px solid;
}
.background {
border-radius: 50%;
width: 100%;
height: 100%;
position: relative;
z-index: 2;
}
.small {
width: 35px;
border-radius: 50%;
height: 35px;
border: 5px solid;
margin-top: -44px;
margin-left: 56px;
}