By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 THEME.css

View raw Download
text/plain • 29.91 kiB
Unicode text, UTF-8 text
        
            
1
:root, ::backdrop {
2
/* FONTS */
3
--body-font: /* body text */
4
normal /* style */
5
normal /* variant */
6
400 /* weight */
7
normal /* stretch */
8
16px/20px /* size / line height */
9
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
10
;
11
--table-font:
12
normal /* style */
13
normal /* variant */
14
400 /* weight */
15
normal /* stretch */
16
15.4px/20px /* size / line height */
17
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
18
;
19
--table-header-font:
20
normal /* style */
21
normal /* variant */
22
500 /* weight */
23
normal /* stretch */
24
15.4px/20px /* size / line height */
25
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
26
;
27
--mono-font: /* code */
28
normal /* style */
29
normal /* variant */
30
300 /* weight */
31
normal /* stretch */
32
14.5px/20px /* size / line height */
33
"Roboto Mono", "Noto Sans Mono", "Noto Mono", "DejaVu Sans Mono", "Source Code Pro", "Source Code", "source-pro-code", Cousine, Consolas, monospace /* family */
34
;
35
--keyboard-font: /* keyboard */
36
normal /* style */
37
normal /* variant */
38
600 /* weight */
39
normal /* stretch */
40
12px/12px /* size / line height */
41
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
42
;
43
--button-font: /* buttons */
44
normal /* style */
45
normal /* variant */
46
600 /* weight */
47
normal /* stretch */
48
15px/20px /* size / line height */
49
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
50
;
51
--badge-font: /* badges */
52
normal /* style */
53
normal /* variant */
54
700 /* weight */
55
normal /* stretch */
56
13.2px/16px /* size / line height */
57
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
58
;
59
--gui-font: /* everything not covered by something else */
60
var(--body-font);
61
--input-font: /* all inputs which show text */
62
var(--gui-font);
63
--textarea-font: /* textareas */
64
var(--mono-font);
65
--h6-font: /* h6 */
66
normal /* style */
67
normal /* variant */
68
700 /* weight */
69
normal /* stretch */
70
16px/20px /* size / line height */
71
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
72
;
73
--h5-font: /* h5 */
74
normal /* style */
75
normal /* variant */
76
900 /* weight */
77
normal /* stretch */
78
18px/20px /* size / line height */
79
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
80
;
81
--h4-font: /* h4 */
82
normal /* style */
83
normal /* variant */
84
700 /* weight */
85
normal /* stretch */
86
19.5px/24px /* size / line height */
87
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
88
;
89
--h3-font: /* h3 */
90
normal /* style */
91
normal /* variant */
92
400 /* weight */
93
normal /* stretch */
94
22.5px/28px /* size / line height */
95
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
96
;
97
--h2-font: /* h2 */
98
normal /* style */
99
normal /* variant */
100
300 /* weight */
101
normal /* stretch */
102
28px/32px /* size / line height */
103
"Roboto", "Noto Sans", "DejaVu Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
104
;
105
--h1-font: /* h1 */
106
normal /* style */
107
normal /* variant */
108
300 /* weight */
109
normal /* stretch */
110
36px/44px /* size / line height */
111
"Roboto", "Noto Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
112
;
113
--headline-font: /* h1 as a headline */
114
normal /* style */
115
normal /* variant */
116
100 /* weight */
117
normal /* stretch */
118
52px/60px /* size / line height */
119
"Roboto", "Noto Sans", system-ui, apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Arial", sans-serif /* family */
120
;
121
122
/* GENERAL COLOURS */
123
/* background */ /* foreground */
124
--color-primary: #3F51B5; --color-primary-text: #ffffff;
125
--color-primary-1: #303F9F; --color-primary-1-text: #ffffff;
126
--color-primary-2: #1A237E; --color-primary-2-text: #ffffff;
127
--color-primary-3: #7986CB; --color-primary-3-text: #000000;
128
--color-primary-4: #C5CAE9; --color-primary-4-text: #000000;
129
130
--color-accent: #E91E63; --color-accent-text: #ffffff;
131
--color-accent-1: #C2185B; --color-accent-1-text: #ffffff;
132
--color-accent-2: #880E4F; --color-accent-2-text: #ffffff;
133
--color-accent-3: #F06292; --color-accent-3-text: #000000;
134
--color-accent-4: #F8BBD0; --color-accent-4-text: #000000;
135
136
--color-background: #fafafa; --color-background-text: #000000df;
137
--color-caption-text: #000000b9;
138
--color-label-text: #000000df;
139
140
--color-error: #d50000; --color-error-text: #ffffff;
141
--color-alert: #ffab00; --color-alert-text: #000000;
142
--color-info: #00b8d4; --color-info-text: #000000;
143
--color-success: #00c853; --color-success-text: #ffffff;
144
145
--color-not-accent: transparent; --color-not-accent-text: var(--color-background-text);
146
147
--color-scheme: light;
148
149
/* CODE BLOCKS */
150
--color-code: #263238; --color-code-text: #ffffff;
151
--color-quote: #fafafa; --color-quote-text: #000000cc;
152
--color-short-code: #f5f5f5; --color-short-code-text: #000000cc;
153
--color-keyboard: #757575; --color-keyboard-text: #ffffff;
154
155
--color-scheme-code: dark;
156
157
--size-keyboard: 1.5em;
158
--padding-keyboard: 0.375em;
159
--padding-code: 12px;
160
161
--radius-code: 0;
162
--radius-short-code: 0.125em;
163
--border-code: none;
164
--border-short-code: none;
165
166
--shadow-keyboard: 0 1px 1px 0 rgba(0, 0, 0, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.24);
167
168
/* BUTTONS */
169
--color-button: var(--color-primary); --color-button-text: var(--color-primary-text);
170
--color-button-hover: var(--color-primary); --color-button-hover-text: var(--color-primary-text);
171
--color-button-active: var(--color-primary); --color-button-active-text: var(--color-primary-text);
172
--color-flat-button: transparent; --color-flat-button-text: var(--color-primary);
173
--color-flat-button-hover: #00000020; --color-flat-button-hover-text: var(--color-primary-2);
174
--color-flat-button-active: #00000030; --color-flat-button-active-text: var(--color-primary-3);
175
176
--shadow-button: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12);
177
--shadow-button-hover: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
178
--shadow-flat-button: none;
179
--shadow-flat-button-hover: none;
180
181
--border-button: none;
182
--border-button-hover: none;
183
--border-flat-button: none;
184
--border-flat-button-hover: none;
185
186
--radius-button: 2px;
187
--radius-round-button: 100vmin;
188
--radius-flat-button: 2px;
189
190
--height-button: 36px;
191
--size-round-button: 48px;
192
--margin-round-button: 8px;
193
--padding-button: 4px 8px;
194
--padding-round-button: 8px;
195
--gap-button: 4px;
196
--min-width-button: 64px;
197
198
/* LINKS */
199
--color-link-text: #1e88e5;
200
--color-link-hover-text: #1565c0;
201
--color-link-active-text: #1e88e580;
202
--color-link-visited-text: #1e88e5;
203
--color-link-visited-hover-text: #1565c0;
204
205
/* TOASTS */
206
--color-callout: #546e7a; --color-callout-text: #ffffff;
207
--color-callout-1: #37474f; --color-callout-1-text: #ffffff;
208
--color-callout-2: #78909c; --color-callout-2-text: #ffffff;
209
--color-callout-button-text: var(--color-accent-4);
210
211
--border-toast: none;
212
--radius-toast: 2px;
213
--gap-toast: 8px;
214
--min-width-toast: 192px;
215
--max-width-toast: 50%;
216
--height-toast: 40px;
217
--padding-toast: 0 0 0 8px;
218
--toast-align-horizontal: end;
219
--toast-align-vertical: end;
220
--toast-stack: column-reverse wrap;
221
--margin-toast: 12px;
222
223
--shadow-toast: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12);
224
225
/* CHECKBOXES */
226
--color-checkbox: var(--color-not-accent); --color-checkbox-text: var(--color-accent);
227
--color-checkbox-hover: var(--color-not-accent); --color-checkbox-hover-text: var(--color-accent);
228
--color-checkbox-active: var(--color-accent); --color-checkbox-active-text: var(--color-accent-text);
229
--color-checkbox-indeterminate: var(--color-accent);--color-checkbox-indeterminate-text: var(--color-accent-text);
230
--color-checkbox-indeterminate-hover: var(--color-accent);--color-checkbox-indeterminate-hover-text: var(--color-accent-text);
231
--color-checkbox-active-hover: var(--color-accent);--color-checkbox-active-hover-text: var(--color-accent-text);
232
--color-radio: var(--color-not-accent); --color-radio-text: var(--color-accent);
233
--color-radio-active: var(--color-not-accent); --color-radio-active-text: var(--color-accent);
234
--color-radio-hover: var(--color-not-accent); --color-radio-hover-text: var(--color-accent);
235
--color-radio-active-hover: var(--color-not-accent);--color-radio-active-hover-text: var(--color-accent);
236
237
--border-checkbox: 0.125em solid currentColor;
238
--border-checkbox-checked: 0.125em solid var(--color-checkbox-active);
239
--border-checkbox-indeterminate: 0.125em solid var(--color-checkbox-indeterminate);
240
--border-checkbox-hover: 0.125em solid currentColor;
241
--border-checkbox-checked-hover: 0.125em solid var(--color-checkbox-active);
242
--border-checkbox-indeterminate-hover: 0.125em solid var(--color-checkbox-indeterminate);
243
--border-radio: 0.125em solid currentColor;
244
--border-radio-checked: 0.125em solid currentColor;
245
--border-radio-hover: 0.125em solid currentColor;
246
--border-radio-checked-hover: 0.125em solid currentColor;
247
248
--color-switch: #eeeeee; --color-switch-thumb: #757575;
249
--color-switch-on: var(--color-accent-4); --color-switch-thumb-on: var(--color-accent);
250
--color-switch-hover: #eeeeee; --color-switch-thumb-hover: #757575;
251
--color-switch-on-hover: var(--color-accent-4); --color-switch-thumb-on-hover: var(--color-accent);
252
253
--border-switch: none;
254
--border-switch-hover: none;
255
--radius-switch: 1em;
256
--height-switch: 0.75em;
257
--width-switch: 2em;
258
--border-switch-thumb: none;
259
--border-switch-thumb-hover: none;
260
--radius-switch-thumb: 1em;
261
--width-switch-thumb: 1em;
262
--height-switch-thumb: 1em;
263
--padding-switch-thumb: 0em; /* for some reason, you must set the unit */
264
--width-switch-thumb-hover: 1em;
265
--height-switch-thumb-hover: 1em;
266
267
--shadow-switch: 0 0 0 0 transparent; /* none */
268
--shadow-switch-thumb: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 0 3px 0 rgba(0, 0, 0, 0.40);
269
--shadow-switch-hover: 0 0 0 0 transparent; /* none */
270
--shadow-switch-thumb-hover: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.40);
271
272
--border-switch-on: none;
273
--border-switch-on-hover: none;
274
--border-switch-thumb-on: none;
275
--border-switch-thumb-on-hover: none;
276
--radius-switch-thumb-on: 1em;
277
--width-switch-thumb-on: 1em;
278
--height-switch-thumb-on: 1em;
279
--padding-switch-thumb-on: 0em; /* for some reason, you must set the unit */
280
--width-switch-thumb-on-hover: 1em;
281
--height-switch-thumb-on-hover: 1em;
282
283
--shadow-switch-on: 0 0 0 0 transparent; /* none */
284
--shadow-switch-thumb-on: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 0 3px 0 rgba(0, 0, 0, 0.40);
285
--shadow-switch-on-hover: 0 0 0 0 transparent; /* none */
286
--shadow-switch-thumb-on-hover: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.40);
287
288
--radius-checkbox: 0.125em;
289
--radius-radio: 1em;
290
--size-checkbox: 1em;
291
292
--shadow-form: 0 0 0 0 transparent; /* none */
293
--shadow-form-checked: 0 0 0 0 transparent; /* none */
294
--shadow-form-indeterminate: 0 0 0 0 transparent; /* none */
295
--shadow-form-hover: 0 0 0 0 transparent; /* none */
296
--shadow-form-checked-hover: 0 0 0 0 transparent; /* none */
297
--shadow-form-indeterminate-hover: 0 0 0 0 transparent; /* none */
298
299
/* RANGES */
300
--color-range: var(--color-accent-4); --color-range-text: var(--color-accent);
301
--color-range-hover: var(--color-accent-4); --color-range-hover-text: var(--color-accent);
302
303
--border-range: none;
304
--border-range-hover: none;
305
--radius-range: 1em;
306
--height-range: 0.75em;
307
--border-range-thumb: none;
308
--border-range-thumb-hover: none;
309
--position-range-thumb: -12.5%;
310
--position-range-thumb-hover: -12.5%;
311
--radius-range-thumb: 1em;
312
--width-range-thumb: 1em;
313
--height-range-thumb: 1em;
314
--width-range-thumb-hover: 1em;
315
--height-range-thumb-hover: 1em;
316
--shadow-range: 0 0 0 0 transparent; /* none */
317
--shadow-range-thumb: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 0 3px 0 rgba(0, 0, 0, 0.40);
318
--shadow-range-hover: 0 0 0 0 transparent; /* none */
319
--shadow-range-thumb-hover: 0 0 2px 0 rgba(0, 0, 0, 0.28), 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.40);
320
321
/* CARDS */
322
--color-card: #ffffff; --color-card-text: #000000df;
323
--color-figcaption-text: #000000df;
324
325
--radius-card: 0;
326
--outline-outlined-card: 1px solid #00000080;
327
--radius-outlined-card: 4px;
328
--border-card: none;
329
--shadow-card: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12);
330
331
--padding-card: 0 12px 12px 12px;
332
--padding-card-top: 12px;
333
--padding-card-figcaption: 0 12px 12px 12px;
334
--figure-max-size-horizontal-card: clamp(200px, 50%, 768px);
335
336
/* LAYOUT */
337
--gap-buttonbox: 4px;
338
--gap-label-checkbox: 4px;
339
--gap-label-input: 4px;
340
--gap-box: 16px;
341
342
/* NAVBAR */
343
--color-navbar: #546E7A; --color-navbar-text: var(--color-primary-text);
344
--color-navbar-link: var(--color-primary-text);
345
346
--height-navbar: 48px;
347
--width-navbar-button: 56px;
348
--padding-navbar: 12px;
349
--gap-navbar: 0;
350
--shadow-navbar: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
351
--border-navbar: none;
352
--radius-navbar: 0;
353
354
/* NAVRAIL */
355
--color-navrail: #455a64; --color-navrail-text: var(--color-primary-text);
356
--color-navrail-link: var(--color-primary-text);
357
--color-navrail-link-hover: var(--color-primary-3);
358
--color-navrail-link-selected: var(--color-primary-3);
359
360
--width-navrail: 72px;
361
--height-navrail-button: 56px;
362
--padding-navrail: 0;
363
--gap-navrail: 0;
364
--shadow-navrail: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
365
--border-navrail: none;
366
--radius-navrail: 0;
367
368
/* SIDENAV */
369
--color-sidenav: transparent; --color-sidenav-text: var(--color-caption-text);
370
--gap-sidenav-item: 1ch;
371
--padding-sidenav: 8px;
372
373
/* BREADCRUMBS */
374
--color-breadcrumbs: var(--color-navbar); --color-breadcrumbs-text: var(--color-navbar-text);
375
--color-breadcrumbs-link: var(--color-navbar-text);
376
--color-breadcrumbs-separator: var(--color-navbar-text);
377
378
--height-breadcrumbs: 48px;
379
--padding-breadcrumbs: 8px;
380
--shadow-breadcrumbs: var(--shadow-navbar);
381
--border-breadcrumbs: none;
382
--radius-breadcrumbs: 0;
383
--separator-breadcrumbs: "  >  ";
384
385
/* TABS */
386
--color-tab: var(--color-navbar); --color-tab-text: var(--color-navbar-text);
387
--color-tab-selected: var(--color-navbar); --color-tab-selected-text: var(--color-navbar-text);
388
--color-tab-hover: var(--color-navbar); --color-tab-hover-text: var(--color-navbar-text);
389
--color-tab-hover-selected: var(--color-navbar); --color-tab-hover-selected-text: var(--color-navbar-text);
390
391
--justify-tab-row: space-around;
392
--height-tab: 36px;
393
--width-tab: 80px;
394
--align-tab: center;
395
--border-tab: none;
396
--border-tab-selected: none;
397
--radius-tab: 0;
398
399
/* DIVIDERS */
400
--line-divider: 1px solid #00000080;
401
402
/* LISTS */
403
--style-unordered-list: disc;
404
--color-unordered-list-marker: currentColor;
405
--font-unordered-list-marker: var(--body-font);
406
--indent-unordered-list: 1em;
407
408
--style-ordered-list: decimal;
409
--color-ordered-list-marker: currentColor;
410
--font-ordered-list-marker: var(--body-font);
411
--indent-ordered-list: 1em;
412
413
/* TABLES */
414
--padding-cell: 1ch;
415
--border-cell-horizontal: 1px solid #00000020;
416
--border-cell-vertical: 1px solid #00000040;
417
--color-table: #fafafa; --color-table-text: #000000;
418
--color-row-odd: #00000010; --color-row-odd-text: #000000;
419
--color-row-even: transparent; --color-row-even-text: #000000;
420
--color-row-header: var(--color-primary-1); --color-row-header-text: var(--color-primary-1-text);
421
422
/* BADGES */
423
--border-badge: none;
424
--shadow-badge: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12);
425
--x-badge: 100%;
426
--y-badge: 25%;
427
--width-badge: 2.25ch;
428
--height-badge: 2.25ch;
429
--radius-badge: 3ch;
430
--padding-badge: 0.25ch;
431
--color-badge: var(--color-accent); --color-badge-text: var(--color-accent-text);
432
433
/* AVATARS */
434
--radius-avatar: 0;
435
436
/* BUBBLES */
437
--border-bubble: none;
438
--shadow-bubble: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12);
439
--radius-bubble: 1em;
440
--padding-bubble: 1ch;
441
--color-bubble: var(--color-accent-1); --color-bubble-text: var(--color-accent-1-text);
442
--color-bubble-alt: var(--color-accent-4); --color-bubble-alt-text: var(--color-accent-4-text);
443
444
/* INPUTS */
445
--color-input: #ffffff; --color-input-text: #000000bb;
446
--color-input-hover: #ffffff; --color-input-hover-text: #000000bb;
447
--color-input-active: #ffffff; --color-input-active-text: #000000df;
448
--color-flat-input: transparent; --color-flat-input-text: #000000bb;
449
--color-flat-input-hover: transparent; --color-flat-input-hover-text: #000000bb;
450
--color-flat-input-active: transparent; --color-flat-input-active-text: #000000df;
451
452
--shadow-input: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12);
453
--shadow-input-hover: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
454
--shadow-input-active: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
455
--shadow-flat-input: none;
456
--shadow-flat-input-hover: none;
457
--shadow-flat-input-active: none;
458
459
--border-input: none;
460
--border-input-hover: none;
461
--border-input-active: none;
462
--border-flat-input: none;
463
--border-flat-input-hover: none;
464
--border-flat-input-active: none;
465
466
--radius-input: 2px;
467
--radius-flat-input: 2px;
468
469
--height-input: 36px;
470
--padding-input: 4px 8px;
471
--min-width-input: 64px;
472
473
--size-input-icon: 16px;
474
475
/* TEXTAREAS */
476
--color-textarea: #ffffff; --color-textarea-text: #000000bb;
477
--color-textarea-hover: #ffffff; --color-textarea-hover-text: #000000bb;
478
--color-textarea-active: #ffffff; --color-textarea-active-text: #000000df;
479
--color-flat-textarea: transparent; --color-flat-textarea-text: #000000bb;
480
--color-flat-textarea-hover: transparent; --color-flat-textarea-hover-text: #000000bb;
481
--color-flat-textarea-active: transparent; --color-flat-textarea-active-text: #000000df;
482
483
--shadow-textarea: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12);
484
--shadow-textarea-hover: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
485
--shadow-textarea-active: 0 7px 25px -10px rgba(0, 0, 0, 0.12), 0 7px 25px 0 rgba(0, 0, 0, 0.24), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
486
--shadow-flat-textarea: none;
487
--shadow-flat-textarea-hover: none;
488
--shadow-flat-textarea-active: none;
489
490
--border-textarea: none;
491
--border-textarea-hover: none;
492
--border-textarea-active: none;
493
--border-flat-textarea: 1px solid #00000040;
494
--border-flat-textarea-hover: 1px solid #00000040;
495
--border-flat-textarea-active: 1px solid #00000040;
496
497
--radius-textarea: 2px;
498
--radius-flat-textarea: 8px;
499
500
--padding-textarea: 8px;
501
502
/* MENUS */
503
--color-toolbar: #ffffff; --color-toolbar-text: #000000bb;
504
--color-menu: #ffffff; --color-menu-text: #000000bb;
505
--color-menu-item: transparent; --color-menu-item-text: #000000bb;
506
--color-menu-item-hover: #00000010; --color-menu-item-hover-text: #000000bb;
507
508
--gap-toolbar: 4px;
509
--gap-menu: 0;
510
--border-toolbar: none;
511
--border-menu: none;
512
--border-menu-item: none;
513
--shadow-toolbar: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12);
514
--shadow-menu: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 3px 6px 0 rgba(0, 0, 0, 0.24), 0 1px 4px 0 rgba(0, 0, 0, 0.12);
515
--height-toolbar: 48px;
516
--height-menu-item: 24px;
517
--width-toolbar: fit-content;
518
--radius-toolbar: 0;
519
--radius-menu: 0;
520
--padding-toolbar: 4px;
521
--padding-menu: 2px 0;
522
--padding-menu-item: 2px 8px;
523
524
/* DIALOGS */
525
--color-modal-backdrop: radial-gradient(circle, #00000040 12.5%, #000000cc 100%);
526
527
--tap-highlight-color: transparent;
528
}
529
530
/* Make headings smaller */
531
@media screen and (max-width: 576px) {
532
h2 {
533
font-size: 25.5px;
534
line-height: 28px;
535
}
536
h1 {
537
font-size: 33px;
538
line-height: 36px;
539
}
540
h1.headline {
541
font-size: 39px;
542
line-height: 44px;
543
font-weight: 300;
544
}
545
}
546
547
/* Extra styles */
548
549
h6 {
550
/* Make it look nicer */
551
text-transform: uppercase;
552
color: var(--color-accent);
553
}
554
555
:any-link, .link-button {
556
/* Make them nicer, not possible with the font property */
557
font-weight: 500;
558
text-decoration: underline;
559
text-decoration-thickness: .05em;
560
text-underline-offset: .1em;
561
}
562
563
button, .button, input[type=button], input[type=submit], input[type=reset], input[type="file"]::file-selector-button {
564
/* Make it look nicer */
565
text-transform: uppercase;
566
}
567
568
.toast-container li {
569
/* Toast appear */
570
animation: toastSlide 750ms cubic-bezier(0.16, 1, 0.3, 1);
571
transform-origin: bottom;
572
}
573
574
.toast-container li.removing {
575
/* Toast disappear */
576
animation: toastCompress 500ms cubic-bezier(0.55, 0, 1, 0.45);
577
}
578
579
.toast-container li.removing ~ li {
580
/* TODO */
581
}
582
583
@keyframes toastSlide {
584
0% {
585
opacity: 0;
586
transform: translateY(100vh);
587
}
588
589
100% {
590
opacity: 1;
591
transform: translateY(0);
592
}
593
}
594
595
@keyframes toastCompress {
596
0% {
597
transform: rotateX(0);
598
opacity: 1;
599
}
600
601
100% {
602
transform: rotateX(180deg);
603
opacity: 0;
604
}
605
}
606
607
input[type="checkbox"]:not(.switch):checked::after, input[type="checkbox"]:not(.switch):indeterminate::after, input[type="radio"]:checked::after {
608
/* Checked */
609
animation: check 250ms cubic-bezier(0.61, 1, 0.88, 1);
610
}
611
612
input[type="checkbox"]:not(.switch), input[type="radio"] {
613
/* Transition background */
614
transition: box-shadow 250ms cubic-bezier(0.61, 1, 0.88, 1);
615
}
616
617
input[type="checkbox"].switch::after {
618
/* Transition switch thumb */
619
transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1);
620
}
621
622
input[type="range"]::-webkit-slider-thumb {
623
transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1);
624
}
625
626
input[type="range"]::-moz-range-thumb {
627
transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1);
628
}
629
630
button, .button, input[type="file"]::file-selector-button, input, select, textarea {
631
transition: box-shadow 375ms cubic-bezier(0.5, 1, 0.89, 1), background 375ms cubic-bezier(0.5, 1, 0.89, 1), color 375ms cubic-bezier(0.5, 1, 0.89, 1);
632
}
633
634
@keyframes check {
635
0% {
636
transform: scale(0);
637
}
638
639
100% {
640
transform: scale(1);
641
}
642
}
643
644
.navbar {
645
position: sticky;
646
}
647
648
:is(.navbar, .breadcrumbs) a:not(:hover) {
649
text-decoration: none;
650
}
651
652
x-notebook > label:has(input[type="radio"]:checked) {
653
border-bottom: 4px solid var(--color-accent);
654
transition: border 125ms ease;
655
}
656
657
x-notebook > label {
658
text-transform: uppercase;
659
font-weight: 600;
660
flex: 1 0 auto;
661
}
662
663
th, ol.table > li.list-header {
664
border: none;
665
}
666
667
th, td {
668
text-align: start;
669
}
670
671
.chat-bubble::before {
672
content: "";
673
position: absolute;
674
width: 1em;
675
height: 1em;
676
border: 0.75em solid;
677
border-color: transparent var(--color-bubble) transparent transparent;
678
left: -1.5em;
679
top: 1em;
680
}
681
682
.bubble-alt::before {
683
content: "";
684
position: absolute;
685
width: 1em;
686
height: 1em;
687
border: 0.75em solid;
688
border-color: transparent transparent transparent var(--color-bubble-alt);
689
transform: translateX(100%);
690
width: 100%;
691
left: 0;
692
top: 1em;
693
}
694
695
::placeholder {
696
opacity: 0.5;
697
}
698
699
:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range], [type=color]), select).input-flat {
700
border-bottom: 2px solid var(--color-primary) !important;
701
}
702
703
:disabled {
704
opacity: 0.5;
705
}
706
707
input[type="color"] {
708
padding: 0;
709
border: 0;
710
overflow: hidden;
711
}
712
713
input[type="color"]::-webkit-color-swatch {
714
border: none;
715
}
716
717
input[type="color"]::-webkit-color-swatch-wrapper {
718
padding: 0;
719
}
720
721
:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range]), select, textarea):focus {
722
outline: none; /* there is a blinking cursor, better not to have an outline */
723
}
724
725
textarea {
726
font: var(--mono-font);
727
}
728
729
button:has(iconify-icon) {
730
min-width: var(--height-button);
731
}
732
733
details.dropdown[open] > summary ~ * {
734
animation: menu 375ms cubic-bezier(0.22, 1, 0.36, 1);
735
transform-origin: top;
736
}
737
738
@keyframes menu {
739
0% {
740
transform: rotateX(-90deg);
741
opacity: 0;
742
}
743
744
100% {
745
transform: rotateX(0);
746
opacity: 1;
747
}
748
}
749
750
details.slidein[open] > summary ~ * {
751
animation: menu2 375ms cubic-bezier(0.22, 1, 0.36, 1);
752
transform-origin: left;
753
}
754
755
@keyframes menu2 {
756
0% {
757
transform: rotateY(-90deg);
758
opacity: 0;
759
}
760
761
100% {
762
transform: rotateY(0);
763
opacity: 1;
764
}
765
}
766
767
dialog:modal {
768
animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1);
769
transform-origin: center;
770
}
771
772
dialog {
773
transition: opacity 250ms cubic-bezier(0.33, 1, 0.68, 1);
774
}
775
776
dialog.sheet-left:modal {
777
animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1);
778
transform-origin: left;
779
}
780
781
dialog.sheet-right:modal {
782
animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1);
783
transform-origin: right;
784
}
785
786
dialog.sheet-top:modal {
787
animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1);
788
transform-origin: top;
789
}
790
791
dialog.sheet-bottom:modal {
792
animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1);
793
transform-origin: bottom;
794
}
795
796
dialog::backdrop {
797
backdrop-filter: saturate(0.5) contrast(0.5) brightness(1.25) blur(2px);
798
}
799
800
@keyframes entranceX {
801
0% {
802
transform: rotateY(-90deg);
803
}
804
100% {
805
transform: rotateY(0);
806
}
807
}
808
809
@keyframes entranceY {
810
0% {
811
transform: rotateX(-90deg);
812
}
813
100% {
814
transform: rotateX(0);
815
}
816
}
817
818
@keyframes fade {
819
0% {
820
opacity: 0;
821
}
822
100% {
823
opacity: 1;
824
}
825
}
826
827
:where(.navrail, .navbar, .sidenav) > iconify-icon {
828
font-size: 1.5rem;
829
}
830
831
.navbar > *, .navbar > ul > li > * {
832
min-height: var(--height-navbar);
833
display: flex;
834
align-items: center;
835
justify-content: center;
836
}
837
838
header:has(.navbar) .breadcrumbs {
839
z-index: 2 !important;
840
position: relative;
841
box-shadow: none;
842
}
843
844
.navbar a {
845
font-weight: 500;
846
}
847
848
x-notebook > label:has(input[type="radio"]:checked) {
849
background: var(--color-tab-selected);
850
color: var(--color-tab-selected-text);
851
border: none;
852
box-shadow: inset 0 -4px 0 var(--color-accent);
853
transition: box-shadow 125ms ease;
854
}
855
856
x-notebook > label:has(input[type="radio"]) {
857
transition: box-shadow 125ms ease;
858
}
859
860
* {
861
-webkit-tap-highlight-color: var(--tap-highlight-color);
862
}
863