astro-accelerator 4.0.0 → 4.0.2

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