Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
340 lines (293 loc) · 9.38 KB
/
Copy pathstyle.css
File metadata and controls
340 lines (293 loc) · 9.38 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
/* Custom styles for Teable documentation */
/* Reserve the Mintlify navigation logo's rendered size before the image loads. */
.nav-logo {
width: 108px;
height: 28px;
object-fit: contain;
}
/* Hide changelog left date column, expand content */
[data-continuous-changelog] > [data-changelog-footer],
[data-changelog-year] > a { display: none !important; }
.changelog-year summary {
display: flex;
align-items: center;
justify-content: space-between;
list-style: none;
cursor: pointer;
padding: 0.375rem 1rem;
font-size: 0.875rem;
border-radius: 0.75rem;
}
.changelog-year summary::-webkit-details-marker { display: none; }
.changelog-year summary::marker { content: ""; }
.changelog-year summary svg {
width: 14px;
height: 14px;
fill: none;
stroke: currentColor;
stroke-width: 1.5;
}
.changelog-year[open] summary svg { transform: rotate(90deg); }
.changelog-year summary, .changelog-year a { color: #374151; }
.dark .changelog-year summary, .dark .changelog-year a { color: #9ca3af; }
.changelog-year summary:hover, .changelog-year a:hover { color: #111827; }
.dark .changelog-year summary:hover, .dark .changelog-year a:hover { color: #d1d5db; }
.changelog-year summary:focus-visible, .changelog-year a:focus-visible {
outline: 2px solid currentColor;
outline-offset: -2px;
}
.changelog-year ul { list-style: none; padding: 0; margin: 0; }
.changelog-year a {
display: block;
margin-block: 0.125rem;
padding: 0.375rem 1rem 0.375rem 2rem;
border-radius: 0.75rem;
font-size: 0.875rem;
}
.changelog-year a:hover, .changelog-year summary:hover { background: rgb(156 163 175 / 8%); }
.changelog-year a[aria-current] {
color: rgb(var(--primary));
background: rgb(var(--primary) / 10%);
text-shadow: -0.2px 0 0 currentColor, 0.2px 0 0 currentColor;
}
.changelog-year a[aria-busy] { opacity: 0.5; }
.changelog-next-month { display: block; padding-block: 2rem; }
.changelog-next-month[hidden] { display: none; }
.update-container { scroll-margin-top: 180px; }
.update-container[hidden], .toc-item[hidden] { display: none !important; }
.changelog-title-anchor { display: block; scroll-margin-top: 180px; }
#content[data-continuous-changelog] { display: flex; flex-direction: column; }
#changelog-month-stream { display: contents; }
.changelog-next-month { order: 1; }
.update-container > div:first-child {
display: none !important;
}
/* Mintlify's native heading link sits in the left gutter. */
.update-container > div:has(> [data-component-part="update-content"]) {
overflow: visible;
min-width: 0;
}
#content .changelog-heading-link {
color: inherit;
font: inherit;
text-decoration: none;
border: 0;
}
#content .changelog-heading-link:focus-visible {
outline: 2px solid currentColor;
outline-offset: 4px;
}
/* Hide sidebar collapse button */
:has(> svg[style*="arrow-left-from-line"]) {
display: none !important;
}
/* Hide eyebrow label above page title */
.eyebrow {
display: none !important;
}
/* Native links keep Card destinations discoverable and the entire card clickable. */
.docs-card-link {
display: block;
color: inherit !important;
text-decoration: none !important;
}
.docs-card-link .card {
cursor: pointer;
}
.docs-card-link:hover .card,
.docs-card-link:focus-visible .card {
border-color: rgb(var(--primary)) !important;
}
/* Keep the page H1 accessible without repeating the navigation title visually. */
#header:has(~ #content[data-page-href*="/changelog"]) #page-title {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
#header:has(~ #content[data-page-href*="/changelog"]) {
position: relative;
height: 0 !important;
min-height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
#header:has(~ #content[data-page-href*="/changelog"]) > * {
margin: 0 !important;
}
#header:has(~ #content[data-page-href*="/changelog"]) .prose {
display: none;
}
#header:has(~ #content[data-page-href*="/changelog"]) #page-context-menu {
position: absolute !important;
right: 0;
top: 0;
z-index: 10;
}
#content[data-page-href*="/changelog"] {
margin-top: 0 !important;
}
#content[data-page-href*="/changelog"] > .update-container:first-of-type {
padding-top: 0 !important;
}
/* Presentation is shared by manual and automated releases, independent of date. */
#content[data-page-href*="/changelog"] [data-component-part="update-content"] > h2:first-of-type {
font-size: 2rem;
line-height: 1.25;
font-weight: 700;
letter-spacing: -0.025em;
margin-top: 0;
margin-bottom: 1.25rem;
padding-inline-end: 2.5rem;
}
#content[data-page-href*="/changelog"] [data-component-part="update-content"] > h3 {
font-size: 1.5rem;
line-height: 1.4;
font-weight: 600;
}
@media (width < 640px) {
#content[data-page-href*="/changelog"] [data-component-part="update-content"] > h2:first-of-type {
font-size: 1.75rem;
}
}
/* Monochrome refinements with mode-specific tone */
html:not(.dark) {
--primary: 19 20 21;
--primary-light: 19 20 21;
--primary-dark: 19 20 21;
}
.dark {
--primary: 249 250 251;
--primary-light: 249 250 251;
--primary-dark: 249 250 251;
}
#banner {
background: rgb(var(--primary)) !important;
}
@layer utilities {
html:not(.dark) #banner,
html:not(.dark) #banner * {
color: rgb(249, 250, 251) !important;
}
html:not(.dark) #banner a {
color: rgb(249, 250, 251) !important;
text-decoration-color: rgba(249, 250, 251, 0.7) !important;
}
.dark #banner,
.dark #banner * {
color: rgb(19, 20, 21) !important;
}
.dark #banner a {
color: rgb(19, 20, 21) !important;
text-decoration-color: rgba(19, 20, 21, 0.35) !important;
}
}
[data-component-part="update-label"] {
background: rgba(17, 17, 17, 0.08) !important;
color: #111111 !important;
border: 1px solid rgba(17, 17, 17, 0.18);
}
.dark [data-component-part="update-label"] {
background: rgba(255, 255, 255, 0.1) !important;
color: #f3f4f6 !important;
border-color: rgba(255, 255, 255, 0.25);
}
/* Changelog: make the active right-side table of contents item visible */
html[data-current-path*="/changelog"] #table-of-contents .toc-item[data-changelog-active="true"] > a,
html[data-current-path*="/changelog"] #table-of-contents .toc-item[data-active] > a,
html[data-current-path*="/changelog"] #table-of-contents .toc-item[data-active-deepest] > a {
color: rgb(var(--primary)) !important;
font-weight: 600;
}
html[data-current-path*="/changelog"] #table-of-contents .toc-item[data-changelog-active="true"]::before,
html[data-current-path*="/changelog"] #table-of-contents .toc-item[data-active]::before,
html[data-current-path*="/changelog"] #table-of-contents .toc-item[data-active-deepest]::before {
content: "";
position: absolute;
left: -12px;
top: 6px;
bottom: 6px;
width: 3px;
border-radius: 999px;
background: rgb(var(--primary));
}
html.dark[data-current-path*="/changelog"] #table-of-contents .toc-item[data-changelog-active="true"] > a,
html.dark[data-current-path*="/changelog"] #table-of-contents .toc-item[data-active] > a,
html.dark[data-current-path*="/changelog"] #table-of-contents .toc-item[data-active-deepest] > a {
color: rgb(var(--primary)) !important;
}
/* Restore blue informational callouts */
.callout[data-callout-type="note"] {
border-color: rgba(96, 165, 250, 0.45) !important;
background: rgba(239, 246, 255, 0.9) !important;
}
.callout[data-callout-type="note"] [data-component-part="callout-icon"] svg {
color: rgb(59, 130, 246) !important;
}
.callout[data-callout-type="note"] [data-component-part="callout-content"] {
color: rgb(30, 64, 175) !important;
}
.callout[data-callout-type="note"] [data-component-part="callout-content"] strong,
.callout[data-callout-type="note"] [data-component-part="callout-content"] a,
.callout[data-callout-type="note"] [data-component-part="callout-content"] code,
.callout[data-callout-type="note"] [data-component-part="callout-content"] p,
.callout[data-callout-type="note"] [data-component-part="callout-content"] li,
.callout[data-callout-type="note"] [data-component-part="callout-content"] span {
color: inherit !important;
}
.dark .callout[data-callout-type="note"] {
border-color: rgba(96, 165, 250, 0.35) !important;
background: rgba(30, 58, 138, 0.22) !important;
}
.dark .callout[data-callout-type="note"] [data-component-part="callout-icon"] svg {
color: rgb(147, 197, 253) !important;
}
.dark .callout[data-callout-type="note"] [data-component-part="callout-content"] {
color: rgb(219, 234, 254) !important;
}
/* Help-center screenshot cards */
.docs-screenshot {
display: block;
height: auto;
max-width: 100%;
margin: 1.5rem auto;
overflow: hidden;
vertical-align: middle;
border: 1px solid rgba(15, 23, 42, 0.08);
border-radius: 14px;
width: auto;
}
.dark .docs-screenshot {
border-color: rgba(255, 255, 255, 0.12);
}
.docs-inline-icon {
display: inline-block;
width: 1.4em;
height: 1.4em;
margin: 0 0.1em;
vertical-align: -0.35em;
}
.dark .docs-inline-icon {
filter: invert(1);
}
@media (max-width: 640px) {
.docs-screenshot {
margin: 1.25rem auto;
border-radius: 12px;
}
}
/* Move language selector to bottom-right on desktop only */
@media (min-width: 1024px) {
#localization-select-trigger {
position: fixed !important;
bottom: 16px !important;
right: 16px !important;
left: auto !important;
z-index: 50 !important;
}
}