1
+ /* Minimalistic Navigation Tab Styling - Using Lavender Theme */
2
+
3
+ /* Target the main navbar container */
4
+ # navbar-transition-maple {
5
+ background : rgba (229 , 231 , 235 , 0.5 ) !important ; /* gray-200/50 to match site palette */
6
+ border-bottom : 1px solid rgba (229 , 231 , 235 , 0.7 ) !important ; /* gray-200/70 to match existing border */
7
+ }
8
+
9
+ /* Target the navigation tabs container */
10
+ .nav-tabs {
11
+ background : transparent !important ;
12
+ padding : 4px 12px !important ;
13
+ border-radius : 8px !important ;
14
+ }
15
+
16
+ /* Target individual tab items - clean and minimal */
17
+ a .nav-tabs-item {
18
+ position : relative !important ;
19
+ font-weight : 500 !important ;
20
+ font-size : 14px !important ;
21
+ border-radius : 6px !important ;
22
+ margin : 0 2px !important ;
23
+ padding : 8px 12px !important ;
24
+ transition : all 0.2s ease !important ;
25
+ background : transparent !important ;
26
+ border : none !important ;
27
+ text-decoration : none !important ;
28
+ color : # 64748b !important ;
29
+ }
30
+
31
+ /* Remove the default bottom border from Mintlify */
32
+ a .nav-tabs-item .absolute .bottom-0 {
33
+ display : none !important ;
34
+ }
35
+
36
+ /* Override any inline styles that might be applied by JavaScript - but not for active tabs */
37
+ a .nav-tabs-item [style ]: not ([aria-selected = "true" ]): not (.active ): not ([aria-current = "page" ]): not (.font-semibold ): not ([class *= "font-semibold" ]) {
38
+ background : transparent !important ;
39
+ border : none !important ;
40
+ }
41
+
42
+ /* Tab hover states - match site's hover grey */
43
+ a .nav-tabs-item : hover : not (.font-semibold ): not ([class *= "font-semibold" ]) {
44
+ background : rgba (229 , 231 , 235 , 0.8 ) !important ; /* gray-200/80 to match site hover */
45
+ color : # 1f2937 !important ; /* gray-800 to match site text */
46
+ }
47
+
48
+ /* Active/selected tab states - connected to content area */
49
+ a .nav-tabs-item [aria-selected = "true" ],
50
+ a .nav-tabs-item .active ,
51
+ a .nav-tabs-item [aria-current = "page" ],
52
+ a .nav-tabs-item [data-active = "true" ],
53
+ a .nav-tabs-item .selected ,
54
+ /* Target active tabs by their distinctive class pattern */
55
+ a .nav-tabs-item .font-semibold ,
56
+ a .nav-tabs-item [class *= "font-semibold" ] {
57
+ background : white !important ;
58
+ color : # beb4fd !important ;
59
+ font-weight : 600 !important ;
60
+ border-bottom : 1px solid white !important ;
61
+ margin-bottom : -1px !important ;
62
+ position : relative !important ;
63
+ z-index : 1 !important ;
64
+ }
65
+
66
+ /* Active tab indicator - removed, using only container highlight */
67
+
68
+ /* Focus states for accessibility */
69
+ a .nav-tabs-item : focus-visible {
70
+ outline : 2px solid # beb4fd !important ;
71
+ outline-offset : 2px !important ;
72
+ }
73
+
74
+ /* Wider content area for better code display (100-120 character lines) */
75
+ .prose ,
76
+ .prose-sm ,
77
+ .prose-lg ,
78
+ article ,
79
+ .markdown ,
80
+ .content ,
81
+ main > div ,
82
+ [class *= "prose" ] {
83
+ max-width : 90rem !important ; /* ~1440px instead of default ~896px */
84
+ }
85
+
86
+ /* Adjust code blocks specifically for better line length */
87
+ pre ,
88
+ code ,
89
+ .highlight ,
90
+ .code-block ,
91
+ [class *= "language-" ] {
92
+ max-width : none !important ;
93
+ width : 100% !important ;
94
+ }
95
+
96
+ /* Ensure the main container accommodates the wider content */
97
+ .container ,
98
+ .max-w-7xl ,
99
+ .mx-auto {
100
+ max-width : 100rem !important ; /* ~1600px */
101
+ padding-left : 2rem !important ;
102
+ padding-right : 2rem !important ;
103
+ }
104
+
105
+ /* Dark mode support */
106
+ .dark # navbar-transition-maple {
107
+ background : rgba (55 , 65 , 81 , 0.5 ) !important ; /* gray-700/50 to match site dark palette */
108
+ border-bottom : 1px solid rgba (255 , 255 , 255 , 0.07 ) !important ; /* white/7% to match existing dark border */
109
+ }
110
+
111
+ .dark .nav-tabs {
112
+ background : transparent !important ;
113
+ }
114
+
115
+ .dark a .nav-tabs-item {
116
+ background : transparent !important ;
117
+ color : # 9ca3af !important ;
118
+ }
119
+
120
+ .dark a .nav-tabs-item [style ]: not ([aria-selected = "true" ]): not (.active ): not ([aria-current = "page" ]): not (.font-semibold ): not ([class *= "font-semibold" ]) {
121
+ background : transparent !important ;
122
+ }
123
+
124
+ .dark a .nav-tabs-item : hover : not (.font-semibold ): not ([class *= "font-semibold" ]) {
125
+ background : rgba (55 , 65 , 81 , 0.8 ) !important ; /* gray-700/80 to match site dark hover */
126
+ color : # f9fafb !important ; /* gray-50 for better contrast */
127
+ }
128
+
129
+ .dark a .nav-tabs-item [aria-selected = "true" ],
130
+ .dark a .nav-tabs-item .active ,
131
+ .dark a .nav-tabs-item [aria-current = "page" ],
132
+ .dark a .nav-tabs-item .font-semibold ,
133
+ .dark a .nav-tabs-item [class *= "font-semibold" ] {
134
+ background : # 1f2937 !important ;
135
+ color : # beb4fd !important ;
136
+ border-bottom : 1px solid # 1f2937 !important ;
137
+ margin-bottom : -1px !important ;
138
+ position : relative !important ;
139
+ z-index : 1 !important ;
140
+ }
0 commit comments