-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
59 lines (50 loc) · 1.03 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@import url("https://use.typekit.net/sfm4zwf.css");
#site-name {
font-family: rodchenko-cond, sans-serif;
font-weight: 700;
font-style: normal;
}
input[type="checkbox"][id^="myCheckbox"] {
display: none;
}
label {
position: relative;
cursor: pointer;
width: 100%;
height: 100%;
display: block;
}
label:before {
background-color: white;
color: white;
content: " ";
display: block;
border-radius: 50%;
border: 1px solid grey;
position: absolute;
top: -5px;
left: -5px;
width: 25px;
height: 25px;
text-align: center;
line-height: 28px;
transition-duration: 0.4s;
transform: scale(0);
}
label img {
transition-duration: 0.2s;
transform-origin: 50% 50%;
}
:checked + label {
border-color: #ddd;
}
:checked + label:before {
content: "✓";
background-color: #485fc7;
transform: scale(1);
}
:checked + label img {
transform: scale(0.9);
/* box-shadow: 0 0 5px #333; */
z-index: -1;
}