-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
121 lines (102 loc) · 1.63 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
113
114
115
116
117
118
119
120
121
html { box-sizing : border-box; }
html * { box-sizing: inherit; }
body {
padding: 0;
margin: 0;
font-family: 'kanit', Arial, Helvetica, sans-serif;
background-color: #ffffcc;
text-align: center;
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
align-content: center;
height: 100vh;
}
a {
color:inherit;
text-decoration: none;
}
.hidden {
display: none;
}
.break {
flex: 0 0 100%;
}
/* margins */
#startup, #title, #display, .button-group, img {
margin: 5vmin;
}
#startup {
flex-basis: 0 0 100%;
cursor: pointer;
font-size: 20vw;
line-height: 20vw;
font-weight: 900;
}
#startup:hover,
button:hover,
a:hover {
z-index: 100;
color: #ff9090;
border-color: #ff9090;
outline-color: #ff9090;
}
#title {
font-size: 10vmin;
}
img {
height: 10vmin;
width: auto;
}
#player-box {
font-size: 3vmin;
width: 75vmin;
}
#controls {
display: flex;
justify-content: center;
}
.button-group {
display: flex;
justify-content: center;
}
#volume button {
font-size: 5vmin;
font-weight: 500;
}
#play-pause button {
font-size: 3vmin;
font-weight: bold;
}
#play-pause button[disabled], button:active {
background-color: white;
}
[disabled] {
color: black;
}
button {
display: block;
background-color: transparent;
border:none;
border: 0.2vmin solid black;
outline: 0.2vmin solid black;
font-weight: 500;
height: 10vmin;
width: 10vmin;
user-select:none;
position:relative;
padding: 0;
margin: 0;
font-family: inherit;
}
#volumeDiv #volumeState {
background-color: black;
position: absolute;
width: 100%;
bottom: 0;
left: 0;
}
#volumeDiv:hover #volumeState {
background-color: #ff9090;
}