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.8 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: 16px;
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
528
/* Make headings smaller */
529
@media screen and (max-width: 576px) {
530
h2 {
531
font-size: 25.5px;
532
line-height: 28px;
533
}
534
h1 {
535
font-size: 33px;
536
line-height: 36px;
537
}
538
h1.headline {
539
font-size: 39px;
540
line-height: 44px;
541
font-weight: 300;
542
}
543
}
544
545
/* Extra styles */
546
547
h6 {
548
/* Make it look nicer */
549
text-transform: uppercase;
550
color: var(--color-accent);
551
}
552
553
:any-link, .link-button {
554
/* Make them nicer, not possible with the font property */
555
font-weight: 500;
556
text-decoration: underline;
557
text-decoration-thickness: .05em;
558
text-underline-offset: .1em;
559
}
560
561
button, .button, input[type=button], input[type=submit], input[type=reset], input[type="file"]::file-selector-button {
562
/* Make it look nicer */
563
text-transform: uppercase;
564
}
565
566
.toast-container li {
567
/* Toast appear */
568
animation: toastSlide 750ms cubic-bezier(0.16, 1, 0.3, 1);
569
transform-origin: bottom;
570
}
571
572
.toast-container li.removing {
573
/* Toast disappear */
574
animation: toastCompress 500ms cubic-bezier(0.55, 0, 1, 0.45);
575
}
576
577
.toast-container li.removing ~ li {
578
/* TODO */
579
}
580
581
@keyframes toastSlide {
582
0% {
583
opacity: 0;
584
transform: translateY(100vh);
585
}
586
587
100% {
588
opacity: 1;
589
transform: translateY(0);
590
}
591
}
592
593
@keyframes toastCompress {
594
0% {
595
transform: rotateX(0);
596
opacity: 1;
597
}
598
599
100% {
600
transform: rotateX(180deg);
601
opacity: 0;
602
}
603
}
604
605
input[type="checkbox"]:not(.switch):checked::after, input[type="checkbox"]:not(.switch):indeterminate::after, input[type="radio"]:checked::after {
606
/* Checked */
607
animation: check 250ms cubic-bezier(0.61, 1, 0.88, 1);
608
}
609
610
input[type="checkbox"]:not(.switch), input[type="radio"] {
611
/* Transition background */
612
transition: box-shadow 250ms cubic-bezier(0.61, 1, 0.88, 1);
613
}
614
615
input[type="checkbox"].switch::after {
616
/* Transition switch thumb */
617
transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1);
618
}
619
620
input[type="range"]::-webkit-slider-thumb {
621
transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1);
622
}
623
624
input[type="range"]::-moz-range-thumb {
625
transition: box-shadow 375ms cubic-bezier(0.61, 1, 0.88, 1);
626
}
627
628
button, .button, input[type="file"]::file-selector-button, input, select, textarea {
629
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);
630
}
631
632
@keyframes check {
633
0% {
634
transform: scale(0);
635
}
636
637
100% {
638
transform: scale(1);
639
}
640
}
641
642
.navbar {
643
position: sticky;
644
}
645
646
:is(.navbar, .breadcrumbs) a:not(:hover) {
647
text-decoration: none;
648
}
649
650
x-notebook > label:has(input[type="radio"]:checked) {
651
border-bottom: 4px solid var(--color-accent);
652
transition: border 125ms ease;
653
}
654
655
x-notebook > label {
656
text-transform: uppercase;
657
font-weight: 600;
658
flex: 1 0 auto;
659
}
660
661
th, ol.table > li.list-header {
662
border: none;
663
}
664
665
th, td {
666
text-align: start;
667
}
668
669
.chat-bubble::before {
670
content: "";
671
position: absolute;
672
width: 1em;
673
height: 1em;
674
border: 0.75em solid;
675
border-color: transparent var(--color-bubble) transparent transparent;
676
left: -1.5em;
677
top: 1em;
678
}
679
680
.bubble-alt::before {
681
content: "";
682
position: absolute;
683
width: 1em;
684
height: 1em;
685
border: 0.75em solid;
686
border-color: transparent transparent transparent var(--color-bubble-alt);
687
transform: translateX(100%);
688
width: 100%;
689
left: 0;
690
top: 1em;
691
}
692
693
::placeholder {
694
opacity: 0.5;
695
}
696
697
:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range], [type=color]), select).input-flat {
698
border-bottom: 2px solid var(--color-primary) !important;
699
}
700
701
:disabled {
702
opacity: 0.5;
703
}
704
705
input[type="color"] {
706
padding: 0;
707
border: 0;
708
overflow: hidden;
709
}
710
711
input[type="color"]::-webkit-color-swatch {
712
border: none;
713
}
714
715
input[type="color"]::-webkit-color-swatch-wrapper {
716
padding: 0;
717
}
718
719
:is(input:not([type=button], [type=checkbox], [type=radio], [type=submit], [type=reset], [type=file], [type=range]), select, textarea):focus {
720
outline: none; /* there is a blinking cursor, better not to have an outline */
721
}
722
723
textarea {
724
font: var(--mono-font);
725
}
726
727
button:has(iconify-icon) {
728
min-width: var(--height-button);
729
}
730
731
details.dropdown[open] > summary ~ * {
732
animation: menu 375ms cubic-bezier(0.22, 1, 0.36, 1);
733
transform-origin: top;
734
}
735
736
@keyframes menu {
737
0% {
738
transform: rotateX(-90deg);
739
opacity: 0;
740
}
741
742
100% {
743
transform: rotateX(0);
744
opacity: 1;
745
}
746
}
747
748
details.slidein[open] > summary ~ * {
749
animation: menu2 375ms cubic-bezier(0.22, 1, 0.36, 1);
750
transform-origin: left;
751
}
752
753
@keyframes menu2 {
754
0% {
755
transform: rotateY(-90deg);
756
opacity: 0;
757
}
758
759
100% {
760
transform: rotateY(0);
761
opacity: 1;
762
}
763
}
764
765
dialog:modal {
766
animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1);
767
transform-origin: center;
768
}
769
770
dialog {
771
transition: opacity 250ms cubic-bezier(0.33, 1, 0.68, 1);
772
}
773
774
dialog.sheet-left:modal {
775
animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1);
776
transform-origin: left;
777
}
778
779
dialog.sheet-right:modal {
780
animation: entranceX 500ms cubic-bezier(0.33, 1, 0.68, 1);
781
transform-origin: right;
782
}
783
784
dialog.sheet-top:modal {
785
animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1);
786
transform-origin: top;
787
}
788
789
dialog.sheet-bottom:modal {
790
animation: entranceY 500ms cubic-bezier(0.33, 1, 0.68, 1);
791
transform-origin: bottom;
792
}
793
794
dialog::backdrop {
795
backdrop-filter: saturate(0.5) contrast(0.5) brightness(1.25) blur(2px);
796
}
797
798
@keyframes entranceX {
799
0% {
800
transform: rotateY(-90deg);
801
}
802
100% {
803
transform: rotateY(0);
804
}
805
}
806
807
@keyframes entranceY {
808
0% {
809
transform: rotateX(-90deg);
810
}
811
100% {
812
transform: rotateX(0);
813
}
814
}
815
816
@keyframes fade {
817
0% {
818
opacity: 0;
819
}
820
100% {
821
opacity: 1;
822
}
823
}
824
825
:where(.navrail, .navbar, .sidenav) > iconify-icon {
826
font-size: 1.5rem;
827
}
828
829
.navbar > *, .navbar > ul > li > * {
830
min-height: var(--height-navbar);
831
display: flex;
832
align-items: center;
833
justify-content: center;
834
}
835
836
header:has(.navbar) .breadcrumbs {
837
z-index: 2 !important;
838
position: relative;
839
box-shadow: none;
840
}
841
842
.navbar a {
843
font-weight: 500;
844
}
845
846
x-notebook > label:has(input[type="radio"]:checked) {
847
background: var(--color-tab-selected);
848
color: var(--color-tab-selected-text);
849
border: none;
850
box-shadow: inset 0 -4px 0 var(--color-accent);
851
transition: box-shadow 125ms ease;
852
}
853
854
x-notebook > label:has(input[type="radio"]) {
855
transition: box-shadow 125ms ease;
856
}
857