astro-accelerator 4.0.20 → 4.0.22

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 (39) hide show
  1. package/package.json +83 -83
  2. package/public/css/main.css +101 -75
  3. package/public/css/vars.css +33 -31
  4. package/public/js/main.js +22 -12
  5. package/public/js/modules/animation.js +19 -16
  6. package/public/js/modules/click-blocks.js +13 -10
  7. package/public/js/modules/code-blocks.js +12 -8
  8. package/public/js/modules/detail-tabs.js +117 -111
  9. package/public/js/modules/events.js +9 -7
  10. package/public/js/modules/external-links.js +6 -1
  11. package/public/js/modules/figures.js +19 -14
  12. package/public/js/modules/focus.js +33 -27
  13. package/public/js/modules/headers.js +10 -8
  14. package/public/js/modules/input-type.js +12 -9
  15. package/public/js/modules/nav-mobile.js +38 -27
  16. package/public/js/modules/nav-sticky.js +33 -17
  17. package/public/js/modules/query.js +11 -13
  18. package/public/js/modules/resizing.js +9 -7
  19. package/public/js/modules/scrollbar.js +11 -2
  20. package/public/js/modules/search-dialog.js +26 -12
  21. package/public/js/modules/share.js +11 -5
  22. package/public/js/modules/stemmer.js +71 -57
  23. package/public/js/modules/string.js +33 -26
  24. package/public/js/modules/toc.js +16 -11
  25. package/public/js/modules/youtube.js +7 -4
  26. package/public/js/search.js +545 -508
  27. package/src/config.ts +55 -51
  28. package/src/data/footer.ts +27 -20
  29. package/src/data/image-size.mjs +4 -2
  30. package/src/data/images.mjs +4 -2
  31. package/src/data/language.json +1 -1
  32. package/src/data/navigation.ts +4 -4
  33. package/src/themes/accelerator/components/Search.astro +2 -5
  34. package/src/themes/accelerator/utilities/Languages.ts +7 -7
  35. package/src/themes/accelerator/utilities/custom-markdown.mjs +94 -83
  36. package/src/themes/accelerator/utilities/default-layout.mjs +3 -1
  37. package/src/themes/accelerator/utilities/img.mjs +38 -14
  38. package/src/themes/accelerator/utilities/language.json +9 -9
  39. package/src/themes/accelerator/utilities/stats.mjs +14 -6
package/package.json CHANGED
@@ -1,86 +1,86 @@
1
1
  {
2
- "version": "4.0.20",
3
- "author": "Steve Fenton",
4
- "name": "astro-accelerator",
5
- "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
6
- "keywords": [
7
- "astro",
8
- "themes"
9
- ],
10
- "type": "module",
11
- "packageManager": "pnpm@8.7.0",
12
- "engines": {
13
- "node": ">=18.14.1",
14
- "pnpm": ">=8.6.12"
15
- },
16
- "homepage": "https://astro.stevefenton.co.uk/",
17
- "bugs": "https://github.com/Steve-Fenton/astro-accelerator/issues",
18
- "license": "(Apache-2.0)",
19
- "repository": {
20
- "url": "https://github.com/Steve-Fenton/astro-accelerator"
21
- },
22
- "scripts": {
23
- "img": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs",
24
- "dev": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs && astro dev",
25
- "stats": "node --no-experimental-fetch ./src/themes/accelerator/utilities/stats.mjs",
26
- "spellcheck": "git fetch origin main:refs/remotes/origin/main && git diff origin/main --name-only --diff-filter=ACMRTUXB | cspell --no-must-find-files --file-list stdin",
27
- "test": "astro build && npx playwright install --with-deps && npx playwright test",
28
- "build": "astro build",
29
- "preview": "astro preview",
30
- "astro": "astro",
31
- "dts": "tsc ./tests/locate-content.js ./tests/locate-navigation.js ./tests/locate-search.js --allowJs --declaration --emitDeclarationOnly"
32
- },
33
- "dependencies": {
34
- "@astrojs/mdx": "^2.1.1",
35
- "astro": "^4.4.3",
36
- "astro-accelerator-utils": "^0.3.7",
37
- "cspell": "^8.4.1",
38
- "csv": "^6.3.6",
39
- "hast-util-from-selector": "^3.0.0",
40
- "html-to-text": "^9.0.5",
41
- "keyword-extractor": "^0.0.28",
42
- "optional": "^0.1.4",
43
- "remark-directive": "^3.0.0",
44
- "sharp": "^0.33.2"
45
- },
46
- "devDependencies": {
47
- "@playwright/test": "^1.41.2"
48
- },
49
- "files": [
50
- ".npmrc",
51
- "env.d.ts",
52
- "tsconfig.json",
53
- "astro.config.mjs",
54
- "sample/*",
55
- "sample/**/*",
56
- "src/config.ts",
57
- "src/pages/index.md",
58
- "src/pages/search.md",
59
- "src/pages/articles/*.astro",
60
- "src/pages/articles/*.ts",
61
- "src/pages/authors/**/*.astro",
62
- "src/pages/category/**/*.astro",
63
- "src/pages/category/**/*.astro",
64
- "src/pages/tag/**/*.astro",
65
- "src/pages/tag/**/*.astro",
66
- "src/pages/search.json.ts",
67
- "src/pages/sitemap.xml.ts",
68
- "src/pages/report/*",
69
- "src/layouts/*",
70
- "src/themes/accelerator/components/*",
71
- "src/themes/accelerator/layouts/*",
72
- "src/themes/accelerator/utilities/*",
73
- "src/data/*",
74
- "public/img/astro-lighthouse.png",
75
- "public/icons/**/*",
76
- "public/css/*",
77
- "public/js/*"
78
- ],
79
- "pnpm": {
80
- "overrides": {
81
- "postcss@<8.4.31": ">=8.4.31",
82
- "vite@<=5.0.11": ">=5.0.12",
83
- "zod@<=3.22.2": ">=3.22.3"
2
+ "version": "4.0.22",
3
+ "author": "Steve Fenton",
4
+ "name": "astro-accelerator",
5
+ "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
6
+ "keywords": [
7
+ "astro",
8
+ "themes"
9
+ ],
10
+ "type": "module",
11
+ "packageManager": "pnpm@8.7.0",
12
+ "engines": {
13
+ "node": ">=18.14.1",
14
+ "pnpm": ">=8.6.12"
15
+ },
16
+ "homepage": "https://astro.stevefenton.co.uk/",
17
+ "bugs": "https://github.com/Steve-Fenton/astro-accelerator/issues",
18
+ "license": "(Apache-2.0)",
19
+ "repository": {
20
+ "url": "https://github.com/Steve-Fenton/astro-accelerator"
21
+ },
22
+ "scripts": {
23
+ "img": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs",
24
+ "dev": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs && astro dev",
25
+ "stats": "node --no-experimental-fetch ./src/themes/accelerator/utilities/stats.mjs",
26
+ "spellcheck": "git fetch origin main:refs/remotes/origin/main && git diff origin/main --name-only --diff-filter=ACMRTUXB | cspell --no-must-find-files --file-list stdin",
27
+ "test": "astro build && npx playwright install --with-deps && npx playwright test",
28
+ "build": "astro build",
29
+ "preview": "astro preview",
30
+ "astro": "astro",
31
+ "dts": "tsc ./tests/locate-content.js ./tests/locate-navigation.js ./tests/locate-search.js --allowJs --declaration --emitDeclarationOnly"
32
+ },
33
+ "dependencies": {
34
+ "@astrojs/mdx": "^2.1.1",
35
+ "astro": "^4.4.3",
36
+ "astro-accelerator-utils": "^0.3.7",
37
+ "cspell": "^8.4.1",
38
+ "csv": "^6.3.6",
39
+ "hast-util-from-selector": "^3.0.0",
40
+ "html-to-text": "^9.0.5",
41
+ "keyword-extractor": "^0.0.28",
42
+ "optional": "^0.1.4",
43
+ "remark-directive": "^3.0.0",
44
+ "sharp": "^0.33.2"
45
+ },
46
+ "devDependencies": {
47
+ "@playwright/test": "^1.41.2"
48
+ },
49
+ "files": [
50
+ ".npmrc",
51
+ "env.d.ts",
52
+ "tsconfig.json",
53
+ "astro.config.mjs",
54
+ "sample/*",
55
+ "sample/**/*",
56
+ "src/config.ts",
57
+ "src/pages/index.md",
58
+ "src/pages/search.md",
59
+ "src/pages/articles/*.astro",
60
+ "src/pages/articles/*.ts",
61
+ "src/pages/authors/**/*.astro",
62
+ "src/pages/category/**/*.astro",
63
+ "src/pages/category/**/*.astro",
64
+ "src/pages/tag/**/*.astro",
65
+ "src/pages/tag/**/*.astro",
66
+ "src/pages/search.json.ts",
67
+ "src/pages/sitemap.xml.ts",
68
+ "src/pages/report/*",
69
+ "src/layouts/*",
70
+ "src/themes/accelerator/components/*",
71
+ "src/themes/accelerator/layouts/*",
72
+ "src/themes/accelerator/utilities/*",
73
+ "src/data/*",
74
+ "public/img/astro-lighthouse.png",
75
+ "public/icons/**/*",
76
+ "public/css/*",
77
+ "public/js/*"
78
+ ],
79
+ "pnpm": {
80
+ "overrides": {
81
+ "postcss@<8.4.31": ">=8.4.31",
82
+ "vite@<=5.0.11": ">=5.0.12",
83
+ "zod@<=3.22.2": ">=3.22.3"
84
+ }
84
85
  }
85
- }
86
86
  }
@@ -1,7 +1,9 @@
1
+ /** @format */
2
+
1
3
  html {
2
4
  box-sizing: border-box;
3
5
  }
4
-
6
+
5
7
  *,
6
8
  *::before,
7
9
  *::after {
@@ -29,7 +31,8 @@ body {
29
31
  font-family: var(--content-font);
30
32
  }
31
33
 
32
- a, summary {
34
+ a,
35
+ summary {
33
36
  color: var(--fore-link);
34
37
  text-decoration: underline;
35
38
  cursor: pointer;
@@ -96,7 +99,12 @@ em {
96
99
  font-style: italic;
97
100
  }
98
101
 
99
- h1, h2, h3, h4, h5, h6 {
102
+ h1,
103
+ h2,
104
+ h3,
105
+ h4,
106
+ h5,
107
+ h6 {
100
108
  font-family: var(--heading-font);
101
109
  margin: 1.5em 0 0.6em 0;
102
110
  color: var(--fore-headings);
@@ -118,7 +126,9 @@ h3 {
118
126
  font-size: clamp(1.6em, 3vw, 2.3em);
119
127
  }
120
128
 
121
- h4, h5, h6 {
129
+ h4,
130
+ h5,
131
+ h6 {
122
132
  font-size: 2em;
123
133
  font-size: clamp(1.4em, 2.5vw, 2em);
124
134
  }
@@ -160,7 +170,8 @@ li::marker {
160
170
  color: var(--fore-headings);
161
171
  }
162
172
 
163
- .page-content ul:not(.post-list), .page-content ol {
173
+ .page-content ul:not(.post-list),
174
+ .page-content ol {
164
175
  margin: var(--paragraph-margin) 0 var(--paragraph-margin) 1.2rem;
165
176
  }
166
177
 
@@ -193,7 +204,8 @@ thead tr {
193
204
  color: var(--fore-table-head);
194
205
  }
195
206
 
196
- th, td {
207
+ th,
208
+ td {
197
209
  border: 0.5px solid var(--fore);
198
210
  padding: 0.2em 0.3em;
199
211
  }
@@ -209,6 +221,7 @@ tbody tr:nth-child(odd) {
209
221
  }
210
222
 
211
223
  /* Skip Links */
224
+
212
225
  nav.skip-links {
213
226
  position: absolute;
214
227
  }
@@ -236,9 +249,9 @@ nav.skip-links a:focus {
236
249
  width: auto;
237
250
  }
238
251
 
239
- /* Breadcrumbs */
252
+ /* Breadcrumbs */
240
253
 
241
- .site-breadcrumbs ol {
254
+ .site-breadcrumbs ol {
242
255
  font-size: 0.8rem;
243
256
  background-color: var(--aft-breadcrumb);
244
257
  color: var(--fore-breadcrumb);
@@ -266,12 +279,13 @@ nav.skip-links a:focus {
266
279
  }
267
280
 
268
281
  @media (max-width: 860px) {
269
- .site-breadcrumbs ol {
270
- text-align: center;
271
- }
282
+ .site-breadcrumbs ol {
283
+ text-align: center;
284
+ }
272
285
  }
273
286
 
274
287
  /* Header */
288
+
275
289
  .site-header {
276
290
  color: var(--fore-head);
277
291
  background-color: var(--aft-head);
@@ -311,7 +325,12 @@ nav.skip-links a:focus {
311
325
  }
312
326
 
313
327
  .site-header .navigation-icon {
328
+ --icon-width: 40px;
314
329
  stroke: var(--link-head);
330
+ border: 1px solid var(--link-head);
331
+ border-radius: calc(var(--icon-width) / 2);
332
+ width: var(--icon-width);
333
+ height: var(--icon-width);
315
334
  }
316
335
 
317
336
  .site-header .search-icon {
@@ -336,13 +355,13 @@ nav.site-nav h2 {
336
355
  }
337
356
 
338
357
  @media (max-width: 860px) {
339
- nav.site-nav h2 {
340
- display: block;
341
- }
358
+ nav.site-nav h2 {
359
+ display: block;
360
+ }
342
361
 
343
- nav.site-nav {
344
- grid-row: 2;
345
- }
362
+ nav.site-nav {
363
+ grid-row: 2;
364
+ }
346
365
  }
347
366
 
348
367
  .site-nav {
@@ -410,11 +429,11 @@ nav.site-nav h2 {
410
429
  .site-nav-bar h2 {
411
430
  display: block;
412
431
  }
413
-
432
+
414
433
  .site-nav-bar {
415
434
  display: none;
416
435
  }
417
- }
436
+ }
418
437
 
419
438
  .site-nav-bar ul {
420
439
  list-style: none;
@@ -440,7 +459,8 @@ nav.site-nav h2 {
440
459
  display: block;
441
460
  }
442
461
 
443
- .overlay-menu a, .overlay-menu summary {
462
+ .overlay-menu a,
463
+ .overlay-menu summary {
444
464
  border-bottom: 1px solid var(--fore-link);
445
465
  border-radius: var(--block-radius) var(--block-radius) 0 0;
446
466
  }
@@ -450,11 +470,14 @@ nav.site-nav h2 {
450
470
  .content-group {
451
471
  width: 100%;
452
472
  max-width: 100%;
453
- display: grid;
454
- grid-template-columns: minmax(5vw, 50vw) var(--navigation-width) min-content minmax(5vw, 50vw);
455
- grid-template-areas:
456
- "top top top top"
457
- "left menu content right";
473
+ display: grid;
474
+ grid-template-columns: minmax(5vw, 50vw) var(--navigation-width) min-content minmax(
475
+ 5vw,
476
+ 50vw
477
+ );
478
+ grid-template-areas:
479
+ 'top top top top'
480
+ 'left menu content right';
458
481
  gap: var(--grid-gap);
459
482
  padding-top: 0;
460
483
  }
@@ -493,10 +516,10 @@ nav.site-nav h2 {
493
516
  grid-template-columns: 1rem auto 1rem;
494
517
  grid-template-rows: auto auto auto;
495
518
  gap: 0;
496
- grid-template-areas:
497
- "top top top"
498
- "left content right"
499
- "left menu right";
519
+ grid-template-areas:
520
+ 'top top top'
521
+ 'left content right'
522
+ 'left menu right';
500
523
  }
501
524
 
502
525
  .content-group article > .page-content {
@@ -572,7 +595,7 @@ nav.site-nav h2 {
572
595
 
573
596
  .footer-columns {
574
597
  display: grid;
575
- grid-template-columns: repeat(auto-fit, minmax(18rem, 22rem));;
598
+ grid-template-columns: repeat(auto-fit, minmax(18rem, 22rem));
576
599
  justify-content: center;
577
600
  gap: var(--block-gap);
578
601
  }
@@ -601,7 +624,7 @@ nav.site-nav h2 {
601
624
  height: calc(100% - 7rem);
602
625
  max-height: 100vh;
603
626
  background-color: var(--aft);
604
- padding : 5rem 1em 2rem 1em;
627
+ padding: 5rem 1em 2rem 1em;
605
628
  overflow-y: auto;
606
629
  z-index: 1;
607
630
  }
@@ -622,10 +645,10 @@ nav.site-nav h2 {
622
645
  .site-search {
623
646
  height: var(--search-height);
624
647
  border-radius: var(--search-border-radius);
625
- border: var(--search-border);
648
+ border: 1px solid var(--link-head);
626
649
  background-color: var(--white);
627
650
  position: relative;
628
- z-index: 1
651
+ z-index: 1;
629
652
  }
630
653
 
631
654
  .site-search-results {
@@ -638,7 +661,7 @@ nav.site-nav h2 {
638
661
  border-radius: 0.9375rem;
639
662
  list-style-type: none;
640
663
  overflow-y: scroll;
641
- transition-property: padding, transform, visibility;
664
+ transition-property: padding, transform, visibility;
642
665
  transition-duration: var(--search-dropdown-duration);
643
666
  transition-timing-function: ease-in-out;
644
667
  visibility: hidden;
@@ -649,7 +672,7 @@ nav.site-nav h2 {
649
672
  will-change: transform;
650
673
  }
651
674
 
652
- .site-search.is-active+.site-search-results {
675
+ .site-search.is-active + .site-search-results {
653
676
  padding: 1rem 0;
654
677
  transform: translateY(1.37rem) scaleY(1);
655
678
  visibility: visible;
@@ -667,7 +690,7 @@ nav.site-nav h2 {
667
690
  .site-search__overlay {
668
691
  opacity: 0;
669
692
  visibility: hidden;
670
- background: rgba(12, 26, 36, 0.30);
693
+ background: rgba(12, 26, 36, 0.3);
671
694
  position: fixed;
672
695
  top: 0;
673
696
  left: 0;
@@ -696,7 +719,7 @@ nav.site-nav h2 {
696
719
  visibility: hidden;
697
720
  }
698
721
 
699
- .site-search.is-active+.site-search-results>.search-results__heading {
722
+ .site-search.is-active + .site-search-results > .search-results__heading {
700
723
  visibility: visible;
701
724
  }
702
725
 
@@ -723,7 +746,7 @@ nav.site-nav h2 {
723
746
  }
724
747
 
725
748
  .site-search-results__item::after {
726
- content: "";
749
+ content: '';
727
750
  display: inline-block;
728
751
  width: 0.75rem;
729
752
  height: 1.25rem;
@@ -775,7 +798,7 @@ nav.site-nav h2 {
775
798
  }
776
799
 
777
800
  .result-path {
778
- color: var(--fore-breadcrumb);
801
+ color: var(--fore-breadcrumb);
779
802
  font-size: 0.875rem;
780
803
  font-weight: 400;
781
804
  display: flex;
@@ -800,7 +823,7 @@ nav.site-nav h2 {
800
823
  margin: 0;
801
824
  }
802
825
 
803
- .site-search>fieldset {
826
+ .site-search > fieldset {
804
827
  height: 100%;
805
828
  display: flex;
806
829
  align-items: center;
@@ -841,14 +864,15 @@ nav.site-nav h2 {
841
864
  }
842
865
 
843
866
  .site-header .site-search__mobile {
844
- --search-mobile-size: 3rem;
867
+ --search-mobile-size: 40px;
845
868
  display: flex;
846
869
  width: var(--search-mobile-size);
847
870
  height: var(--search-mobile-size);
871
+ border: 1px solid var(--link-head);
848
872
  border-radius: calc(var(--search-mobile-size) / 2);
849
873
  justify-content: center;
850
874
  align-items: center;
851
- border: var(--search-border);
875
+ fill: var(--link-head);
852
876
  }
853
877
  }
854
878
 
@@ -868,15 +892,15 @@ nav.site-nav h2 {
868
892
  display: none;
869
893
  }
870
894
 
871
- .result-headings li:nth-child(-n+3) {
895
+ .result-headings li:nth-child(-n + 3) {
872
896
  display: block;
873
897
  }
874
898
 
875
- .result-headings:has(li:nth-child(n+4))::after {
899
+ .result-headings:has(li:nth-child(n + 4))::after {
876
900
  content: 'See more >';
877
901
  color: var(--fore-link);
878
902
  text-decoration: underline;
879
- }
903
+ }
880
904
 
881
905
  .result-headings:focus-within li {
882
906
  display: block;
@@ -895,7 +919,7 @@ nav.site-nav h2 {
895
919
  @media (max-width: 860px) {
896
920
  form.site-search div {
897
921
  grid-template-columns: repeat(1, auto);
898
- }
922
+ }
899
923
  }
900
924
 
901
925
  /* Search dialog */
@@ -962,7 +986,7 @@ nav.site-nav h2 {
962
986
  }
963
987
 
964
988
  .post-list .list-item[data-image='false'] > article {
965
- text-align: center ;
989
+ text-align: center;
966
990
  }
967
991
 
968
992
  .post-list .list-item-content {
@@ -1004,7 +1028,7 @@ nav.site-nav h2 {
1004
1028
  }
1005
1029
 
1006
1030
  .post-list .list-item img {
1007
- max-height: 120px
1031
+ max-height: 120px;
1008
1032
  }
1009
1033
  }
1010
1034
 
@@ -1060,11 +1084,11 @@ nav.site-nav h2 {
1060
1084
  align-items: center;
1061
1085
  }
1062
1086
 
1063
- .post-meta time[itemprop="datePublished"] {
1087
+ .post-meta time[itemprop='datePublished'] {
1064
1088
  display: inline-block;
1065
1089
  }
1066
1090
 
1067
- .post-meta time[itemprop="dateModified"] {
1091
+ .post-meta time[itemprop='dateModified'] {
1068
1092
  font-style: italic;
1069
1093
  display: block;
1070
1094
  }
@@ -1104,7 +1128,7 @@ nav.site-nav h2 {
1104
1128
  padding: 0.1em 0.7em;
1105
1129
  }
1106
1130
 
1107
- .post-taxonomy a:hover,
1131
+ .post-taxonomy a:hover,
1108
1132
  .post-taxonomy a:focus {
1109
1133
  background-color: var(--fore-link-alt);
1110
1134
  color: var(--aft);
@@ -1117,7 +1141,7 @@ nav.site-nav h2 {
1117
1141
  aspect-ratio: 1/1;
1118
1142
  object-fit: cover;
1119
1143
  max-width: 150px;
1120
- float: right
1144
+ float: right;
1121
1145
  }
1122
1146
 
1123
1147
  /* Video */
@@ -1126,17 +1150,17 @@ nav.site-nav h2 {
1126
1150
  aspect-ratio: 4/3;
1127
1151
  display: grid;
1128
1152
  grid-template-rows: 3fr 1fr;
1129
- }
1130
-
1131
- .yt-video > * {
1153
+ }
1154
+
1155
+ .yt-video > * {
1132
1156
  align-items: center;
1133
1157
  display: flex;
1134
1158
  height: 100%;
1135
1159
  justify-content: center;
1136
1160
  width: 100%;
1137
- }
1138
-
1139
- .yt-video .play-icon {
1161
+ }
1162
+
1163
+ .yt-video .play-icon {
1140
1164
  background-image: url(https://img.youtube.com/vi/VOWnhMxJMMk/0.jpg);
1141
1165
  background-position: center;
1142
1166
  background-size: cover;
@@ -1144,21 +1168,22 @@ nav.site-nav h2 {
1144
1168
  box-shadow: var(--box-shadow);
1145
1169
  color: var(--fore-link);
1146
1170
  font-size: 5em;
1147
- }
1148
-
1149
- .yt-video:hover .title, .yt-video:focus .title {
1171
+ }
1172
+
1173
+ .yt-video:hover .title,
1174
+ .yt-video:focus .title {
1150
1175
  background-color: var(--funk);
1151
- }
1176
+ }
1152
1177
 
1153
- .yt-iframe {
1178
+ .yt-iframe {
1154
1179
  max-width: 100%;
1155
1180
  margin: 0 auto;
1156
1181
  display: block;
1157
- }
1182
+ }
1158
1183
 
1159
- a[data-youtube] {
1184
+ a[data-youtube] {
1160
1185
  text-decoration: none;
1161
- }
1186
+ }
1162
1187
 
1163
1188
  /* Code Block */
1164
1189
 
@@ -1314,7 +1339,7 @@ button[data-share] {
1314
1339
  stroke: var(--fore-link);
1315
1340
  }
1316
1341
 
1317
- button[data-share]:hover,
1342
+ button[data-share]:hover,
1318
1343
  button[data-share]:focus {
1319
1344
  color: var(--fore-link-alt);
1320
1345
  stroke: var(--fore-link-alt);
@@ -1344,7 +1369,7 @@ button[data-share]:focus {
1344
1369
  cursor: pointer;
1345
1370
  }
1346
1371
 
1347
- .tab-list button[aria-selected="true"] {
1372
+ .tab-list button[aria-selected='true'] {
1348
1373
  margin-top: 0;
1349
1374
  border-width: 2px;
1350
1375
  border-top-width: 6px;
@@ -1354,7 +1379,7 @@ button[data-share]:focus {
1354
1379
  background-color: var(--aft);
1355
1380
  }
1356
1381
 
1357
- .tab-list button[aria-selected="false"] {
1382
+ .tab-list button[aria-selected='false'] {
1358
1383
  top: 0px;
1359
1384
  }
1360
1385
 
@@ -1365,8 +1390,8 @@ button[data-share]:focus {
1365
1390
  outline: none;
1366
1391
  }
1367
1392
 
1368
- [role="tabpanel"] {
1369
- position:relative;
1393
+ [role='tabpanel'] {
1394
+ position: relative;
1370
1395
  padding: 1rem;
1371
1396
  border: 2px solid var(--fore-link);
1372
1397
  border-radius: var(--block-radius);
@@ -1375,18 +1400,19 @@ button[data-share]:focus {
1375
1400
  overflow: auto;
1376
1401
  }
1377
1402
 
1378
- [role="tabpanel"].is-hidden {
1403
+ [role='tabpanel'].is-hidden {
1379
1404
  display: none;
1380
1405
  }
1381
1406
 
1382
- [role="tabpanel"] p {
1407
+ [role='tabpanel'] p {
1383
1408
  margin: 0;
1384
1409
  }
1385
1410
 
1386
1411
  /* Animation */
1387
1412
 
1388
1413
  @media (prefers-reduced-motion: no-preference) {
1389
- body, html {
1414
+ body,
1415
+ html {
1390
1416
  scroll-behavior: smooth;
1391
1417
  }
1392
1418
 
@@ -1406,4 +1432,4 @@ button[data-share]:focus {
1406
1432
  .anim-show-parent .list-item img {
1407
1433
  scale: 1;
1408
1434
  }
1409
- }
1435
+ }