astro-accelerator 5.10.0 → 5.10.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.
- package/package.json +5 -5
- package/public/css/AtkinsonHyperlegibleMono-Regular.otf +0 -0
- package/public/css/AtkinsonHyperlegibleNext-Bold.otf +0 -0
- package/public/css/AtkinsonHyperlegibleNext-Regular.otf +0 -0
- package/public/css/main.css +490 -352
- package/public/css/vars.css +84 -65
- package/src/config.ts +4 -3
package/public/css/vars.css
CHANGED
|
@@ -1,94 +1,113 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
:root {
|
|
10
|
-
--fore: #333;
|
|
11
|
-
--fore-headings: #225;
|
|
12
|
-
--aft: #fbfbfc;
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "hyper-reg";
|
|
3
|
+
font-weight: normal;
|
|
4
|
+
font-style: normal;
|
|
5
|
+
src: url("AtkinsonHyperlegibleNext-Regular.otf");
|
|
6
|
+
font-display: block;
|
|
7
|
+
}
|
|
13
8
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: "hyper-bold";
|
|
11
|
+
font-weight: bold;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
src: url("AtkinsonHyperlegibleNext-Bold.otf");
|
|
14
|
+
font-display: block;
|
|
15
|
+
}
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: "hyper-mono";
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
font-style: normal;
|
|
21
|
+
src: url("AtkinsonHyperlegibleMono-Regular.otf");
|
|
22
|
+
font-display: block;
|
|
23
|
+
}
|
|
21
24
|
|
|
22
|
-
|
|
23
|
-
--
|
|
25
|
+
:root {
|
|
26
|
+
--fore: #233;
|
|
27
|
+
--aft: #DFF;
|
|
28
|
+
--aft-image: #DFF;
|
|
24
29
|
|
|
25
|
-
--link
|
|
26
|
-
--link-alt
|
|
30
|
+
--fore-link: #355;
|
|
31
|
+
--fore-link-alt: #699;
|
|
32
|
+
--aft-link-alt: #e6e6eC;
|
|
33
|
+
|
|
34
|
+
--fore-input: var(--fore);
|
|
35
|
+
--aft-input: var(--aft);
|
|
27
36
|
|
|
28
37
|
--fore-block: #333;
|
|
29
|
-
--aft-block: #
|
|
30
|
-
--icon-block: #
|
|
38
|
+
--aft-block: #BEE;
|
|
39
|
+
--icon-block: #FF0;
|
|
31
40
|
|
|
32
|
-
--fore-table-head: #
|
|
33
|
-
--aft-table-head: #
|
|
41
|
+
--fore-table-head: #DFF;
|
|
42
|
+
--aft-table-head: #233;
|
|
34
43
|
--fore-table-row-odd: #333;
|
|
35
|
-
--aft-table-row-odd: #
|
|
44
|
+
--aft-table-row-odd: #DFF;
|
|
36
45
|
--fore-table-row-even: #333;
|
|
37
|
-
--aft-table-row-even: #
|
|
46
|
+
--aft-table-row-even: #CFF;
|
|
47
|
+
|
|
48
|
+
--heading-font: 'hyper-bold', sans-serif;
|
|
49
|
+
--content-font: 'hyper-reg', Verdana, Geneva, sans-serif;
|
|
50
|
+
--code-font: 'hyper-mono', Consolas, 'Courier New', Courier, monospace;
|
|
51
|
+
--unicode-font: font-family: "Segoe UI Symbol", "Arial Unicode MS", "DejaVu Sans", "Meiryo UI", "MS UI Gothic", "Everson Mono Unicode", Meiryo, "MS Gothic", "MS Mincho", "MS PGothic", "MS PMincho", "Meslo LG L", "Meslo LG L DZ", "Meslo M L", "Meslo M L DZ", "Meslo S L", "Meslo S L DZ", "Symbola", "DejaVu Sans Condensed", "DejaVu Sans Mono", Code2000, "Everson Mono", Quivira, sans-serif;
|
|
38
52
|
|
|
39
|
-
--
|
|
40
|
-
--
|
|
41
|
-
--
|
|
42
|
-
--
|
|
53
|
+
--font-size-meta: 0.9rem;
|
|
54
|
+
--font-size-h1: 3rem;
|
|
55
|
+
--font-size-h2: 2.3rem;
|
|
56
|
+
--font-size-h3: 2rem;
|
|
57
|
+
--font-size-h4: 1.7rem;
|
|
58
|
+
--font-size-h5: 1.7rem;
|
|
59
|
+
--font-size-h6: 1.7rem;
|
|
43
60
|
|
|
61
|
+
--paragraph-margin: 1.2rem;
|
|
44
62
|
--block-gap: 2rem;
|
|
63
|
+
--block-gap-l: 3rem;
|
|
45
64
|
--block-radius: 0.3rem;
|
|
65
|
+
--block-radius-round: 20px;
|
|
46
66
|
|
|
47
67
|
--marker-size: 1.2rem;
|
|
48
|
-
--paragraph-margin: 1.2rem;
|
|
49
68
|
|
|
50
|
-
--box-shadow: 0 12px 24px -12px rgb(0 0 0 /
|
|
69
|
+
--box-shadow: 0 12px 24px -12px rgb(0 0 0 / 50%);
|
|
51
70
|
--box-shadow-slight: 0 6px 12px -6px rgb(0 0 0 / 40%);
|
|
52
71
|
|
|
53
|
-
--
|
|
54
|
-
--
|
|
55
|
-
|
|
56
|
-
--
|
|
57
|
-
--
|
|
72
|
+
--box-shadow-unselected: rgb(0 0 0 / 6%) 0px 2px 4px, rgb(0 0 0 / 5%) 0px 0.5px 1px;
|
|
73
|
+
--transform-selected: translate3d(0px, -1px, 0px);
|
|
74
|
+
|
|
75
|
+
--content-width: 50rem;
|
|
76
|
+
--navigation-width: 300px;
|
|
77
|
+
--grid-gap: 1rem;
|
|
78
|
+
--grid-gap-s: 0.4rem;
|
|
79
|
+
|
|
80
|
+
/* Calculate the mobile width by removing l/r columns */
|
|
81
|
+
--content-width-mobile: calc(100vw - 1rem);
|
|
58
82
|
|
|
59
|
-
/*
|
|
60
|
-
--
|
|
83
|
+
/* Search variables */
|
|
84
|
+
--search-height: 2rem;
|
|
85
|
+
--search-dropdown-height: 65vh;
|
|
86
|
+
--search-dropdown-duration: 0.2s;
|
|
61
87
|
}
|
|
62
88
|
|
|
63
89
|
@media (prefers-color-scheme: dark) {
|
|
64
90
|
:root {
|
|
65
|
-
--fore: #
|
|
66
|
-
--
|
|
67
|
-
--aft: #
|
|
68
|
-
|
|
69
|
-
--fore-link: #
|
|
70
|
-
--fore-link-alt: #
|
|
91
|
+
--fore: #DFF;
|
|
92
|
+
--aft: #233;
|
|
93
|
+
--aft-image: #DDD;
|
|
94
|
+
|
|
95
|
+
--fore-link: #AFF;
|
|
96
|
+
--fore-link-alt: #FF0;
|
|
71
97
|
--aft-link-alt: #232323;
|
|
72
98
|
|
|
73
|
-
--fore-
|
|
74
|
-
--aft-
|
|
75
|
-
--icon-head: #abb9ef;
|
|
76
|
-
|
|
77
|
-
--fore-breadcrumb: #ccc;
|
|
78
|
-
--aft-breadcrumb: #2c2c2c;
|
|
79
|
-
|
|
80
|
-
--link-head: #abb9ef;
|
|
81
|
-
--link-alt-head: #6580ed;
|
|
99
|
+
--fore-input: #var(--fore);
|
|
100
|
+
--aft-input: var(--aft);
|
|
82
101
|
|
|
83
|
-
--fore-block: #
|
|
84
|
-
--aft-block: #
|
|
85
|
-
--icon-block: #
|
|
102
|
+
--fore-block: #DFF;
|
|
103
|
+
--aft-block: #011;
|
|
104
|
+
--icon-block: #FF0;
|
|
86
105
|
|
|
87
|
-
--fore-table-head: #
|
|
88
|
-
--aft-table-head: #
|
|
89
|
-
--fore-table-row-odd: #
|
|
90
|
-
--aft-table-row-odd: #
|
|
91
|
-
--fore-table-row-even: #
|
|
92
|
-
--aft-table-row-even: #
|
|
106
|
+
--fore-table-head: #DFF;
|
|
107
|
+
--aft-table-head: #244;
|
|
108
|
+
--fore-table-row-odd: #DFF;
|
|
109
|
+
--aft-table-row-odd: #355;
|
|
110
|
+
--fore-table-row-even: #DFF;
|
|
111
|
+
--aft-table-row-even: #466;
|
|
93
112
|
}
|
|
94
113
|
}
|
package/src/config.ts
CHANGED
|
@@ -50,8 +50,7 @@ const SITE: Site = {
|
|
|
50
50
|
},
|
|
51
51
|
images: {
|
|
52
52
|
// Generated using https://ausi.github.io/respimagelint/
|
|
53
|
-
contentSize:
|
|
54
|
-
'(min-width: 1280px) 668px, (min-width: 880px) calc(72.11vw - 241px), calc(100vw - 64px)',
|
|
53
|
+
contentSize: '(min-width: 1280px) 668px, (min-width: 880px) calc(72.11vw - 241px), calc(100vw - 64px)',
|
|
55
54
|
listerSize:
|
|
56
55
|
'(min-width: 1300px) 350px, (min-width: 880px) calc(34.25vw - 88px), (min-width: 700px) 50vw, calc(100vw - 32px)',
|
|
57
56
|
authorSize: '50px',
|
|
@@ -67,7 +66,9 @@ const OPEN_GRAPH = {
|
|
|
67
66
|
};
|
|
68
67
|
|
|
69
68
|
const HEADER_SCRIPTS = `
|
|
70
|
-
|
|
69
|
+
<meta name="copyright" content="Steve Fenton">
|
|
70
|
+
<link rel="preload" href="/css/AtkinsonHyperlegibleNext-Bold.otf" as="font" crossorigin>
|
|
71
|
+
<link rel="preload" href="/css/AtkinsonHyperlegibleNext-Regular.otf" as="font" crossorigin>
|
|
71
72
|
`.trim();
|
|
72
73
|
|
|
73
74
|
export { SITE, OPEN_GRAPH, HEADER_SCRIPTS };
|