-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
93 lines (69 loc) · 1.28 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root {
--bg-color: #121214;
--bg-controls: rgba(66, 211, 255, 0.13);
--primary-color: #42D3FF;
--text-color: #fff;
font-family: 'Roboto', sans-serif;
font-size: 62.5%;
font-weight: bold;
}
body {
background-color: var(--bg-color);
font-size: 1.6rem;
color: var(--text-color);
min-height: 100vh;
display:grid;
}
button {
background-color: transparent;
border: none;
cursor: pointer;
}
button svg {
width: clamp(3.2rem, 2rem + 12vw, 6.4rem);
}
main {
/* min-height: 100vh;
display:grid;
place-content: center; */
justify-self:center;
align-self: end;
}
footer {
/* position: absolute;
right: 0; */
justify-self: end;
align-self: end;
}
.hide {
display: none;
}
.timer {
font-size: clamp(4rem, 4rem + 10vw, 8.8rem);
line-height: 10.3rem;
text-align: center;
text-transform: uppercase;
display:flex;
margin-bottom: 1.6rem;
}
.controls {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 2.2rem 4rem;
gap: 3.2rem;
width: clamp(10rem, 10rem + 30vw, 22.8rem);
background: var(--bg-controls);
border-radius: 999.9rem; /* BORDER-ÍLL*/
}
.sound-on,
.sound-off {
margin-right: 4rem;
margin-bottom: 3.2rem;
}