@oxide/design-system 6.4.0 → 6.4.1-canary.8495bee
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/dist/asciidoc.css
CHANGED
|
@@ -14,20 +14,20 @@
|
|
|
14
14
|
color: var(--content-default);
|
|
15
15
|
line-height: 1.5 !important;
|
|
16
16
|
margin-bottom: 1.25rem;
|
|
17
|
-
}
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
p {
|
|
18
|
+
@media (min-width: 800px) {
|
|
21
19
|
margin-bottom: 0.75rem;
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
22
|
|
|
25
|
-
.lead
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
.lead {
|
|
24
|
+
p {
|
|
25
|
+
color: var(--content-raise);
|
|
26
|
+
}
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
&.paragraph p {
|
|
29
|
+
@apply text-sans-xl;
|
|
30
|
+
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* --- Strong / emphasis --- */
|
|
@@ -92,13 +92,28 @@
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
/* Section numbers rendered before each heading */
|
|
95
|
-
:is(h1, h2, h3, h4, h5)[data-sectnum]
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
95
|
+
:is(h1, h2, h3, h4, h5)[data-sectnum] {
|
|
96
|
+
&::before {
|
|
97
|
+
content: attr(data-sectnum);
|
|
98
|
+
color: var(--content-tertiary);
|
|
99
|
+
display: inline-block;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
margin-right: 0.5rem;
|
|
102
|
+
top: 6px;
|
|
103
|
+
|
|
104
|
+
@media (min-width: 800px) {
|
|
105
|
+
@apply text-sans-lg;
|
|
106
|
+
position: absolute;
|
|
107
|
+
left: -72px;
|
|
108
|
+
width: 60px;
|
|
109
|
+
margin-right: 0;
|
|
110
|
+
text-align: right;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
a::after {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
102
117
|
}
|
|
103
118
|
|
|
104
119
|
h3[data-sectnum]::before {
|
|
@@ -110,21 +125,6 @@
|
|
|
110
125
|
top: 0;
|
|
111
126
|
}
|
|
112
127
|
|
|
113
|
-
@media (min-width: 800px) {
|
|
114
|
-
:is(h1, h2, h3, h4, h5)[data-sectnum]::before {
|
|
115
|
-
@apply text-sans-lg;
|
|
116
|
-
position: absolute;
|
|
117
|
-
left: -72px;
|
|
118
|
-
width: 60px;
|
|
119
|
-
margin-right: 0;
|
|
120
|
-
text-align: right;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
:is(h1, h2, h3, h4, h5)[data-sectnum] a::after {
|
|
125
|
-
display: none;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
128
|
/* Heading anchors */
|
|
129
129
|
.anchor,
|
|
130
130
|
.sectionanchor {
|
|
@@ -139,10 +139,10 @@
|
|
|
139
139
|
color: var(--content-accent-secondary);
|
|
140
140
|
text-decoration: underline;
|
|
141
141
|
text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
|
|
142
|
-
}
|
|
143
142
|
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
&:hover {
|
|
144
|
+
color: var(--content-accent);
|
|
145
|
+
}
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
a:hover,
|
|
@@ -161,26 +161,30 @@
|
|
|
161
161
|
@apply text-mono-sm;
|
|
162
162
|
margin-bottom: 0.75rem;
|
|
163
163
|
list-style-position: inside;
|
|
164
|
+
|
|
165
|
+
@media (min-width: 800px) {
|
|
166
|
+
list-style-position: outside;
|
|
167
|
+
}
|
|
164
168
|
}
|
|
165
169
|
|
|
166
170
|
ul {
|
|
167
171
|
list-style-type: disc;
|
|
168
|
-
}
|
|
169
172
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
+
ul li {
|
|
174
|
+
list-style-type: circle;
|
|
175
|
+
}
|
|
173
176
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
+
ul ul li {
|
|
178
|
+
list-style-type: square;
|
|
179
|
+
}
|
|
177
180
|
|
|
178
|
-
|
|
179
|
-
|
|
181
|
+
ul ul ul li {
|
|
182
|
+
list-style-type: disc;
|
|
183
|
+
}
|
|
180
184
|
}
|
|
181
185
|
|
|
182
|
-
|
|
183
|
-
list-style-type:
|
|
186
|
+
ol {
|
|
187
|
+
list-style-type: decimal;
|
|
184
188
|
}
|
|
185
189
|
|
|
186
190
|
.arabic {
|
|
@@ -223,6 +227,19 @@
|
|
|
223
227
|
margin-bottom: 0;
|
|
224
228
|
}
|
|
225
229
|
|
|
230
|
+
/* --- Description lists --- */
|
|
231
|
+
dl {
|
|
232
|
+
dt {
|
|
233
|
+
margin-bottom: 0.3125em;
|
|
234
|
+
font-weight: bold;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
dd {
|
|
238
|
+
margin-bottom: 1.25em;
|
|
239
|
+
margin-left: 1.125em;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
226
243
|
/* Lists inside blocks where outside marker position would be clipped */
|
|
227
244
|
.tableblock ul,
|
|
228
245
|
.tableblock ol,
|
|
@@ -238,14 +255,13 @@
|
|
|
238
255
|
.olist .ulist,
|
|
239
256
|
.olist .olist {
|
|
240
257
|
margin-left: 2rem;
|
|
241
|
-
}
|
|
242
258
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
ol {
|
|
246
|
-
list-style-position: outside;
|
|
259
|
+
@media (min-width: 800px) {
|
|
260
|
+
margin-left: 0.5rem;
|
|
247
261
|
}
|
|
262
|
+
}
|
|
248
263
|
|
|
264
|
+
@media (min-width: 800px) {
|
|
249
265
|
ul:first-of-type,
|
|
250
266
|
.github-markdown > ul {
|
|
251
267
|
margin-left: 1rem;
|
|
@@ -255,25 +271,18 @@
|
|
|
255
271
|
.github-markdown > ol {
|
|
256
272
|
margin-left: 1.5rem;
|
|
257
273
|
}
|
|
258
|
-
|
|
259
|
-
.ulist .ulist,
|
|
260
|
-
.ulist .olist,
|
|
261
|
-
.olist .ulist,
|
|
262
|
-
.olist .olist {
|
|
263
|
-
margin-left: 0.5rem;
|
|
264
|
-
}
|
|
265
274
|
}
|
|
266
275
|
|
|
267
276
|
/* --- Description lists --- */
|
|
268
277
|
.dlist dt {
|
|
269
278
|
@apply text-sans-lg;
|
|
270
279
|
color: var(--content-raise);
|
|
271
|
-
}
|
|
272
280
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
281
|
+
&::after {
|
|
282
|
+
@apply text-sans-lg;
|
|
283
|
+
content: ':';
|
|
284
|
+
color: var(--content-tertiary);
|
|
285
|
+
}
|
|
277
286
|
}
|
|
278
287
|
|
|
279
288
|
/* --- Quote blocks --- */
|
|
@@ -282,15 +291,15 @@
|
|
|
282
291
|
border-left: 1px solid var(--stroke-default);
|
|
283
292
|
margin: 2rem 0;
|
|
284
293
|
padding-left: 1.6rem;
|
|
285
|
-
}
|
|
286
294
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
295
|
+
p {
|
|
296
|
+
color: var(--content-secondary);
|
|
297
|
+
}
|
|
290
298
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
299
|
+
.attribution {
|
|
300
|
+
color: var(--content-raise);
|
|
301
|
+
margin-top: 2rem;
|
|
302
|
+
}
|
|
294
303
|
}
|
|
295
304
|
|
|
296
305
|
.attribution cite {
|
|
@@ -306,15 +315,23 @@
|
|
|
306
315
|
border-radius: var(--radius-md);
|
|
307
316
|
margin: 1.5rem 0;
|
|
308
317
|
padding: 0.75rem;
|
|
309
|
-
}
|
|
310
318
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
319
|
+
strong {
|
|
320
|
+
color: var(--content-accent);
|
|
321
|
+
}
|
|
314
322
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
323
|
+
a {
|
|
324
|
+
color: var(--content-accent);
|
|
325
|
+
text-decoration-line: underline;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.quoteblock {
|
|
329
|
+
background-color: var(--surface-default);
|
|
330
|
+
border: 0;
|
|
331
|
+
border-radius: var(--radius-md);
|
|
332
|
+
margin: 0.5rem 0;
|
|
333
|
+
padding: 0.75rem;
|
|
334
|
+
}
|
|
318
335
|
}
|
|
319
336
|
|
|
320
337
|
.admonition-icon svg {
|
|
@@ -326,48 +343,48 @@
|
|
|
326
343
|
|
|
327
344
|
.admonition-content {
|
|
328
345
|
@apply text-sans-md;
|
|
329
|
-
}
|
|
330
346
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
margin-bottom: 0;
|
|
335
|
-
}
|
|
347
|
+
@media (min-width: 800px) {
|
|
348
|
+
margin-right: 1.25rem;
|
|
349
|
+
}
|
|
336
350
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
351
|
+
p {
|
|
352
|
+
@apply text-sans-md;
|
|
353
|
+
color: currentColor;
|
|
354
|
+
margin-bottom: 0;
|
|
355
|
+
}
|
|
340
356
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
}
|
|
357
|
+
> div:first-of-type {
|
|
358
|
+
color: var(--content-accent);
|
|
359
|
+
}
|
|
345
360
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
361
|
+
.admonition-title {
|
|
362
|
+
margin-bottom: 0.5rem;
|
|
363
|
+
font-style: italic;
|
|
364
|
+
}
|
|
349
365
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}
|
|
366
|
+
.paragraph {
|
|
367
|
+
margin-bottom: 0.25rem;
|
|
353
368
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
369
|
+
&:last-child {
|
|
370
|
+
margin-bottom: 0;
|
|
371
|
+
}
|
|
357
372
|
}
|
|
358
373
|
}
|
|
359
374
|
|
|
360
|
-
.admonitionblock .quoteblock {
|
|
361
|
-
background-color: var(--surface-default);
|
|
362
|
-
border: 0;
|
|
363
|
-
border-radius: var(--radius-md);
|
|
364
|
-
margin: 0.5rem 0;
|
|
365
|
-
padding: 0.75rem;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
375
|
/* --- Inline code --- */
|
|
369
376
|
code {
|
|
370
377
|
font-feature-settings: 'calt' 0;
|
|
378
|
+
|
|
379
|
+
/* Prevent asciidoc styles from leaking into mermaid SVG output */
|
|
380
|
+
svg {
|
|
381
|
+
line-height: 1 !important;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
svg,
|
|
385
|
+
svg * {
|
|
386
|
+
all: revert-layer;
|
|
387
|
+
}
|
|
371
388
|
}
|
|
372
389
|
|
|
373
390
|
:not(pre) > code {
|
|
@@ -386,19 +403,11 @@
|
|
|
386
403
|
overflow-wrap: normal;
|
|
387
404
|
}
|
|
388
405
|
|
|
389
|
-
/* Prevent asciidoc styles from leaking into mermaid SVG output */
|
|
390
|
-
code svg {
|
|
391
|
-
line-height: 1 !important;
|
|
392
|
-
}
|
|
393
|
-
code svg,
|
|
394
|
-
code svg * {
|
|
395
|
-
all: revert-layer;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
406
|
/* --- Code blocks --- */
|
|
399
407
|
pre {
|
|
400
408
|
overflow-x: auto;
|
|
401
409
|
font-size: 13px;
|
|
410
|
+
line-height: 1.5;
|
|
402
411
|
letter-spacing: 0;
|
|
403
412
|
text-transform: none !important;
|
|
404
413
|
font-feature-settings: 'calt' 0;
|
|
@@ -406,30 +415,30 @@
|
|
|
406
415
|
border: 1px solid var(--stroke-secondary);
|
|
407
416
|
border-radius: var(--radius-md);
|
|
408
417
|
padding: 1rem 1.25rem;
|
|
409
|
-
}
|
|
410
418
|
|
|
411
|
-
|
|
412
|
-
pre {
|
|
419
|
+
@media (min-width: 800px) {
|
|
413
420
|
padding: 1.5rem 1.75rem;
|
|
414
421
|
}
|
|
415
422
|
}
|
|
416
423
|
|
|
417
|
-
.listingblock
|
|
418
|
-
|
|
419
|
-
|
|
424
|
+
.listingblock {
|
|
425
|
+
.content {
|
|
426
|
+
position: relative;
|
|
427
|
+
}
|
|
420
428
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
429
|
+
pre:not(.highlight) {
|
|
430
|
+
color: var(--content-default);
|
|
431
|
+
}
|
|
424
432
|
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
+
code[data-lang]::before {
|
|
434
|
+
@apply text-mono-xs;
|
|
435
|
+
content: attr(data-lang);
|
|
436
|
+
position: absolute;
|
|
437
|
+
top: 0.5rem;
|
|
438
|
+
right: 0.5rem;
|
|
439
|
+
display: block;
|
|
440
|
+
color: var(--content-secondary);
|
|
441
|
+
}
|
|
433
442
|
}
|
|
434
443
|
|
|
435
444
|
/* --- Callout numbers (conum) --- */
|
|
@@ -449,15 +458,15 @@
|
|
|
449
458
|
border-radius: var(--radius-full);
|
|
450
459
|
text-align: center;
|
|
451
460
|
font-style: normal;
|
|
452
|
-
}
|
|
453
461
|
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
462
|
+
&::after {
|
|
463
|
+
content: attr(data-value);
|
|
464
|
+
padding-left: 1px;
|
|
465
|
+
}
|
|
458
466
|
|
|
459
|
-
|
|
460
|
-
|
|
467
|
+
& + b {
|
|
468
|
+
display: none;
|
|
469
|
+
}
|
|
461
470
|
}
|
|
462
471
|
|
|
463
472
|
/* --- Example blocks --- */
|
|
@@ -466,25 +475,31 @@
|
|
|
466
475
|
background-color: var(--surface-raise);
|
|
467
476
|
border-radius: var(--radius-md);
|
|
468
477
|
padding: 1.25rem 1.5rem;
|
|
469
|
-
}
|
|
470
478
|
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
479
|
+
p {
|
|
480
|
+
@apply text-sans-md;
|
|
481
|
+
margin-bottom: 0.5rem;
|
|
482
|
+
}
|
|
475
483
|
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
484
|
+
.content,
|
|
485
|
+
.paragraph:last-of-type p {
|
|
486
|
+
margin: 0;
|
|
487
|
+
}
|
|
480
488
|
|
|
481
|
-
|
|
482
|
-
|
|
489
|
+
> .content {
|
|
490
|
+
margin: 1rem 0;
|
|
491
|
+
}
|
|
483
492
|
}
|
|
484
493
|
|
|
485
494
|
/* --- Images --- */
|
|
486
495
|
img {
|
|
487
496
|
background-color: var(--surface-raise);
|
|
497
|
+
|
|
498
|
+
&.wide {
|
|
499
|
+
max-width: none;
|
|
500
|
+
width: calc(100% / 8 * 10);
|
|
501
|
+
margin-left: calc(100% / 8 * -1);
|
|
502
|
+
}
|
|
488
503
|
}
|
|
489
504
|
|
|
490
505
|
span img {
|
|
@@ -492,29 +507,29 @@
|
|
|
492
507
|
background-color: transparent;
|
|
493
508
|
}
|
|
494
509
|
|
|
495
|
-
.imageblock
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
max-height: max(500px, 75vh);
|
|
500
|
-
object-fit: contain;
|
|
501
|
-
border: 1px solid var(--stroke-tertiary);
|
|
502
|
-
border-radius: var(--radius-md);
|
|
503
|
-
}
|
|
510
|
+
.imageblock {
|
|
511
|
+
.content {
|
|
512
|
+
display: inline-block;
|
|
513
|
+
}
|
|
504
514
|
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
515
|
+
img {
|
|
516
|
+
margin: 0 auto;
|
|
517
|
+
height: auto;
|
|
518
|
+
max-width: 100%;
|
|
519
|
+
max-height: max(500px, 75vh);
|
|
520
|
+
object-fit: contain;
|
|
521
|
+
border: 1px solid var(--stroke-tertiary);
|
|
522
|
+
border-radius: var(--radius-md);
|
|
523
|
+
}
|
|
513
524
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
525
|
+
.title {
|
|
526
|
+
@apply text-mono-xs;
|
|
527
|
+
margin-top: 0.75rem;
|
|
528
|
+
max-width: 100%;
|
|
529
|
+
text-align: center;
|
|
530
|
+
color: var(--content-secondary);
|
|
531
|
+
font-style: normal;
|
|
532
|
+
}
|
|
518
533
|
}
|
|
519
534
|
|
|
520
535
|
/* --- Block-level vertical rhythm --- */
|
|
@@ -536,20 +551,20 @@
|
|
|
536
551
|
.table-wrapper {
|
|
537
552
|
position: relative;
|
|
538
553
|
overflow-x: auto;
|
|
539
|
-
}
|
|
540
554
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}
|
|
555
|
+
caption {
|
|
556
|
+
position: sticky;
|
|
557
|
+
left: 0;
|
|
558
|
+
text-align: left;
|
|
546
559
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
560
|
+
> a {
|
|
561
|
+
text-decoration: none;
|
|
562
|
+
}
|
|
550
563
|
|
|
551
|
-
|
|
552
|
-
|
|
564
|
+
a:hover::after {
|
|
565
|
+
vertical-align: -2px;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
553
568
|
}
|
|
554
569
|
|
|
555
570
|
table {
|
|
@@ -560,20 +575,36 @@
|
|
|
560
575
|
border: 1px solid var(--stroke-secondary);
|
|
561
576
|
border-radius: var(--radius-md);
|
|
562
577
|
padding: 0;
|
|
563
|
-
}
|
|
564
578
|
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
579
|
+
p {
|
|
580
|
+
@apply text-sans-md;
|
|
581
|
+
margin: 0;
|
|
582
|
+
padding: 0;
|
|
583
|
+
}
|
|
570
584
|
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
585
|
+
td,
|
|
586
|
+
th {
|
|
587
|
+
padding: 0.5rem;
|
|
588
|
+
vertical-align: top;
|
|
589
|
+
border-right: 1px solid var(--stroke-secondary);
|
|
590
|
+
border-bottom: 1px solid var(--stroke-secondary);
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
th {
|
|
594
|
+
@apply text-mono-xs;
|
|
595
|
+
text-align: left;
|
|
596
|
+
color: var(--content-secondary);
|
|
597
|
+
background-color: var(--surface-raise);
|
|
598
|
+
|
|
599
|
+
p {
|
|
600
|
+
@apply text-mono-xs;
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
pre {
|
|
605
|
+
border: 0;
|
|
606
|
+
padding: 0;
|
|
607
|
+
}
|
|
577
608
|
}
|
|
578
609
|
|
|
579
610
|
table tr th:last-child,
|
|
@@ -587,63 +618,57 @@
|
|
|
587
618
|
border-bottom: 0;
|
|
588
619
|
}
|
|
589
620
|
|
|
590
|
-
table
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
background-color: var(--surface-raise);
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
table th p {
|
|
598
|
-
@apply text-mono-xs;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
table pre {
|
|
602
|
-
border: 0;
|
|
603
|
-
padding: 0;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
table.tableblock table.tableblock {
|
|
607
|
-
margin: 0.5rem 0;
|
|
608
|
-
}
|
|
621
|
+
table.tableblock {
|
|
622
|
+
table.tableblock {
|
|
623
|
+
margin: 0.5rem 0;
|
|
624
|
+
}
|
|
609
625
|
|
|
610
|
-
|
|
611
|
-
|
|
626
|
+
.imageblock {
|
|
627
|
+
margin: 0;
|
|
628
|
+
}
|
|
612
629
|
}
|
|
613
630
|
|
|
614
631
|
/* --- Callout list --- */
|
|
615
632
|
.colist table {
|
|
616
633
|
margin: 1.5rem 0;
|
|
617
|
-
}
|
|
618
634
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
635
|
+
td {
|
|
636
|
+
@apply text-sans-md;
|
|
637
|
+
}
|
|
622
638
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
639
|
+
tr td:first-of-type {
|
|
640
|
+
width: 1%;
|
|
641
|
+
white-space: nowrap;
|
|
642
|
+
color: var(--content-tertiary);
|
|
643
|
+
}
|
|
628
644
|
|
|
629
|
-
|
|
630
|
-
|
|
645
|
+
tr td:last-of-type {
|
|
646
|
+
border-right: none;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
tr:last-of-type td {
|
|
650
|
+
border-bottom: none;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
b {
|
|
654
|
+
@apply text-mono-sm;
|
|
655
|
+
}
|
|
631
656
|
}
|
|
632
657
|
|
|
633
658
|
/* --- Bibliography --- */
|
|
634
659
|
div.bibliography ~ h2 {
|
|
635
660
|
margin-top: 3rem;
|
|
636
|
-
}
|
|
637
661
|
|
|
638
|
-
|
|
639
|
-
div.bibliography ~ h2 {
|
|
662
|
+
@media (min-width: 800px) {
|
|
640
663
|
margin-top: 4rem;
|
|
641
664
|
}
|
|
642
665
|
}
|
|
643
666
|
|
|
644
|
-
.bibliography
|
|
645
|
-
|
|
646
|
-
|
|
667
|
+
.bibliography {
|
|
668
|
+
ul > li + li,
|
|
669
|
+
ol > li + li {
|
|
670
|
+
margin-top: 0.5rem;
|
|
671
|
+
}
|
|
647
672
|
}
|
|
648
673
|
|
|
649
674
|
/* --- Misc --- */
|
|
@@ -674,20 +699,22 @@
|
|
|
674
699
|
sup.footnote {
|
|
675
700
|
@apply text-mono-xs;
|
|
676
701
|
color: var(--content-secondary);
|
|
677
|
-
}
|
|
678
702
|
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
703
|
+
a {
|
|
704
|
+
padding-top: calc(var(--header-height) + 20px);
|
|
705
|
+
margin-top: calc(var(--header-height) * -1 - 20px);
|
|
706
|
+
}
|
|
682
707
|
}
|
|
683
708
|
|
|
684
709
|
/* --- Titles --- */
|
|
685
710
|
.title {
|
|
686
|
-
|
|
711
|
+
font-family: var(--font-sans);
|
|
712
|
+
line-height: 1.375em;
|
|
713
|
+
font-size: 1em
|
|
714
|
+
letter-spacing: 0.021em;
|
|
687
715
|
margin-bottom: 0.25rem;
|
|
688
716
|
max-width: 40rem;
|
|
689
717
|
text-align: left;
|
|
690
|
-
font-size: 1em !important;
|
|
691
718
|
font-style: italic;
|
|
692
719
|
color: currentColor;
|
|
693
720
|
}
|
|
@@ -716,20 +743,57 @@
|
|
|
716
743
|
.valign-bottom {
|
|
717
744
|
vertical-align: bottom;
|
|
718
745
|
}
|
|
746
|
+
|
|
747
|
+
/* --- Collapsible blocks --- */
|
|
748
|
+
details {
|
|
749
|
+
border: 1px solid var(--stroke-default);
|
|
750
|
+
border-radius: var(--radius-md);
|
|
751
|
+
|
|
752
|
+
summary:first-of-type {
|
|
753
|
+
padding: 0.75rem 1rem;
|
|
754
|
+
margin-bottom: 0;
|
|
755
|
+
max-width: initial;
|
|
756
|
+
display: block;
|
|
757
|
+
user-select: none;
|
|
758
|
+
cursor: pointer;
|
|
759
|
+
|
|
760
|
+
&:hover {
|
|
761
|
+
background-color: var(--surface-hover);
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
&::before {
|
|
765
|
+
content: '▸';
|
|
766
|
+
color: var(--content-tertiary);
|
|
767
|
+
font-size: 1.25rem;
|
|
768
|
+
margin-right: 0.5rem;
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
&[open] summary:first-of-type::before {
|
|
773
|
+
content: '▾';
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.content {
|
|
777
|
+
padding: 0.75rem 1rem 0 1rem;
|
|
778
|
+
border-top: 1px solid var(--stroke-default);
|
|
779
|
+
}
|
|
780
|
+
}
|
|
719
781
|
}
|
|
720
782
|
|
|
721
|
-
/* Footnotes and TOC share the inline-code / accent-link treatments
|
|
722
|
-
|
|
783
|
+
/* Footnotes and TOC share the inline-code / accent-link treatments. The
|
|
784
|
+
`.footnotes` class lets the same treatment be reused outside the footnotes
|
|
785
|
+
section (e.g. a footnote hover card) without relying on the `#footnotes` id. */
|
|
786
|
+
:is(#footnotes, .footnotes) p a {
|
|
723
787
|
color: var(--content-accent-secondary);
|
|
724
788
|
text-decoration: underline;
|
|
725
789
|
text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
|
|
726
|
-
}
|
|
727
790
|
|
|
728
|
-
|
|
729
|
-
|
|
791
|
+
&:hover {
|
|
792
|
+
color: var(--content-accent);
|
|
793
|
+
}
|
|
730
794
|
}
|
|
731
795
|
|
|
732
|
-
#footnotes p code,
|
|
796
|
+
:is(#footnotes, .footnotes) p code,
|
|
733
797
|
.toc code {
|
|
734
798
|
font-size: 0.825em;
|
|
735
799
|
letter-spacing: 0;
|
|
@@ -745,14 +809,14 @@
|
|
|
745
809
|
@media screen and (min-width: 720px) {
|
|
746
810
|
.animated-accordion {
|
|
747
811
|
overflow: hidden;
|
|
748
|
-
}
|
|
749
812
|
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
813
|
+
&[data-state='open'].hydrated {
|
|
814
|
+
animation: accordionSlideDown 300ms cubic-bezier(0.87, 0, 0.13, 1);
|
|
815
|
+
}
|
|
753
816
|
|
|
754
|
-
|
|
755
|
-
|
|
817
|
+
&[data-state='closed'].hydrated {
|
|
818
|
+
animation: accordionSlideUp 300ms cubic-bezier(0.87, 0, 0.13, 1);
|
|
819
|
+
}
|
|
756
820
|
}
|
|
757
821
|
}
|
|
758
822
|
|
|
@@ -790,12 +854,12 @@
|
|
|
790
854
|
a {
|
|
791
855
|
color: inherit !important;
|
|
792
856
|
text-decoration: underline;
|
|
793
|
-
}
|
|
794
857
|
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
858
|
+
&.bare,
|
|
859
|
+
&[href^='#'],
|
|
860
|
+
&[href^='mailto:'] {
|
|
861
|
+
text-decoration: none;
|
|
862
|
+
}
|
|
799
863
|
}
|
|
800
864
|
|
|
801
865
|
tr,
|
|
@@ -850,10 +914,10 @@
|
|
|
850
914
|
|
|
851
915
|
p {
|
|
852
916
|
color: black !important;
|
|
853
|
-
}
|
|
854
917
|
|
|
855
|
-
|
|
856
|
-
|
|
918
|
+
a {
|
|
919
|
+
text-decoration-color: black !important;
|
|
920
|
+
}
|
|
857
921
|
}
|
|
858
922
|
|
|
859
923
|
.imageblock img {
|