-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
1062 lines (913 loc) · 29.4 KB
/
style.css
File metadata and controls
1062 lines (913 loc) · 29.4 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
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* ==========================================================================
Sei Docs — custom stylesheet
Ports the Sei design language (Figma-aligned) onto Mintlify's component set
========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@300;400;500;600;700&display=swap");
/* --------------------------------------------------------------------------
Design tokens
-------------------------------------------------------------------------- */
:root {
/* Core palette */
--sei-black: #000000;
--sei-white: #ffffff;
--sei-cream: #e6d4c3;
/* Neutral greys */
--sei-grey-25: #f5f5f7;
--sei-grey-30: #ececee;
--sei-grey-50: #cccccc;
--sei-grey-75: #999999;
--sei-grey-100: #999999;
--sei-grey-200: #666666;
--sei-grey-300: #333333;
--sei-grey-400: #333333;
--sei-grey-600: #131313;
/* Maroon accent */
--sei-maroon-25: #b99ba1;
--sei-maroon-50: #b05c6c;
--sei-maroon-100: #600014;
--sei-maroon-200: #34050d;
/* Gold accent */
--sei-gold-25: #d6c9ac;
--sei-gold-100: #966f22;
--sei-gold-200: #5d4a22;
/* Semantic */
--sei-live: #38df00;
--sei-error: #fa0c00;
/* Fonts */
--sei-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", sans-serif;
--sei-font-mono: "JetBrains Mono", "SF Mono", "Fira Code", Menlo, Consolas,
monospace;
/* Radii (sharp Sei aesthetic) */
--sei-radius-sm: 2px;
--sei-radius-md: 4px;
/* Surfaces */
--sei-card-bg-light: #ffffff;
--sei-card-bg-dark: #000000;
--sei-card-border-light: #ececee;
--sei-card-border-dark: #1f1f1f;
--sei-card-divider-light: #ececee;
--sei-card-divider-dark: #262626;
--sei-page-bg-light: #f5f5f7;
--sei-page-bg-dark: #000000;
}
.dark,
[data-theme="dark"] {
color-scheme: dark;
}
/* --------------------------------------------------------------------------
Base typography — Inter for body, JetBrains Mono for code
-------------------------------------------------------------------------- */
html,
body {
font-family: var(--sei-font-body);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: "ss01", "cv11";
}
code,
kbd,
pre,
samp,
.font-mono,
[class*="font-mono"] {
font-family: var(--sei-font-mono) !important;
}
/* Headings — tight letter-spacing, bold */
h1,
h2,
h3,
h4,
h5,
h6,
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
font-family: var(--sei-font-body);
letter-spacing: -0.02em;
font-weight: 700;
}
h1,
.prose h1 {
letter-spacing: -0.025em;
font-weight: 700;
}
/* --------------------------------------------------------------------------
Eyebrow / mono label utility — use with `className="sei-eyebrow"`
-------------------------------------------------------------------------- */
.sei-eyebrow,
[class*="eyebrow"] {
font-family: var(--sei-font-mono);
text-transform: uppercase;
font-size: 10px;
letter-spacing: 0.04em;
color: var(--sei-gold-100);
font-weight: 500;
}
.dark .sei-eyebrow,
.dark [class*="eyebrow"] {
color: var(--sei-gold-25);
}
/* --------------------------------------------------------------------------
CARDS — sharp corners, left-aligned icon square, maroon hover
Targets Mintlify's <Card> components broadly via class name patterns.
-------------------------------------------------------------------------- */
/* Card container */
a[class*="card"],
div[class*="Card"]:not([class*="CardGroup"]):not([class*="group"]),
.card,
[class*="mintlify-card"],
[class^="card_"] {
border-radius: var(--sei-radius-sm) !important;
border: 1px solid var(--sei-card-border-light) !important;
background: var(--sei-card-bg-light) !important;
transition:
background-color 0.15s ease,
border-color 0.15s ease,
transform 0.15s ease !important;
position: relative;
overflow: hidden;
}
.dark a[class*="card"],
.dark div[class*="Card"]:not([class*="CardGroup"]):not([class*="group"]),
.dark .card,
.dark [class*="mintlify-card"],
.dark [class^="card_"] {
border-color: var(--sei-card-border-dark) !important;
background: var(--sei-card-bg-dark) !important;
}
/* Hover: subtle maroon tint + border shift */
a[class*="card"]:hover,
.card:hover,
[class*="mintlify-card"]:hover,
[class^="card_"]:hover {
border-color: rgba(96, 0, 20, 0.35) !important;
background: rgba(96, 0, 20, 0.02) !important;
}
.dark a[class*="card"]:hover,
.dark .card:hover,
.dark [class*="mintlify-card"]:hover,
.dark [class^="card_"]:hover {
border-color: rgba(185, 155, 161, 0.25) !important;
background: rgba(96, 0, 20, 0.08) !important;
}
/* Card title — tight, bold */
[class*="card"] h2,
[class*="card"] h3,
[class*="card"] h4,
[class*="card"] [class*="title"],
.card h2,
.card h3,
.card h4 {
letter-spacing: -0.015em !important;
font-weight: 700 !important;
}
/* Card icon: small maroon square instead of outlined/centered glyph.
Works by targeting the typical svg icon slot Mintlify places at the top. */
[class*="card"] > svg:first-child,
.card > svg:first-child,
[class*="card"] [class*="icon"] svg,
.card [class*="icon"] svg {
color: var(--sei-maroon-100) !important;
}
.dark [class*="card"] > svg:first-child,
.dark .card > svg:first-child,
.dark [class*="card"] [class*="icon"] svg,
.dark .card [class*="icon"] svg {
color: var(--sei-maroon-25) !important;
}
/* Keep Mintlify's own icon container but re-skin it to the Sei square look */
[class*="card"] [class*="icon"],
.card [class*="icon"] {
border-radius: var(--sei-radius-sm) !important;
}
/* Card description text tone */
[class*="card"] p,
.card p {
color: var(--sei-grey-200);
font-size: 14px;
line-height: 1.5;
}
.dark [class*="card"] p,
.dark .card p {
color: var(--sei-grey-75);
}
/* --------------------------------------------------------------------------
CARD GROUPS — tight gaps, grid-frame look
-------------------------------------------------------------------------- */
[class*="CardGroup"],
[class*="card-group"],
[class*="cards-grid"],
.card-group {
gap: 12px !important;
}
/* Columns component — same spacing */
[class*="Columns"],
.columns {
gap: 12px !important;
}
/* --------------------------------------------------------------------------
CALLOUTS — Info / Note / Tip / Warning / Check / Danger
Thin accent left border, sharp corners
-------------------------------------------------------------------------- */
[class*="callout"],
.callout,
blockquote[class*="info"],
blockquote[class*="warning"],
blockquote[class*="note"],
blockquote[class*="tip"],
blockquote[class*="danger"],
blockquote[class*="check"] {
border-radius: var(--sei-radius-sm) !important;
border-width: 1px !important;
border-left-width: 3px !important;
padding: 14px 18px !important;
font-size: 14px !important;
line-height: 1.55 !important;
}
/* Info — neutral grey with slight blue tint */
[class*="callout-info"],
[class*="info-callout"],
.callout.info,
blockquote.info {
background: rgba(59, 130, 246, 0.04) !important;
border-color: rgba(59, 130, 246, 0.14) !important;
border-left-color: rgba(59, 130, 246, 0.55) !important;
}
.dark [class*="callout-info"],
.dark [class*="info-callout"],
.dark .callout.info,
.dark blockquote.info {
background: rgba(59, 130, 246, 0.07) !important;
border-color: rgba(147, 197, 253, 0.14) !important;
border-left-color: rgba(147, 197, 253, 0.45) !important;
}
/* Warning — gold/amber */
[class*="callout-warning"],
[class*="warning-callout"],
.callout.warning,
blockquote.warning {
background: rgba(150, 111, 34, 0.06) !important;
border-color: rgba(150, 111, 34, 0.2) !important;
border-left-color: var(--sei-gold-100) !important;
}
.dark [class*="callout-warning"],
.dark [class*="warning-callout"],
.dark .callout.warning,
.dark blockquote.warning {
background: rgba(214, 201, 172, 0.06) !important;
border-color: rgba(214, 201, 172, 0.15) !important;
border-left-color: var(--sei-gold-25) !important;
}
/* Danger — maroon */
[class*="callout-danger"],
[class*="danger-callout"],
.callout.danger,
blockquote.danger {
background: rgba(96, 0, 20, 0.05) !important;
border-color: rgba(96, 0, 20, 0.18) !important;
border-left-color: var(--sei-maroon-100) !important;
}
.dark [class*="callout-danger"],
.dark [class*="danger-callout"],
.dark .callout.danger,
.dark blockquote.danger {
background: rgba(96, 0, 20, 0.12) !important;
border-color: rgba(185, 155, 161, 0.18) !important;
border-left-color: var(--sei-maroon-25) !important;
}
/* Check — green */
[class*="callout-check"],
.callout.check {
background: rgba(56, 223, 0, 0.04) !important;
border-color: rgba(56, 223, 0, 0.14) !important;
border-left-color: rgba(56, 223, 0, 0.55) !important;
}
/* Tip — cream/gold */
[class*="callout-tip"],
.callout.tip {
background: rgba(214, 201, 172, 0.08) !important;
border-color: rgba(214, 201, 172, 0.18) !important;
border-left-color: var(--sei-cream) !important;
}
/* --------------------------------------------------------------------------
TABLES — mono headers, sharp borders, tight rows
-------------------------------------------------------------------------- */
.prose table,
article table,
table {
border-radius: var(--sei-radius-sm) !important;
border-collapse: collapse !important;
overflow: hidden;
}
.prose thead,
article thead,
table thead {
background: transparent !important;
}
.prose thead th,
article thead th,
table thead th {
font-family: var(--sei-font-mono) !important;
text-transform: uppercase !important;
font-size: 11px !important;
letter-spacing: 0.04em !important;
font-weight: 500 !important;
color: var(--sei-grey-200) !important;
padding-top: 10px !important;
padding-bottom: 10px !important;
border-bottom: 1px solid var(--sei-card-border-light) !important;
}
.dark .prose thead th,
.dark article thead th,
.dark table thead th {
color: var(--sei-grey-75) !important;
border-bottom-color: var(--sei-card-border-dark) !important;
}
.prose tbody td,
article tbody td,
table tbody td {
padding-top: 10px !important;
padding-bottom: 10px !important;
font-size: 14px !important;
border-bottom: 1px solid var(--sei-card-border-light) !important;
}
.dark .prose tbody td,
.dark article tbody td,
.dark table tbody td {
border-bottom-color: var(--sei-card-border-dark) !important;
}
.prose tbody tr:last-child td,
article tbody tr:last-child td,
table tbody tr:last-child td {
border-bottom: none !important;
}
/* Monospace for code-like cells (hex, addresses, IDs) */
.prose td code,
article td code,
table td code,
.prose th code {
font-family: var(--sei-font-mono) !important;
font-size: 0.85em !important;
padding: 0.1em 0.4em !important;
background: rgba(96, 0, 20, 0.06) !important;
border: 1px solid rgba(96, 0, 20, 0.1) !important;
border-radius: var(--sei-radius-sm) !important;
}
.dark .prose td code,
.dark article td code,
.dark table td code {
background: rgba(185, 155, 161, 0.1) !important;
border-color: rgba(185, 155, 161, 0.15) !important;
color: var(--sei-cream) !important;
}
/* --------------------------------------------------------------------------
INLINE CODE — not in tables
-------------------------------------------------------------------------- */
.prose :not(pre) > code,
article :not(pre) > code {
font-family: var(--sei-font-mono) !important;
font-size: 0.88em !important;
padding: 0.12em 0.4em !important;
background: rgba(96, 0, 20, 0.06);
border: 1px solid rgba(96, 0, 20, 0.1);
border-radius: var(--sei-radius-sm);
color: var(--sei-maroon-100);
}
.dark .prose :not(pre) > code,
.dark article :not(pre) > code {
background: rgba(185, 155, 161, 0.1);
border-color: rgba(185, 155, 161, 0.15);
color: var(--sei-cream);
}
/* Code inside headings stays simple */
.prose h1 code,
.prose h2 code,
.prose h3 code,
.prose h4 code {
background: transparent !important;
border: none !important;
padding: 0 !important;
color: inherit !important;
}
/* --------------------------------------------------------------------------
CODE BLOCKS (Shiki) — sharp corners, grey-600 bg in dark
-------------------------------------------------------------------------- */
.prose pre,
article pre,
pre[class*="shiki"],
.shiki {
border-radius: var(--sei-radius-sm) !important;
font-family: var(--sei-font-mono) !important;
font-size: 13px !important;
line-height: 1.55 !important;
border: 1px solid var(--sei-card-border-light) !important;
}
.dark .prose pre,
.dark article pre,
.dark pre[class*="shiki"],
.dark .shiki {
background-color: var(--sei-grey-600) !important;
border-color: var(--sei-card-border-dark) !important;
}
/* --------------------------------------------------------------------------
LINKS (within prose)
-------------------------------------------------------------------------- */
.prose a:not([class*="card"]):not([class*="button"]),
article a:not([class*="card"]):not([class*="button"]) {
color: var(--sei-maroon-100);
text-decoration: none;
border-bottom: 1px solid rgba(96, 0, 20, 0.25);
transition:
color 0.15s ease,
border-color 0.15s ease;
}
.prose a:not([class*="card"]):not([class*="button"]):hover,
article a:not([class*="card"]):not([class*="button"]):hover {
color: var(--sei-maroon-200);
border-bottom-color: var(--sei-maroon-100);
}
.dark .prose a:not([class*="card"]):not([class*="button"]),
.dark article a:not([class*="card"]):not([class*="button"]) {
color: var(--sei-maroon-25);
border-bottom-color: rgba(185, 155, 161, 0.4);
}
.dark .prose a:not([class*="card"]):not([class*="button"]):hover,
.dark article a:not([class*="card"]):not([class*="button"]):hover {
color: var(--sei-cream);
border-bottom-color: var(--sei-cream);
}
/* --------------------------------------------------------------------------
STEPS — Sei maroon step indicators
-------------------------------------------------------------------------- */
[class*="steps"] [class*="step-number"],
[class*="Step"] [class*="number"],
.steps li::before,
ol.steps li::marker {
background-color: var(--sei-maroon-100) !important;
color: var(--sei-white) !important;
border-radius: var(--sei-radius-sm) !important;
}
.dark [class*="steps"] [class*="step-number"],
.dark [class*="Step"] [class*="number"],
.dark .steps li::before {
background-color: var(--sei-maroon-200) !important;
color: var(--sei-cream) !important;
}
/* --------------------------------------------------------------------------
TABS — Sei maroon underline on selected
-------------------------------------------------------------------------- */
[role="tab"][aria-selected="true"],
[role="tab"][data-state="active"],
button[aria-selected="true"][role="tab"] {
color: var(--sei-maroon-100) !important;
border-color: var(--sei-maroon-100) !important;
}
.dark [role="tab"][aria-selected="true"],
.dark [role="tab"][data-state="active"],
.dark button[aria-selected="true"][role="tab"] {
color: var(--sei-maroon-25) !important;
border-color: var(--sei-maroon-25) !important;
}
/* --------------------------------------------------------------------------
SIDEBAR — dense, narrow, Sei-styled active state
Mintlify hardcodes w-[19rem] (304px). We narrow the sidebar, sync the
main-content offset, and ensure the footer spans the full page width.
-------------------------------------------------------------------------- */
/* 1. The sidebar column itself */
#sidebar {
width: 220px !important;
left: 0 !important;
margin-left: 0 !important;
}
/* 2. Main content wrapper — align with our 220px sidebar.
Mintlify adds `lg:pl-[23.7rem]` (≈379px, sized for its 19rem/304px sidebar)
together with `lg:-ml-12` (-48px) on #content-area. That pushes text far
past our narrower sidebar and leaves a huge blank gutter on the right.
We reset the negative margin and shrink the padding to `sidebar + gutter`. */
@media (min-width: 1024px) {
[class*="peer-[.is-not-custom]:peer-[.is-not-center]:max-w-8xl"][class*="peer-[.is-not-custom]:px-4"][class*="peer-[.is-not-custom]:mx-auto"] {
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
}
#content-area[class*="lg:pl-[23.7rem]"],
div[class*="lg:pl-[23.7rem]"] {
padding-left: 252px !important; /* 220px sidebar + 32px gutter */
padding-right: 32px !important;
}
div[class*="lg:-ml-12"] {
margin-left: 0 !important;
}
/* Legacy selectors kept for older Mintlify builds */
div[class*="lg:ml-[19rem]"]:not(#footer):not(.advanced-footer) {
margin-left: 220px !important;
}
div[class*="lg:pl-16"] {
padding-left: 32px !important;
}
}
/* 3. Article width override — wide pages have no TOC, so the `calc(100%-Nrem)`
width (that reserves TOC space) would leave the column narrow and,
together with `mx-auto`, centered with blank space on the right. Let it
fill the full width of its flex parent instead. */
@media (min-width: 1280px) {
div[class*="xl:w-[calc(100%-19rem)]"],
div[class*="xl:w-[calc(100%-28rem)]"] {
width: 100% !important;
}
/* 3a. Symmetrical content/TOC gutter.
Mintlify stacks three pieces of horizontal space between the article
text and the TOC text: (a) the content-area's own `padding-right: 32px`
(set above), (b) a `gap-12` (48px) on the flex row between content and
TOC, and (c) a `pl-10` (40px) inside the TOC layout. That totals 120px
on the right while the left gutter (sidebar edge → article text) is
only 32px. Collapse (b) and (c) so the right-hand gap matches the left. */
#content-container > div[class*="flex-row-reverse"][class*="gap-12"] {
gap: 0 !important;
}
div[class*="pl-10"][class*="w-[19rem]"],
#table-of-contents-layout {
padding-left: 0 !important;
}
}
/* 4. Footer — always full-width, never indented by the sidebar */
#footer,
footer.advanced-footer,
footer[class*="advanced-footer"] {
margin-left: 0 !important;
width: 100% !important;
max-width: 100% !important;
}
/* Hide the sticky gradient "shadow bar" Mintlify places at the top of the sidebar scroll area */
#sidebar-content [class*="bg-gradient-to-b"] {
display: none !important;
}
/* Inner sidebar content padding — tighten to align items with the navbar tabs (px-12 = 48px) */
#sidebar-content {
padding-left: 8px !important;
padding-right: 10px !important;
padding-top: 16px !important;
}
/* Density — small font, tight line-height */
#sidebar,
#sidebar-content {
font-size: 12px;
letter-spacing: -0.005em;
line-height: 1.25;
}
/* All sidebar links and buttons — tight horizontal padding */
#sidebar a,
#sidebar button {
padding-left: 8px !important;
padding-right: 4px !important;
border-radius: var(--sei-radius-sm) !important;
min-height: 0 !important;
line-height: 1.3 !important;
transition:
background-color 0.12s ease,
color 0.12s ease;
}
/* Nested page items (the "ml-4 border-l" bar Mintlify renders for each page) */
#sidebar [class*="ml-4"][class*="border-l"] {
margin-left: 6px !important;
padding-left: 10px !important;
padding-top: 3px !important;
padding-bottom: 3px !important;
width: calc(100% - 6px) !important;
}
/* Group accordion buttons (each group title) — tighter vertical */
#sidebar button[aria-expanded] {
padding-top: 4px !important;
padding-bottom: 4px !important;
}
/* Global nav-anchor items (Dashboard, Ecosystem, …) — reduce left margin for narrower sidebar */
#sidebar .nav-anchor {
margin-left: 8px !important;
}
/* Group header containers — tighten left padding to align with page items */
#sidebar .sidebar-group-header {
padding-left: 8px !important;
}
/* Section / group headers (GETTING STARTED, CORE ARCHITECTURE, ...) */
#sidebar h5,
#sidebar h6,
#sidebar [class*="uppercase"] {
font-family: var(--sei-font-mono) !important;
text-transform: uppercase !important;
font-size: 10px !important;
letter-spacing: 0.08em !important;
color: var(--sei-gold-100) !important;
font-weight: 500 !important;
margin-top: 10px !important;
margin-bottom: 2px !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
line-height: 1.2 !important;
}
.dark #sidebar h5,
.dark #sidebar h6,
.dark #sidebar [class*="uppercase"] {
color: var(--sei-gold-25) !important;
}
/* Active / current page */
#sidebar a[aria-current="page"],
#sidebar a.active,
#sidebar [data-active="true"] {
background-color: rgba(96, 0, 20, 0.08) !important;
color: var(--sei-maroon-100) !important;
font-weight: 500 !important;
border-left: 2px solid var(--sei-maroon-100) !important;
}
.dark #sidebar a[aria-current="page"],
.dark #sidebar a.active,
.dark #sidebar [data-active="true"] {
background-color: rgba(185, 155, 161, 0.08) !important;
color: var(--sei-maroon-25) !important;
border-left-color: var(--sei-maroon-25) !important;
}
/* Search input inside sidebar — keep it full-width within the trimmed padding */
#sidebar input[type="search"],
#sidebar [role="searchbox"],
#sidebar [class*="search"] button {
width: 100% !important;
font-size: 12.5px !important;
}
/* --------------------------------------------------------------------------
NAVBAR / TOPBAR
-------------------------------------------------------------------------- */
header,
[class*="navbar"],
[class*="topbar"] {
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.dark header,
.dark [class*="navbar"],
.dark [class*="topbar"] {
border-bottom-color: var(--sei-grey-300);
}
@media (min-width: 1024px) {
#navbar > div[class*="max-w-8xl"][class*="mx-auto"] {
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
#navbar [class*="lg:px-12"][class*="mx-4"] {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 16px !important;
padding-right: 16px !important;
}
}
/* Navbar link items — small, body font */
header nav a,
[class*="navbar"] a {
font-size: 13px;
letter-spacing: -0.005em;
}
/* Primary button in navbar ("Launch dApp") — Sei maroon fill */
header a[class*="button-primary"],
header button[class*="primary"],
[class*="navbar"] a[class*="primary"],
[class*="navbar"] button[class*="primary"] {
background-color: var(--sei-maroon-100) !important;
color: var(--sei-white) !important;
border: 1px solid var(--sei-maroon-100) !important;
border-radius: var(--sei-radius-sm) !important;
font-weight: 500;
transition: background-color 0.15s ease;
}
header a[class*="button-primary"]:hover,
[class*="navbar"] a[class*="primary"]:hover {
background-color: var(--sei-maroon-200) !important;
border-color: var(--sei-maroon-200) !important;
}
.dark header a[class*="button-primary"],
.dark [class*="navbar"] a[class*="primary"] {
background-color: var(--sei-maroon-100) !important;
color: var(--sei-cream) !important;
}
/* --------------------------------------------------------------------------
TOC / right rail
-------------------------------------------------------------------------- */
[class*="toc"] a,
[class*="table-of-contents"] a {
font-size: 12.5px !important;
letter-spacing: -0.005em;
color: var(--sei-grey-200);
transition: color 0.12s ease;
}
.dark [class*="toc"] a,
.dark [class*="table-of-contents"] a {
color: var(--sei-grey-75);
}
[class*="toc"] a:hover,
[class*="table-of-contents"] a:hover {
color: var(--sei-maroon-100);
}
.dark [class*="toc"] a:hover,
.dark [class*="table-of-contents"] a:hover {
color: var(--sei-maroon-25);
}
[class*="toc"] a[aria-current],
[class*="toc"] a.active,
[class*="table-of-contents"] a[aria-current],
[class*="table-of-contents"] a.active {
color: var(--sei-maroon-100) !important;
border-left: 2px solid var(--sei-maroon-100);
}
.dark [class*="toc"] a[aria-current],
.dark [class*="toc"] a.active {
color: var(--sei-maroon-25) !important;
border-left-color: var(--sei-maroon-25);
}
/* --------------------------------------------------------------------------
SEARCH
-------------------------------------------------------------------------- */
input[type="search"],
[class*="search"] input {
font-family: var(--sei-font-body) !important;
border-radius: var(--sei-radius-sm) !important;
border: 1px solid rgba(0, 0, 0, 0.12) !important;
background-color: var(--sei-grey-25) !important;
}
.dark input[type="search"],
.dark [class*="search"] input {
background-color: var(--sei-grey-600) !important;
border-color: var(--sei-grey-300) !important;
color: var(--sei-white) !important;
}
input[type="search"]:focus,
[class*="search"] input:focus {
outline: 2px solid var(--sei-maroon-100);
outline-offset: -1px;
border-color: transparent !important;
}
mark,
[class*="search"] mark,
[class*="highlight"] {
background-color: rgba(96, 0, 20, 0.2) !important;
color: inherit !important;
padding: 0.1em 0.2em;
border-radius: var(--sei-radius-sm);
}
.dark mark {
background-color: rgba(185, 155, 161, 0.35) !important;
}
/* --------------------------------------------------------------------------
BLOCKQUOTES (outside callouts)
-------------------------------------------------------------------------- */
.prose blockquote:not([class*="callout"]),
article blockquote:not([class*="callout"]) {
border-left: 3px solid var(--sei-maroon-100);
background: rgba(96, 0, 20, 0.04);
padding: 14px 18px;
border-radius: var(--sei-radius-sm);
font-style: normal;
color: var(--sei-grey-200);
}
.dark .prose blockquote:not([class*="callout"]),
.dark article blockquote:not([class*="callout"]) {
border-left-color: var(--sei-maroon-25);
background: rgba(96, 0, 20, 0.1);
color: var(--sei-grey-75);
}
/* --------------------------------------------------------------------------
HEADING anchors — subtle
-------------------------------------------------------------------------- */
.prose h1 a[href^="#"],
.prose h2 a[href^="#"],
.prose h3 a[href^="#"],
.prose h4 a[href^="#"] {
border-bottom: none !important;
opacity: 0;
transition: opacity 0.15s ease;
}
.prose h1:hover a[href^="#"],
.prose h2:hover a[href^="#"],
.prose h3:hover a[href^="#"],
.prose h4:hover a[href^="#"] {
opacity: 0.5;
}
/* --------------------------------------------------------------------------
HR
-------------------------------------------------------------------------- */
.prose hr,
article hr,
hr {
border: none;
border-top: 1px solid var(--sei-card-border-light);
margin: 2.5rem 0;
}
.dark .prose hr,
.dark article hr,
.dark hr {
border-top-color: var(--sei-card-border-dark);
}
/* --------------------------------------------------------------------------
Detail / Accordion
-------------------------------------------------------------------------- */
details,
[class*="accordion"] {
border: 1px solid var(--sei-card-border-light) !important;
border-radius: var(--sei-radius-sm) !important;
background: transparent !important;
}
.dark details,
.dark [class*="accordion"] {
border-color: var(--sei-card-border-dark) !important;
}
summary,
[class*="accordion"] summary,
[class*="accordion"] button[aria-expanded] {
padding: 12px 16px !important;
font-weight: 500 !important;
letter-spacing: -0.01em !important;
cursor: pointer;
}
summary:hover,
[class*="accordion"] button[aria-expanded]:hover {
background: rgba(96, 0, 20, 0.03) !important;
}
.dark summary:hover,
.dark [class*="accordion"] button[aria-expanded]:hover {
background: rgba(185, 155, 161, 0.05) !important;
}
/* --------------------------------------------------------------------------
Image / Frame
-------------------------------------------------------------------------- */
[class*="Frame"],
.frame,
figure {
border-radius: var(--sei-radius-sm) !important;
}
/* --------------------------------------------------------------------------
SCROLLBARS
-------------------------------------------------------------------------- */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.15);
border-radius: 3px;
}