-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
316 lines (294 loc) · 5.55 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
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
body {
background-image:linear-gradient(76deg,#eee 16.67%,#ddd 16.67%,#fff 33.33%,#fff 33.33%,#fff 50%,#eee 50%,#eee 66.67%,#ddd 66.67%,#fff 83.33%,#fff 83.33%,#fff 100%);
background-size:61.84px 248.01px
}
svg text.labels {
font-size: max(1em,1.2vmin);
font-weight: bold;
}
svg text.pairings {
font-size: unset;
font-weight: bold;
}
#wholeapp {
position:absolute;
width:90%;
height:500px;
margin-top:1em;
margin-left:3%
}
#zoom {
display:flex;
flex-direction:row;
opacity:15%;
padding:-0.4em;
font-size: 1em;
margin:-0.4em;
}
#answer {
display:none
}
#maincircle {
border:solid black;
border-radius:20px;
text-align:center;
background-color:#cdc;
box-shadow:5px 5px 5px #888
}
#svg-div {
position:relative;
height:100%;
}
#svg-div svg {
width: 115%;
height: 93%;
}
#maincircle ul {
list-style-type:none;
padding:0px;
margin:0px
}
#maincircle li.smallspace {
margin:-2% 0px 0px 0px
}
#maincircle h2 {
font-family:'Ubuntu Mono',monospace;
font-style:italic;
font-size:0.6em
}
#maincircle h2.smallspace {
margin-top:-4em;
background-color:black;
color:white
}
#maincircle h1 {
font-family:'Ubuntu',sans-serif;
font-size:2.5em;
background-color:#eee;
border:3px solid black;
border-radius:19px 19px 0px 0px;
margin-top:1%;
border-left:0px;
border-right:0px;
border-bottom:0px
}
.toplevel {
display:flex;
max-width:900px;
padding:0.1em;
justify-content:center;
align-content:center;
margin-left:auto;
margin-right:auto
}
.title {
font-family:'Ubuntu',sans-serif;
font-size:3em;
background-color:#eee;
border:3px solid black;
border-radius:19px 19px 0px 0px;
margin-top:1%;
border-left:0px;
border-right:0px;
border-bottom:0px
}
.container {
display:flex;
margin-top:-0.5em;
margin-left:auto;
margin-right:auto
}
.shadowdrop {
filter:drop-shadow(2px 2px 5px #444)
}
.boxfill {
max-width:10%;
width:3em
}
.box {
display:flex;
flex-direction:column;
align-items:stretch;
margin:0.2em
}
.box label {
font-size:1.5vmax;
text-align:center;
font-weight:bold
}
.box input {
font-size:0.7em
}
.boxcheck {
flex-direction:row
}
@media (max-width:699px) {
.container {
display:grid;
grid-template-rows:2em 2em;
grid-template-columns:30% 30% 30%
}
.boxcheck {
flex-direction:row
}
}
@media (min-width:0px) and (max-width:705px) {
.box label {
font-size:0.5em
}
#maincircle h1 {
font-size:1em
}
#maincircle h2.smallspace {
margin-top:-1.5em
}
}
@media (max-aspect-ratio:5/8) {
.container {
flex-direction:column;
width:95%
}
}
@media (min-width:1001px) {
svg text.labels {font-size:1.2em; font-weight: unset;}
.box label {font-size:1em;}
.box input[type="text"],input[type="number"]{
font-size:1em;
}
}
.box input[type="checkbox"] {
vertical-align:middle
}
.box input[type="text"],input[type="number"],input[type="button"] {
text-align:center;
width:90%;
border-radius:10px;
border:2px solid #555;
display:grid;
}
@media (max-width:1000px){
.box input[type="text"],input[type="number"],input[type="button"] {
font-size: 2vmax;
}
}
.box input[type="button"] {
margin: 3px;
width: 90%;
height: 90%;
}
#signature {
position:fixed;
display:inline-block;
position:fixed;
bottom:5px;
right:2px;
padding:2px 2px 2px 2px;
background:#f0f0f0;
color:#1c1b1b;
font-size: min(2vmax,1em);
border-radius: 10px;
}
#signature:hover {
background:#5555ff;
color:white
}
#signature a {
text-decoration:none;
color:#1c1b1b
}
#signature a:hover {
color:white
}
.opts {
padding-top: 0.6em;
display: flex;
flex-flow: row wrap;
justify-content: space-evenly;
align-content: baseline;
row-gap: 1px;
}
@keyframes slideIn {
0% {
transform: translateY(-100%);
opacity: 0
}
100% {
transform: translateY(0);
opacity: 1;
}
}
.opts > div > div {
animation: 0.5s linear 0s 1 slideIn;
}
.opts > div:nth-child(1) > div {animation-delay: -25ms;}
.opts > div:nth-child(2) > div {animation-delay: 0ms;}
.opts > div:nth-child(3) > div {animation-delay: 25ms;}
.opts > div:nth-child(4) > div {animation-delay: 50ms;}
.opts > div:nth-child(5) > div {animation-delay: 75ms;}
.opts > div:nth-child(6) > div {animation-delay: 100ms;}
.opts > div:nth-child(7) > div {animation-delay: 125ms;}
.opts > div:nth-child(8) > div {animation-delay: 150ms;}
.opts > div:nth-child(9) > div {animation-delay: 175ms;}
.opts > div:nth-child(10) > div {animation-delay: 200ms;}
.opts > div > div > div {
margin: 1px;
padding-top: 0.6em;
position: relative;
border: 1px solid grey;
border-radius: 6px;
background: #dedede;
min-width: 5em;
width: 7em;
height: 1em;
}
.opts > div > div > div:hover {
animation-name: rotate;
animation-duration: 0.7s;
animation-delay: 0s;
background: white;
border: 1px solid black;
}
.opts > div > div > div > input[type=checkbox] {
position: absolute;
right:0px;
bottom: 0px;
opacity: 0;
width: 10px;
}
.opts > div > div > div > input[type=checkbox]:checked {
opacity: 1;
}
@keyframes rotate {
0% { transform: rotate(-2deg); }
40% {transform: rotate(2deg);}
}
.opts > div > div > div > span.corner {
position: absolute;
padding: 1px;
top: 1px;
left: 1px;
width: 15px;
height: 10px;
font-size: 0.6em;
text-align: center;
vertical-align: middle;
font-weight: bold;
background: white;
border-radius: 5px 3px 3px 3px;
}
.opts > div > div > div > span.desc {
position: absolute;
top: 2px;
left: 20px;
max-height: 10px;
font-size: 0.5em;
text-align: left;
vertical-align: middle;
font-weight: bold;
}
.opts > div > div > div > span.where {
position: absolute;
left: 20px;
bottom: 0px;
font-size: 0.7em;
}