|
178 | 178 | .font-selector{ |
179 | 179 | position: static; |
180 | 180 | top: 10px; |
181 | | - left: 10ox; |
| 181 | + left: 10px; |
182 | 182 | font-family: 'Open-Dyslexic',serif; |
183 | 183 | width: auto; |
184 | 184 | display: inline-block; |
185 | 185 | } |
186 | 186 |
|
187 | 187 |
|
188 | | - .dark-mode{ |
| 188 | + .dark-mode-btn{ |
189 | 189 | position: fixed; |
190 | 190 | top: 10px; |
191 | 191 | right: 10px; |
|
203 | 203 | background: #89a2f3; |
204 | 204 | min-height: 100vh; |
205 | 205 | display: flex; |
206 | | - align-items: stretch; |
| 206 | + /*align-items: stretch;*/ |
207 | 207 | justify-content: space-between; |
208 | 208 | flex-direction: column; |
209 | 209 | margin: 0; |
|
216 | 216 | body.dyslexic-mode h1{ |
217 | 217 | font-size: 28px; |
218 | 218 | } |
219 | | - |
220 | | - body.dark-mode{ |
| 219 | + |
| 220 | + body.dark-mode { |
221 | 221 | background: #4d587a; |
222 | 222 | color: white; |
223 | | - min-height: 100vh; |
224 | | - display: flex; |
225 | | - align-items: stretch; |
226 | | - justify-content: space-between; |
227 | | - flex-direction: column; |
228 | | - margin: 0; |
229 | | - padding: 0; |
230 | 223 | } |
231 | 224 |
|
232 | 225 | footer { |
|
252 | 245 | <div class="font-selector"> |
253 | 246 | <button id="font-toggle" class="font-selector"> <h4>dyslexic mode</h4> </button> |
254 | 247 | </div> |
255 | | -<!-- <div class="dark-mode">--> |
256 | | -<!-- <button id="dark-toggle" class="dark-mode"> <svg width="20px" height="20px" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">--> |
| 248 | + <div class="dark-mode-btn"> |
| 249 | + <button id="dark-toggle" class="dark-mode"> <svg width="20px" height="20px" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> |
257 | 250 |
|
258 | | -<!-- <path d="M14,24A10,10,0,0,0,24,34V14A10,10,0,0,0,14,24Z"/>--> |
259 | | -<!-- <path d="M24,2A22,22,0,1,0,46,24,21.9,21.9,0,0,0,24,2ZM6,24A18.1,18.1,0,0,1,24,6v8a10,10,0,0,1,0,20v8A18.1,18.1,0,0,1,6,24Z"/>--> |
| 251 | + <path d="M14,24A10,10,0,0,0,24,34V14A10,10,0,0,0,14,24Z"/> |
| 252 | + <path d="M24,2A22,22,0,1,0,46,24,21.9,21.9,0,0,0,24,2ZM6,24A18.1,18.1,0,0,1,24,6v8a10,10,0,0,1,0,20v8A18.1,18.1,0,0,1,6,24Z"/> |
260 | 253 |
|
261 | | -<!-- </svg> </button>--> |
262 | | -<!-- </div>--> |
| 254 | + </svg> </button> |
| 255 | + </div> |
263 | 256 | <script src="scripts/fontswap.js"></script> |
264 | 257 | <div class="content"> |
265 | 258 | <h1> Shaders that support Voxy!</h1> |
|
0 commit comments