Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
439 lines (396 loc) · 11.1 KB
/
Copy pathstyle.css
File metadata and controls
439 lines (396 loc) · 11.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
/* Manifest docs — custom brand overrides */
/* Prevent hash-based scroll jumps on tab clicks */
[role="tabpanel"],
[role="tabpanel"]:target {
scroll-margin-top: 9999px !important;
scroll-snap-margin-top: 9999px !important;
}
[id*="cloud"], [id*="self-hosted"], [id*="quick-install"],
[id*="docker-compose"], [id*="docker-run"] {
scroll-margin-top: 9999px !important;
}
/* Logo height */
#sidebar img[alt*="logo" i],
#sidebar img[src*="logo"],
nav img[src*="logo"],
a[href="https://manifest.build"] img {
height: 30px !important;
min-height: 30px !important;
max-height: 30px !important;
width: auto !important;
}
/* Theme switch moves under GitHub and Discord at the sidebar bottom, so the
logo keeps the whole header width */
@media (min-width: 1024px) {
#sidebar [data-theme-preference-switch] {
position: fixed !important;
left: 22px;
bottom: 14px;
z-index: 30;
}
#sidebar li[id="https://app.manifest.build"] ~ li:last-child {
margin-bottom: 36px;
}
}
/* Search dialog and its backdrop sit above the banner (45), the Book a call
button and floating toggle (60), and the docs switcher menu (70) */
body > div > div.fixed.inset-0.z-40 {
z-index: 80 !important;
}
/* Warm sidebar background */
#sidebar {
--tw-bg-opacity: 1;
}
/* Sidebar bottom links: Book a call is already top right, so only GitHub and
Discord stay */
#sidebar li[id="https://app.manifest.build"],
#sidebar li[id="https://calendly.com/sebastien-manifest/30min"] {
display: none;
}
/* Accent color on anchor links */
.nav-anchor {
border-color: #0f172a;
}
.dark .nav-anchor {
border-color: #ffffff;
}
/* Inline links: bold, dark, underlined — no blue border */
.prose a,
.mdx-content a:not([role]):not([class*="card"]):not([class*="nav"]):not([class*="tab"]):not([class*="button"]) {
color: #111827 !important;
font-weight: 600 !important;
text-decoration: underline !important;
text-decoration-color: #111827 !important;
text-underline-offset: 2px;
border-bottom: none !important;
box-shadow: none !important;
}
.prose a:hover,
.mdx-content a:not([role]):not([class*="card"]):not([class*="nav"]):not([class*="tab"]):not([class*="button"]):hover {
color: #0f172a !important;
text-decoration-color: #0f172a !important;
border-bottom: none !important;
box-shadow: none !important;
}
.dark .prose a,
.dark .mdx-content a:not([role]):not([class*="card"]):not([class*="nav"]):not([class*="tab"]):not([class*="button"]) {
color: #f3f4f6 !important;
text-decoration-color: #f3f4f6 !important;
border-bottom: none !important;
box-shadow: none !important;
}
.dark .prose a:hover,
.dark .mdx-content a:not([role]):not([class*="card"]):not([class*="nav"]):not([class*="tab"]):not([class*="button"]):hover {
color: #ffffff !important;
text-decoration-color: #ffffff !important;
border-bottom: none !important;
box-shadow: none !important;
}
/* Code block copy-button fade: end on the block's real dark background */
[data-fade-overlay] {
--fade-color-dark: #171717 !important;
}
/* Top background glow: white instead of the primary-derived dark tint */
span.dark\:hidden[style*="radial-gradient"] {
background: radial-gradient(49.63% 57.02% at 58.99% -7.2%, rgba(255, 255, 255, 0.8) 39.4%, rgba(255, 255, 255, 0) 100%) !important;
}
/* Cards: warm border, tight radius, cream background */
.card {
border-color: #e8e2d9;
border-radius: 3px !important;
}
html:not(.dark) .card {
background-color: #ffffff73 !important;
}
html.dark .card {
background-color: #1c1c1c !important;
border-color: rgba(255, 255, 255, 0.12);
}
/* Card hover accent */
.card:hover {
border-color: #0f172a;
}
.dark .card:hover {
border-color: #ffffff;
}
/* Inline code */
.mdx-content :not(pre) > code {
color: #0f172a;
}
.dark .mdx-content :not(pre) > code {
color: #ffffff;
}
/* Steps titles: bold with tighter spacing */
.step p.font-semibold,
.step .prose > p:first-child {
font-weight: 700 !important;
margin-bottom: 0.25rem !important;
}
/* Steps timeline: darker connector line */
.step > div.absolute.w-px {
background-color: #374151 !important;
}
/* Steps timeline: dark number circles (match text color) */
.step .rounded-full {
background-color: #1c1c1c !important;
color: #ffffff !important;
}
/* Dark mode: light circles */
.dark .step > div.absolute.w-px {
background-color: #d1d5db !important;
}
.dark .step .rounded-full {
background-color: #e5e7eb !important;
color: #111827 !important;
}
/* Article footer prev/next navigation */
div.rounded-2xl.bg-gray-50\/80 {
background-color: #e5e7eb !important;
}
div.rounded-2xl .w-px.bg-gray-100 {
background-color: #9ca3af !important;
}
div.rounded-2xl .text-gray-500,
div.rounded-2xl .text-gray-300,
div.rounded-2xl span {
color: #374151 !important;
}
div.rounded-2xl svg.text-gray-300 {
color: #374151 !important;
}
.dark div.rounded-2xl {
background-color: #1c1c1c !important;
}
.dark div.rounded-2xl .w-px {
background-color: #4b5563 !important;
}
.dark div.rounded-2xl .text-gray-400,
.dark div.rounded-2xl .text-gray-700,
.dark div.rounded-2xl span {
color: #d1d5db !important;
}
.dark div.rounded-2xl svg.text-gray-700 {
color: #d1d5db !important;
}
/* No page footer: its links and theme switch already live in the sidebar */
#footer {
display: none !important;
}
/* Callouts: tighter spacing & smaller radii */
.callout {
border-radius: 6px !important;
padding: 10px 14px !important;
margin-top: 12px !important;
margin-bottom: 12px !important;
}
.callout pre {
border-radius: 4px !important;
margin-top: 8px !important;
margin-bottom: 8px !important;
}
.callout p:last-child {
margin-top: 0 !important;
}
.callout .code-block {
margin-bottom: 0.5rem !important;
}
/* Navbar primary CTA (Book a call): ink button in light mode, light button in dark mode */
#topbar-cta-button a > span.absolute {
background: #0f172a !important;
}
#topbar-cta-button a div span,
#topbar-cta-button a svg {
color: #f9f8f5 !important;
}
html.dark #topbar-cta-button a > span.absolute {
background: #f9f8f5 !important;
}
html.dark #topbar-cta-button a div span,
html.dark #topbar-cta-button a svg {
color: #0f172a !important;
}
/* Cloud / Self-hosted page toggle */
.deploy-mode-toggle {
display: inline-flex;
gap: 4px;
padding: 4px;
border: 1px solid #e8e2d9;
border-radius: 3px;
margin-bottom: 1.25rem;
}
html.dark .deploy-mode-toggle {
border-color: rgba(255, 255, 255, 0.12);
}
.deploy-mode-toggle button {
padding: 6px 14px;
border-radius: 3px;
font-size: 13px;
font-weight: 600;
line-height: 1;
color: #64748b;
background: transparent;
border: none;
cursor: pointer;
}
html.dark .deploy-mode-toggle button {
color: #94a3b8;
}
html.deploy-cloud .deploy-mode-toggle button[data-deploy-mode="cloud"],
html.deploy-selfhosted .deploy-mode-toggle button[data-deploy-mode="selfhosted"] {
background: #0f172a;
color: #f9f8f5;
}
html.dark.deploy-cloud .deploy-mode-toggle button[data-deploy-mode="cloud"],
html.dark.deploy-selfhosted .deploy-mode-toggle button[data-deploy-mode="selfhosted"] {
background: #f9f8f5;
color: #0f172a;
}
/* Mode-scoped content: hidden only once a mode class is set, so a page
without the script simply shows everything */
html.deploy-cloud [data-deploy="selfhosted"] {
display: none;
}
html.deploy-selfhosted [data-deploy="cloud"] {
display: none;
}
/* Prev / Next pagination: two compact bordered buttons sized to their content,
Previous on the left, Next on the right, page title under the label */
#pagination {
background: transparent !important;
padding: 0 !important;
gap: 12px;
margin-top: 2.5rem;
align-items: stretch;
justify-content: space-between;
}
#pagination a {
width: auto !important;
min-width: 0;
flex: 0 1 auto;
}
#pagination a.pagination-next {
margin-left: auto;
}
#pagination a > div {
display: flex;
height: auto !important;
background: transparent !important;
border: 1px solid #e8e2d9;
border-radius: 3px;
padding: 10px 14px;
gap: 2px;
justify-content: center;
box-shadow: none !important;
}
#pagination a.pagination-prev > div {
flex-direction: column;
align-items: flex-start;
}
#pagination a.pagination-next > div {
flex-direction: column-reverse;
align-items: flex-end;
}
#pagination a > div > div {
padding: 0 !important;
}
#pagination div[class*="w-px"],
#pagination [data-component-part="pagination-description"] {
display: none !important;
}
#pagination [data-component-part="pagination-title"] {
color: #020817;
font-weight: 600;
}
#pagination [data-component-part="pagination-label"] {
font-size: 12px;
color: #374151 !important;
}
#pagination [data-component-part="pagination-chevron"] {
color: #374151 !important;
}
html.dark #pagination [data-component-part="pagination-label"],
html.dark #pagination [data-component-part="pagination-chevron"] {
color: #d1d5db !important;
}
#pagination a:hover [data-component-part="pagination-label"],
#pagination a:hover [data-component-part="pagination-chevron"] {
color: #0f172a !important;
}
#pagination a:hover > div {
border-color: #0f172a;
}
html.dark #pagination a > div {
border-color: rgba(255, 255, 255, 0.12);
}
html.dark #pagination [data-component-part="pagination-title"] {
color: #f9f8f5;
}
html.dark #pagination a:hover [data-component-part="pagination-label"],
html.dark #pagination a:hover [data-component-part="pagination-chevron"] {
color: #f9f8f5 !important;
}
html.dark #pagination a:hover > div {
border-color: rgba(255, 255, 255, 0.4);
}
/* Breathing room between framed screenshots */
figure.frame {
margin: 1.25rem 0;
}
/* Floating copy of the deploy-mode toggle, fading in once the inline one
slides under the header. Anchored after the Documentation tab by the
script; centered fallback when the tab is not found. */
.deploy-mode-toggle--floating {
position: fixed;
top: calc(6px + var(--banner-height, 0px));
left: 50%;
transform: translateX(-50%) translateY(-6px);
z-index: 60;
margin-bottom: 0;
background: rgba(248, 246, 241, 0.95);
opacity: 0;
pointer-events: none;
transition: opacity 160ms ease-out, transform 160ms ease-out;
}
.deploy-mode-toggle--floating.is-anchored {
transform: translateY(-6px);
}
.deploy-mode-toggle--floating.is-visible {
opacity: 1;
pointer-events: auto;
transform: translateX(-50%) translateY(0);
}
.deploy-mode-toggle--floating.is-anchored.is-visible {
transform: translateY(0);
}
html.dark .deploy-mode-toggle--floating {
background: rgba(19, 20, 24, 0.95);
}
/* Book a call button, fixed top right over the header bar */
.docs-book-call {
position: fixed;
top: calc(7.5px + var(--banner-height, 0px));
right: 40px;
z-index: 60;
display: inline-block;
padding: 9px 18px;
border-radius: 10px;
background: #0f172a;
color: #f9f8f5 !important;
font-size: 14px;
font-weight: 600;
line-height: 1;
text-decoration: none !important;
}
.docs-book-call:hover {
opacity: 0.9;
}
html.dark .docs-book-call {
background: #f9f8f5;
color: #0f172a !important;
}
/* Paragraph spans nested in deploy-mode wrappers miss the theme's prose
styling and render inline; mirror the top-level paragraph block + margin */
[data-deploy] span[data-as="p"] {
display: block;
margin: 20px 0;
}