1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
|
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
/* inter-100 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-display: swap;
font-weight: 100;
src: local(''),
url('../fonts/inter-v12-latin-100.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/inter-v12-latin-100.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter-200 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-display: swap;
font-weight: 200;
src: local(''),
url('../fonts/inter-v12-latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/inter-v12-latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter-300 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-display: swap;
font-weight: 300;
src: local(''),
url('../fonts/inter-v12-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/inter-v12-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter-regular - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-display: swap;
font-weight: 400;
src: local(''),
url('../fonts/inter-v12-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/inter-v12-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter-500 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-display: swap;
font-weight: 500;
src: local(''),
url('../fonts/inter-v12-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/inter-v12-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter-600 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-display: swap;
font-weight: 600;
src: local(''),
url('../fonts/inter-v12-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/inter-v12-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter-700 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-display: swap;
font-weight: 700;
src: local(''),
url('../fonts/inter-v12-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/inter-v12-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter-800 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-display: swap;
font-weight: 800;
src: local(''),
url('../fonts/inter-v12-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/inter-v12-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter-900 - latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-display: swap;
font-weight: 900;
src: local(''),
url('../fonts/inter-v12-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/inter-v12-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
body {
@apply bg-white dark:bg-gray-900 text-gray-700 dark:text-gray-300 text-lg text-justify;
}
h1, h2, h3, h4, h5, h6 {
@apply font-bold text-gray-900 dark:text-gray-300 mb-5 pt-2;
}
h1 {
@apply text-4xl leading-10;
}
h2 {
@apply text-3xl leading-10;
}
h3 {
@apply text-2xl;
}
h4 {
@apply text-xl;
}
h5 {
@apply text-lg;
}
h6 {
@apply text-base;
}
hr {
@apply border-gray-200 dark:border-gray-700;
}
p, hr, pre, dl {
@apply mb-5 text-justify;
}
article > h1 {
@apply mb-1;
}
code {
@apply bg-gray-100 dark:bg-gray-800 rounded-lg text-sm border dark:border-gray-700 px-2 py-1;
}
pre {
@apply rounded-lg border dark:border-gray-700 p-5 overflow-auto text-base;
}
pre code {
@apply bg-transparent border-0 px-0;
}
figure {
@apply mb-5;
}
figcaption {
@apply text-base text-gray-500 dark:text-gray-400 mt-2;
}
blockquote {
@apply text-xl text-gray-500 dark:text-gray-400 italic border-l-4 border-gray-300 dark:border-gray-700 pl-4 mb-5;
}
ul, ol {
@apply mb-5 ml-6;
}
ol {
@apply list-decimal;
}
ul {
@apply list-disc;
}
nav ul, footer ul {
@apply list-none ml-0;
}
header h1 {
@apply mb-0;
}
table {
@apply w-full border rounded-md border-separate border-spacing-0 mb-5;
}
thead th {
@apply border-b-2 border-r last:border-r-0 py-2 px-3;
}
tbody td {
@apply py-2 px-3 border-b text-base border-r last:border-r-0;
}
tbody tr:last-child td {
@apply border-b-0;
}
dt {
@apply font-bold italic;
}
dd {
@apply pl-10;
}
header nav > ul {
@apply flex flex-wrap justify-center uppercase text-xs font-semibold gap-7;
}
nav a, footer a {
@apply text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 font-semibold;
}
footer {
@apply text-xs;
}
}
@layer utilities {
nav a.active {
@apply text-gray-900 dark:text-gray-100;
}
/* Content overrides */
#content {
@apply leading-normal;
}
#content a {
@apply underline font-bold text-emerald-700 hover:text-emerald-600 dark:text-emerald-300 dark:hover:text-emerald-200;
}
#content .date {
@apply py-2 text-sm font-semibold text-gray-400;
}
#content h1 > a {
@apply no-underline text-xl font-bold hover:underline text-gray-900 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100;
}
#content .meta {
@apply text-sm font-semibold text-gray-500 dark:text-gray-400 flex gap-3 mt-2
}
#content .meta a {
@apply no-underline;
}
#content .description {
@apply text-gray-600 dark:text-gray-300 text-base;
}
#content .read-more {
@apply no-underline inline-flex gap-2 text-sm font-semibold items-center text-emerald-700 hover:text-emerald-600 dark:text-emerald-300 dark:hover:text-emerald-200;
}
#content .footnotes {
@apply text-sm;
}
#content .footnotes p {
@apply inline-block mb-0;
}
#content .footnotes ol {
@apply block;
}
#content .footnotes li {
@apply mb-3;
}
#content .alert-box {
@apply px-4 pt-4 pb-1 mb-5 border-t-4;
}
#content .alert-box .alert-title {
@apply text-inherit font-semibold text-lg py-0 px-0 mb-2;
}
#content .alert-box a {
@apply text-inherit hover:text-inherit;
}
#content .alert-box .alert-icon {
@apply w-7 h-7 mr-2;
}
#content .alert-box.warning {
@apply bg-yellow-100 border-yellow-500 text-yellow-900;
}
#content .alert-box.info {
@apply bg-blue-100 border-blue-500 text-blue-900;
}
#content .alert-box.success {
@apply bg-green-100 border-green-500 text-green-900;
}
#content .alert-box.error {
@apply bg-red-100 border-red-500 text-red-900;
}
#content .table-of-contents {
@apply bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-300 p-4 border dark:border-gray-700 rounded-lg;
}
#content .table-of-contents #TableOfContents ul {
@apply list-decimal list-inside ml-4;
}
#content .table-of-contents #TableOfContents ul li {
@apply my-2 text-base;
}
#content .table-of-contents #TableOfContents ul li a {
@apply font-normal no-underline text-gray-700 dark:text-gray-300 hover:underline hover:text-emerald-600 dark:hover:text-emerald-200;
}
#content .pagination-button {
@apply no-underline inline-flex items-center gap-2 px-3 py-2 border border-gray-300 dark:border-gray-700 text-sm rounded-md text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-900 hover:bg-gray-50 dark:hover:bg-gray-800 hover:text-gray-900 dark:hover:text-gray-100;
}
#content .taxonomy-list {
@apply flex flex-row flex-wrap gap-x-2 gap-y-6 list-none ml-0;
}
#content .taxonomy-list a {
@apply font-normal no-underline text-base text-gray-800 dark:text-gray-400 bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700 py-2 px-3 rounded-lg;
}
#content .tags-list {
@apply gap-y-2;
}
#content span.task-list + ul {
@apply list-none;
}
/* Misc */
#site-title {
@apply text-center sm:text-left text-4xl font-extrabold text-gray-800 dark:text-gray-100;
}
.header {
@apply flex flex-row items-center justify-between;
}
.header .toggle-theme {
@apply w-6 h-6;
}
.title-large {
@apply text-4xl leading-snug font-bold text-gray-900 dark:text-gray-300;
}
.title-small {
@apply text-2xl font-extrabold text-gray-900 dark:text-gray-300;
}
}
|