-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
107 lines (92 loc) · 1.63 KB
/
style.css
File metadata and controls
107 lines (92 loc) · 1.63 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #1d1d1d;
color: #fff;
}
.timer-wrapper {
max-width: 500px;
text-align: center;
height: 100vh;
display: flex;
flex-direction: column;
margin: 50px auto;
}
.timer {
width: 400px;
height: 400px;
margin: 0 auto;
position: relative;
}
.timer-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.base-timer__svg {
width: 400px;
height: 400px;
transform: scaleX(-1);
}
.base-timer__circle {
fill: none;
stroke: none;
}
.base-timer__path-remaining {
stroke-width: 3px;
stroke-linecap: round;
transform: rotate(90deg);
transform-origin: center;
transition: 1s linear all;
fill-rule: nonzero;
stroke: #d3ac5f;
}
.timer-content h1 {
font-size: 100px;
font-weight: lighter;
line-height: 1;
margin-bottom: 20px;
}
.timer-content h3 {
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
color: #a5a5a5;
font-weight: normal;
font-size: 30px;
}
.timer-content h3 img {
max-width: 20px;
}
.timer-buttons {
margin-top: 50px;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.timer-buttons button {
padding: 20px 60px;
margin: auto 5px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
font-size: 20px;
color: #fff;
cursor: pointer;
transition: 0.3s;
}
.timer-buttons button.pause {
background: rgba(211, 172, 95, 0.4);
border: 1px solid #d3ac5f;
}
.timer-buttons button:hover {
background: #2b2b2b;
}
.timer-buttons button.pause:hover {
background: #d3ac5f;
}