-
-
Notifications
You must be signed in to change notification settings - Fork 290
Expand file tree
/
Copy pathcustom.css
More file actions
2928 lines (2452 loc) · 69.1 KB
/
custom.css
File metadata and controls
2928 lines (2452 loc) · 69.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
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
/* stylelint-disable docusaurus/copyright-header */
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
/* Hotfix: Changed primary color to black to resolve conflict with Docusaurus' default primary orange after disabling Tailwind preflight CSS. Added font size and line height adjustments to compensate for the removal of Tailwind preflight. */
/* --ifm-color-primary-lighter: #ffb575; */
font-size:18px;
line-height: 1.6;
--ifm-color-primary: #000;
--ifm-color-primary-lighter: #FFF;
--ifm-color-primary: #ff914d;
--ifm-color-primary-dark: #e67643;
--ifm-color-primary-darker: #c95919;
--ifm-color-primary-darkest: #be2c1b;
--ifm-color-primary-light: #ffd0a0;
--ifm-color-primary-lightest: #ffceb1;
--ifm-code-font-size: 95%;
--doc-sidebar-width: 275px !important;
--ifm-link-hover-decoration: none;
--ifm-link-hover-color: inherit;
--site-primary-hue-saturation: 30 100%;
--site-primary-hue-saturation-light: 0 0%; /* do we really need this extra one? */
--slack-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1610 1610'%3E%3Cpath fill='%23E01E5A' d='M338 1017c0 93-76 169-169 169S0 1110 0 1017s76-169 169-169h169v169zM423 1017c0-93 76-169 169-169s169 76 169 169v424c0 93-76 169-169 169s-169-76-169-169v-424z'/%3E%3Cpath fill='%2336C5F0' d='M593 338c-93 0-169-76-169-169S500 0 593 0s169 76 169 169v169H593zM593 423c93 0 169 76 169 169s-76 169-169 169H169C76 761 0 685 0 592s76-169 169-169h424z'/%3E%3Cpath fill='%232EB67D' d='M1272 593c0-93 76-169 169-169s169 76 169 169-76 169-169 169h-169V593zM1187 593c0 93-76 169-169 169s-169-76-169-169V169C849 76 925 0 1018 0s169 76 169 169v424z'/%3E%3Cpath fill='%23ECB22E' d='M1017 1272c93 0 169 76 169 169s-76 169-169 169-169-76-169-169v-169h169zM1017 1187c-93 0-169-76-169-169s76-169 169-169h424c93 0 169 76 169 169s-76 169-169 169h-424z'/%3E%3C/svg%3E");
}
/* Global overflow control */
html, body {
overflow-x: hidden;
max-width: 100vw;
}
/* Navbar - always full viewport width */
.navbar {
width: 100vw !important;
max-width: 100vw !important;
left: 0;
right: 0;
}
.navbar__inner {
max-width: 100% !important;
width: 100% !important;
}
.navbar > .container,
.navbar > .container-fluid {
max-width: 100% !important;
width: 100% !important;
padding: 0 1rem;
}
/* Main wrapper - always full width */
.main-wrapper {
width: 100% !important;
max-width: 100% !important;
}
/* Docs page white background */
.docs-wrapper,
.main-wrapper,
[class*="docPage"],
[class*="docMainContainer"],
[class*="docItemContainer"],
main {
background: #fff !important;
width: 100% !important;
}
html[data-theme="dark"] .docs-wrapper,
html[data-theme="dark"] .main-wrapper,
html[data-theme="dark"] [class*="docPage"],
html[data-theme="dark"] [class*="docMainContainer"],
html[data-theme="dark"] [class*="docItemContainer"],
html[data-theme="dark"] main {
background: #18181b !important;
}
html[data-theme="dark"] {
/* Hotfix: Changed 'ifm-color-primary-lighter' to white to resolve conflict with Docusaurus' default color after disabling Tailwind preflight CSS. */
/* --ifm-color-primary-lighter: #ffb575; */
--ifm-color-primary-lighter: #FFF;
--ifm-color-primary: #ff914d;
--ifm-color-primary-dark: #e67643;
--ifm-color-primary-darker: #c95919;
--ifm-color-primary-darkest: #be2c1b;
--ifm-color-primary-light: #ffd0a0;
--ifm-color-primary-lightest: #ffceb1;
--ifm-link-color: var(--ifm-color-primary-lighter);
--ifm-menu-color-active: var(--ifm-color-primary-lighter);
--ifm-navbar-link-hover-color: var(--ifm-color-primary-lighter);
--ifm-toc-link-color: var(--ifm-color-primary-lighter);
--ifm-blockquote-color: #eeeeee;
/* --ifm-code-background: var(--ifm-color-primary-dark); */
/*--ifm-color: #ffffff;*/
--ifm-background-color: #141414;
--ifm-footer-background-color: #000;
--ifm-card-background-color: #1a1a1a;
--collapse-button-bg-color-dark: transparent;
--ifm-badge-background-color: #f88e34;
--card-color: rgba(17, 24, 39);
--ifm-card-shadow-color: rgba(255, 255, 255, 0.2);
}
html[data-theme="light"] {
--ifm-blockquote-color: #000000;
--ifm-color-emphasis-300: #505050;
/* --ifm-code-background: var(--ifm-color-primary-lightest); */
--ifm-color-input-background: #ffffff;
--ifm-color: #00163d;
--ifm-background-color: rgb(249, 250, 251);
--ifm-footer-background-color: #ffffff;
--ifm-card-background-color: #ffffff;
--ifm-badge-background-color: rgba(239, 246, 255);
--card-color: rgba(239, 246, 255);
--ifm-card-shadow-color: rgba(0, 0, 0, 0.2); /* Dark shadow for light theme */
}
@font-face {
font-family: "Roboto";
src: url("../fonts/Roboto-Light.woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("../fonts/Roboto-Bold.woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Roboto";
src: url("../fonts/Roboto-Light.woff2");
font-weight: 300;
font-style: normal;
font-display: swap;
}
.docs-page {
@apply my-12;
}
.edit a svg {
@apply inline;
}
/* Hotfix: Remove extra margin-bottom on community links subtext in the home page due to Tailwind preflight removal */
h3{
margin-bottom: 0.1rem;
}
h1,
h2,
h3,
h4,
.menu__list,
.navbar {
font-family: "Aeonik", system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.menu__list {
@apply text-sm;
}
/* otherwise external references in menu bar (see Go) have the icon screwed up */
.menu__list-item > .menu__link > span {
display: flex;
}
.menu__link--sublist:after {
/* Keep sidebar chevron size consistent with leaf items */
background: var(--ifm-menu-link-sublist-icon) 50% / 1.5rem 1.5rem;
}
/* Ensure category caret variants use the same icon size in the sidebar */
div[class^="sidebar_"] .menu__link--sublist-caret:after {
background: var(--ifm-menu-link-sublist-icon) 50% / 1.5rem 1.5rem;
height: 1.5rem;
min-width: 1.5rem;
}
div[class^="sidebar_"] .menu__caret:before {
background: var(--ifm-menu-link-sublist-icon) 50% / 1.5rem 1.5rem;
height: 1.5rem;
width: 1.5rem;
}
div[class^="sidebar_"]
.menu__link.menu__link--active:not(.menu__link--sublist) {
padding-right: calc(var(--ifm-menu-link-padding-horizontal) - 2px);
}
/* Do not highlight category labels (that also have pages) as active; only leaf pages should be highlighted */
div[class^="sidebar_"] .menu__link--sublist.menu__link--active {
color: inherit !important;
font-weight: inherit;
}
/* Do NOT bold category when on its own page */
div[class^="sidebar_"] .menu__list-item-collapsible--active .menu__link--sublist {
color: inherit !important;
font-weight: inherit;
}
/* And keep color unchanged even on hover when on its own page */
div[class^="sidebar_"] .menu__list-item-collapsible--active .menu__link--sublist:hover {
color: inherit !important;
}
/* Explicitly neutralize color when category link is both sublist and active (own page) */
div[class^="sidebar_"] .menu__list-item-collapsible--active .menu__link--sublist.menu__link--active {
color: inherit !important;
}
/* When the category's own page is current, do not change its color/background/weight */
div[class^="sidebar_"] .menu__list-item-collapsible .menu__link[aria-current="page"] {
color: inherit !important;
background: transparent !important;
font-weight: inherit !important;
}
div[class^="sidebar_"] .menu__list-item-collapsible .menu__link[aria-current="page"]:hover,
div[class^="sidebar_"] .menu__list-item-collapsible .menu__link[aria-current="page"]:focus,
div[class^="sidebar_"] .menu__list-item-collapsible .menu__link[aria-current="page"].menu__link--active {
color: inherit !important;
/* prevent extra link-layer background; container provides unified hover */
background-color: transparent !important;
font-weight: inherit !important;
}
/* Strong override: category with its own current page should use normal menu color (not active black) */
div[class^="sidebar_"] .menu__link--sublist.menu__link--active[aria-current="page"] {
color: var(--ifm-menu-color) !important;
}
/* Extra-specific guard: ensure normal color for category labels on their own page */
div[class^="sidebar_"] li.menu__list-item > a.menu__link.menu__link--sublist[aria-current="page"],
div[class^="sidebar_"] li.menu__list-item > a.menu__link.menu__link--sublist[aria-current="page"].menu__link--active,
div[class^="sidebar_"] li.menu__list-item > div.menu__list-item-collapsible > a.menu__link.menu__link--sublist[aria-current="page"] {
color: var(--ifm-menu-color) !important;
background: transparent !important;
font-weight: inherit !important;
}
/* Restore hover background for categories with their own page when hovering that link */
div[class^="sidebar_"] li.menu__list-item > a.menu__link.menu__link--sublist[aria-current="page"]:hover,
div[class^="sidebar_"] li.menu__list-item > div.menu__list-item-collapsible > a.menu__link.menu__link--sublist[aria-current="page"]:hover {
/* prevent extra link-layer hover; container provides unified hover */
background-color: transparent !important;
}
/* Unify hover background for text + caret (arrow) when category has its own page */
/* Use unified hover on container; clear child backgrounds to prevent double overlays */
div[class^="sidebar_"] .menu__list-item-collapsible--active:hover {
background-color: var(--ifm-menu-color-background-hover) !important;
}
div[class^="sidebar_"] .menu__list-item-collapsible--active:hover > a.menu__link,
div[class^="sidebar_"] .menu__list-item-collapsible--active:hover > .menu__caret {
background-color: transparent !important;
}
/* For categories with pages (collapsible) when NOT on their page: hover on arrow OR text gives one unified background */
div[class^="sidebar_"] .menu__list-item-collapsible:not(.menu__list-item-collapsible--active):hover {
background-color: var(--ifm-menu-color-background-hover) !important;
}
div[class^="sidebar_"] .menu__list-item-collapsible:not(.menu__list-item-collapsible--active):hover > a.menu__link,
div[class^="sidebar_"] .menu__list-item-collapsible:not(.menu__list-item-collapsible--active):hover > .menu__caret {
background-color: transparent !important;
}
/* Ensure link text color does not change on hover in this specific case */
div[class^="sidebar_"] .menu__list-item-collapsible--active:hover > a.menu__link {
color: inherit !important;
}
/* Remove background highlight when category's own page is active; keep hover behavior */
div[class^="sidebar_"] .menu__list-item-collapsible--active {
background: transparent !important;
}
/* Parent style when a child page is active is handled below for light mode (orange) */
/* Light mode: use orange color (no bold) for parent when a child page is active */
html[data-theme="light"] div[class^="sidebar_"] .menu__list-item-collapsible:not(.menu__list-item-collapsible--active) .menu__link--sublist.menu__link--active {
color: var(--ifm-color-primary) !important;
font-weight: inherit;
}
div[class^="sidebar_"] .button {
@apply mx-auto mb-2 w-full border-0;
}
div[class^="sidebar_"] .button svg {
@apply mx-auto;
}
/* Prevent descenders (g, y, p) from clipping in sidebar, including when bold/active */
div[class^="sidebar_"] .menu__link {
line-height: 1.5;
padding-bottom: calc(var(--ifm-menu-link-padding-vertical) + 1px);
}
div[class^="sidebar_"] .menu__link.menu__link--active {
line-height: 1.5; /* ensure active/bold state also has enough leading */
}
/* TOC styles moved to modern sidebar section below */
.docs-wrapper aside {
@apply border-0;
}
/* Blog List Page */
.case-study-header {
background-color: #000000;
@apply w-full rounded-lg;
}
.center {
text-align: center; /* needed so that blog post heading is centered in the single blog post view */
}
/*
.blog-list-page {
@apply max-w-screen-lg mx-auto px-10 my-16;
}
.blog-list-page main {
@apply flex flex-col space-y-12 max-w-screen-lg mx-auto;
}
.blog-list-page aside {
@apply text-sm mr-10 px-2;
}
.blog-list-page .post-header {
@apply items-start;
}
.blog-list-page article img {
@apply -mb-3 shadow-lg;
}
.blog-tags-post-page aside {
@apply text-sm mr-10 px-2;
}
.blog-tags-post-page main {
@apply flex flex-col space-y-12 max-w-screen-lg mx-auto;
}
*/
.blog-tags-post-page {
@apply mx-auto my-16 max-w-screen-lg px-10;
}
/* Pagination */
.pagination-nav {
@apply flex mt-12 flex-col items-start justify-center space-x-0 space-y-5 md:flex-row md:space-x-10 md:space-y-0;
}
.pagination-nav__item {
@apply w-full max-w-md;
}
.pagination-nav__link {
@apply flex-grow transform rounded-lg border-0 bg-[color:var(--ifm-card-background-color)] p-5 text-lg shadow-lg transition-transform hover:scale-105;
}
/* Navbar */
.navbar {
background: #fff;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
box-shadow: none;
padding: 0.5rem 0;
}
html[data-theme="dark"] .navbar {
background: #141414;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar__inner {
@apply mx-auto w-full max-w-none px-4 lg:px-10;
}
.navbar__items--right {
@apply justify-end ml-auto flex-row-reverse;
gap: 12px;
}
.navbar__items--right > :last-child {
@apply pr-0;
}
.navbar__brand {
@apply mb-0;
}
.navbar__brand img {
height: 32px;
}
/* Search box styling */
/* Search */
.DocSearch-Button {
@apply rounded-lg px-3 py-2 !important;
}
.button.button--secondary.button--outline:not(.button--active):not(:hover) {
color: #ffffff;
}
/* Footer */
footer svg {
display: inline;
}
.footer .footer__svg {
@apply m-8 inline fill-current;
}
.footer .footer__link-item span svg {
@apply hidden;
}
@media (max-width: 996px) {
.footer .footer__separators {
display: none;
}
.DocSearch-Button {
@apply mr-2 !important;
}
/* .footer .footer__block {
display: block;
} */
}
/* Docs */
.docusaurus-highlight-code-line {
background-color: rgb(72, 77, 91);
display: block;
margin: 0 calc(-1 * var(--ifm-pre-padding));
padding: 0 var(--ifm-pre-padding);
}
.docs-image-centered {
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 25px;
}
.docs-image-max-width-20 {
width: 20%;
}
.docs-image-max-width-50 {
width: 50%;
}
.hero--primary {
background-color: var(--ifm-color-hero-background-dark);
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
#mc-embedded-waitlist {
margin-top: 15px;
}
.related-read-div {
border-width: 0;
padding: 7px var(--ifm-alert-padding-horizontal);
margin-bottom: 0.5em;
}
.related-read-label {
font-weight: 600;
}
/* Reset margin bottom on h3 (refer docs community section li item heading) after disabling tailwind preflight. */
h3{
margin-bottom: 1px;
}
/* Reset any border-radius applied to images inside <td> elements. (see os icons and cross and tick icons in table) */
td img {
border-radius: 0 !important;
}
.related-read-link {
margin-left: 7px;
}
.related-read-archetype-tag {
padding: 3px 6px;
color: #ffffff;
font-size: 0.8em;
border-radius: 6px;
margin-left: 7px;
}
.archetype-tag-operation-guide {
background-color: #ca1a7b;
}
.archetype-tag-developer-guide {
background-color: #ca811a;
}
.archetype-tag-tutorial {
background-color: #1ac9c7;
}
.archetype-tag-explanation {
background-color: #78c91a;
}
.archetype-tag-reference {
background-color: #cf8f19;
}
.docs-image-wrapper {
position: static;
width: 100%;
background-color: #efefef;
margin: 0 0 15px 0;
padding: 0;
}
.docs-centered-image-wrapper {
width: 100%;
text-align: center;
margin: 0;
padding: 15px;
}
.docs-image-title-wrapper {
width: 100%;
margin: 0;
padding: 15px;
text-align: left;
font-size: 0.9em;
font-weight: 300;
color: #121212;
}
.docs-image-title {
margin: 0px !important;
}
.docs-centered-image-size-100 {
max-width: 1024px;
}
.docs-centered-image-size-75 {
max-width: 768px;
}
.docs-centered-image-size-50 {
max-width: 640px;
}
.docs-centered-image-size-25 {
max-width: 400px;
}
@media screen and (max-width: 1024px) {
.docs-centered-image-size-100 {
max-width: 100%;
}
.docs-centered-image-size-75 {
max-width: 75%;
}
.docs-centered-image-size-50 {
max-width: 50%;
}
.docs-centered-image-size-25 {
max-width: 25%;
}
}
.docs-image-legend-wrapper {
width: 100%;
margin: 0;
padding: 15px;
text-align: left;
font-size: 0.9em;
font-weight: 300;
color: #121212;
}
.docs-image-legend-list {
margin: 0px !important;
padding: 0;
list-style-type: none;
}
.docs-image-legend-symbol {
font-size: 1.2em;
font-weight: 600;
}
.scale {
@apply transition hover:scale-105 motion-reduce:transform-none motion-reduce:transition-none;
}
/* .tableOfContents {
max-height: calc(100vh - (var(--ifm-navbar-height) + 2rem));
overflow-y: auto;
position: sticky;
top: calc(var(--ifm-navbar-height) + 1rem);
} */
/* hacks to counteract tailwind typography clashing with docusaurus tabs */
.prose .tabs-container > .tabs > .tabs__item::before {
content: none;
}
.prose .tabs-container > .tabs > .tabs__item {
padding-left: 1em;
padding-top: 0.5em;
padding-bottom: 0.5em;
margin-bottom: 0em;
opacity: 0.5;
}
.prose .tabs-container > .tabs > .tabs__item.tabs__item--active {
opacity: 1;
}
.prose .tabs {
padding: 0 !important;
}
.prose .tabs-container ul {
margin: 0;
margin-bottom: -1.25rem;
}
.prose .tabs-container > .margin-vert--md pre {
margin: 0;
}
/* otherwise tailwind typography gives very ugly margins on inline images */
.prose li img {
margin: 0;
}
/* otherwise tailwind typography gives very ugly margins on li children */
.prose > ol > li > :first-child,
.prose > ul > li > :first-child,
.prose > ol > li > :last-child,
.prose > ul > li > :last-child {
margin: 0 !important; /* sorry cant figure out how else to do this, prose @media overriding - swyx */
}
.prose li > ul {
margin-top: 1rem !important; /* sorry cant figure out how else to do this, prose @media overriding - swyx */
}
.prose :where(a code) {
color: unset;
}
.prose pre.prism-code {
margin: 0;
}
.codeBlockContainer_node_modules-\@docusaurus-theme-classic-lib-next-theme-CodeBlock-styles-module {
box-shadow: none !important;
margin: 0;
padding: 0;
font-size: 0.95em;
}
[data-theme="light"] .prose :where(pre code):not(.not-prose) {
background-color: #ffffff;
}
[data-theme="light"]
.prose
:where(pre):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
background-color: #ffffff;
}
.header-github-link:hover {
opacity: 0.6;
}
.header-github-link::before {
content: "";
width: 24px;
height: 24px;
display: flex;
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
no-repeat;
}
[data-theme="dark"] .header-github-link::before {
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
no-repeat;
}
/* Slack navbar icon styling */
.header-slack-link:hover {
opacity: 0.6;
}
.header-slack-link::before {
content: "";
width: 24px;
height: 24px;
display: flex;
background: var(--slack-logo) no-repeat;
background-size: 24px 24px;
}
[data-theme="dark"] .header-slack-link::before {
background: var(--slack-logo) no-repeat;
background-size: 24px 24px;
}
/* Announcement bar - modern styling */
div[class^="announcementBar_"] {
background: linear-gradient(135deg, #ff914d 0%, #ff6b35 100%);
font-weight: 500;
font-size: 0.875rem;
padding: 0.5rem 0;
border: none;
}
div[class^="announcementBar_"] a {
color: #fff;
text-decoration: underline;
text-underline-offset: 2px;
}
div[class^="announcementBar_"] a:hover {
opacity: 0.9;
}
html[data-theme="dark"] div[class^="announcementBar_"] {
background: linear-gradient(135deg, #c95919 0%, #be2c1b 100%);
}
.list-disc > a {
display: inherit;
}
/* Breadcrumbs home icon - handled in main breadcrumbs section */
[data-theme="dark"] th {
color: white;
}
/* Hotfix: Manually add Tailwind preflight styles to fix clipboard issues in Safari.
Using `preflight: true` caused style conflicts, so these styles are directly included here. */*,
::before,
::after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: theme('borderColor.DEFAULT', currentColor);
}
* {
margin: 0;
}
html {
height: 100%;
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
tab-size: 4;
font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, sans-serif);
}
body {
height: 100%;
line-height: inherit;
}
img,
video,
canvas,
audio,
iframe,
embed,
object {
display: block;
vertical-align: middle;
}
img,
video {
max-width: 100%;
height: auto;
}
input,
button,
textarea,
select {
font: inherit;
color: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}
#root,
#__next {
isolation: isolate;
}
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
button,
[type='button'],
[type='reset'],
[type='submit'] {
-webkit-appearance: button;
background-color: transparent;
background-image: none;
}
:-moz-focusring {
outline: auto;
}
table {
border-collapse: collapse;
}
ol,
ul,
menu {
list-style: none;
margin: 0;
padding: 0;
}
:disabled {
cursor: default;
}
:focus-visible {
outline: 2px solid theme('colors.blue.600', #2563eb);
outline-offset: 2px;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
height: auto;
}
hr {
height: 0;
color: inherit;
border-top-width: 1px;
}
abbr:where([title]) {
text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
font-weight: inherit;
}
a {
color: inherit;
text-decoration: inherit;
}
textarea {
resize: vertical;
}
.theme-back-to-top-button {
background-color: #FF914D !important;
color: white !important;
}
.theme-back-to-top-button svg {
fill: white !important;
}
.theme-back-to-top-button:hover {
background-color: #e67643 !important;
}
/* ============================================
MODERN SIDEBAR NAVIGATION PANEL
============================================ */
/* Sidebar container - Navigation panel styling */
div[class^="sidebar_"],
.theme-doc-sidebar-container {
--sidebar-bg: #ffffff;
--sidebar-border: rgba(0, 0, 0, 0.08);
--sidebar-text: #374151;
--sidebar-text-muted: #6b7280;
--sidebar-hover: rgba(139, 92, 246, 0.06);
--sidebar-active-bg: rgba(139, 92, 246, 0.1);
--sidebar-active-border: #8b5cf6;
--sidebar-category-color: #7c3aed;
--sidebar-category-bg: transparent;
--sidebar-nested-line: rgba(139, 92, 246, 0.15);
}
html[data-theme="dark"] div[class^="sidebar_"],
html[data-theme="dark"] .theme-doc-sidebar-container {
--sidebar-bg: #18181b;
--sidebar-border: rgba(255, 255, 255, 0.08);
--sidebar-text: #e5e7eb;
--sidebar-text-muted: #9ca3af;
--sidebar-hover: rgba(139, 92, 246, 0.1);
--sidebar-active-bg: rgba(139, 92, 246, 0.15);
--sidebar-active-border: #a78bfa;
--sidebar-category-color: #a78bfa;
--sidebar-category-bg: transparent;
--sidebar-nested-line: rgba(139, 92, 246, 0.2);
}
/* Sidebar background and border - FIXED positioning */
.theme-doc-sidebar-container {
background: var(--sidebar-bg) !important;
border-right: 1px solid var(--sidebar-border) !important;
width: 260px !important;
min-width: 260px !important;
flex-shrink: 0;
}
/* Inner sidebar - sticky behavior */
.theme-doc-sidebar-container > div {
position: sticky !important;
top: 0;
height: 100vh;
overflow-y: auto;
background: var(--sidebar-bg) !important;
}
aside.theme-doc-sidebar-container > div {
background: var(--sidebar-bg) !important;
}
/* Sidebar menu container padding */
.theme-doc-sidebar-menu {
padding: 1rem 0.75rem !important;
}
div[class^="sidebar_"] .menu {
padding: 0.5rem;
}