summaryrefslogtreecommitdiff
path: root/style.css
blob: 8ffcbe17f6bb2f92a903b43931168df15376830d (plain)
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
html {
    --c-bg-backdrop:        #0d1015;
    --c-bg-behind:          #1f232a;
    --c-bg-front:           #272c35;
    --c-bg-highlight:       #383f4c;
    --c-bg-figure-backdrop: #383f4c;
    --c-text:               #d0d0d0;
    --c-text-inverted:      #101010;
    --c-text-muted:         #a0a0a0;
    --c-text-highlight:     #ffffff;
    --c-fg-highlight:       #e0e0e0;
    --c-fg-primary:         #fc00b9;
    --c-bg-primary:         #fc0daf;
    --c-fg-secondary:       #ff9449;
    --c-bg-secondary:       #ff9449;

    --shadow-opacity: 0.8;

    --default-border: 0.5px dotted rgba(255, 255, 255, 0.3);
}

/*
@font-face {
    font-family: "Manuskript Gothisch";
    src: url("/fonts/manuskript_gothisch/Manuskript%20Gothisch%20UNZ1A.ttf");
}
*/

@font-face {
    font-family: "Nyght Serif";
    src: url("/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Light.woff2");
    font-weight: 100;
}

@font-face {
    font-family: "Nyght Serif";
    src: url("/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-LightItalic.woff2");
    font-weight: 100;
    font-style: italic;  
}

@font-face {
    font-family: "Nyght Serif";
    src: url("/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Regular.woff2");
    font-weight: 400;
}

@font-face {
    font-family: "Nyght Serif";
    src: url("/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-RegularItalic.woff2");
    font-weight: 400;
    font-style: italic;  
}

@font-face {
    font-family: "Nyght Serif";
    src: url("/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Medium.woff2");
    font-weight: 500;
}

@font-face {
    font-family: "Nyght Serif";
    src: url("/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-MediumItalic.woff2");
    font-weight: 500;
    font-style: italic;  
}

@font-face {
    font-family: "Nyght Serif";
    src: url("/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Bold.woff2");
    font-weight: 700;
}

@font-face {
    font-family: "Nyght Serif";
    src: url("/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-BoldItalic.woff2");
    font-weight: 700;
    font-style: italic;  
}

@font-face {
    font-family: "Nyght Serif";
    src: url("/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-Dark.woff2");
    font-weight: 900;
}

@font-face {
    font-family: "Nyght Serif";
    src: url("/fonts/nyght-serif-main/fonts/WEB/NyghtSerif-DarkItalic.woff2");
    font-weight: 900;
    font-style: italic;  
}

@font-face {
    font-family: "Roboto Slab";
    src: url("/fonts/roboto_slab/RobotoSlab-VariableFont_wght.ttf") format("truetype-variations");
    font-weight: 100 200 300 400 500 600 700 800 900;
}

/*
@font-face {
    font-family: "Bodoni Moda";
    src: url("/fonts/bodoni_moda/static/BodoniModa_9pt/BodoniModa_9pt-MediumItalic.ttf");
    font-style: italic;  
}

@font-face {
    font-family: "Bodoni Moda";
    src: url("/fonts/bodoni_moda/static/BodoniModa_18pt/BodoniModa_18pt-Medium.ttf");
}
*/

@font-face {
    font-family: "Fira Code";
    src: url("/fonts/fira_code/FiraCode-VariableFont_wght.ttf") format("truetype-variations");
    font-weight: 300 400 500 600 700;
}

html, body {
    border: 0;
    margin: 0;
    padding: 0;
}

body {
    position: relative; /* important for sizing of background image ::before pseudo-element */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    font-family: "Roboto Slab";
    font-weight: 350;
    color: var(--c-text);
}

body::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    z-index: -1000;
    width: 100%;
    height: 100%;
    /* linear-gradient(hsl(0 0% 100% / 0%), hsl(240 20% 12% / 100%)),  */
    background:
        linear-gradient(to bottom, hsl(0 0% 8% / 80%), hsl(0 0% 3% / 95%)),
        linear-gradient(hsl(220 15% 18%), hsl(220 15% 18%)),
        center 20% / cover space no-repeat fixed url("/images/fabrizio-conti-TUmjK7ZJgbI-unsplash.jpg"),
        var(--c-bg-backdrop);
    background-blend-mode: luminosity, color, normal;
}

::selection {
    background-color: var(--c-bg-secondary);
    color: var(--c-text-inverted);
}

strong {
    font-family: "Nyght Serif";
    font-style: italic;
}

a:hover, a:visited, a:active, a:link {
    color: var(--c-fg-secondary);
    text-decoration: none;
}

a:hover {
    background: var(--c-bg-primary);
    color: var(--c-text);
}

nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: var(--c-bg-front);
    box-shadow: 0 0 3px 2px hsl(0 0% 10% / var(--shadow-opacity));
    padding: 0 10px 0 10px;
    justify-content: space-between;
}

nav > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    border-top: var(--default-border);
    margin-top: -1px;
}

nav a:link, nav a:active, nav a:visited, nav a:hover {
    flex-grow: 1;
    text-align: center;
    color: inherit;
    padding: 10px 10px 10px 10px;
}

nav a:hover {
    background: var(--c-bg-primary);
}

.breadcrumbs {
    max-width: 40em;
    text-align: center;
    align-self: center;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    list-style: none;
    display: inline;
}

.breadcrumbs li + li::before {
    content: "/";
    margin: 0 5px 0 5px;
}

main::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    z-index: -1;
}

main {
    position: relative;
    align-self: center;
    margin-top: -100px;
    padding: 100px;
    max-width: min(100%, 60em);
    box-sizing: border-box;
    box-shadow: 0 0 3px 2px hsl(0 0% 10% / calc(0.6 * var(--shadow-opacity)));
    text-align: justify;
    background-color: hsl(260 5% 20% / 40%);
    hyphens: auto;
}

main > .intro {
    margin-top: 40px;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 50px;
    margin-bottom: 8px;
    font-family: "Nyght Serif";
    text-align: left;
    font-weight: 700;
}

h1 {
    font-style: italic;  
}

h2 {
    font-size: 30px;
    font-weight: 400;
}

h3 {
    font-size: 20px;
    font-weight: 700;
}

body > header {
    z-index: 1;
    margin-top: 100px;
    margin-bottom: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body > header > h1 {
    text-align: center;
    background-image: linear-gradient(to right, var(--c-fg-primary), var(--c-fg-secondary)); 
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, var(--shadow-opacity)));
    font-size: clamp(20px, 120px, min(10vw, 10vh));
    /* Padding to avoid the first character getting cut off in firefox */
    padding-left: 40px;
    padding-right: 40px;
}

/* https://css-tricks.com/linearly-scale-font-size-with-css-clamp-based-on-the-viewport/ */
/*
body > header > h1::first-line {
  --min-fs: 3;
  --max-fs: 10;
  --min-vw: 20;
  --max-vw: 40;

  --min-fs-rem: var(--min-fs) * 1rem;
  --max-fs-rem: var(--max-fs) * 1rem;
  --min-vw-rem: var(--min-vw) * 1rem;

  --slope: (var(--max-fs) - var(--min-fs)) * (100vw - var(--min-vw-rem)) / (var(--max-vw) - var(--min-vw));

  font-size: clamp(var(--min-fs-rem), var(--min-fs-rem) + var(--slope), var(--max-fs-rem));
}
*/

.pagination-links {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.pagination-links > a {
    background-color: var(--c-bg-front);
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, calc(0.25*var(--shadow-opacity)));
    padding: 10px 20px 10px 20px;
}

.pagination-links > a:hover {
    background: var(--c-bg-primary);
}

.arrow-right {
  display: inline-block;
  width: 0; 
  height: 0; 
  border-top: .3rem solid transparent;
  border-bottom: .3rem solid transparent;
  border-left: .3rem solid ;
  margin-bottom: .05rem;
  margin-left: 5px;
}

.card {
    background-color: var(--c-bg-front);
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, calc(0.25*var(--shadow-opacity)));
    padding: 30px 20px 30px 20px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.card > .links {
    margin-left: -20px;
    margin-bottom: -30px;
    border-top: var(--default-border);
    margin-top: 20px;
    width: calc(100% + 40px);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.card > .links > a {
    padding: 10px 10px 10px 10px;
    flex-grow: 1;
    text-align: center;
}

main > .links {
    margin: 20px 0px 40px 0px;
    border: var(--default-border);
    border-left: none;
    border-right: none;
    width: calc(100%);
    max-width: calc(100%);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

main > .links > a {
    padding: 10px 10px 10px 10px;
    flex-grow: 1;
    text-align: center;
}

/* un-mess-up rst2html output */
.card > .summary > .document, .card > .summary > .document > p {
    display: inline;
}

.card > h1,
.card > h2,
.card > h3,
.card > h4,
.card > h5,
.card > h6 {
    margin-top: 0px;
}

tt {
    font-family: "Fira Code";
    font-weight: bold;
    font-size: 14px;
}

cite {
    font-family: "Fira Code";
    font-weight: bold;
    font-size: 14px;
    font-style: normal;
}

figure {
    margin-top: 2em;
    margin-bottom: 2em;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--c-bg-figure-backdrop);
    box-shadow: 0 0 3px 2px rgba(0, 0, 0, calc(0.6*var(--shadow-opacity)));
    display: flex;
    flex-direction: column;
}

.subfigure {
    margin-top: 2em;
    margin-bottom: 2em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: stretch; 
    align-items: stretch;
    column-gap: 40px;
    row-gap: 40px;
}

.subfigure > figure {
    margin-top: 0;
    margin-bottom: 0;
}

figure.side-by-side {
    min-width: 15em;
    margin: 0 0 0 0;
    padding: 0 40px 0 0;
}

figure img, figure video {
    display: block;
    margin: 0 auto 0 auto;
    width: 100%;
}

figcaption {
    background-color: var(--c-bg-highlight);
    line-height: 16pt;
    padding: 1em;
    flex-grow: 1;
}


figure.header {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}

img {
    max-width: 100%;
    margin: 40px auto 40px auto;
    display: block;
    filter: brightness(70%);
    transition: filter 100ms;
}

img:hover {
    filter: none;
}

.code {
    font-family: "Fira Code";
    font-size: 13px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    display: grid;
    align-items: start;
    grid-template-columns: min-content 1fr;
}

.code > .line {
    padding-left: calc(2em + 5px);
    text-indent: -2em;
    padding-top: 2px;
    min-width: 15em;
}

/* Make individual syntax tokens wrap anywhere */
.code > .line > span {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.code > .lineno {
    counter-increment: lineno;
    word-break: keep-all;
    margin: 0;
    padding-left: 15px;
    padding-right: 5px;
    overflow: clip;
    position: relative;
    text-align: right;
    color: var(--c-text-muted);
    border-right: 1px solid var(--c-fg-highlight);
    align-self: stretch;
}

.code > .lineno::after {
    position: absolute;
    right: 5px;
    content: "\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳\a↳";
    white-space: pre;
    color: var(--c-text-muted);
}

.code > .lineno::before {
    content: counter(lineno);
}

.code::before {
    counter-reset: lineno;
}

footer {
    margin-top: 30px;
    align-self: center;
    margin-bottom: 10px;
    text-align: center;
    padding: 5px 25px 5px 25px;
}

body .hll {}
body .c   { color: var(--c-text); font-weight: 400 } /* Comment */
body .n   { color: var(--c-text); font-weight: 400 } /* Name */
body .o   { color: var(--c-text); font-weight: 400 } /* Operator */
body .cm  { color: var(--c-text); font-weight: 400 } /* Comment.Multiline */
body .cp  { color: var(--c-text); font-weight: 400 } /* Comment.Preproc */
body .c1  { color: var(--c-text); font-weight: 400 } /* Comment.Single */
body .cs  { color: var(--c-text); font-weight: 400 } /* Comment.Special */
body .nd  { color: var(--c-text); font-weight: 400 } /* Name.Decorator */
body .nn  { color: var(--c-text); font-weight: 400 } /* Name.Namespace */
body .vc  { color: var(--c-text); font-weight: 400 } /* Name.Variable.Class */
body .vg  { color: var(--c-text); font-weight: 400 } /* Name.Variable.Global */
body .vi  { color: var(--c-text); font-weight: 400 } /* Name.Variable.Instance */
body .err { color: var(--c-text-highlight); font-weight: 500 } /* Error */
body .k   { color: var(--c-text-highlight); font-weight: 500 } /* Keyword */
body .l   { color: var(--c-text-highlight); font-weight: 500 } /* Literal */
body .kc  { color: var(--c-text-highlight); font-weight: 500 } /* Keyword.Constant */
body .kd  { color: var(--c-text-highlight); font-weight: 500 } /* Keyword.Declaration */
body .kn  { color: var(--c-text-highlight); font-weight: 500 } /* Keyword.Namespace */
body .kp  { color: var(--c-text-highlight); font-weight: 500 } /* Keyword.Pseudo */
body .kr  { color: var(--c-text-highlight); font-weight: 500 } /* Keyword.Reserved */
body .kt  { color: var(--c-text-highlight); font-weight: 500 } /* Keyword.Type */
body .na  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Attribute */
body .nb  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Builtin */
body .nc  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Class */
body .no  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Constant */
body .ni  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Entity */
body .ne  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Exception */
body .nf  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Function */
body .nl  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Label */
body .nx  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Other */
body .py  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Property */
body .nt  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Tag */
body .nv  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Variable */
body .ow  { color: var(--c-text-highlight); font-weight: 500 } /* Operator.Word */
body .bp  { color: var(--c-text-highlight); font-weight: 500 } /* Name.Builtin.Pseudo */
body .ld  { color: var(--c-text); font-weight: 600 } /* Literal.Date */
body .m   { color: var(--c-text); font-weight: 600 } /* Literal.Number */
body .s   { color: var(--c-text); font-weight: 600 } /* Literal.String */
body .mb  { color: var(--c-text); font-weight: 600 } /* Literal.Number.Bin */
body .mf  { color: var(--c-text); font-weight: 600 } /* Literal.Number.Float */
body .mh  { color: var(--c-text); font-weight: 600 } /* Literal.Number.Hex */
body .mi  { color: var(--c-text); font-weight: 600 } /* Literal.Number.Integer */
body .mo  { color: var(--c-text); font-weight: 600 } /* Literal.Number.Oct */
body .sb  { color: var(--c-text); font-weight: 600 } /* Literal.String.Backtick */
body .sc  { color: var(--c-text); font-weight: 600 } /* Literal.String.Char */
body .sd  { color: var(--c-text); font-weight: 600 } /* Literal.String.Doc */
body .s2  { color: var(--c-text); font-weight: 600 } /* Literal.String.Double */
body .se  { color: var(--c-text); font-weight: 600 } /* Literal.String.Escape */
body .sh  { color: var(--c-text); font-weight: 600 } /* Literal.String.Heredoc */
body .si  { color: var(--c-text); font-weight: 600 } /* Literal.String.Interpol */
body .sx  { color: var(--c-text); font-weight: 600 } /* Literal.String.Other */
body .sr  { color: var(--c-text); font-weight: 600 } /* Literal.String.Regex */
body .s1  { color: var(--c-text); font-weight: 600 } /* Literal.String.Single */
body .ss  { color: var(--c-text); font-weight: 600 } /* Literal.String.Symbol */
body .il  { color: var(--c-text); font-weight: 600 } /* Literal.Number.Integer.Long */

@media (max-width: 40em) {
    nav > div {
        flex-grow: 1;
    }

    main {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.search {
    align-self: center;
    max-width: calc(100vw - 20px);
    flex-grow: 1;
    margin-left: 10px;
    margin-right: 10px;
}

.pagefind-ui__form {
    max-width: 100%;
}

.search input {
    height: 1.5lh;
    max-width: 100%;
}

#search, .pagefind-ui, #search form, #search input {
    width: 100%;
}

.search button {
    display: none;
}

.pagefind-ui__drawer {
    position: fixed;
    margin-top: 10px;
    background: var(--c-bg-highlight);
    max-width: min(100%, min(100vw, 40em));
    max-height: 100%;
    overflow-x: clip;
    overflow-y: scroll;
    text-overflow: clip;
    z-index: 100;
}

.pagefind-ui__message {
    font-family: "Nyght Serif";
    font-weight: 700;
    font-size: 16pt;
}

.pagefind-ui__results-area {
    padding: 10px;
}

.pagefind-ui__results-area img {
    max-width: min(50vw, 200px);
}

.pagefind-ui__results-area a {
    max-width: min(50vw, 200px);
    color: var(--c-fg-secondary) !important;
    text-decoration: none;
    padding: 10px 10px 10px 0 !important;
    font-family: "Nyght Serif";
    font-weight: 700;
    font-size: 12pt;
}

.pagefind-ui__results-area figure, .pagefind-ui__results-area div.subfigure, .pagefind-ui__results-area img {
    display: none;
}

@media print, (prefers-color-scheme: light) {
    html {
        --c-bg-backdrop:        hsl(220, 10%, 90%);
        --c-bg-behind:          hsl(220, 10%, 95%);
        --c-bg-front:           hsl(220, 10%, 96%);
        --c-bg-highlight:       #ffffff;
        --c-bg-figure-backdrop: #b5bcc8;
        --c-text:               hsl(220, 20%, 30%);
        --c-text-inverted:      hsl(220, 20%, 100%);
        --c-text-muted:         #5d5980;
        --c-text-highlight:     #000000;
        --c-fg-highlight:       #3c4b62;
        --c-fg-primary:         hsl(25, 100%, 64%);
        --c-bg-primary:         hsl(25, 100%, 64%);
        --c-fg-secondary:       hsl(319, 98%, 52%);
        --c-bg-secondary:       hsl(319, 98%, 52%);

        --shadow-opacity: 0.2;

        --default-border: 0.5px dotted hsla(220, 10%, 30%, 50%);
    }

    body::before {
        background:
            linear-gradient(to bottom, hsl(0 0% 100% / 70%), hsl(0 0% 90% / 80%)),
            linear-gradient(hsl(260 10% 10%), hsl(260 10% 10%)),
            center 20% / cover space no-repeat fixed url("/images/fabrizio-conti-TUmjK7ZJgbI-unsplash.jpg"),
            var(--c-bg-backdrop);
    }

    main::before {
        backdrop-filter: brightness(106%) blur(10px);
    }

    main {
        background-color: hsl(260 5% 90% / 40%);
    }

    body > header > h1 {
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
    }

    a:hover, nav a:hover {
        color: var(--c-text-inverted);
    }

    img {
        filter: none;
    }
    
    .card {
        box-shadow: 0 0 3px 1px rgba(0, 0, 0, calc(0.5*var(--shadow-opacity)));
    }
}

@media print, (max-width: 60em) {
    main::before {
        backdrop-filter: none;
    }
    
    main {
        background-color: hsl(230 10% 15%);
    }
}

@media print, (max-width: 60em) and (prefers-color-scheme: light) {
    main {
        background-color: hsl(260 5% 90%);
    }
}