-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.css
More file actions
715 lines (651 loc) · 21.1 KB
/
Copy pathcustom.css
File metadata and controls
715 lines (651 loc) · 21.1 KB
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
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
/**
* Erigon brand colors — light and dark theme.
* Primary: #1F9D3E (Zilkworm Green), Hover: #1C8E38
* The green body theme is Zilkworm-specific — a deliberate deviation from
* the shared Erigon palette introduced in PRs #12 / #16. In the footer, green
* drives the social and legal hovers; only the brand lockup hovers Erigon
* Orange, via the footer-scoped --footer-accent. See design spec §6.2 for this
* site's terminal footer variant.
* Light bg: #FFFFFF, Dark bg: #0A0A0A
* Fonts: Montserrat ExtraBold (headings), Nunito Sans (body),
* Quantify 700 (brand wordmark — navbar title + footer brand, see
* docusaurus-design-spec.md §7 Font Roles)
*/
/* Self-hosted fonts — no Google Fonts or CDN. See docusaurus-design-spec.md §7. */
@font-face {
font-family: 'Montserrat';
src: url('/fonts/Montserrat-ExtraBold.woff2') format('woff2');
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Nunito Sans';
src: url('/fonts/NunitoSans-Regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Nunito Sans';
src: url('/fonts/NunitoSans-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Nunito Sans';
src: url('/fonts/NunitoSans-ExtraBold.woff2') format('woff2');
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Quantify';
src: url('/fonts/Quantify.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
:root {
/* Brand fonts */
--ifm-font-family-base: 'Nunito Sans', sans-serif;
--ifm-heading-font-family: 'Montserrat', sans-serif;
--ifm-heading-font-weight: 800;
/* Zilkworm Green scale */
--ifm-color-primary: #1F9D3E;
--ifm-color-primary-dark: #1C8E38;
--ifm-color-primary-darker: #1A8534;
--ifm-color-primary-darkest: #156C2B;
--ifm-color-primary-light: #29AE4A;
--ifm-color-primary-lighter: #35B855;
--ifm-color-primary-lightest: #57C873;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(31, 157, 62, 0.1);
/* Light mode */
--ifm-background-color: #FFFFFF;
--ifm-font-color-base: #000000;
/* Navbar — light mode */
--ifm-navbar-background-color: #FFFFFF;
--ifm-navbar-link-color: #111111;
--ifm-navbar-link-hover-color: #1F9D3E;
--ifm-navbar-shadow: 0 1px 0 rgba(0,0,0,0.08);
/* Navbar button tokens — light mode */
--navbar-btn-color: #111111;
--navbar-btn-border: rgba(0,0,0,0.25);
--navbar-btn-color-muted: rgba(0,0,0,0.55);
/* Active sidebar item */
--ifm-menu-color-active: #1F9D3E;
}
[data-theme='dark'] {
/* Same orange scale — readable on dark */
--ifm-color-primary: #1F9D3E;
--ifm-color-primary-dark: #1C8E38;
--ifm-color-primary-darker: #1A8534;
--ifm-color-primary-darkest: #156C2B;
--ifm-color-primary-light: #29AE4A;
--ifm-color-primary-lighter: #35B855;
--ifm-color-primary-lightest: #57C873;
--docusaurus-highlighted-code-line-bg: rgba(31, 157, 62, 0.2);
/* Dark mode */
--ifm-background-color: #0A0A0A;
--ifm-background-surface-color: #141414;
--ifm-font-color-base: #FFFFFF;
/* Navbar — dark mode */
--ifm-navbar-background-color: #000000;
--ifm-navbar-link-color: #FFFFFF;
--ifm-navbar-link-hover-color: #1F9D3E;
--ifm-navbar-shadow: none;
/* Navbar button tokens — dark mode */
--navbar-btn-color: #FFFFFF;
--navbar-btn-border: rgba(255,255,255,0.35);
--navbar-btn-color-muted: rgba(255,255,255,0.75);
/* Active sidebar item */
--ifm-menu-color-active: #1F9D3E;
}
/* ─── Brand typography enforcement ──────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
}
h1 { letter-spacing: -0.015em; }
h2 { letter-spacing: -0.01em; }
h6 {
text-transform: uppercase;
letter-spacing: 0.06em;
font-size: 0.85rem;
color: var(--ifm-color-emphasis-700);
}
/* ─── Typography rhythm ─────────────────────────────────────────────────── */
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
:root {
--ifm-heading-line-height: 1.2;
}
.markdown h2 {
margin-top: 2.5rem;
}
.markdown h3 {
margin-top: 1.75rem;
}
.markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6 {
scroll-margin-top: calc(var(--ifm-navbar-height) + 1rem);
}
/* ─── Shared landing-page card grid ─────────────────────────────────────── */
.lp-hero {
padding: 2rem 0 1.5rem;
}
.lp-hero h1 {
font-size: 2.25rem;
margin: 0 0 0.75rem !important;
}
.lp-hero p {
font-size: 1.05rem;
color: var(--ifm-color-emphasis-700);
max-width: 560px;
margin: 0 !important;
line-height: 1.6;
}
.lp-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 1rem;
margin-top: 2rem;
}
.lp-card {
display: flex;
flex-direction: column;
padding: 1.5rem;
border-radius: 8px;
border: 1px solid var(--ifm-color-emphasis-200);
text-decoration: none !important;
color: inherit !important;
transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
background: var(--ifm-background-surface-color, var(--ifm-background-color));
}
.lp-card:hover {
border-color: #1F9D3E;
transform: translateY(-2px);
box-shadow: 0 4px 20px rgba(31, 157, 62, 0.14);
}
.lp-icon {
width: 2rem;
height: 2rem;
margin-bottom: 1rem;
color: #1F9D3E;
flex-shrink: 0;
}
.lp-card-title {
font-size: 1rem;
font-weight: 600;
margin: 0 0 0.4rem !important;
color: var(--ifm-font-color-base);
}
.lp-card-desc {
font-size: 0.875rem;
margin: 0 !important;
color: var(--ifm-color-emphasis-700);
line-height: 1.55;
}
/* ─── Navbar ──────────────────────────────────────────────────────────────── */
.navbar__logo img {
height: 42px;
width: auto;
}
.navbar__brand {
min-width: calc(var(--doc-sidebar-width, 300px) - 40px);
}
.navbar__title {
color: var(--ifm-navbar-link-color);
font-family: 'Quantify', sans-serif;
font-weight: 700;
letter-spacing: 0.04em;
}
.navbar .clean-btn {
color: var(--ifm-navbar-link-color);
}
.navbar__link--active {
color: #1F9D3E !important;
}
.navbar__items--left .navbar__item {
font-family: 'Montserrat', sans-serif !important;
font-weight: 800 !important;
font-size: 0.9rem !important;
}
/* ─── Navbar right-side items ─────────────────────────────────────────────── */
.navbar-github-icon {
display: flex;
align-items: center;
padding: 0 0.5rem;
color: var(--navbar-btn-color-muted);
transition: color 0.15s;
}
.navbar-github-icon:hover {
color: #1F9D3E !important;
}
.navbar-blog-btn {
border: 1px solid var(--navbar-btn-border);
color: var(--navbar-btn-color) !important;
padding: 0.35rem 0.9rem;
border-radius: 6px;
font-weight: 600;
font-size: 0.85rem;
text-decoration: none !important;
transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
white-space: nowrap;
display: inline-flex;
align-items: center;
line-height: 1;
}
.navbar-blog-btn:hover {
border-color: #1F9D3E;
color: #1F9D3E !important;
box-shadow: 0 0 12px rgba(31, 157, 62, 0.45);
}
.navbar-release-btn {
background: #1F9D3E;
color: #FFFFFF !important;
padding: 0.35rem 0.9rem;
border-radius: 6px;
font-weight: 700;
font-size: 0.85rem;
text-decoration: none !important;
transition: background 0.15s, box-shadow 0.15s;
white-space: nowrap;
line-height: 1;
display: inline-flex;
align-items: center;
}
.navbar-release-btn:hover {
background: #1C8E38;
color: #FFFFFF !important;
box-shadow: 0 0 14px rgba(31, 157, 62, 0.6);
}
/* ─── Navbar GitHub icon link ────────────────────────────────────────────── */
.navbar-github-icon {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.3rem;
margin-left: 0.25rem;
color: var(--navbar-btn-color);
border-radius: 6px;
transition: color 0.2s ease, background-color 0.2s ease;
}
.navbar-github-icon:hover {
color: #1F9D3E;
background-color: rgba(31, 157, 62, 0.08);
}
.navbar-github-icon svg {
display: block;
}
/* ─── Table of contents (right sidebar) ──────────────────────────────────── */
.table-of-contents__link {
font-size: var(--ifm-font-size-base);
}
/* ─── Pagination nav cards (prev/next) ───────────────────────────────────── */
.pagination-nav__link {
transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}
.pagination-nav__link:hover {
border-color: #1F9D3E !important;
transform: translateY(-2px);
box-shadow: 0 4px 20px rgba(31, 157, 62, 0.14);
}
/* ─── Details / collapsible sections ─────────────────────────────────────── */
details.alert.alert--info {
--ifm-alert-background-color: rgba(0, 0, 0, 0.05);
--ifm-alert-border-color: rgba(0, 0, 0, 0.1);
background-color: rgba(0, 0, 0, 0.05) !important;
border-color: rgba(0, 0, 0, 0.1) !important;
border-radius: 8px !important;
scroll-margin-top: calc(var(--ifm-navbar-height) + 1rem);
}
[data-theme='dark'] details.alert.alert--info {
--ifm-alert-background-color: rgba(255, 255, 255, 0.04);
--ifm-alert-border-color: rgba(255, 255, 255, 0.1);
background-color: rgba(255, 255, 255, 0.04) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
}
details.alert.alert--info {
--docusaurus-details-decoration-color: #1F9D3E;
}
details.alert.alert--info summary {
font-weight: 700;
color: #555555;
}
[data-theme='dark'] details.alert.alert--info summary {
color: rgba(255, 255, 255, 0.75);
}
/* ─── 404 page cards ─────────────────────────────────────────────────────── */
.card-404 {
display: flex;
flex-direction: column;
padding: 1.25rem 1.5rem;
border-radius: 8px;
border: 1px solid var(--ifm-color-emphasis-200);
text-decoration: none !important;
color: inherit !important;
background: var(--ifm-background-surface-color, var(--ifm-background-color));
transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card-404:hover {
border-color: #1F9D3E;
transform: translateY(-2px);
box-shadow: 0 4px 20px rgba(31, 157, 62, 0.14);
}
/* ─── 404 page buttons ────────────────────────────────────────────────────── */
.button-404-primary {
background: #1F9D3E;
color: #ffffff !important;
padding: 0.65rem 1.6rem;
border-radius: 6px;
font-weight: 700;
font-size: 0.95rem;
text-decoration: none !important;
transition: background 0.15s;
}
.button-404-primary:hover {
background: #1C8E38;
color: #ffffff !important;
}
.button-404-secondary {
border: 1px solid var(--ifm-color-emphasis-300);
color: var(--ifm-font-color-base) !important;
padding: 0.65rem 1.6rem;
border-radius: 6px;
font-weight: 600;
font-size: 0.95rem;
text-decoration: none !important;
transition: border-color 0.15s;
}
.button-404-secondary:hover {
border-color: #1F9D3E;
color: var(--ifm-font-color-base) !important;
}
/* Footer background matches dark brand */
.footer {
background-color: #000000;
}
/* ─── Footer accent + interactive states ─────────────────────────────────── */
/* Corporate orange for the footer's brand-lockup hover. Declared on `footer`,
not :root, so it is genuinely scoped to the footer rather than merely named
that way — --brand-accent is the site-wide Zilkworm Green and must not be
touched. Flat across colour modes: #EF7716 reads on both footer surfaces. */
/* Surface matches the other docs sites (design spec §6.1): white in light mode,
black in dark — not the Infima surface grey. Declared on `footer` alongside
the accent so the whole footer palette stays scoped to it. */
footer {
--footer-accent: #EF7716;
--footer-bg: #FFFFFF;
--footer-fg: #000000;
}
[data-theme='dark'] footer {
--footer-bg: #000000;
--footer-fg: #FFFFFF;
}
/* Interactive states live here, not in React onMouseEnter/onMouseLeave. Those
only fire for a mouse, so keyboard users tabbing the footer got no accent
state and no focus indicator. Socials and legal links hover Zilkworm Green
(the terminal identity); only the brand lockup hovers corporate orange. */
.footer-brand {
display: flex;
align-items: center;
gap: 0.6rem;
color: inherit;
text-decoration: none;
transition: color 0.15s;
}
.footer-brand:hover,
.footer-brand:focus-visible {
color: var(--footer-accent);
/* Infima's `a:hover` sets text-decoration: underline and outranks the base
class on specificity, so it has to be cleared on the state too. */
text-decoration: none;
}
.footer-socials {
display: flex;
flex-direction: row;
gap: 0.6rem;
flex-wrap: wrap;
margin-left: auto;
}
.footer-social {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border: 1px solid var(--ifm-toc-border-color);
border-radius: 0;
color: var(--ifm-font-color-base);
text-decoration: none;
background: transparent;
transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.footer-social:hover,
.footer-social:focus-visible {
color: var(--brand-accent);
border-color: var(--brand-accent);
/* Fallback first: color-mix() is Chrome/Edge 111+, Firefox 113+, Safari 16.2+.
Older engines keep the flat green tint instead of losing it silently. */
background-color: rgba(31, 157, 62, 0.12);
background-color: color-mix(in srgb, var(--brand-accent) 12%, transparent);
}
.footer-legal {
font-size: 0.8rem;
/* emphasis-700, not -600: on the white light-mode surface -600 measures
3.06:1, below WCAG AA's 4.5:1 for this 0.8rem text. -700 gives 5.72:1. */
color: var(--ifm-color-emphasis-700);
font-family: var(--ifm-font-family-monospace);
text-decoration: none;
transition: color 0.15s;
}
.footer-legal:hover,
.footer-legal:focus-visible {
color: var(--brand-accent);
text-decoration: none;
}
.footer-brand:focus-visible,
.footer-social:focus-visible,
.footer-legal:focus-visible {
outline: 2px solid var(--brand-accent);
outline-offset: 2px;
}
/* ─── Footer responsive (mobile) ────────────────────────────────────────── */
@media (max-width: 768px) {
/* The footer top row is flex, not a grid — stack it. grid-template-columns
here was a no-op left over from the five-column footer, so the row never
actually stacked on mobile. */
.footer-top-grid {
flex-direction: column !important;
align-items: flex-start !important;
padding: 1.5rem 1.5rem 1rem !important;
gap: 1rem !important;
}
/* Socials are pushed right by margin-left:auto on desktop; reset it so they
align with the brand once stacked. Targets the dedicated class, not
> div:last-child, which broke if another div were appended. */
.footer-socials {
margin-left: 0;
}
.footer-bottom-bar {
flex-direction: column !important;
align-items: flex-start !important;
padding: 1.25rem 1.5rem !important;
gap: 1rem !important;
}
.footer-bottom-bar > div {
flex-direction: column !important;
align-items: flex-start !important;
gap: 0.6rem !important;
}
}
/* ===================================================================
Boxy + terminal-ish UI (palette-agnostic: uses vars / 0 only)
=================================================================== */
:root,
[data-theme='dark'] {
--ifm-global-radius: 0px;
--ifm-button-border-radius: 0px;
--ifm-card-border-radius: 0px;
--ifm-code-border-radius: 0px;
--ifm-alert-border-radius: 0px;
}
/* Square the common components (covers hardcoded radii too) */
.button,
.card,
.alert,
.navbar__search-input,
.dropdown__menu,
.pagination-nav__link,
.tabs__item,
.theme-code-block,
.breadcrumbs__link {
border-radius: 0 !important;
}
/* --- Sidebar: terminal menu (boxed, [+/-] sections) --- */
/* dark mode uses a lighter shade of the brand green */
:root { --brand-accent: var(--ifm-color-primary); }
[data-theme='dark'] { --brand-accent: var(--ifm-color-primary-light); }
/* drop the full-height divider line */
.theme-doc-sidebar-container {
border-right: none !important;
}
.menu {
font-family: var(--ifm-font-family-monospace);
font-size: 0.86rem;
border: none;
padding: 0;
--ifm-menu-color-background-hover: transparent;
--ifm-menu-color-background-active: transparent;
}
/* the box hugs the items (content height), with more margin OUTSIDE + padding INSIDE */
.menu > .menu__list {
border: 1px solid var(--ifm-toc-border-color);
border-radius: 8px;
margin: 1rem 0.75rem;
padding: 0;
height: fit-content;
overflow: hidden;
}
/* bigger spacing between items */
.menu__list .menu__list-item {
margin: 0;
}
/* leaf items are their own bordered boxes */
.menu__link:not(.menu__link--sublist) {
border: none;
transition: background-color .12s ease, color .12s ease;
}
/* category headers get their own border box, matching the leaf .menu__link */
.menu__list-item-collapsible {
border: 1px solid var(--ifm-toc-border-color);
border-radius: 0;
margin: -1px -1px 0 -1px;
transition: border-color .12s ease, background-color .12s ease, color .12s ease;
}
/* last top-level option overlaps the outer box bottom border */
.menu > .menu__list > .menu__list-item:last-child > .menu__link,
.menu > .menu__list > .menu__list-item:last-child > .menu__list-item-collapsible {
margin-bottom: -1px;
}
/* selected / hovered / expanded option border paints on top of neighbours */
.menu__link:hover,
.menu__link--active,
.menu__list-item:not(.menu__list-item--collapsed) > .menu__list-item-collapsible {
position: relative;
z-index: 1;
}
.menu__list-item-collapsible:hover {
background-color: transparent;
}
/* bigger padding inside each item */
.menu__link {
padding: 0.77rem 0.9rem;
}
.menu__link:hover {
border-color: var(--brand-accent);
background-color: color-mix(in srgb, var(--brand-accent) 8%, transparent);
}
/* ---- Collapsible SECTION header: [Name] ......... [+/-] ---- */
.menu__list-item-collapsible {
position: relative;
}
.menu__list-item-collapsible > .menu__link--sublist {
border: none;
border-radius: 0;
text-transform: uppercase;
letter-spacing: 0.06em;
font-size: 0.8rem;
}
/* kill the default chevron; draw a monospace + / - at the right edge */
.menu__caret { display: none !important; }
.menu__link--sublist-caret::after,
.menu__link--sublist::after {
content: "+";
background: none !important;
-webkit-mask: none !important;
mask: none !important;
width: auto;
height: auto;
min-width: 0;
transform: none !important;
margin-left: auto;
align-self: stretch;
margin-top: -0.7rem;
margin-bottom: -0.7rem;
display: flex;
align-items: center;
border-left: 1px solid var(--ifm-toc-border-color);
padding-left: 0.85rem;
font-family: var(--ifm-font-family-monospace);
font-weight: 700;
font-size: 1.7rem;
line-height: 1;
color: var(--brand-accent);
}
/* expanded (NOT collapsed) => solid green fill + white text + "-" */
.menu__list-item:not(.menu__list-item--collapsed) > .menu__list-item-collapsible {
background-color: var(--brand-accent);
border-color: var(--brand-accent);
}
.menu__list-item:not(.menu__list-item--collapsed) > .menu__list-item-collapsible > .menu__link--sublist {
color: #fff;
}
.menu__list-item:not(.menu__list-item--collapsed) > .menu__list-item-collapsible > .menu__link--sublist::after {
content: "\2212";
color: #fff;
border-left-color: rgba(255, 255, 255, 0.5);
}
/* ---- Leaf (page) item: selected = transparent bg + solid square marker ---- */
.menu__link--active:not(.menu__link--sublist) {
color: var(--brand-accent);
border-color: var(--brand-accent);
background-color: transparent;
}
.menu__link--active:not(.menu__link--sublist)::before {
content: "\25AA"; /* ▪ solid square */
color: var(--brand-accent);
font-size: 0.95em;
margin-right: 0.5rem;
}
/* --- Table of contents (right): terminal-ish --- */
.table-of-contents {
font-family: var(--ifm-font-family-monospace);
font-size: 0.8rem;
}
.table-of-contents__link--active {
color: var(--ifm-color-primary);
font-weight: 700;
}
/* --- Navbar links + custom buttons: monospace (kept square above) --- */
.navbar__link,
.navbar-release-btn,
.navbar-blog-btn,
.breadcrumbs__link {
font-family: var(--ifm-font-family-monospace);
}