Repository navigation
Expand file tree
/
Copy pathcustom.css
More file actions
218 lines (187 loc) · 5.29 KB
/
Copy pathcustom.css
File metadata and controls
218 lines (187 loc) · 5.29 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
/* Match website heading style: tracking-wide (0.025em), semibold (600) */
h1,
h2,
h3,
h4,
h5,
h6 {
letter-spacing: 0.025em;
font-weight: 600;
}
/* Keep the wordmark readable while preserving its intrinsic ratio. */
.nav-logo {
aspect-ratio: 64 / 29;
block-size: 2.25rem !important;
inline-size: auto !important;
}
/* Sidebar group titles - 50% larger */
.sidebar-group-header h5 {
font-size: 1.5em;
}
/* Keep mobile guide content inside the viewport. */
@media (max-width: 640px) {
html,
body {
max-width: 100%;
overflow-x: clip;
}
#content-area {
box-sizing: border-box;
inline-size: calc(100vw - 2rem) !important;
width: calc(100vw - 2rem) !important;
max-inline-size: calc(100vw - 2rem) !important;
max-width: calc(100vw - 2rem) !important;
min-width: 0;
}
#header,
#content,
#content .columns,
#header .prose,
#content .prose {
max-inline-size: 100%;
max-width: 100%;
min-width: 0;
}
#header .prose > *,
#content > span[data-as="p"],
#content p,
#content li {
overflow-wrap: anywhere;
}
#header blockquote a[href$="/llms.txt"],
#content blockquote a[href$="/llms.txt"],
#content-area blockquote a[href$="/llms.txt"] {
overflow-wrap: anywhere !important;
word-break: break-word !important;
white-space: normal !important;
}
}
/* Keep the agent directive discoverable without changing page layout. */
.agent-llms-directive {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* Reserve collapsed related-link accordions before client hydration. */
.related-api-links {
min-height: 3rem;
}
/* Skip rendering heavy offscreen sections on long documentation pages. */
@supports (content-visibility: auto) {
#content > :is(.accordion, .card-group, .code-block, .code-group, .expandable, .steps) {
content-visibility: auto;
contain-intrinsic-size: auto 320px;
}
}
/* Meet WCAG AA contrast for Mintlify's light pagination and footer labels. */
html:not(.dark) #pagination a span,
html:not(.dark) footer a {
color: #5f5d5c !important;
}
/* Keep Mintlify controls above WCAG AA contrast in the light theme. */
html:not(.dark) #search-bar-entry,
html:not(.dark) #search-bar-entry *,
html:not(.dark) #search-bar-entry-mobile,
html:not(.dark) #search-bar-entry-mobile *,
html:not(.dark) code-group button,
html:not(.dark) code-group button *,
html:not(.dark) .code-group button,
html:not(.dark) .code-group button * {
color: #5f5d5c !important;
}
html:not(.dark) .text-stone-400,
html:not(.dark) [class~="peer/title"],
html:not(.dark) p.truncate.font-medium {
color: #5f5d5c !important;
}
html:not(.dark) #navbar button span {
color: #5f5d5c !important;
}
html:not(.dark) method-pill,
html:not(.dark) .method-pill {
color: #3b2b27 !important;
}
html:not(.dark) .method-nav-pill span[class*="bg-[#3064E3]"],
html:not(.dark) .method-nav-pill span[class*="bg-[#CB3A32]"] {
color: #ffffff !important;
}
html:not(.dark) .method-nav-pill span[class*="bg-[#2AB673]"] {
color: #ffffff !important;
background-color: #147a4b !important;
}
html:not(.dark) .method-nav-pill span[class*="bg-[#DA622B]"] {
color: #ffffff !important;
background-color: #a9471b !important;
}
html:not(.dark) .method-nav-pill span[class*="bg-[#C28C30]"] {
color: #ffffff !important;
background-color: #855d12 !important;
}
html:not(.dark) tryit-button,
html:not(.dark) .tryit-button {
color: #ffffff !important;
background-color: #116b46 !important;
}
html:not(.dark) [data-component-part="field-required-pill"] {
color: #b91c1c !important;
}
/* Show one response example. The curated status tabs replace the generated one. */
html:has(.panel) [class*="xl:w-[28rem]"]:not(.panel) {
min-height: 0;
}
html:has(.panel) [class*="xl:w-[28rem]"]:not(.panel) > .code-group + .code-group {
display: none;
}
/* Put the request above the status tabs and let the tabs use the free height. */
@media (min-width: 1280px) {
#content-side-layout:has(> .panel) > div:not(.panel) {
order: 1;
flex: 0 0 auto;
margin-bottom: 1rem;
}
#content-side-layout:has(> .panel) > .panel {
order: 2;
flex: 1 1 auto;
min-height: 0;
margin-bottom: 0;
}
}
/* Show the full non-affiliation line in the footer instead of a clipped label. */
footer div:has(> div > a[href$="/non-affiliation"]) {
max-width: 20rem;
align-items: flex-start;
white-space: normal;
}
footer a[href$="/non-affiliation"] {
max-width: 20rem;
overflow: visible;
text-overflow: clip;
white-space: normal;
}
/* Keep the next-page description inside its link on narrow API reference columns. */
#pagination [data-component-part="pagination-description"] {
width: 100%;
max-width: 100%;
}
/* Fit tables of up to 3 columns inside the narrow API reference column on 1280px laptops. */
@media (min-width: 1024px) and (max-width: 1535px) {
.mdx-content table:not(:has(th:nth-child(4))) :is(td, th) {
min-width: 110px !important;
}
.mdx-content table code {
overflow-wrap: normal !important;
word-break: normal !important;
}
}
/* Stack cards in the narrow API reference column so bodies keep readable line lengths. */
@media (min-width: 1024px) and (max-width: 1535px) {
#api-playground-2-operation-page .card-group {
--cols: 1 !important;
}
}