-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
112 lines (98 loc) · 2.01 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
body, html {
height: 100vh;
overflow: visible;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.main {
height: 100vh;
display: flex;
justify-content: space-evenly;
align-items: center;
}
.time-select, .sound-selection, .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%);
pointer-events: none;
}
.time-display {
position: absolute;
bottom: 10%;
color: white;
text-shadow: 1px 1px black;
font-size: 50px;
font-family: Arial, sans-serif;
}
video {
position: fixed;
top: 0%;
left: 0%;
z-index: -1;
margin: 0 auto;
min-width: 100%;
min-height: 100%;
}
.time-select button, .sound-selection button {
color: black;
width: 40%;
height: 10%;
background: white;
border: 4px solid white;
font-family: Arial, sans-serif;
font-size: 1.2em;
font-weight: bold;
cursor: pointer;
border-radius: 10px;
opacity: 0.7;
}
.time-select button:hover {
color: white;
background: none;
}
.sound-selection button:hover {
color: white;
background: none;
}
@media only screen and (max-device-width: 480px) {
.player-container svg {
position: absolute;
height: 25%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
}
img.play {
height: 12%;
}
.time-select button, .sound-selection button {
color: black;
width: 50%;
height: 10%;
background: white;
border: 4px solid white;
font-family: Arial, sans-serif;
font-size: 12px;
font-weight: bold;
cursor: pointer;
border-radius: 10px;
opacity: 0.7;
}
}