-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
275 lines (228 loc) · 7.33 KB
/
Copy pathstyle.css
File metadata and controls
275 lines (228 loc) · 7.33 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
/* ==========================================================================
buffer.lol docs theme
Mirrors the minimal, monochrome UI of buffer.lol (app/globals.css):
flat surfaces, 1px lines, tight radii, IBM Plex Mono for code, no accent hue.
========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap");
:root {
--bl-background: #ffffff;
--bl-surface: #f7f7f8;
--bl-surface-raised: #efeff1;
--bl-text: #0c0c0d;
--bl-muted: #6d6d76;
--bl-line: #e3e3e6;
--bl-line-strong: #cfcfd4;
--bl-success: #3f8f66;
--bl-warning: #96702f;
--bl-danger: #b25252;
--bl-radius-sm: 0.375rem;
--bl-radius-md: 0.5rem;
--bl-radius-lg: 0.75rem;
--bl-ease: cubic-bezier(0.4, 0, 0.2, 1);
--bl-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.dark {
--bl-background: #0c0c0d;
--bl-surface: #141416;
--bl-surface-raised: #1a1a1d;
--bl-text: #f5f5f5;
--bl-muted: #8f8f98;
--bl-line: #232326;
--bl-line-strong: #333338;
--bl-success: #86c9a4;
--bl-warning: #d9b273;
--bl-danger: #e58a8a;
}
/* Swap Mintlify's mono face for the one the product UI uses. */
html[class] {
--font-paper-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
/* ==========================================================================
Typography
========================================================================== */
html body h1 {
letter-spacing: -0.03em;
}
html body h2,
html body h3,
html body h4 {
letter-spacing: -0.02em;
}
html body ::selection {
background: var(--bl-text);
color: var(--bl-background);
}
html body #content-area .prose p,
html body #content-area .prose li {
font-size: 0.9375rem;
line-height: 1.65;
}
html body code,
html body pre,
html body kbd,
html body [class*="font-mono"] {
font-family: var(--bl-mono);
}
/* Inline code: bordered chip, no backtick decoration, no accent tint. */
html body #content-area :not(pre) > code {
padding: 0.1rem 0.35rem;
border: 1px solid var(--bl-line);
border-radius: var(--bl-radius-sm);
background: var(--bl-surface);
color: var(--bl-text);
font-family: var(--bl-mono);
font-size: 0.8125em;
font-weight: 400;
}
html body #content-area :not(pre) > code::before,
html body #content-area :not(pre) > code::after {
content: none;
}
html body kbd {
padding: 0.15rem 0.4rem;
border: 1px solid var(--bl-line-strong);
border-radius: var(--bl-radius-sm);
background: transparent;
box-shadow: none;
color: var(--bl-muted);
font-family: var(--bl-mono);
font-size: 0.75em;
font-weight: 400;
}
/* Prose links read as text with a rule under them, like .inline-link on the site. */
html body #content-area .prose a:not(.card):not([class*="group/link"]):not([class*="not-prose"]) {
border-bottom: 1px solid var(--bl-line-strong);
text-decoration: none;
transition: border-color 150ms var(--bl-ease);
}
html body #content-area .prose a:not(.card):not([class*="group/link"]):not([class*="not-prose"]):hover {
border-bottom-color: currentColor;
}
/* ==========================================================================
Cards
========================================================================== */
html body .card {
border-radius: var(--bl-radius-lg) !important;
border-color: var(--bl-line) !important;
background: transparent !important;
box-shadow: none !important;
transition: border-color 150ms var(--bl-ease), background 150ms var(--bl-ease) !important;
}
html body .card:hover {
border-color: var(--bl-line-strong) !important;
background: var(--bl-surface) !important;
}
html body [data-component-part="card-title"] {
font-weight: 500;
letter-spacing: -0.01em;
}
html body [data-component-part="card-icon"] {
color: var(--bl-muted) !important;
fill: var(--bl-muted) !important;
}
/* ==========================================================================
Code blocks
========================================================================== */
html body .code-block,
html body [data-component-part="code-block-root"] {
border-radius: var(--bl-radius-lg) !important;
border-color: var(--bl-line) !important;
background: var(--bl-surface) !important;
}
html body .code-block pre {
background: transparent !important;
}
/* ==========================================================================
Callouts — monochrome surface with one semantic edge
========================================================================== */
html body .callout {
border-radius: var(--bl-radius-lg) !important;
border-color: var(--bl-line) !important;
background: var(--bl-surface) !important;
}
html body .callout p,
html body .callout li,
html body .callout span,
html body .callout strong,
html body .callout a,
html body .callout div {
color: var(--bl-text) !important;
}
html body .callout[class*="green"] {
box-shadow: inset 2px 0 0 var(--bl-success);
}
html body .callout[class*="yellow"],
html body .callout[class*="amber"],
html body .callout[class*="orange"] {
box-shadow: inset 2px 0 0 var(--bl-warning);
}
html body .callout[class*="red"] {
box-shadow: inset 2px 0 0 var(--bl-danger);
}
html body .callout[class*="blue"],
html body .callout[class*="sky"] {
box-shadow: inset 2px 0 0 var(--bl-line-strong);
}
html body .callout[class*="green"] svg {
color: var(--bl-success) !important;
}
html body .callout[class*="yellow"] svg,
html body .callout[class*="amber"] svg,
html body .callout[class*="orange"] svg {
color: var(--bl-warning) !important;
}
html body .callout[class*="red"] svg {
color: var(--bl-danger) !important;
}
html body .callout[class*="blue"] svg,
html body .callout[class*="sky"] svg {
color: var(--bl-muted) !important;
}
/* ==========================================================================
Tables, frames, dividers
========================================================================== */
html body #content-area table {
font-size: 0.875rem;
}
html body #content-area th {
color: var(--bl-muted);
font-weight: 500;
}
html body #content-area td,
html body #content-area th {
border-color: var(--bl-line) !important;
}
html body #content-area hr {
border-color: var(--bl-line) !important;
}
html body #content-area img,
html body .frame img {
border-radius: var(--bl-radius-lg);
}
/* ==========================================================================
Chrome — navbar, sidebar, search
========================================================================== */
/* Primary CTA: inverted fill, like .primary-button on the site. */
html body #topbar-cta-button a > span:first-child {
border-radius: var(--bl-radius-md) !important;
background: var(--bl-text) !important;
}
html body #topbar-cta-button a span,
html body #topbar-cta-button a svg {
color: var(--bl-background) !important;
}
/* Search entry: flat surface with a single line, no ring or shadow. */
html body [class*="group/search"] {
border: 1px solid var(--bl-line-strong) !important;
border-radius: var(--bl-radius-md) !important;
background: var(--bl-surface) !important;
box-shadow: none !important;
filter: none !important;
}
html body #sidebar a,
html body #sidebar button {
border-radius: var(--bl-radius-md) !important;
}
html body #navbar div[class*="border-b"] {
border-color: var(--bl-line) !important;
}