-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
97 lines (83 loc) · 1.62 KB
/
index.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
85
86
87
88
89
90
91
92
93
94
95
96
97
.clockgroup {
font-family: sans-serif;
display: grid;
height: 100vh;
place-items: center;
align-content: center;
justify-content: center;
align-items: center;
justify-items: stretch;
}
.base-timer {
position: relative;
width: 300px;
height: 300px;
margin-bottom: 30px;
}
.base-timer__svg {
transform: scaleX(-1);
}
.base-timer__circle {
fill: none;
stroke: none;
}
.base-timer__path-elapsed {
stroke-width: 7px;
stroke: grey;
}
.base-timer__path-remaining {
stroke-width: 7px;
stroke-linecap: round;
transform: rotate(90deg);
transform-origin: center;
transition: 1s linear all;
fill-rule: nonzero;
stroke: currentColor;
}
.base-timer__path-remaining.green {
color: rgb(65, 184, 131);
}
.base-timer__path-remaining.orange {
color: orange;
}
.base-timer__path-remaining.red {
color: red;
}
.base-timer__label {
position: absolute;
width: 300px;
height: 300px;
top: 0;
margin-bottom: 10;
display: flex;
align-items: center;
justify-content: center;
font-size: 48px;
}
#audioPlayer::-webkit-media-controls {
display: none !important;
}
.snowflake {
/* width: 8px;
height: 8px;
border-radius: 50%;
background-color: rgb(0, 0, 0);
animation: fall 10s linear; */
position: absolute;
width: 20px;
height: 20px;
left: 50%;
top: 0;
transform: translateX(-50%);
border-radius: 50%;
background-color: black;
}
@keyframes fall {
from {
transform: translateY(-100px);
}
to {
transform: translateY(100vh);
opacity: 0;
}
}