@oxide/design-system 6.4.1 → 6.5.0-canary.f0ff255
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,15 +403,6 @@
|
|
|
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;
|
|
@@ -407,30 +415,31 @@
|
|
|
407
415
|
border: 1px solid var(--stroke-secondary);
|
|
408
416
|
border-radius: var(--radius-md);
|
|
409
417
|
padding: 1rem 1.25rem;
|
|
410
|
-
|
|
418
|
+
position: relative;
|
|
411
419
|
|
|
412
|
-
|
|
413
|
-
pre {
|
|
420
|
+
@media (min-width: 800px) {
|
|
414
421
|
padding: 1.5rem 1.75rem;
|
|
415
422
|
}
|
|
416
423
|
}
|
|
417
424
|
|
|
418
|
-
.listingblock
|
|
419
|
-
|
|
420
|
-
|
|
425
|
+
.listingblock {
|
|
426
|
+
.content {
|
|
427
|
+
position: relative;
|
|
428
|
+
}
|
|
421
429
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
430
|
+
pre:not(.highlight) {
|
|
431
|
+
color: var(--content-default);
|
|
432
|
+
}
|
|
425
433
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
+
code[data-lang]::before {
|
|
435
|
+
@apply text-mono-xs;
|
|
436
|
+
content: attr(data-lang);
|
|
437
|
+
position: absolute;
|
|
438
|
+
top: 0.5rem;
|
|
439
|
+
right: 0.5rem;
|
|
440
|
+
display: block;
|
|
441
|
+
color: var(--content-secondary);
|
|
442
|
+
}
|
|
434
443
|
}
|
|
435
444
|
|
|
436
445
|
/* --- Callout numbers (conum) --- */
|
|
@@ -450,15 +459,15 @@
|
|
|
450
459
|
border-radius: var(--radius-full);
|
|
451
460
|
text-align: center;
|
|
452
461
|
font-style: normal;
|
|
453
|
-
}
|
|
454
462
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
463
|
+
&::after {
|
|
464
|
+
content: attr(data-value);
|
|
465
|
+
padding-left: 1px;
|
|
466
|
+
}
|
|
459
467
|
|
|
460
|
-
|
|
461
|
-
|
|
468
|
+
& + b {
|
|
469
|
+
display: none;
|
|
470
|
+
}
|
|
462
471
|
}
|
|
463
472
|
|
|
464
473
|
/* --- Example blocks --- */
|
|
@@ -467,25 +476,31 @@
|
|
|
467
476
|
background-color: var(--surface-raise);
|
|
468
477
|
border-radius: var(--radius-md);
|
|
469
478
|
padding: 1.25rem 1.5rem;
|
|
470
|
-
}
|
|
471
479
|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
480
|
+
p {
|
|
481
|
+
@apply text-sans-md;
|
|
482
|
+
margin-bottom: 0.5rem;
|
|
483
|
+
}
|
|
476
484
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
485
|
+
.content,
|
|
486
|
+
.paragraph:last-of-type p {
|
|
487
|
+
margin: 0;
|
|
488
|
+
}
|
|
481
489
|
|
|
482
|
-
|
|
483
|
-
|
|
490
|
+
> .content {
|
|
491
|
+
margin: 1rem 0;
|
|
492
|
+
}
|
|
484
493
|
}
|
|
485
494
|
|
|
486
495
|
/* --- Images --- */
|
|
487
496
|
img {
|
|
488
497
|
background-color: var(--surface-raise);
|
|
498
|
+
|
|
499
|
+
&.wide {
|
|
500
|
+
max-width: none;
|
|
501
|
+
width: calc(100% / 8 * 10);
|
|
502
|
+
margin-left: calc(100% / 8 * -1);
|
|
503
|
+
}
|
|
489
504
|
}
|
|
490
505
|
|
|
491
506
|
span img {
|
|
@@ -493,29 +508,29 @@
|
|
|
493
508
|
background-color: transparent;
|
|
494
509
|
}
|
|
495
510
|
|
|
496
|
-
.imageblock
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
max-height: max(500px, 75vh);
|
|
501
|
-
object-fit: contain;
|
|
502
|
-
border: 1px solid var(--stroke-tertiary);
|
|
503
|
-
border-radius: var(--radius-md);
|
|
504
|
-
}
|
|
511
|
+
.imageblock {
|
|
512
|
+
.content {
|
|
513
|
+
display: inline-block;
|
|
514
|
+
}
|
|
505
515
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
516
|
+
img {
|
|
517
|
+
margin: 0 auto;
|
|
518
|
+
height: auto;
|
|
519
|
+
max-width: 100%;
|
|
520
|
+
max-height: max(500px, 75vh);
|
|
521
|
+
object-fit: contain;
|
|
522
|
+
border: 1px solid var(--stroke-tertiary);
|
|
523
|
+
border-radius: var(--radius-md);
|
|
524
|
+
}
|
|
514
525
|
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
526
|
+
.title {
|
|
527
|
+
@apply text-mono-xs;
|
|
528
|
+
margin-top: 0.75rem;
|
|
529
|
+
max-width: 100%;
|
|
530
|
+
text-align: left;
|
|
531
|
+
color: var(--content-secondary);
|
|
532
|
+
font-style: normal;
|
|
533
|
+
}
|
|
519
534
|
}
|
|
520
535
|
|
|
521
536
|
/* --- Block-level vertical rhythm --- */
|
|
@@ -525,7 +540,8 @@
|
|
|
525
540
|
.stemblock,
|
|
526
541
|
.videoblock,
|
|
527
542
|
.exampleblock,
|
|
528
|
-
.table-wrapper
|
|
543
|
+
.table-wrapper,
|
|
544
|
+
details {
|
|
529
545
|
margin: 1rem 0;
|
|
530
546
|
}
|
|
531
547
|
|
|
@@ -537,20 +553,20 @@
|
|
|
537
553
|
.table-wrapper {
|
|
538
554
|
position: relative;
|
|
539
555
|
overflow-x: auto;
|
|
540
|
-
}
|
|
541
556
|
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
}
|
|
557
|
+
caption {
|
|
558
|
+
position: sticky;
|
|
559
|
+
left: 0;
|
|
560
|
+
text-align: left;
|
|
547
561
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
562
|
+
> a {
|
|
563
|
+
text-decoration: none;
|
|
564
|
+
}
|
|
551
565
|
|
|
552
|
-
|
|
553
|
-
|
|
566
|
+
a:hover::after {
|
|
567
|
+
vertical-align: -2px;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
554
570
|
}
|
|
555
571
|
|
|
556
572
|
table {
|
|
@@ -561,20 +577,36 @@
|
|
|
561
577
|
border: 1px solid var(--stroke-secondary);
|
|
562
578
|
border-radius: var(--radius-md);
|
|
563
579
|
padding: 0;
|
|
564
|
-
}
|
|
565
580
|
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
581
|
+
p {
|
|
582
|
+
@apply text-sans-md;
|
|
583
|
+
margin: 0;
|
|
584
|
+
padding: 0;
|
|
585
|
+
}
|
|
571
586
|
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
587
|
+
td,
|
|
588
|
+
th {
|
|
589
|
+
padding: 0.5rem;
|
|
590
|
+
vertical-align: top;
|
|
591
|
+
border-right: 1px solid var(--stroke-secondary);
|
|
592
|
+
border-bottom: 1px solid var(--stroke-secondary);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
th {
|
|
596
|
+
@apply text-mono-xs;
|
|
597
|
+
text-align: left;
|
|
598
|
+
color: var(--content-secondary);
|
|
599
|
+
background-color: var(--surface-raise);
|
|
600
|
+
|
|
601
|
+
p {
|
|
602
|
+
@apply text-mono-xs;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
pre {
|
|
607
|
+
border: 0;
|
|
608
|
+
padding: 0;
|
|
609
|
+
}
|
|
578
610
|
}
|
|
579
611
|
|
|
580
612
|
table tr th:last-child,
|
|
@@ -588,63 +620,57 @@
|
|
|
588
620
|
border-bottom: 0;
|
|
589
621
|
}
|
|
590
622
|
|
|
591
|
-
table
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
background-color: var(--surface-raise);
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
table th p {
|
|
599
|
-
@apply text-mono-xs;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
table pre {
|
|
603
|
-
border: 0;
|
|
604
|
-
padding: 0;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
table.tableblock table.tableblock {
|
|
608
|
-
margin: 0.5rem 0;
|
|
609
|
-
}
|
|
623
|
+
table.tableblock {
|
|
624
|
+
table.tableblock {
|
|
625
|
+
margin: 0.5rem 0;
|
|
626
|
+
}
|
|
610
627
|
|
|
611
|
-
|
|
612
|
-
|
|
628
|
+
.imageblock {
|
|
629
|
+
margin: 0;
|
|
630
|
+
}
|
|
613
631
|
}
|
|
614
632
|
|
|
615
633
|
/* --- Callout list --- */
|
|
616
634
|
.colist table {
|
|
617
635
|
margin: 1.5rem 0;
|
|
618
|
-
}
|
|
619
636
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
637
|
+
td {
|
|
638
|
+
@apply text-sans-md;
|
|
639
|
+
}
|
|
623
640
|
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
641
|
+
tr td:first-of-type {
|
|
642
|
+
width: 1%;
|
|
643
|
+
white-space: nowrap;
|
|
644
|
+
color: var(--content-tertiary);
|
|
645
|
+
}
|
|
629
646
|
|
|
630
|
-
|
|
631
|
-
|
|
647
|
+
tr td:last-of-type {
|
|
648
|
+
border-right: none;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
tr:last-of-type td {
|
|
652
|
+
border-bottom: none;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
b {
|
|
656
|
+
@apply text-mono-sm;
|
|
657
|
+
}
|
|
632
658
|
}
|
|
633
659
|
|
|
634
660
|
/* --- Bibliography --- */
|
|
635
661
|
div.bibliography ~ h2 {
|
|
636
662
|
margin-top: 3rem;
|
|
637
|
-
}
|
|
638
663
|
|
|
639
|
-
|
|
640
|
-
div.bibliography ~ h2 {
|
|
664
|
+
@media (min-width: 800px) {
|
|
641
665
|
margin-top: 4rem;
|
|
642
666
|
}
|
|
643
667
|
}
|
|
644
668
|
|
|
645
|
-
.bibliography
|
|
646
|
-
|
|
647
|
-
|
|
669
|
+
.bibliography {
|
|
670
|
+
ul > li + li,
|
|
671
|
+
ol > li + li {
|
|
672
|
+
margin-top: 0.5rem;
|
|
673
|
+
}
|
|
648
674
|
}
|
|
649
675
|
|
|
650
676
|
/* --- Misc --- */
|
|
@@ -675,20 +701,22 @@
|
|
|
675
701
|
sup.footnote {
|
|
676
702
|
@apply text-mono-xs;
|
|
677
703
|
color: var(--content-secondary);
|
|
678
|
-
}
|
|
679
704
|
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
705
|
+
a {
|
|
706
|
+
padding-top: calc(var(--header-height) + 20px);
|
|
707
|
+
margin-top: calc(var(--header-height) * -1 - 20px);
|
|
708
|
+
}
|
|
683
709
|
}
|
|
684
710
|
|
|
685
711
|
/* --- Titles --- */
|
|
686
712
|
.title {
|
|
687
|
-
|
|
713
|
+
font-family: var(--font-sans);
|
|
714
|
+
line-height: 1.375em;
|
|
715
|
+
font-size: 1em;
|
|
716
|
+
letter-spacing: 0.021em;
|
|
688
717
|
margin-bottom: 0.25rem;
|
|
689
718
|
max-width: 40rem;
|
|
690
719
|
text-align: left;
|
|
691
|
-
font-size: 1em !important;
|
|
692
720
|
font-style: italic;
|
|
693
721
|
color: currentColor;
|
|
694
722
|
}
|
|
@@ -717,20 +745,60 @@
|
|
|
717
745
|
.valign-bottom {
|
|
718
746
|
vertical-align: bottom;
|
|
719
747
|
}
|
|
748
|
+
|
|
749
|
+
/* --- Collapsible blocks --- */
|
|
750
|
+
details {
|
|
751
|
+
border: 1px solid var(--stroke-default);
|
|
752
|
+
border-radius: var(--radius-md);
|
|
753
|
+
|
|
754
|
+
summary:first-of-type {
|
|
755
|
+
padding: 0.75rem 1rem;
|
|
756
|
+
margin-bottom: 0;
|
|
757
|
+
max-width: initial;
|
|
758
|
+
display: block;
|
|
759
|
+
user-select: none;
|
|
760
|
+
cursor: pointer;
|
|
761
|
+
|
|
762
|
+
&:hover {
|
|
763
|
+
background-color: var(--surface-hover);
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
&::before {
|
|
767
|
+
content: '▸';
|
|
768
|
+
color: var(--content-tertiary);
|
|
769
|
+
font-size: 1.25rem;
|
|
770
|
+
margin-right: 0.5rem;
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
&[open] summary:first-of-type {
|
|
775
|
+
&::before {
|
|
776
|
+
content: '▾';
|
|
777
|
+
}
|
|
778
|
+
background-color: var(--surface-hover);
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.content {
|
|
782
|
+
padding: 0.75rem 1rem 0 1rem;
|
|
783
|
+
border-top: 1px solid var(--stroke-default);
|
|
784
|
+
}
|
|
785
|
+
}
|
|
720
786
|
}
|
|
721
787
|
|
|
722
|
-
/* Footnotes and TOC share the inline-code / accent-link treatments
|
|
723
|
-
|
|
788
|
+
/* Footnotes and TOC share the inline-code / accent-link treatments. The
|
|
789
|
+
`.footnotes` class lets the same treatment be reused outside the footnotes
|
|
790
|
+
section (e.g. a footnote hover card) without relying on the `#footnotes` id. */
|
|
791
|
+
:is(#footnotes, .footnotes) p a {
|
|
724
792
|
color: var(--content-accent-secondary);
|
|
725
793
|
text-decoration: underline;
|
|
726
794
|
text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
|
|
727
|
-
}
|
|
728
795
|
|
|
729
|
-
|
|
730
|
-
|
|
796
|
+
&:hover {
|
|
797
|
+
color: var(--content-accent);
|
|
798
|
+
}
|
|
731
799
|
}
|
|
732
800
|
|
|
733
|
-
#footnotes p code,
|
|
801
|
+
:is(#footnotes, .footnotes) p code,
|
|
734
802
|
.toc code {
|
|
735
803
|
font-size: 0.825em;
|
|
736
804
|
letter-spacing: 0;
|
|
@@ -746,14 +814,14 @@
|
|
|
746
814
|
@media screen and (min-width: 720px) {
|
|
747
815
|
.animated-accordion {
|
|
748
816
|
overflow: hidden;
|
|
749
|
-
}
|
|
750
817
|
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
818
|
+
&[data-state='open'].hydrated {
|
|
819
|
+
animation: accordionSlideDown 300ms cubic-bezier(0.87, 0, 0.13, 1);
|
|
820
|
+
}
|
|
754
821
|
|
|
755
|
-
|
|
756
|
-
|
|
822
|
+
&[data-state='closed'].hydrated {
|
|
823
|
+
animation: accordionSlideUp 300ms cubic-bezier(0.87, 0, 0.13, 1);
|
|
824
|
+
}
|
|
757
825
|
}
|
|
758
826
|
}
|
|
759
827
|
|
|
@@ -791,12 +859,12 @@
|
|
|
791
859
|
a {
|
|
792
860
|
color: inherit !important;
|
|
793
861
|
text-decoration: underline;
|
|
794
|
-
}
|
|
795
862
|
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
863
|
+
&.bare,
|
|
864
|
+
&[href^='#'],
|
|
865
|
+
&[href^='mailto:'] {
|
|
866
|
+
text-decoration: none;
|
|
867
|
+
}
|
|
800
868
|
}
|
|
801
869
|
|
|
802
870
|
tr,
|
|
@@ -851,10 +919,10 @@
|
|
|
851
919
|
|
|
852
920
|
p {
|
|
853
921
|
color: black !important;
|
|
854
|
-
}
|
|
855
922
|
|
|
856
|
-
|
|
857
|
-
|
|
923
|
+
a {
|
|
924
|
+
text-decoration-color: black !important;
|
|
925
|
+
}
|
|
858
926
|
}
|
|
859
927
|
|
|
860
928
|
.imageblock img {
|