-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
161 lines (154 loc) · 2.71 KB
/
style.css
File metadata and controls
161 lines (154 loc) · 2.71 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
body {
margin: 0;
font-family: 'Rubik', sans-serif;
font-size: 16px;
line-height: 1.4;
color: #555;
}
/* Only show buttons that have corresponding sounds set */
form.ready button[disabled] {
display: none;
}
a {
color: rgb(0 128 119 / 1);
text-decoration: underline;
}
a:hover {
text-decoration: none;
}
#display {
min-height: 100vh;
width: 100vw;
background-color: #f7f7f7;
position: relative;
}
#intro {
text-align: left;
padding-right: 40px;
}
#intro h1 {
color: rgb(0 128 119 / 1);
font-size: 4rem;
padding-top: 20px;
}
.buttons {
box-sizing: border-box;
display: flex;
flex-wrap: wrap;
justify-content: center;
position: absolute;
left: 0;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.button-wrap {
max-width: 980px;
margin-left: 40px;
}
.buttons button {
box-sizing: border-box;
height: 200px;
width: 200px;
margin: 0 40px 40px 0px;
cursor: pointer;
border: 0;
color: white;
font-size: 4rem;
font-family: 'Rubik', sans-serif;
font-weight: 900;
font-style: italic;
background-color: rgb(0 128 119 / 1);
transition: background-color 0.2s ease;
transition: color 0.2s ease;
border-radius: 8px;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}
.buttons button:hover {
background-color: rgb(0 128 119 / .9);
}
.buttons button:focus {
outline: 0;
border: 3px rgb(255 255 0 / 0.9) solid;
}
.buttons button:active {
transform: scale(0.99);
color: rgb(255 255 0 / 0.9);
box-shadow: 0 0px 2px rgb(0 0 0 / 0.2);
font-size: 3.9rem;
}
.buttons button:disabled {
background-color: rgb(0 128 119 / 0.2);
color: rgb(0 128 119 / 0.4);
box-shadow: 0 0 0 rgb(0 0 0 / 0.2);
cursor: not-allowed;
}
#settings {
max-width: 800px;
margin: 0 auto 80px;
}
@media (min-width: 800px) {
.col-wrap {
overflow: auto;
margin-left: -30px;
}
.col {
float: left;
padding-left: 30px;
box-sizing: border-box;
}
.col--halves {
width: 50%;
}
}
h1 {
margin: 0 0 20px;
padding-top: 80px;
font-size: 2rem;
font-weight: 500;
line-height: 1;
}
h2 {
margin: 60px 0 20px;
font-weight: 500;
}
p {
margin: 10px 0 20px;
}
label {
display: block;
margin: 10px 0 20px;
line-height: 1.5;
padding: 0 0 10px;
}
input[type=text],
select {
font-family: 'Rubik', sans-serif;
font-weight: 500;
font-size: 16px;
display: inline-block;
padding: 12px;
color: #555;
background-color: #f7f7f7;
border-radius: 3px;
border: 1px rgb(0 128 119 / 1) solid;
}
input[type=text] {
width: 80%;
max-width: 200px;
margin-left: 20px;
}
::placeholder {
font-style: italic;
}
input[type=range] {
width: 80%;
margin-left: 10px;
}
.rate-value,
.pitch-value {
display: inline-block;
}
.ready #intro {
display: none;
}