-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
88 lines (76 loc) · 1.39 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.app {
height: 100vh;
display: flex;
justify-content: space-evenly;
align-items: center;
}
.time-select, .sound-picker, .player-container {
height: 80%;
flex: 1;
display:flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
}
.player-container {
position: relative;
}
.player-container svg {
position: absolute;
height: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-90deg);
pointer-events: none;
}
.time-display {
position: absolute;
bottom: 10%;
color: #fff;
font-size: 50px;
}
video {
/* display: none; */
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: -2;
}
.time-select button, .sound-picker button {
color: #fff;
width: 30%;
height: 10%;
background: none;
border: 2px solid #fff;
cursor: pointer;
border-radius: 5px;
font-size: 20px;
transition: all 0.5s ease;
outline: none;
}
.time-select button:hover {
color: #000;
background: white;
}
.sound-picker button {
border: none;
height: 120px;
width: 120px;
border-radius: 50%;
padding: 30px;
}
.sound-picker button:nth-child(1) {
background: #4972a1
}
.sound-picker button:nth-child(2) {
background: #a14f49;
}
.sound-picker img {
width: 100%;
}