-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
123 lines (107 loc) · 1.83 KB
/
Copy pathstyles.css
File metadata and controls
123 lines (107 loc) · 1.83 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
@import url(https://fonts.googleapis.com/css?family=Shadows+Into+Light);
@-webkit-keyframes throb {
0% {
-webkit-transform: scale(1);
}
35% {
-webkit-transform: scale(1.2);
}
85% {
-webkit-transform: scale(1);
}
}
html {
display: table;
width: 100%;
height: 100vmin;
table-layout: fixed;
}
body {
display: table-cell;
vertical-align: middle;
font-family: "Shadows Into Light";
color: #111;
}
.wrapper {
width: 90vmin;
height: 90vmin;
position: relative;
margin: 5vmin auto;
}
div.throb {
-webkit-animation: throb 0.5s infinite;
animation: throb 0.5s infinite;
animation-delay: 0.8s;
}
input[type="checkbox"] {
display: none;
}
input[type="checkbox"] + label {
width: 30vmin;
height: 30vmin;
line-height: 30vmin;
display: inline-block;
position: absolute;
font-size: 30vmin;
text-align: center;
transition: all 1s ease;
}
label {
text-shadow: 3vmin 3vmin 10vmin rgba(0, 0, 0, 0.5);
}
label:hover {
color: #c32a2a;
cursor: pointer;
}
#ck1 + label,
#ck2 + label {
border-radius: 50%;
top: 0;
}
#ck1:checked + label,
#ck2:checked + label,
#ck3:checked + label {
background: #c32a2a;
font-size: 0;
transition: all 1s ease;
}
#ck1 + label {
left: 0;
}
#ck2 + label {
right: 10vmin;
}
#ck1:checked + label,
#ck2:checked + label {
width: 54vmin;
height: 54vmin;
border-radius: 50%;
line-height: 54vmin;
}
#ck2:checked + label {
right: 0;
}
#ck3 + label {
bottom: 5vmin;
left: 50%;
margin: 0 -9vmin;
background-color: white;
}
#ck3:checked + label {
width: 49.5vmin;
height: 49.5vmin;
bottom: 17.28vmin;
left: 29.16vmin;
transform: rotate(45deg);
line-height: 4.86vmin;
}
span {
display: inline-block;
text-align: left;
position: absolute;
bottom: 0vmin;
left: 0vmin;
margin-bottom: -3vmin;
font-size: 6vmin;
color: #999;
}