-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (60 loc) · 1.2 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
71
72
73
74
75
76
77
78
79
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-color: #121214;
--base-color: 194;
--bg-primary-light: hsla(var(--base-color), 100%, 63%, 0.13);
--primary-color: hsl(var(--base-color), 100%, 63%);
--text-color: #FFFFFF;
font-size: 62.5%;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
font-family: 'Roboto', sans-serif;
display: grid;
min-height: 100vh;
}
button {
background-color: transparent;
border: none;
cursor: pointer;
}
.hide {
display: none;
}
.play svg path,
.pause svg path,
.sound-on svg path {
fill: var(--primary-color);
}
button svg {
width: clamp(3.2rem, 2rem + 12vw, 6.4rem);
}
main {
align-self: end;
justify-self: center;
}
#timer {
font-size: clamp(4rem, 4rem + 10vw, 8.8rem);
display: flex;
margin-bottom: 1.6rem;
}
#controls {
background-color: var(--bg-primary-light);
display: flex;
align-items: center;
justify-content: center;
gap: 3.2rem;
border-radius: 9999px;
width: clamp(10rem, 10rem + 30vw, 22.8rem);
height: clamp(8rem, 5rem + 10vw, 10.8rem)
}
footer {
align-self: end;
justify-self: end;
padding: 0 4rem 3.2rem 0;
}