]> git.r.bdr.sh - rbdr/lissajous/blame - style.css
Add a few comments
[rbdr/lissajous] / style.css
CommitLineData
5f6ef99e
RBR
1* {
2 padding: 0;
3 margin: 0;
4}
5
362f9116
RBR
6body {
7 color: #80FFCC;
5f6ef99e 8 background-color: #0F261F;
362f9116
RBR
9 font-family: 'IBM 3270 Narrow', 'IBM 3270', 'Andale Mono', Courier, monospace;
10 font-size: 12px;
11 overflow: hidden;
12}
13
1924acb2
RBR
14@media (orientation: landscape) {
15 body {
16 padding-top: env(safe-area-inset-top);
17 padding-left: env(safe-area-inset-left);
18 padding-right: env(safe-area-inset-right);
19 padding-bottom: env(safe-area-inset-bottom);
20 }
21}
22
23a {
24 color: #fff;
25}
26
27footer {
28 position: fixed;
29 padding: 2px 8px;
30 bottom: 0;
31 min-height: 16px;
32 max-height: 32px;
33}
34
362f9116 35#settings {
1924acb2
RBR
36 overflow-y: auto;
37 max-height: 100%;
362f9116
RBR
38 position: absolute;
39 top: 5px;
40 right: 5px;
41}
42
43h1, h2, h3 {
44 font-weight: normal;
45}
46
47h1 {
48 font-size: 18px;
49}
50
51h2 {
52 font-size: 16px;
53}
54
55h3 {
56 font-size: 14px;
57}
58
59input[type="range"] {
60 -webkit-appearance: none;
61 background-color: transparent;
62 height: 16px;
63 display: inline-block;
64 margin: 0 4px;
65 width: 128px;
66}
67
68input[type="range"]:focus {
69 outline: none;
70}
71
72input[type="range"]::-webkit-slider-runnable-track {
73 background: #fff;
74 height: 2px;
75}
76
77input[type="range"]::-moz-range-track {
78 background: #fff;
79 height: 2px;
80}
81
82input[type="range"]::-webkit-slider-thumb {
83 -webkit-appearance: none;
84 height: 16px;
85 width: 16px;
86 background-color: #80FFCC;
87 margin-top: -8px;
88 border-radius: 50%;
89}
90
91input[type="range"]::-moz-range-thumb {
6a87c253 92 -webkit-appearance: none;
362f9116
RBR
93 height: 16px;
94 width: 16px;
95 background-color: #80FFCC;
96 margin-top: -8px;
97 border-radius: 50%;
98}
99
6a87c253
RBR
100input.shifted[type="range"]::-moz-range-thumb {
101 background-color: #FFB4F0;
102}
103
104input.shifted[type="range"]::-webkit-slider-thumb {
105 background-color: #FFB4F0;
106}
107
108input[type="range"]:focus::-moz-range-thumb {
109 background-color: #FF616B;
110}
111
112input[type="range"]:focus::-webkit-slider-thumb {
113 background-color: #FF616B;
114}
362f9116
RBR
115
116.slider::before,
117.slider::after {
118 content: '';
119 background-color: #80FFCC;
120 height: 16px;
121 width: 16px;
122 display: inline-block;
123}
124
2b9badac
RBR
125.slider::before {
126 position: relative;
127 left: 16px;
128}
129
362f9116
RBR
130.slider {
131 margin: 4px 0;
132 position: relative;
133}
134
135label {
136 display: inline-block;
2b9badac 137 width: 16px;
362f9116 138 position: relative;
2b9badac
RBR
139 left: -16px;
140 top: -2px;
362f9116
RBR
141}
142
143.slider.lineLength::before {
144 mask-image: url('/images/short.svg');
145}
146
147.slider.lineLength::after {
148 mask-image: url('/images/long.svg');
149}
150
151.slider.radius::before {
152 mask-image: url('/images/near.svg');
153}
154
155.slider.radius::after {
156 mask-image: url('/images/far.svg');
157}
158
159.slider.rotation-x::before {
160 mask-image: url('/images/no-pitch.svg');
161}
162
163.slider.rotation-x::after {
164 mask-image: url('/images/fast-pitch.svg');
165}
166
167.slider.rotation-y::before {
168 mask-image: url('/images/no-yaw.svg');
169}
170
171.slider.rotation-y::after {
172 mask-image: url('/images/fast-yaw.svg');
173}
174
175.slider.rotation-z::before {
176 mask-image: url('/images/no-roll.svg');
177}
178
179.slider.rotation-z::after {
180 mask-image: url('/images/fast-roll.svg');
181}
182
183.slider.frequency::before {
184 mask-image: url('/images/lf.svg');
185}
186
187.slider.frequency::after {
188 mask-image: url('/images/hf.svg');
189}
190
191.slider.amplitude::before {
192 mask-image: url('/images/la.svg');
193}
194
195.slider.amplitude::after {
196 mask-image: url('/images/ha.svg');
5f6ef99e 197}
2b9badac
RBR
198
199.slider.phase::before {
200 mask-image: url('/images/unphased.svg');
201}
202
203.slider.phase::after {
204 mask-image: url('/images/phased.svg');
205}