-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
105 lines (88 loc) · 1.75 KB
/
style.css
File metadata and controls
105 lines (88 loc) · 1.75 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: hsla(0, 0%, 100%, 1);
--second-color: hsla(240, 6%, 21%, 1);
--tertiary-color: hsla(240, 9%, 89%, 1);
--quaternary-color: hsla(194, 97%, 31%, 1);
--quinary-color: rgb(196, 196, 214);
font-size: clamp(40%, 1% + 2vw, 62.5%);
}
.sr-only {
width: .1rem;
height: .1rem;
position: absolute;
overflow: hidden;
margin: -.1rem;
padding: 0;
border: 0;
appearance: none;
}
body {
background-color: var(--primary-color);
color: var(--second-color);
display: grid;
height: 100vh;
width: 100vw;
place-content: center;
font-family: 'Roboto', sans-serif;
}
.flex {
display: flex;
}
#app {
display: flex;
gap: 19.2rem;
justify-items: center;
}
.timer-box {
text-align: center;
display: grid;
align-content: center;
}
#timer {
width: 100%;
display: flex;
font-size: 12.6rem;
font-weight: 500;
color: var(--second-color);
}
#controls {
gap: 2rem;
justify-content: center;
}
button {
background-color: transparent;
border: 0;
color: var(--second-color);
cursor: pointer;
font-size: 6.5rem;
}
.music-box {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3.2rem;
}
.music-box div {
padding: 5rem 4rem;
font-size: 4.8rem;
background: var(--tertiary-color);
border-radius: 2.4rem;
cursor: pointer;
transition: 0.5s background
}
.music-box div:not(.selected):hover {
background: var(--quinary-color)
}
.music-box .selected {
background: var(--quaternary-color);
color: var(--primary-color);
}
/* controls */
.running .ph-play-circle,
html:not(.running) .ph-pause-circle {
display: none;
}