astro-accelerator 7.0.10 → 7.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1101 @@
1
+ /** @format */
2
+
3
+ html {
4
+ box-sizing: border-box;
5
+ interpolate-size: allow-keywords;
6
+ scrollbar-gutter: stable;
7
+
8
+ @media (prefers-reduced-motion: no-preference) {
9
+ scroll-behavior: smooth;
10
+ }
11
+ }
12
+
13
+ *,
14
+ *::before,
15
+ *::after {
16
+ border: 0 none;
17
+ font-family: inherit;
18
+ font-size: 100%;
19
+ font-style: inherit;
20
+ font-weight: inherit;
21
+ margin: 0;
22
+ outline: 0;
23
+ padding: 0;
24
+ scrollbar-gutter: stable;
25
+ text-decoration-skip-ink: auto;
26
+ vertical-align: baseline;
27
+ }
28
+
29
+ body {
30
+ background-color: var(--aft);
31
+ color: var(--fore);
32
+ font-family: var(--content-font);
33
+ font-size: 20px;
34
+ letter-spacing: 0.016em;
35
+ line-height: 1.7;
36
+ scrollbar-gutter: stable;
37
+ }
38
+
39
+ a,
40
+ summary {
41
+ border-radius: var(--block-radius);
42
+ color: var(--fore-link);
43
+ cursor: pointer;
44
+ text-decoration: underline;
45
+
46
+ @media (prefers-reduced-motion: no-preference) {
47
+ transition: all 200ms ease-in-out;
48
+ }
49
+ }
50
+
51
+ details {
52
+ overflow: hidden;
53
+
54
+ &::details-content {
55
+ block-size: 0;
56
+
57
+ @media (prefers-reduced-motion: no-preference) {
58
+ transition-behavior: allow-discrete;
59
+ transition-duration: 0.3s;
60
+ transition-property: block-size, content-visibility;
61
+ }
62
+ }
63
+
64
+ &[open]::details-content {
65
+ block-size: auto;
66
+ }
67
+ }
68
+
69
+ form {
70
+ fill: var(--fore-link);
71
+ }
72
+
73
+ fieldset {
74
+ border: none;
75
+ border-radius: var(--block-radius);
76
+ padding: 1rem;
77
+ }
78
+
79
+ input {
80
+ background-color: var(--aft-input);
81
+ color: var(--fore-input);
82
+ }
83
+
84
+ input::placeholder {
85
+ color: var(--fore-input);
86
+ opacity: 0.8;
87
+ }
88
+
89
+ textarea {
90
+ font-family: var(--code-font);
91
+ padding: 0.5rem;
92
+ width: calc(100% - 1rem);
93
+ }
94
+
95
+ button,
96
+ .button {
97
+ background-color: transparent;
98
+ border: 1px solid var(--fore);
99
+ border-radius: var(--block-radius);
100
+ color: var(--fore);
101
+ cursor: pointer;
102
+ display: inline-block;
103
+ font-size: 1.3rem;
104
+ padding: 0.5rem 1rem;
105
+ text-decoration: none;
106
+ }
107
+
108
+ button:hover,
109
+ .button:hover,
110
+ button:focus,
111
+ .button:focus {
112
+ background-color: var(--fore);
113
+ color: var(--aft);
114
+ }
115
+
116
+ .button-alternate {
117
+ filter: saturate(0.5);
118
+ }
119
+
120
+ summary {
121
+ padding-inline: 0;
122
+ text-decoration: none;
123
+ }
124
+
125
+ a:hover,
126
+ a:focus {
127
+ color: var(--fore-link-alt);
128
+ }
129
+
130
+ nav a:hover,
131
+ nav a:focus,
132
+ nav summary:hover,
133
+ nav summary:focus {
134
+ color: var(--fore-link-alt);
135
+ }
136
+
137
+ :focus-visible {
138
+ border-radius: 5px;
139
+ outline: 2px dashed var(--icon-block);
140
+ }
141
+
142
+ blockquote {
143
+ background-color: var(--aft-block);
144
+ border-radius: var(--block-radius);
145
+ box-shadow: var(--box-shadow);
146
+ color: var(--fore-block);
147
+ font-size: 1.3rem;
148
+ font-style: italic;
149
+ margin: var(--paragraph-margin) 0;
150
+ padding: var(--paragraph-margin);
151
+ position: relative;
152
+
153
+ & > *:first-child:before {
154
+ color: var(--icon-block);
155
+ content: '“';
156
+ display: inline;
157
+ font-family: var(--heading-font);
158
+ font-size: 5em;
159
+ line-height: 1rem;
160
+ position: relative;
161
+ right: 0.2em;
162
+ top: 0.4em;
163
+ }
164
+
165
+ & > *,
166
+ & > p {
167
+ margin-inline: var(--paragraph-margin);
168
+ }
169
+
170
+ & cite {
171
+ display: block;
172
+ font-style: initial;
173
+ font-weight: bold;
174
+ margin-top: var(--block-gap);
175
+ text-align: right;
176
+
177
+ &::before {
178
+ content: ' ―';
179
+ padding-right: 0.5em;
180
+ }
181
+ }
182
+ }
183
+
184
+ dl {
185
+ display: grid;
186
+ grid-template-columns: auto 1fr;
187
+ gap: var(--grid-gap);
188
+ }
189
+
190
+ dt {
191
+ font-weight: bold;
192
+ }
193
+
194
+ em {
195
+ font-style: italic;
196
+ }
197
+
198
+ h1,
199
+ h2,
200
+ h3,
201
+ h4,
202
+ h5,
203
+ h6 {
204
+ font-family: var(--heading-font);
205
+ letter-spacing: -0.03em;
206
+ line-height: 1;
207
+ margin: var(--block-gap-l) 0 var(--block-gap) 0;
208
+ text-decoration: underline;
209
+ text-decoration-color: var(--icon-block);
210
+ text-decoration-thickness: 4px;
211
+ text-underline-offset: 4px;
212
+ text-wrap: balance;
213
+ }
214
+
215
+ h1 {
216
+ font-size: var(--font-size-h1);
217
+ line-height: 1.3;
218
+ text-decoration-thickness: 8px;
219
+
220
+ @media (max-width: 860px) {
221
+ font-size: 2.3rem;
222
+ }
223
+ }
224
+
225
+ h2 {
226
+ font-size: var(--font-size-h2);
227
+
228
+ @media (max-width: 860px) {
229
+ font-size: 2rem;
230
+ }
231
+ }
232
+
233
+ h3 {
234
+ font-size: var(--font-size-h3);
235
+
236
+ @media (max-width: 860px) {
237
+ font-size: 1.7rem;
238
+ }
239
+ }
240
+
241
+ h4,
242
+ h5,
243
+ h6 {
244
+ font-size: var(--font-size-h4);
245
+
246
+ @media (max-width: 860px) {
247
+ font-size: 1.3rem;
248
+ }
249
+ }
250
+
251
+ hr {
252
+ border: 0.5px dashed var(--fore);
253
+ margin: var(--paragraph-margin) auto;
254
+ opacity: 0.5;
255
+ width: 80%;
256
+ }
257
+
258
+ figure {
259
+ background-color: var(--aft-block);
260
+ border-radius: var(--block-radius);
261
+ box-shadow: var(--box-shadow);
262
+ padding: 1rem;
263
+
264
+ & > p {
265
+ margin: 0;
266
+ }
267
+
268
+ & figcaption {
269
+ font-size: 0.8em;
270
+ font-style: italic;
271
+ text-align: center;
272
+ }
273
+
274
+ & img {
275
+ border-radius: var(--block-radius);
276
+ }
277
+ }
278
+
279
+ img {
280
+ background-color: var(--aft-image);
281
+ max-width: 100%;
282
+ }
283
+
284
+ img.resp-img {
285
+ height: auto;
286
+ width: 100%;
287
+ }
288
+
289
+ figure img {
290
+ border-radius: var(--block-radius);
291
+ }
292
+
293
+ p {
294
+ margin: var(--paragraph-margin) 0;
295
+ }
296
+
297
+ small {
298
+ font-size: 0.8em;
299
+ }
300
+
301
+ strong {
302
+ font-weight: bold;
303
+ }
304
+
305
+ .table-wrap {
306
+ max-width: 100%;
307
+ overflow: auto;
308
+ }
309
+
310
+ table {
311
+ border: 0.5px solid var(--fore);
312
+ border-collapse: collapse;
313
+ border-radius: var(--block-radius);
314
+ width: 100%;
315
+
316
+ & thead tr {
317
+ background-color: var(--aft-table-head);
318
+ color: var(--fore-table-head);
319
+ }
320
+
321
+ & th,
322
+ & td {
323
+ border: 0.5px solid var(--fore);
324
+ padding: 0.2em 0.3em;
325
+ }
326
+
327
+ & tbody tr {
328
+ background-color: var(--aft-table-row-even);
329
+ color: var(--fore-table-row-even);
330
+
331
+ &:nth-child(odd) {
332
+ background-color: var(--aft-table-row-odd);
333
+ color: var(--fore-table-row-odd);
334
+ }
335
+ }
336
+ }
337
+
338
+ /* Breadcrumbs */
339
+
340
+ .site-breadcrumbs {
341
+ & ol {
342
+ font-size: 0.8rem;
343
+ padding: 0.1em 1em;
344
+ text-align: center;
345
+ }
346
+
347
+ & li {
348
+ display: inline;
349
+ padding: 0.2em;
350
+
351
+ &::before {
352
+ content: '>';
353
+ margin-inline-end: 0.3rem;
354
+ }
355
+
356
+ &:first-child::before {
357
+ content: '';
358
+ margin-inline-end: 0;
359
+ }
360
+ }
361
+
362
+ & a[aria-current] {
363
+ color: var(--fore);
364
+ text-decoration: none;
365
+ }
366
+ }
367
+
368
+ /* Navigation */
369
+
370
+ .overlay-menu {
371
+ & .site-nav {
372
+ font-size: 1.4em;
373
+
374
+ @media (max-width: 860px) {
375
+ font-size: 1em;
376
+ }
377
+ }
378
+ }
379
+
380
+ /* Main content group */
381
+
382
+ .content-group {
383
+ display: grid;
384
+ gap: var(--grid-gap);
385
+ grid-template-areas:
386
+ 'toc'
387
+ 'content'
388
+ 'menu';
389
+ grid-template-columns: minmax(0, var(--content-width));
390
+ grid-template-rows: auto auto auto;
391
+ justify-content: center;
392
+ margin-inline: 1rem;
393
+ max-width: 100vw;
394
+ padding-top: 0;
395
+
396
+ & header {
397
+ padding-bottom: var(--block-gap);
398
+
399
+ @media (max-width: 860px) {
400
+ text-align: left;
401
+ }
402
+
403
+ & p {
404
+ font-size: 1.6em;
405
+ line-height: 1.2;
406
+ margin: calc(var(--block-gap) * -1) 0 0 0;
407
+ text-wrap: balance;
408
+ }
409
+ }
410
+
411
+ & > nav {
412
+ grid-area: menu;
413
+ padding: var(--block-gap) 0;
414
+ }
415
+ }
416
+
417
+ .page-content {
418
+ hyphens: auto;
419
+ text-align: justify;
420
+
421
+ & h2,
422
+ & h3,
423
+ & h4,
424
+ & h5,
425
+ & h1,
426
+ & h6 {
427
+ text-align: left;
428
+ }
429
+
430
+ & ul,
431
+ & ol {
432
+ margin: var(--paragraph-margin) 0 var(--paragraph-margin) 1.2rem;
433
+
434
+ &.post-list {
435
+ margin: var(--paragraph-margin) auto;
436
+ }
437
+
438
+ &.recent-updates {
439
+ list-style: none;
440
+ margin-inline: 0;
441
+ padding-inline: 0;
442
+ }
443
+ }
444
+
445
+ & > h2:nth-child(1) {
446
+ margin-top: 0;
447
+ }
448
+ }
449
+
450
+ /* Table of Contents (TOC) */
451
+
452
+ .page-toc {
453
+ font-size: var(--font-size-meta);
454
+ margin: 0 0 var(--paragraph-margin) 0;
455
+
456
+ & ol {
457
+ list-style: none;
458
+ }
459
+
460
+ & li {
461
+ & a {
462
+ display: block;
463
+ padding: 0.5rem 1rem;
464
+ }
465
+
466
+ &.toc-lev-2 {
467
+ margin-left: 0rem;
468
+ }
469
+
470
+ &.toc-lev-3 a {
471
+ margin-left: 1rem;
472
+ }
473
+
474
+ &.toc-lev-4 a {
475
+ margin-left: 2rem;
476
+ }
477
+
478
+ &.toc-lev-5 a {
479
+ margin-left: 3rem;
480
+ }
481
+
482
+ &.toc-lev-6 a {
483
+ margin-left: 4rem;
484
+ }
485
+ }
486
+ }
487
+
488
+ /* Footer */
489
+
490
+ .site-footer {
491
+ background-color: var(--aft-block);
492
+ margin-top: 4rem;
493
+ padding: 0.5rem 0;
494
+ text-align: center;
495
+ width: 100%;
496
+
497
+ & h2 {
498
+ padding-top: 2rem;
499
+ }
500
+
501
+ & a {
502
+ color: var(--fore-link);
503
+ display: block;
504
+ padding: 0.5rem 1rem;
505
+ text-decoration: none;
506
+
507
+ &:hover,
508
+ &:focus {
509
+ color: var(--fore-link-alt);
510
+ }
511
+ }
512
+ }
513
+
514
+ /* Overlay (Mobile Navigation, Search) */
515
+
516
+ .overlay {
517
+ background-color: var(--aft);
518
+ height: calc(100vh - 7rem);
519
+ max-height: 100vh;
520
+ overflow-y: auto;
521
+ padding: 5rem 3rem 2rem 3rem;
522
+ position: fixed;
523
+ top: 0;
524
+ width: calc(100vw - 6rem);
525
+ z-index: 1;
526
+ }
527
+
528
+ .overlay>* {
529
+ max-width: 40rem;
530
+ margin: 0 auto;
531
+ }
532
+
533
+ /* Site Search */
534
+
535
+ /* Articles */
536
+
537
+ .post-list {
538
+ margin: 0;
539
+ text-align: left;
540
+
541
+ & .list-item {
542
+ background-color: var(--aft-block);
543
+ border-radius: var(----block-radius);
544
+ box-shadow: var(--box-shadow-unselected);
545
+ color: var(--fore-block);
546
+ list-style: none;
547
+ margin-bottom: var(--block-gap);
548
+ position: relative;
549
+
550
+ &:hover,
551
+ &:focus-within {
552
+ box-shadow: var(--box-shadow);
553
+ transform: var(--transform-selected);
554
+
555
+ & .list-item-image {
556
+ background-color: var(--icon-block);
557
+
558
+ & img {
559
+ filter: grayscale(0);
560
+ scale: 1.2;
561
+ transform: rotate(3deg);
562
+ }
563
+ }
564
+ }
565
+
566
+ &[data-image='true'] {
567
+ & > article {
568
+ display: grid;
569
+ grid-template-areas: 'content img';
570
+ grid-template-columns: 2fr 1fr;
571
+
572
+ @media (max-width: 680px) {
573
+ /* Special Case - We let it be two-column until later */
574
+ display: unset;
575
+ grid-template-areas: unset;
576
+ grid-template-columns: unset;
577
+ }
578
+ }
579
+
580
+ & .list-item-image {
581
+ background-color: var(--fore-link);
582
+ padding: 1.5rem;
583
+ }
584
+ }
585
+
586
+ & .list-item-content {
587
+ display: grid;
588
+ grid-area: content;
589
+ grid-gap: 1rem;
590
+ grid-template-rows: auto fit-content(5rem);
591
+ padding: 1rem;
592
+
593
+ & h2,
594
+ & h3 {
595
+ font-size: 1.6rem;
596
+ margin: 0;
597
+ padding: 0;
598
+ text-decoration: none;
599
+
600
+ & a {
601
+ text-decoration: none;
602
+ }
603
+ }
604
+ }
605
+
606
+ & .list-item-image img {
607
+ border: 3px solid var(--fore-link);
608
+ border-radius: var(--block-radius);
609
+ box-shadow: var(--box-shadow);
610
+ filter: grayscale(1);
611
+ grid-area: img;
612
+ max-height: 8em;
613
+ min-height: 100%;
614
+ object-fit: cover;
615
+ transform: rotate(-3deg);
616
+ width: 100%;
617
+
618
+ @media (max-width: 680px) {
619
+ filter: grayscale(calc(1 - var(--img-shown)));
620
+ scale: calc(1 + (0.2 * var(--img-shown)));
621
+ transform: rotate(3deg);
622
+ }
623
+ }
624
+ }
625
+ }
626
+
627
+ .page-content ul.recent-updates {
628
+ list-style: none;
629
+ margin-inline: 0;
630
+ padding-inline: 0;
631
+ }
632
+
633
+ .recent-updates li {
634
+ margin-block-end: 1em;
635
+ }
636
+
637
+ .recent-updates time {
638
+ display: block;
639
+ }
640
+
641
+ /* Paging */
642
+
643
+ .post-paging {
644
+ display: flex;
645
+ flex-direction: row;
646
+ gap: 0.5rem;
647
+ margin: var(--block-gap) 0 var(--block-gap-l) 0;
648
+
649
+ & > * {
650
+ flex: 1;
651
+ text-align: center;
652
+ }
653
+
654
+ & a[aria-current] {
655
+ color: var(--fore);
656
+ text-decoration: none;
657
+ }
658
+
659
+ & span,
660
+ & a {
661
+ background-color: var(--aft-block);
662
+ color: var(--fore-link);
663
+ display: inline-block;
664
+ font-size: 1rem;
665
+ text-decoration: none;
666
+ }
667
+
668
+ & a:hover,
669
+ & a:focus {
670
+ background-color: var(--fore-link-alt);
671
+ color: var(--aft);
672
+ }
673
+ }
674
+
675
+ .paging-collapse-before,
676
+ .paging-collapse-after {
677
+ color: var(--fore);
678
+ display: inline-block;
679
+ position: relative;
680
+ text-decoration: none;
681
+
682
+ &:before,
683
+ &:after {
684
+ content: '...';
685
+ top: 0.2em;
686
+ }
687
+ }
688
+
689
+ .paging-collapse-before:before {
690
+ padding-right: 0.6rem;
691
+ }
692
+
693
+ .paging-collapse-after:after {
694
+ padding-left: 0.6rem;
695
+ }
696
+
697
+ .post-meta {
698
+ &:not(.mini) {
699
+ border-top: 1px solid var(--icon-block);
700
+ display: flex;
701
+ font-size: var(--font-size-meta);
702
+ gap: var(--block-gap);
703
+ margin: var(--block-gap) 0 0 0;
704
+ padding: var(--block-gap) 0;
705
+
706
+ @media (max-width: 860px) {
707
+ flex-direction: column;
708
+ }
709
+
710
+ & .author-image {
711
+ border-radius: 50%;
712
+ height: 100px;
713
+ margin-right: 1rem;
714
+ object-fit: cover;
715
+ width: 100px;
716
+
717
+ @media (max-width: 860px) {
718
+ display: block;
719
+ }
720
+ }
721
+ }
722
+
723
+ & > .author-info {
724
+ display: flex;
725
+ flex-wrap: wrap;
726
+ align-items: center;
727
+ }
728
+
729
+ & time[itemprop='dateModified'] {
730
+ font-style: italic;
731
+ }
732
+
733
+ &.mini {
734
+ font-size: var(--font-size-meta);
735
+ margin: 0 0 var(--paragraph-margin) 0;
736
+
737
+ & > .author-info {
738
+
739
+ & > *:nth-child(n + 3)::before {
740
+ content: '|';
741
+ padding: 0 0.3rem;
742
+ opacity: 0.5;
743
+ }
744
+
745
+ & > .author-image {
746
+ border-radius: 50%;
747
+ height: 1rem;
748
+ margin: 0 0.3rem 0 0;
749
+ width: 1rem;
750
+ }
751
+ }
752
+ }
753
+ }
754
+
755
+ .post-taxonomy {
756
+ margin: 0 0 var(--block-gap-l) 0;
757
+
758
+ & h2 {
759
+ display: inline-block;
760
+ font-family: var(--content-font);
761
+ font-size: 1rem;
762
+ margin: 0;
763
+ padding: 0 var(--grid-gap) 0 0;
764
+ }
765
+
766
+ & ul {
767
+ display: inline-block;
768
+ list-style: none;
769
+ margin: 0;
770
+ }
771
+
772
+ & li {
773
+ display: inline-block;
774
+ margin: 0.3em;
775
+ }
776
+
777
+ & a {
778
+ background-color: var(--aft-block);
779
+ color: var(--fore-link);
780
+ display: inline-block;
781
+ font-size: 1rem;
782
+ padding: 0.1em 0.7em;
783
+ text-decoration: none;
784
+
785
+ &:hover,
786
+ &:focus {
787
+ background-color: var(--fore-link-alt);
788
+ color: var(--aft);
789
+ }
790
+ }
791
+ }
792
+
793
+ .post-taxonomy.events ul {
794
+ display: flex;
795
+ flex-wrap: wrap;
796
+ }
797
+
798
+ .author-page {
799
+ display: flex;
800
+ gap: var(--grid-gap);
801
+
802
+ @media (max-width: 860px) {
803
+ flex-direction: column;
804
+ }
805
+ }
806
+
807
+ .author-page>img {
808
+ align-self: self-start;
809
+
810
+ @media (max-width: 860px) {
811
+ display: block;
812
+ margin-inline: auto;
813
+ }
814
+ }
815
+
816
+ /* Taxonomy */
817
+
818
+ /* Video */
819
+
820
+ .yt-video {
821
+ aspect-ratio: 16/9;
822
+ display: grid;
823
+ grid-template-rows: 1fr auto;
824
+ }
825
+
826
+ .yt-video>* {
827
+ align-items: center;
828
+ display: flex;
829
+ height: 100%;
830
+ justify-content: center;
831
+ width: 100%;
832
+ }
833
+
834
+ .yt-video .play-icon {
835
+ background-position: center;
836
+ background-size: cover;
837
+ border-radius: var(--block-radius);
838
+ box-shadow: var(--box-shadow);
839
+ color: var(--fore-link);
840
+ font-size: 5em;
841
+ }
842
+
843
+ .yt-video:hover .title,
844
+ .yt-video:focus .title {
845
+ background-color: var(--icon-block);
846
+ }
847
+
848
+ .yt-iframe {
849
+ display: block;
850
+ margin: 0 auto;
851
+ max-width: 100%;
852
+ }
853
+
854
+ a[data-youtube] {
855
+ text-decoration: none;
856
+ }
857
+
858
+ /* Code Block */
859
+
860
+ code {
861
+ background-color: var(--aft-block);
862
+ font-family: var(--code-font);
863
+ font-size: 1rem;
864
+ font-weight: bold;
865
+ overflow-wrap: break-word;
866
+ }
867
+
868
+ pre.astro-code {
869
+ border-radius: var(--block-radius);
870
+ font-family: var(--code-font);
871
+ margin: var(--block-gap) 0;
872
+ overflow: auto;
873
+ padding: 1rem;
874
+ }
875
+
876
+ pre.astro-code code {
877
+ font-weight: unset;
878
+ background-color: unset;
879
+ overflow-wrap: unset;
880
+ }
881
+
882
+ /* Helper icons */
883
+
884
+ .copy-container {
885
+ left: 0.4rem;
886
+ margin: 0;
887
+ max-height: 0px;
888
+ position: relative;
889
+ text-align: right;
890
+ top: 0.6rem;
891
+ width: 100%;
892
+ z-index: 1;
893
+ }
894
+
895
+ .copy-button {
896
+ background-color: transparent;
897
+ border: none;
898
+ border-radius: 0.2rem;
899
+ fill: var(--fore-link-alt);
900
+ stroke: var(--aft);
901
+ }
902
+
903
+ .copy-button:hover,
904
+ .copy-button:focus {
905
+ fill: var(--fore-link);
906
+ transform: rotate(4deg);
907
+ }
908
+
909
+ .magnify-container {
910
+ left: 1.1rem;
911
+ margin: 0;
912
+ max-height: 0px;
913
+ position: relative;
914
+ text-align: right;
915
+ top: -1.3rem;
916
+ width: 100%;
917
+ z-index: 1;
918
+ }
919
+
920
+ .magnify-button {
921
+ background-color: transparent;
922
+ border: none;
923
+ border-radius: 0.2rem;
924
+ fill: var(--aft);
925
+ opacity: 0;
926
+ stroke: var(--fore-link);
927
+ }
928
+
929
+ .magnify-button:hover,
930
+ .magnify-button:focus {
931
+ stroke: var(--aft);
932
+ transform: rotate(4deg);
933
+ opacity: 1;
934
+ }
935
+
936
+ .input-touch .magnify-button {
937
+ opacity: 1;
938
+ }
939
+
940
+ figure:hover .magnify-button,
941
+ figure:focus .magnify-button {
942
+ opacity: 1;
943
+ }
944
+
945
+ /* Custom Divisions */
946
+
947
+ .note {
948
+ background-color: var(--aft-block);
949
+ border-radius: var(--block-radius);
950
+ box-shadow: var(--box-shadow);
951
+ color: var(--fore-block);
952
+ margin: var(--block-gap) 0;
953
+ padding: 0.1px 1.2em;
954
+ position: relative;
955
+ }
956
+
957
+ .simple-grid {
958
+ display: grid;
959
+ grid-template-columns: 1fr 1fr;
960
+ grid-gap: var(--block-gap);
961
+
962
+ @media (max-width: 680px) {
963
+ grid-template-columns: 1fr;
964
+ }
965
+ }
966
+
967
+ .simple-grid>*>* {
968
+ width: 100%;
969
+ }
970
+
971
+ .simple-grid.l-s {
972
+ grid-template-columns: 2fr 1fr;
973
+ align-items: start;
974
+
975
+ @media (max-width: 680px) {
976
+ grid-template-columns: 1fr;
977
+ }
978
+ }
979
+
980
+ .simple-grid.s-l {
981
+ grid-template-columns: 1fr 2fr;
982
+ align-items: start;
983
+
984
+ @media (max-width: 680px) {
985
+ grid-template-columns: 1fr;
986
+ }
987
+ }
988
+
989
+ .inset {
990
+ margin: var(--block-gap) auto;
991
+ width: 66%;
992
+ }
993
+
994
+ .inset-small {
995
+ margin: var(--block-gap) auto;
996
+ width: 66%;
997
+ max-width: 200px;
998
+ }
999
+
1000
+ .inset-medium {
1001
+ margin: var(--block-gap) auto;
1002
+ width: 66%;
1003
+ max-width: 400px;
1004
+ }
1005
+
1006
+ @media (max-width: 680px) {
1007
+
1008
+ .note,
1009
+ .inset,
1010
+ .inset-small,
1011
+ .inset-medium {
1012
+ width: auto;
1013
+ max-width: unset;
1014
+ margin: var(--block-gap) 0;
1015
+ }
1016
+ }
1017
+
1018
+ /* Detail tabs */
1019
+
1020
+ .tab-list {
1021
+ padding-inline: 10px;
1022
+ }
1023
+
1024
+ .tab-list button,
1025
+ .tab-list button:focus,
1026
+ .tab-list button:hover {
1027
+ background: var(--aft-block);
1028
+ border: 2px solid var(--aft-block);
1029
+ border-radius: var(--block-radius) var(--block-radius) 0 0;
1030
+ cursor: pointer;
1031
+ display: inline-block;
1032
+ font-weight: bold;
1033
+ margin: 0;
1034
+ margin-top: 4px;
1035
+ outline: none;
1036
+ position: relative;
1037
+ text-align: left;
1038
+ top: 2px;
1039
+ z-index: 2;
1040
+ }
1041
+
1042
+ .tab-list button[aria-selected='true'] {
1043
+ margin-top: 0;
1044
+ border-width: 2px;
1045
+ border-top-width: 6px;
1046
+ border-top-color: var(--fore-link);
1047
+ border-inline-color: var(--fore-link);
1048
+ border-bottom-color: var(--aft);
1049
+ background-color: var(--aft);
1050
+ }
1051
+
1052
+ .tab-list button[aria-selected='false'] {
1053
+ top: 0px;
1054
+ }
1055
+
1056
+ .tab-list button span.focus {
1057
+ display: inline-block;
1058
+ margin: 2px;
1059
+ padding: 4px 6px;
1060
+ outline: none;
1061
+ }
1062
+
1063
+ [role='tabpanel'] {
1064
+ position: relative;
1065
+ padding: 1rem;
1066
+ border: 2px solid var(--fore-link);
1067
+ border-radius: var(--block-radius);
1068
+ background: var(--aft);
1069
+ min-height: 10em;
1070
+ overflow: auto;
1071
+ }
1072
+
1073
+ [role='tabpanel'].is-hidden {
1074
+ display: none;
1075
+ }
1076
+
1077
+ [role='tabpanel'] p {
1078
+ margin: 0;
1079
+ }
1080
+
1081
+ /* Animation */
1082
+
1083
+ @media (prefers-reduced-motion: no-preference) {
1084
+
1085
+ .magnify-icon,
1086
+ .copy-button {
1087
+ transition: all 0.2s ease-in;
1088
+ }
1089
+
1090
+ .anim-show-parent .list-item img {
1091
+ transition: all 0.2s ease-in;
1092
+ }
1093
+
1094
+
1095
+ .anim-show-parent .list-item {
1096
+ transition-duration: 0.2s;
1097
+ transition-timing-function: ease-in;
1098
+ transition-property: transform, filter, box-shadow, background-color, color, opacity;
1099
+ scale: calc(0.75 + (var(--shown, 1) * 0.25));
1100
+ }
1101
+ }