vowel 0.1.27 → 0.1.29
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 +4 -4
- package/src/lib/components/DefaultStyles.css +333 -0
- package/src/lib/components/DefaultStyles.svelte +4 -330
- package/src/lib/components/ResetStyles.css +124 -0
- package/src/lib/components/ResetStyles.svelte +5 -126
- package/src/lib/components/TypographyStyles.css +254 -0
- package/src/lib/components/TypographyStyles.svelte +2 -257
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vowel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"bin": "./bin.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite dev",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"@picocss/pico": "^1.5.10",
|
|
17
17
|
"@sveltejs/adapter-auto": "^3.0.0",
|
|
18
18
|
"@sveltejs/adapter-static": "^3.0.1",
|
|
19
|
-
"@sveltejs/kit": "^2.5.
|
|
20
|
-
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.
|
|
19
|
+
"@sveltejs/kit": "^2.5.28",
|
|
20
|
+
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.7",
|
|
21
21
|
"any-date-parser": "^1.5.4",
|
|
22
22
|
"change-case": "^5.4.1",
|
|
23
23
|
"filter-console": "^1.0.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"remark-parse": "^11.0.0",
|
|
41
41
|
"remark-rehype": "^11.1.0",
|
|
42
42
|
"spectre.css": "^0.5.9",
|
|
43
|
-
"svelte": "^5.0.0-next.
|
|
43
|
+
"svelte": "^5.0.0-next.251",
|
|
44
44
|
"typescript": "^5.0.0",
|
|
45
45
|
"unified": "^11.0.4",
|
|
46
46
|
"url-metadata": "^3.4.9",
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Inspiration for this stylesheet comes from Normalize.css, Josh Comeau,
|
|
3
|
+
Barebones, Basic.css, Pico, Typeplate, Simple.css, and more
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--text-color: hsl(0, 0%, 13%);
|
|
8
|
+
--accent-color: hsl(215, 100%, 35%);
|
|
9
|
+
--accent-color-hover: hsl(215, 76%, 49%);
|
|
10
|
+
--border-color: hsl(0, 0%, 73%);
|
|
11
|
+
--main-background: hsl(0, 0%, 100%);
|
|
12
|
+
--code-background: hsl(0, 0%, 95%);
|
|
13
|
+
/* --soft-background: hsl(0, 0%, 95%); */
|
|
14
|
+
--soft-background: #00000005;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media (prefers-color-scheme: dark) {
|
|
18
|
+
:root {
|
|
19
|
+
--text-color: hsl(0, 0%, 80%);
|
|
20
|
+
--accent-color: hsl(194, 76%, 49%);
|
|
21
|
+
--accent-color-hover: hsl(194, 86%, 57%);
|
|
22
|
+
--border-color: hsl(0, 0%, 27%);
|
|
23
|
+
--main-background: hsl(0, 0%, 12%);
|
|
24
|
+
--code-background: hsl(0, 0%, 5%);
|
|
25
|
+
/* --soft-background: hsl(0, 0%, 14%); */
|
|
26
|
+
--soft-background: #ffffff07;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Layout */
|
|
31
|
+
|
|
32
|
+
.page {
|
|
33
|
+
font-family: var(--font-sans);
|
|
34
|
+
max-width: 60ch;
|
|
35
|
+
margin: auto;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
padding: 1rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
main,
|
|
42
|
+
article.thumbnail {
|
|
43
|
+
margin-bottom: auto;
|
|
44
|
+
padding-bottom: 4rem;
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: row;
|
|
47
|
+
flex-wrap: wrap;
|
|
48
|
+
align-items: baseline;
|
|
49
|
+
column-gap: 0.5rem;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:is(main, article.thumbnail)>* {
|
|
53
|
+
flex-basis: 100%;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:is(main, article.thumbnail) :is(time, dl:not(.link)) {
|
|
57
|
+
flex-basis: 0;
|
|
58
|
+
display: inline !important;
|
|
59
|
+
font-size: 0.9em;
|
|
60
|
+
opacity: 0.8;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
dt {
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
dd {
|
|
68
|
+
display: inline;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.page>main> :first-child {
|
|
72
|
+
margin-top: 2.5rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Colors */
|
|
76
|
+
|
|
77
|
+
body {
|
|
78
|
+
color: var(--text-color);
|
|
79
|
+
background: var(--main-background);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
a {
|
|
83
|
+
color: var(--accent-color);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
a:hover {
|
|
87
|
+
color: var(--accent-color-hover);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
code,
|
|
91
|
+
pre {
|
|
92
|
+
background: var(--code-background);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
blockquote {
|
|
96
|
+
border-left: 5px solid var(--border-color);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
article {
|
|
100
|
+
border: 1px solid var(--border-color);
|
|
101
|
+
background: var(--soft-background);
|
|
102
|
+
padding: 1.8rem 2rem 1.5rem;
|
|
103
|
+
border-radius: 0.5rem;
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
th,
|
|
109
|
+
td {
|
|
110
|
+
border-bottom: 1px solid var(--border-color-softer);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
hr {
|
|
114
|
+
border-top: 1px solid var(--text-color);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Frontmatter */
|
|
118
|
+
|
|
119
|
+
main>img {
|
|
120
|
+
margin-bottom: 2.5rem;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
dt {
|
|
124
|
+
font-size: 1.1em;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
dl.link dt {
|
|
128
|
+
display: none;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
dl.link {
|
|
132
|
+
order: calc(Infinity);
|
|
133
|
+
margin-top: 2.5rem;
|
|
134
|
+
margin-bottom: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
dl.tags,
|
|
138
|
+
time {
|
|
139
|
+
font-size: 1.1em;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
dl.tags dt {
|
|
143
|
+
display: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
dl.tags :is(dd, ul, li) {
|
|
147
|
+
padding-inline: 0;
|
|
148
|
+
display: inline;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
dl.tags li {
|
|
152
|
+
margin-inline: 0.2em;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
dl.tags li:before {
|
|
156
|
+
content: '#';
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
dl.contents ul {
|
|
160
|
+
list-style: none;
|
|
161
|
+
padding: 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
dl.contents .depth-2 {
|
|
165
|
+
font-weight: 500;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
dl.contents .depth-3 {
|
|
169
|
+
font-size: 0.95em;
|
|
170
|
+
padding-left: 0.5em;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* Header */
|
|
174
|
+
|
|
175
|
+
header {
|
|
176
|
+
margin-top: 4rem;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
nav.top-bar {
|
|
180
|
+
border: 1px solid var(--border-color);
|
|
181
|
+
padding: 6px 10px;
|
|
182
|
+
margin-inline: -3px;
|
|
183
|
+
border-radius: 5px;
|
|
184
|
+
display: flex;
|
|
185
|
+
column-gap: 2rem;
|
|
186
|
+
row-gap: 0.5rem;
|
|
187
|
+
flex-wrap: wrap;
|
|
188
|
+
justify-content: flex-start;
|
|
189
|
+
background: var(--soft-background);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
nav.top-bar:has(+ nav.top-bar) {
|
|
193
|
+
border-bottom: none;
|
|
194
|
+
border-bottom-left-radius: 0;
|
|
195
|
+
border-bottom-right-radius: 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
nav.top-bar:has(+ nav.top-bar):after {
|
|
199
|
+
display: block;
|
|
200
|
+
content: '';
|
|
201
|
+
border-bottom: 1px solid var(--border-color);
|
|
202
|
+
flex-basis: 100%;
|
|
203
|
+
margin-top: 0.7rem;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
nav.top-bar+nav.top-bar {
|
|
207
|
+
border-top-left-radius: 0;
|
|
208
|
+
border-top-right-radius: 0;
|
|
209
|
+
border-top: none;
|
|
210
|
+
margin-top: 0;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
header .breadcrumbs>a:only-child {
|
|
214
|
+
display: none;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
header .breadcrumbs {
|
|
218
|
+
margin-block: 4rem 1rem;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* Sidebar */
|
|
222
|
+
|
|
223
|
+
.sidebar {
|
|
224
|
+
margin-inline: auto;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/* Footer */
|
|
228
|
+
|
|
229
|
+
footer {
|
|
230
|
+
text-align: center;
|
|
231
|
+
margin-block: 6rem 8rem;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* Pages */
|
|
235
|
+
|
|
236
|
+
.page.home>main>h1 {
|
|
237
|
+
display: none;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.page.home>.content>p:first-child {
|
|
241
|
+
font-size: 1.2em;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
section[class*='$'] {
|
|
245
|
+
display: grid;
|
|
246
|
+
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
247
|
+
grid-auto-rows: auto;
|
|
248
|
+
grid-gap: 2rem;
|
|
249
|
+
|
|
250
|
+
& article {
|
|
251
|
+
margin: 0;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
article.item {
|
|
256
|
+
display: grid;
|
|
257
|
+
flex-direction: column;
|
|
258
|
+
grid-template-areas:
|
|
259
|
+
'title icon'
|
|
260
|
+
'description description';
|
|
261
|
+
align-content: start;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
article.item h1 {
|
|
265
|
+
grid-area: title;
|
|
266
|
+
font-size: 1.6rem;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
article.item dl.icon {
|
|
270
|
+
grid-area: icon;
|
|
271
|
+
font-size: 1.5em;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
article.item dl.icon dd {
|
|
275
|
+
text-align: right;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
article.item .description {
|
|
279
|
+
grid-area: description;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
article.item dt {
|
|
283
|
+
display: none;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
article.item dl.icon {
|
|
287
|
+
order: -1;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
aside.note {
|
|
291
|
+
&.note {
|
|
292
|
+
--icon: 'ℹ️';
|
|
293
|
+
--rgb: 71, 139, 230;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
&.tip {
|
|
297
|
+
--icon: '💡';
|
|
298
|
+
--rgb: 87, 171, 90;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&.important {
|
|
302
|
+
--icon: '💬';
|
|
303
|
+
--rgb: 152, 110, 226;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
&.warning {
|
|
307
|
+
--icon: '⚠️';
|
|
308
|
+
--rgb: 198, 144, 38;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
&.caution {
|
|
312
|
+
--icon: '⛔️';
|
|
313
|
+
--rgb: 229, 83, 75;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
border-left: 3px solid rgb(var(--rgb));
|
|
317
|
+
padding: 1.5rem 2rem;
|
|
318
|
+
background: rgba(var(--rgb), 0.04);
|
|
319
|
+
|
|
320
|
+
h2 {
|
|
321
|
+
color: rgb(var(--rgb));
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
h2:before {
|
|
325
|
+
font-size: 0.8em;
|
|
326
|
+
margin-right: 0.7rem;
|
|
327
|
+
opacity: 0.9;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
h2:before {
|
|
331
|
+
content: var(--icon);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
@@ -1,337 +1,11 @@
|
|
|
1
1
|
<script>
|
|
2
|
+
import styles from './DefaultStyles.css?inline';
|
|
3
|
+
|
|
2
4
|
import { TypographyStyles } from '.';
|
|
3
5
|
</script>
|
|
4
6
|
|
|
5
7
|
<TypographyStyles />
|
|
6
|
-
<svelte:head>
|
|
7
|
-
<style>
|
|
8
|
-
/*
|
|
9
|
-
Inspiration for this stylesheet comes from Normalize.css, Josh Comeau,
|
|
10
|
-
Barebones, Basic.css, Pico, Typeplate, Simple.css, and more
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
:root {
|
|
14
|
-
--text-color: hsl(0, 0%, 13%);
|
|
15
|
-
--accent-color: hsl(215, 100%, 35%);
|
|
16
|
-
--accent-color-hover: hsl(215, 76%, 49%);
|
|
17
|
-
--border-color: hsl(0, 0%, 73%);
|
|
18
|
-
--main-background: hsl(0, 0%, 100%);
|
|
19
|
-
--code-background: hsl(0, 0%, 95%);
|
|
20
|
-
/* --soft-background: hsl(0, 0%, 95%); */
|
|
21
|
-
--soft-background: #00000005;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@media (prefers-color-scheme: dark) {
|
|
25
|
-
:root {
|
|
26
|
-
--text-color: hsl(0, 0%, 80%);
|
|
27
|
-
--accent-color: hsl(194, 76%, 49%);
|
|
28
|
-
--accent-color-hover: hsl(194, 86%, 57%);
|
|
29
|
-
--border-color: hsl(0, 0%, 27%);
|
|
30
|
-
--main-background: hsl(0, 0%, 12%);
|
|
31
|
-
--code-background: hsl(0, 0%, 5%);
|
|
32
|
-
/* --soft-background: hsl(0, 0%, 14%); */
|
|
33
|
-
--soft-background: #ffffff07;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* Layout */
|
|
38
|
-
|
|
39
|
-
.page {
|
|
40
|
-
font-family: var(--font-sans);
|
|
41
|
-
max-width: 60ch;
|
|
42
|
-
margin: auto;
|
|
43
|
-
display: flex;
|
|
44
|
-
flex-direction: column;
|
|
45
|
-
padding: 1rem;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
main, article.thumbnail {
|
|
49
|
-
margin-bottom: auto;
|
|
50
|
-
padding-bottom: 4rem;
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: row;
|
|
53
|
-
flex-wrap: wrap;
|
|
54
|
-
align-items: baseline;
|
|
55
|
-
column-gap: 0.5rem;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
:is(main, article.thumbnail) > * {
|
|
59
|
-
flex-basis: 100%;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
:is(main, article.thumbnail) :is(time, dl:not(.link)) {
|
|
63
|
-
flex-basis: 0;
|
|
64
|
-
display: inline !important;
|
|
65
|
-
font-size: 0.9em;
|
|
66
|
-
opacity: 0.8;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
dt {
|
|
70
|
-
display: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
dd {
|
|
74
|
-
display: inline;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.page > main > :first-child {
|
|
78
|
-
margin-top: 2.5rem;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/* Colors */
|
|
82
|
-
|
|
83
|
-
body {
|
|
84
|
-
color: var(--text-color);
|
|
85
|
-
background: var(--main-background);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
a {
|
|
89
|
-
color: var(--accent-color);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
a:hover {
|
|
93
|
-
color: var(--accent-color-hover);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
code,
|
|
97
|
-
pre {
|
|
98
|
-
background: var(--code-background);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
blockquote {
|
|
102
|
-
border-left: 5px solid var(--border-color);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
article {
|
|
106
|
-
border: 1px solid var(--border-color);
|
|
107
|
-
background: var(--soft-background);
|
|
108
|
-
padding: 1.8rem 2rem 1.5rem;
|
|
109
|
-
border-radius: 0.5rem;
|
|
110
|
-
display: flex;
|
|
111
|
-
flex-direction: column;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
th,
|
|
115
|
-
td {
|
|
116
|
-
border-bottom: 1px solid var(--border-color-softer);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
hr {
|
|
120
|
-
border-top: 1px solid var(--text-color);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/* Frontmatter */
|
|
124
|
-
|
|
125
|
-
main > img {
|
|
126
|
-
margin-bottom: 2.5rem;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
dt {
|
|
130
|
-
font-size: 1.1em;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
dl.link dt {
|
|
134
|
-
display: none;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
dl.link {
|
|
138
|
-
order: calc(Infinity);
|
|
139
|
-
margin-top: 2.5rem;
|
|
140
|
-
margin-bottom: 0;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
dl.tags,
|
|
144
|
-
time {
|
|
145
|
-
font-size: 1.1em;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
dl.tags dt {
|
|
149
|
-
display: none;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
dl.tags :is(dd, ul, li) {
|
|
153
|
-
padding-inline: 0;
|
|
154
|
-
display: inline;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
dl.tags li {
|
|
158
|
-
margin-inline: 0.2em;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
dl.tags li:before {
|
|
162
|
-
content: '#';
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
dl.contents ul {
|
|
166
|
-
list-style: none;
|
|
167
|
-
padding: 0;
|
|
168
|
-
}
|
|
169
8
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
dl.contents .depth-3 {
|
|
175
|
-
font-size: 0.95em;
|
|
176
|
-
padding-left: 0.5em;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/* Header */
|
|
180
|
-
|
|
181
|
-
header {
|
|
182
|
-
margin-top: 4rem;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
nav.top-bar {
|
|
186
|
-
border: 1px solid var(--border-color);
|
|
187
|
-
padding: 6px 10px;
|
|
188
|
-
margin-inline: -3px;
|
|
189
|
-
border-radius: 5px;
|
|
190
|
-
display: flex;
|
|
191
|
-
column-gap: 2rem;
|
|
192
|
-
row-gap: 0.5rem;
|
|
193
|
-
flex-wrap: wrap;
|
|
194
|
-
justify-content: flex-start;
|
|
195
|
-
background: var(--soft-background);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
nav.top-bar:has(+ nav.top-bar) {
|
|
199
|
-
border-bottom: none;
|
|
200
|
-
border-bottom-left-radius: 0;
|
|
201
|
-
border-bottom-right-radius: 0;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
nav.top-bar:has(+ nav.top-bar):after {
|
|
205
|
-
display: block;
|
|
206
|
-
content: '';
|
|
207
|
-
border-bottom: 1px solid var(--border-color);
|
|
208
|
-
flex-basis: 100%;
|
|
209
|
-
margin-top: 0.7rem;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
nav.top-bar + nav.top-bar {
|
|
213
|
-
border-top-left-radius: 0;
|
|
214
|
-
border-top-right-radius: 0;
|
|
215
|
-
border-top: none;
|
|
216
|
-
margin-top: 0;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
header .breadcrumbs > a:only-child {
|
|
220
|
-
display: none;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
header .breadcrumbs {
|
|
224
|
-
margin-block: 4rem 1rem;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/* Sidebar */
|
|
228
|
-
|
|
229
|
-
.sidebar {
|
|
230
|
-
margin-inline: auto;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/* Footer */
|
|
234
|
-
|
|
235
|
-
footer {
|
|
236
|
-
text-align: center;
|
|
237
|
-
margin-block: 6rem 8rem;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
/* Pages */
|
|
241
|
-
|
|
242
|
-
.page.home > main > h1 {
|
|
243
|
-
display: none;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.page.home > .content > p:first-child {
|
|
247
|
-
font-size: 1.2em;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
section[class*='$'] {
|
|
251
|
-
display: grid;
|
|
252
|
-
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
253
|
-
grid-auto-rows: auto;
|
|
254
|
-
grid-gap: 2rem;
|
|
255
|
-
|
|
256
|
-
& article {
|
|
257
|
-
margin: 0;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
article.item {
|
|
262
|
-
display: grid;
|
|
263
|
-
flex-direction: column;
|
|
264
|
-
grid-template-areas:
|
|
265
|
-
'title icon'
|
|
266
|
-
'description description';
|
|
267
|
-
align-content: start;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
article.item h1 {
|
|
271
|
-
grid-area: title;
|
|
272
|
-
font-size: 1.6rem;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
article.item dl.icon {
|
|
276
|
-
grid-area: icon;
|
|
277
|
-
font-size: 1.5em;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
article.item dl.icon dd {
|
|
281
|
-
text-align: right;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
article.item .description {
|
|
285
|
-
grid-area: description;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
article.item dt {
|
|
289
|
-
display: none;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
article.item dl.icon {
|
|
293
|
-
order: -1;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
aside.note {
|
|
297
|
-
&.note {
|
|
298
|
-
--icon: 'ℹ️';
|
|
299
|
-
--rgb: 71, 139, 230;
|
|
300
|
-
}
|
|
301
|
-
&.tip {
|
|
302
|
-
--icon: '💡';
|
|
303
|
-
--rgb: 87, 171, 90;
|
|
304
|
-
}
|
|
305
|
-
&.important {
|
|
306
|
-
--icon: '💬';
|
|
307
|
-
--rgb: 152, 110, 226;
|
|
308
|
-
}
|
|
309
|
-
&.warning {
|
|
310
|
-
--icon: '⚠️';
|
|
311
|
-
--rgb: 198, 144, 38;
|
|
312
|
-
}
|
|
313
|
-
&.caution {
|
|
314
|
-
--icon: '⛔️';
|
|
315
|
-
--rgb: 229, 83, 75;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
border-left: 3px solid rgb(var(--rgb));
|
|
319
|
-
padding: 1.5rem 2rem;
|
|
320
|
-
background: rgba(var(--rgb), 0.04);
|
|
321
|
-
|
|
322
|
-
h2 {
|
|
323
|
-
color: rgb(var(--rgb));
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
h2:before {
|
|
327
|
-
font-size: 0.8em;
|
|
328
|
-
margin-right: 0.7rem;
|
|
329
|
-
opacity: 0.9;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
h2:before {
|
|
333
|
-
content: var(--icon);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
</style>
|
|
9
|
+
<svelte:head>
|
|
10
|
+
{@html `<style>${styles}</style>`}
|
|
337
11
|
</svelte:head>
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
html {
|
|
2
|
+
-webkit-text-size-adjust: 100%;
|
|
3
|
+
margin: 0;
|
|
4
|
+
font-size: 62.5%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
body {
|
|
8
|
+
font-size: 1.6rem;
|
|
9
|
+
line-height: 1.5;
|
|
10
|
+
-webkit-font-smoothing: antialiased;
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.container {
|
|
16
|
+
height: 100vh;
|
|
17
|
+
overflow-y: scroll;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.page {
|
|
21
|
+
min-height: 100vh;
|
|
22
|
+
overflow-x: hidden;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
*,
|
|
26
|
+
*::before,
|
|
27
|
+
*::after {
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
* {
|
|
32
|
+
margin: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
img,
|
|
36
|
+
details,
|
|
37
|
+
picture,
|
|
38
|
+
video,
|
|
39
|
+
canvas,
|
|
40
|
+
svg,
|
|
41
|
+
object {
|
|
42
|
+
display: block;
|
|
43
|
+
max-width: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
summary {
|
|
47
|
+
display: list-item;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
hr {
|
|
51
|
+
box-sizing: content-box;
|
|
52
|
+
height: 0;
|
|
53
|
+
overflow: visible;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
pre {
|
|
57
|
+
font-family: monospace, monospace;
|
|
58
|
+
font-size: 1em;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
a {
|
|
62
|
+
background-color: transparent;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
abbr[title] {
|
|
66
|
+
border-bottom: none;
|
|
67
|
+
text-decoration: underline;
|
|
68
|
+
text-decoration: underline dotted;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
b,
|
|
72
|
+
strong {
|
|
73
|
+
font-weight: bolder;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
code,
|
|
77
|
+
kbd,
|
|
78
|
+
samp {
|
|
79
|
+
font-family: monospace, monospace;
|
|
80
|
+
font-size: 1em;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
small {
|
|
84
|
+
font-size: 80%;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
sub,
|
|
88
|
+
sup {
|
|
89
|
+
font-size: 75%;
|
|
90
|
+
line-height: 0;
|
|
91
|
+
position: relative;
|
|
92
|
+
vertical-align: baseline;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
sub {
|
|
96
|
+
bottom: -0.25em;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
sup {
|
|
100
|
+
top: -0.5em;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
img {
|
|
104
|
+
border-style: none;
|
|
105
|
+
height: auto;
|
|
106
|
+
border-radius: 5px;
|
|
107
|
+
overflow: hidden;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
p,
|
|
111
|
+
h1,
|
|
112
|
+
h2,
|
|
113
|
+
h3,
|
|
114
|
+
h4,
|
|
115
|
+
h5,
|
|
116
|
+
h6 {
|
|
117
|
+
overflow-wrap: break-word;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
code,
|
|
121
|
+
mark {
|
|
122
|
+
-webkit-box-decoration-break: clone;
|
|
123
|
+
box-decoration-break: clone;
|
|
124
|
+
}
|
|
@@ -1,128 +1,7 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-webkit-text-size-adjust: 100%;
|
|
5
|
-
margin: 0;
|
|
6
|
-
font-size: 62.5%;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
body {
|
|
10
|
-
font-size: 1.6rem;
|
|
11
|
-
line-height: 1.5;
|
|
12
|
-
-webkit-font-smoothing: antialiased;
|
|
13
|
-
font-weight: 400;
|
|
14
|
-
margin: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.container {
|
|
18
|
-
height: 100vh;
|
|
19
|
-
overflow-y: scroll;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.page {
|
|
23
|
-
min-height: 100vh;
|
|
24
|
-
overflow-x: hidden;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
*,
|
|
28
|
-
*::before,
|
|
29
|
-
*::after {
|
|
30
|
-
box-sizing: border-box;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
* {
|
|
34
|
-
margin: 0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
img,
|
|
38
|
-
details,
|
|
39
|
-
picture,
|
|
40
|
-
video,
|
|
41
|
-
canvas,
|
|
42
|
-
svg,
|
|
43
|
-
object {
|
|
44
|
-
display: block;
|
|
45
|
-
max-width: 100%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
summary {
|
|
49
|
-
display: list-item;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
hr {
|
|
53
|
-
box-sizing: content-box;
|
|
54
|
-
height: 0;
|
|
55
|
-
overflow: visible;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
pre {
|
|
59
|
-
font-family: monospace, monospace;
|
|
60
|
-
font-size: 1em;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
a {
|
|
64
|
-
background-color: transparent;
|
|
65
|
-
}
|
|
1
|
+
<script>
|
|
2
|
+
import styles from './ResetStyles.css?inline';
|
|
3
|
+
</script>
|
|
66
4
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
text-decoration: underline;
|
|
70
|
-
text-decoration: underline dotted;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
b,
|
|
74
|
-
strong {
|
|
75
|
-
font-weight: bolder;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
code,
|
|
79
|
-
kbd,
|
|
80
|
-
samp {
|
|
81
|
-
font-family: monospace, monospace;
|
|
82
|
-
font-size: 1em;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
small {
|
|
86
|
-
font-size: 80%;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
sub,
|
|
90
|
-
sup {
|
|
91
|
-
font-size: 75%;
|
|
92
|
-
line-height: 0;
|
|
93
|
-
position: relative;
|
|
94
|
-
vertical-align: baseline;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
sub {
|
|
98
|
-
bottom: -0.25em;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
sup {
|
|
102
|
-
top: -0.5em;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
img {
|
|
106
|
-
border-style: none;
|
|
107
|
-
height: auto;
|
|
108
|
-
border-radius: 5px;
|
|
109
|
-
overflow: hidden;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
p,
|
|
113
|
-
h1,
|
|
114
|
-
h2,
|
|
115
|
-
h3,
|
|
116
|
-
h4,
|
|
117
|
-
h5,
|
|
118
|
-
h6 {
|
|
119
|
-
overflow-wrap: break-word;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
code,
|
|
123
|
-
mark {
|
|
124
|
-
-webkit-box-decoration-break: clone;
|
|
125
|
-
box-decoration-break: clone;
|
|
126
|
-
}
|
|
127
|
-
</style>
|
|
5
|
+
<svelte:head>
|
|
6
|
+
{@html `<style>${styles}</style>`}
|
|
128
7
|
</svelte:head>
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
html {
|
|
2
|
+
font-family:
|
|
3
|
+
-apple-system,
|
|
4
|
+
BlinkMacSystemFont,
|
|
5
|
+
avenir next,
|
|
6
|
+
avenir,
|
|
7
|
+
segoe ui,
|
|
8
|
+
helvetica neue,
|
|
9
|
+
helvetica,
|
|
10
|
+
Cantarell,
|
|
11
|
+
Ubuntu,
|
|
12
|
+
roboto,
|
|
13
|
+
noto,
|
|
14
|
+
arial,
|
|
15
|
+
sans-serif;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
h1,
|
|
19
|
+
h2,
|
|
20
|
+
h3,
|
|
21
|
+
h4,
|
|
22
|
+
h5,
|
|
23
|
+
h6 {
|
|
24
|
+
margin-top: 0.5rem;
|
|
25
|
+
margin-bottom: 1rem;
|
|
26
|
+
text-rendering: optimizeLegibility;
|
|
27
|
+
font-weight: 600;
|
|
28
|
+
line-height: 1.1;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
h1 {
|
|
32
|
+
font-size: 3rem;
|
|
33
|
+
line-height: 1.2;
|
|
34
|
+
font-weight: 800;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
h2 {
|
|
38
|
+
font-size: 2.6rem;
|
|
39
|
+
margin-top: 3rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
h3 {
|
|
43
|
+
font-size: 2rem;
|
|
44
|
+
margin-top: 3rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
h4 {
|
|
48
|
+
font-size: 1.44rem;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
h5 {
|
|
52
|
+
font-size: 1.15rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
h6 {
|
|
56
|
+
font-size: 0.96rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
article h1 {
|
|
60
|
+
font-weight: 600;
|
|
61
|
+
font-size: 2rem;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@media only screen and (max-width: 720px) {
|
|
65
|
+
h1 {
|
|
66
|
+
font-size: 2.5rem;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
h2 {
|
|
70
|
+
font-size: 2.1rem;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
h3 {
|
|
74
|
+
font-size: 1.75rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
h4 {
|
|
78
|
+
font-size: 1.25rem;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
p {
|
|
83
|
+
margin-top: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
ol,
|
|
87
|
+
ul {
|
|
88
|
+
/* padding-left: 0; */
|
|
89
|
+
margin-top: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
ul ul,
|
|
93
|
+
ul ol,
|
|
94
|
+
ol ol,
|
|
95
|
+
ol ul {
|
|
96
|
+
font-size: 100%;
|
|
97
|
+
/* margin: 1rem 0 1rem 3rem; */
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
li {
|
|
101
|
+
margin-bottom: 0.5rem;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Extra selector for specificity, see below */
|
|
105
|
+
li>p:not(:last-child) {
|
|
106
|
+
margin: 0;
|
|
107
|
+
padding: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
pre,
|
|
111
|
+
code {
|
|
112
|
+
font-family:
|
|
113
|
+
Menlo,
|
|
114
|
+
Consolas,
|
|
115
|
+
Monaco,
|
|
116
|
+
Liberation Mono,
|
|
117
|
+
Lucida Console,
|
|
118
|
+
monospace;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
code {
|
|
122
|
+
font-size: 0.9em;
|
|
123
|
+
margin-inline: 0px;
|
|
124
|
+
padding: 3px 4px;
|
|
125
|
+
border-radius: 5px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
pre {
|
|
129
|
+
padding: 1rem 1.5rem;
|
|
130
|
+
border-radius: 5px;
|
|
131
|
+
overflow-x: auto;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
blockquote {
|
|
135
|
+
margin: 1.5em 0;
|
|
136
|
+
padding: 0 1.6em 0 1.6em;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
a {
|
|
140
|
+
text-decoration: none;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
li.checked,
|
|
144
|
+
li.unchecked {
|
|
145
|
+
padding-left: 0.8rem;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
figcaption {
|
|
149
|
+
margin-top: 0.5rem;
|
|
150
|
+
font-style: italic;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
article+article {
|
|
154
|
+
margin-top: 1rem;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
article a {
|
|
158
|
+
color: unset;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
article a:hover {
|
|
162
|
+
color: unset;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
article h2 {
|
|
166
|
+
margin-top: 2rem;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
th,
|
|
170
|
+
td {
|
|
171
|
+
padding: 12px 15px;
|
|
172
|
+
text-align: left;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
th:first-child,
|
|
176
|
+
td:first-child {
|
|
177
|
+
padding-left: 0;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
th:last-child,
|
|
181
|
+
td:last-child {
|
|
182
|
+
padding-right: 0;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
:where(pre,
|
|
186
|
+
blockquote,
|
|
187
|
+
dl,
|
|
188
|
+
figure,
|
|
189
|
+
table,
|
|
190
|
+
p,
|
|
191
|
+
ul,
|
|
192
|
+
ol,
|
|
193
|
+
form,
|
|
194
|
+
article,
|
|
195
|
+
section,
|
|
196
|
+
aside,
|
|
197
|
+
time,
|
|
198
|
+
dl):not(:last-child) {
|
|
199
|
+
margin-bottom: 2.5rem;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
hr {
|
|
203
|
+
margin-top: 3rem;
|
|
204
|
+
margin-bottom: 3.5rem;
|
|
205
|
+
border-width: 0px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
dt {
|
|
209
|
+
font-weight: 500;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
time {
|
|
213
|
+
display: block;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
time a {
|
|
217
|
+
color: unset;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.breadcrumbs a {
|
|
221
|
+
font-size: 0.9em;
|
|
222
|
+
color: unset;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.breadcrumbs .separator:after {
|
|
226
|
+
margin-inline: 0.2em;
|
|
227
|
+
content: '/';
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
nav>a {
|
|
231
|
+
text-wrap: nowrap;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
header a.site-title {
|
|
235
|
+
color: unset;
|
|
236
|
+
font-weight: 900;
|
|
237
|
+
font-size: 2.8em;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
header .slogan {
|
|
241
|
+
font-weight: 500;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
nav a:where([aria-current='page'], [aria-current='true']),
|
|
245
|
+
nav a:where([aria-current='page'], [aria-current='true']):hover {
|
|
246
|
+
text-decoration: none;
|
|
247
|
+
color: unset;
|
|
248
|
+
cursor: default;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
aside h2 {
|
|
252
|
+
margin: 0 0 0.5em 0;
|
|
253
|
+
font-size: 1.1em;
|
|
254
|
+
}
|
|
@@ -1,265 +1,10 @@
|
|
|
1
1
|
<script>
|
|
2
|
+
import styles from './TypographyStyles.css?inline';
|
|
2
3
|
import ResetStyles from './ResetStyles.svelte';
|
|
3
4
|
</script>
|
|
4
5
|
|
|
5
6
|
<ResetStyles />
|
|
6
7
|
|
|
7
8
|
<svelte:head>
|
|
8
|
-
|
|
9
|
-
html {
|
|
10
|
-
font-family:
|
|
11
|
-
-apple-system,
|
|
12
|
-
BlinkMacSystemFont,
|
|
13
|
-
avenir next,
|
|
14
|
-
avenir,
|
|
15
|
-
segoe ui,
|
|
16
|
-
helvetica neue,
|
|
17
|
-
helvetica,
|
|
18
|
-
Cantarell,
|
|
19
|
-
Ubuntu,
|
|
20
|
-
roboto,
|
|
21
|
-
noto,
|
|
22
|
-
arial,
|
|
23
|
-
sans-serif;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
h1,
|
|
27
|
-
h2,
|
|
28
|
-
h3,
|
|
29
|
-
h4,
|
|
30
|
-
h5,
|
|
31
|
-
h6 {
|
|
32
|
-
margin-top: 0.5rem;
|
|
33
|
-
margin-bottom: 1rem;
|
|
34
|
-
text-rendering: optimizeLegibility;
|
|
35
|
-
font-weight: 600;
|
|
36
|
-
line-height: 1.1;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
h1 {
|
|
40
|
-
font-size: 3rem;
|
|
41
|
-
line-height: 1.2;
|
|
42
|
-
font-weight: 800;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
h2 {
|
|
46
|
-
font-size: 2.6rem;
|
|
47
|
-
margin-top: 3rem;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
h3 {
|
|
51
|
-
font-size: 2rem;
|
|
52
|
-
margin-top: 3rem;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
h4 {
|
|
56
|
-
font-size: 1.44rem;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
h5 {
|
|
60
|
-
font-size: 1.15rem;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
h6 {
|
|
64
|
-
font-size: 0.96rem;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
article h1 {
|
|
68
|
-
font-weight: 600;
|
|
69
|
-
font-size: 2rem;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
@media only screen and (max-width: 720px) {
|
|
73
|
-
h1 {
|
|
74
|
-
font-size: 2.5rem;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
h2 {
|
|
78
|
-
font-size: 2.1rem;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
h3 {
|
|
82
|
-
font-size: 1.75rem;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
h4 {
|
|
86
|
-
font-size: 1.25rem;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
p {
|
|
91
|
-
margin-top: 0;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
ol,
|
|
95
|
-
ul {
|
|
96
|
-
/* padding-left: 0; */
|
|
97
|
-
margin-top: 0;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
ul ul,
|
|
101
|
-
ul ol,
|
|
102
|
-
ol ol,
|
|
103
|
-
ol ul {
|
|
104
|
-
font-size: 100%;
|
|
105
|
-
/* margin: 1rem 0 1rem 3rem; */
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
li {
|
|
109
|
-
margin-bottom: 0.5rem;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/* Extra selector for specificity, see below */
|
|
113
|
-
li > p:not(:last-child) {
|
|
114
|
-
margin: 0;
|
|
115
|
-
padding: 0;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
pre,
|
|
119
|
-
code {
|
|
120
|
-
font-family:
|
|
121
|
-
Menlo,
|
|
122
|
-
Consolas,
|
|
123
|
-
Monaco,
|
|
124
|
-
Liberation Mono,
|
|
125
|
-
Lucida Console,
|
|
126
|
-
monospace;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
code {
|
|
130
|
-
font-size: 0.9em;
|
|
131
|
-
margin-inline: 0px;
|
|
132
|
-
padding: 3px 4px;
|
|
133
|
-
border-radius: 5px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
pre {
|
|
137
|
-
padding: 1rem 1.5rem;
|
|
138
|
-
border-radius: 5px;
|
|
139
|
-
overflow-x: auto;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
blockquote {
|
|
143
|
-
margin: 1.5em 0;
|
|
144
|
-
padding: 0 1.6em 0 1.6em;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
a {
|
|
148
|
-
text-decoration: none;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
li.checked,
|
|
152
|
-
li.unchecked {
|
|
153
|
-
padding-left: 0.8rem;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
figcaption {
|
|
157
|
-
margin-top: 0.5rem;
|
|
158
|
-
font-style: italic;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
article + article {
|
|
162
|
-
margin-top: 1rem;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
article a {
|
|
166
|
-
color: unset;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
article a:hover {
|
|
170
|
-
color: unset;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
article h2 {
|
|
174
|
-
margin-top: 2rem;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
th,
|
|
178
|
-
td {
|
|
179
|
-
padding: 12px 15px;
|
|
180
|
-
text-align: left;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
th:first-child,
|
|
184
|
-
td:first-child {
|
|
185
|
-
padding-left: 0;
|
|
186
|
-
}
|
|
187
|
-
th:last-child,
|
|
188
|
-
td:last-child {
|
|
189
|
-
padding-right: 0;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
:where(
|
|
193
|
-
pre,
|
|
194
|
-
blockquote,
|
|
195
|
-
dl,
|
|
196
|
-
figure,
|
|
197
|
-
table,
|
|
198
|
-
p,
|
|
199
|
-
ul,
|
|
200
|
-
ol,
|
|
201
|
-
form,
|
|
202
|
-
article,
|
|
203
|
-
section,
|
|
204
|
-
aside,
|
|
205
|
-
time,
|
|
206
|
-
dl
|
|
207
|
-
):not(:last-child) {
|
|
208
|
-
margin-bottom: 2.5rem;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
hr {
|
|
212
|
-
margin-top: 3rem;
|
|
213
|
-
margin-bottom: 3.5rem;
|
|
214
|
-
border-width: 0px;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
dt {
|
|
218
|
-
font-weight: 500;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
time {
|
|
222
|
-
display: block;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
time a {
|
|
226
|
-
color: unset;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.breadcrumbs a {
|
|
230
|
-
font-size: 0.9em;
|
|
231
|
-
color: unset;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.breadcrumbs .separator:after {
|
|
235
|
-
margin-inline: 0.2em;
|
|
236
|
-
content: '/';
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
nav > a {
|
|
240
|
-
text-wrap: nowrap;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
header a.site-title {
|
|
244
|
-
color: unset;
|
|
245
|
-
font-weight: 900;
|
|
246
|
-
font-size: 2.8em;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
header .slogan {
|
|
250
|
-
font-weight: 500;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
nav a:where([aria-current='page'], [aria-current='true']),
|
|
254
|
-
nav a:where([aria-current='page'], [aria-current='true']):hover {
|
|
255
|
-
text-decoration: none;
|
|
256
|
-
color: unset;
|
|
257
|
-
cursor: default;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
aside h2 {
|
|
261
|
-
margin: 0 0 0.5em 0;
|
|
262
|
-
font-size: 1.1em;
|
|
263
|
-
}
|
|
264
|
-
</style>
|
|
9
|
+
{@html `<style>${styles}</style>`}
|
|
265
10
|
</svelte:head>
|