-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
70 lines (60 loc) · 1.18 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
60
61
62
63
64
65
66
67
68
69
70
:root {
--color-status: #4D4D4D;
--font-size-minutes: 5rem;
--progress: 100;
}
* {
margin: 0;
padding: 0;
}
body {
align-items: center;
background-color: #FFF;
color: #4D4D4D;
display: flex;
font-family: "Roboto", "Arial", sans-serif;
font-size: 1rem;
font-weight: 300;
flex-direction: column;
justify-content: center;
min-height: 100vh;
}
.time {
color: var(--color-status);
font-size: 5rem;
font-weight: 100;
}
#minutes {
font-size: var(--font-size-minutes);
margin-right: .15em;
transition: font-size 1s;
}
.circular-progress-container {
position: fixed;
height: 300px;
width: 300px;
}
.progress {
fill: none;
stroke: var(--color-status);
stroke-dasharray: var(--progress), 100;
stroke-linecap: round;
stroke-width: 1;
}
#circular-progress-bottom {
fill: none;
stroke: #DDD;
stroke-dasharray: 100, 100;
stroke-linecap: round;
stroke-width: .5;
}
#circular-progress-background {
stroke: #FFF;
}
#circular-progress {
animation: progress-color 1s linear 0s infinite alternate;
}
@keyframes progress-color {
from { opacity: 1; }
to { opacity: .5; }
}