-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
140 lines (123 loc) · 2.29 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
h1 {
text-align: left;
}
body {
font-family: 'IBM Plex Mono', monospace;
background-color: black;
color: white;
display: flex;
position: fixed;
overflow: hidden;
justify-content: center;
align-items: center;
width: 100%;
height: calc(100% - 40px);
margin: 0;
padding-top: 20px;
padding-bottom: 20px;
}
#canvas {
border: 1px solid black;
background-color: black;
}
canvas {
display: block;
margin: auto;
}
.container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.motion_canvas {
display: flex;
flex-grow: 1;
justify-content: center;
align-content: center;
max-height: 50%;
}
.controls {
text-align: right;
margin-bottom: 2px;
margin-left: 20px;
margin-right: 20px;
}
.customButtonOption {
text-decoration: underline;
color: white;
cursor: pointer;
margin-left: 8px;
}
p {
margin-left: 20px;
margin-right: 20px;
margin-bottom: 2px;
margin-top: 0px;
}
@media screen and (max-width: 600px) and (orientation: portrait) {
.controls {
text-align: center;
}
.container {
justify-content: flex-start;
}
body {
font-size: 13px;
}
p {
text-align: center;
}
}
input[type=range] {
-webkit-appearance: none;
appearance: none;
height: 2px;
background: white;
outline: none;
opacity: 1;
transition: opacity .2s;
margin: 8px 0;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 15px;
height: 15px;
background: white;
cursor: pointer;
border-radius: 50%;
margin-top: -6.5px;
}
input[type=range]::-moz-range-thumb {
width: 15px;
height: 15px;
background: white;
cursor: pointer;
border-radius: 50%;
}
input[type=range]::-ms-thumb {
width: 15px;
height: 15px;
background: white;
cursor: pointer;
border-radius: 50%;
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 2px;
background: white;
}
input[type=range]::-moz-range-track {
width: 100%;
height: 2px;
background: white;
}
input[type=range]::-ms-track {
width: 100%;
height: 2px;
background: white;
}
input[type=range]:hover {
opacity: 1;
}