-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
73 lines (67 loc) · 1.3 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
body {
background-color: black;
color: #BBBBBB;
font-family: helvetica, arial, verdana, sans-serif;
text-align: center;
}
a:link { color: #7777BB; }
a:visited { color: #BB77BB; }
a:hover { color: #8888BB; }
a:active { color: #7777BB; }
input[type="range"] {
width: 100%;
}
#main_canvas {
touch-action: none;
}
@media screen and (orientation: portrait) {
#content {
text-align: center;
}
#main_canvas {
width: 100%;
}
#display {
padding-left: 30px;
padding-right: 30px;
}
#controls {
padding-top: 20px;
padding-left: 13%;
padding-right: 13%;
padding-bottom: 50px;
}
}
@media screen and (orientation: landscape) {
#content {
text-align: center;
display: inline-block;
}
#main_canvas {
height: 100%;
}
#display {
height: 85vh;
padding-left: 35px;
padding-right: 35px;
float: left;
}
#controls {
padding-right: 40px;
padding-bottom: 50px;
vertical-align: top;
text-align: left;
overflow: hidden;
}
@-moz-document url-prefix() {
@media only screen and (min-width: 900px) {
/*
TODO: For some reason, Firefox on desktop (not mobile!) doesn't work
properly unless something like this is specified.
*/
#controls {
float: left;
}
}
}
}