ardo 1.2.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -47
- package/dist/{CopyButton-BkACwxQM.d.ts → Features-C_06EvGb.d.ts} +212 -10
- package/dist/{chunk-SZVJKB3V.js → chunk-G5L4ZUTS.js} +40 -40
- package/dist/chunk-G5L4ZUTS.js.map +1 -0
- package/dist/{chunk-VMA2OXSY.js → chunk-LUOUBO3L.js} +587 -669
- package/dist/chunk-LUOUBO3L.js.map +1 -0
- package/dist/{chunk-3U63LMDZ.js → chunk-N5CEHG2F.js} +3 -3
- package/dist/{chunk-3U63LMDZ.js.map → chunk-N5CEHG2F.js.map} +1 -1
- package/dist/chunk-OTUACKCQ.js +896 -0
- package/dist/chunk-OTUACKCQ.js.map +1 -0
- package/dist/chunk-UWAVET45.js +311 -0
- package/dist/chunk-UWAVET45.js.map +1 -0
- package/dist/chunk-ZXPAEM3M.js +854 -0
- package/dist/chunk-ZXPAEM3M.js.map +1 -0
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +1 -1
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +3 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +34 -26
- package/dist/mdx/provider.d.ts +9 -0
- package/dist/mdx/provider.js +114 -0
- package/dist/mdx/provider.js.map +1 -0
- package/dist/runtime/index.d.ts +1 -1
- package/dist/typedoc/index.d.ts +25 -0
- package/dist/typedoc/index.js +2 -2
- package/dist/{types-C22M-Kor.d.ts → types-DchPWkJl.d.ts} +1 -1
- package/dist/ui/index.d.ts +116 -0
- package/dist/{theme → ui}/index.js +26 -12
- package/dist/ui/styles.css +2198 -0
- package/dist/vite/index.d.ts +13 -23
- package/dist/vite/index.js +5 -5
- package/package.json +23 -11
- package/dist/chunk-2JBVPO6S.js +0 -1144
- package/dist/chunk-2JBVPO6S.js.map +0 -1
- package/dist/chunk-SZVJKB3V.js.map +0 -1
- package/dist/chunk-VMA2OXSY.js.map +0 -1
- package/dist/chunk-YN6PP526.js +0 -441
- package/dist/chunk-YN6PP526.js.map +0 -1
- package/dist/theme/index.d.ts +0 -70
- package/dist/theme/styles.css +0 -1454
- /package/dist/{theme → ui}/index.js.map +0 -0
package/dist/theme/styles.css
DELETED
|
@@ -1,1454 +0,0 @@
|
|
|
1
|
-
/* TanStack Press Default Theme Styles */
|
|
2
|
-
|
|
3
|
-
/* CSS Variables */
|
|
4
|
-
:root {
|
|
5
|
-
/* Colors */
|
|
6
|
-
--press-c-brand: #3b82f6;
|
|
7
|
-
--press-c-brand-light: #60a5fa;
|
|
8
|
-
--press-c-brand-dark: #2563eb;
|
|
9
|
-
|
|
10
|
-
--press-c-bg: #ffffff;
|
|
11
|
-
--press-c-bg-soft: #f8fafc;
|
|
12
|
-
--press-c-bg-mute: #f1f5f9;
|
|
13
|
-
--press-c-bg-alt: #e2e8f0;
|
|
14
|
-
|
|
15
|
-
--press-c-text: #1e293b;
|
|
16
|
-
--press-c-text-light: #475569;
|
|
17
|
-
--press-c-text-lighter: #64748b;
|
|
18
|
-
|
|
19
|
-
--press-c-border: #e2e8f0;
|
|
20
|
-
--press-c-divider: #e2e8f0;
|
|
21
|
-
|
|
22
|
-
/* Container colors */
|
|
23
|
-
--press-c-tip: #10b981;
|
|
24
|
-
--press-c-tip-bg: #ecfdf5;
|
|
25
|
-
--press-c-warning: #f59e0b;
|
|
26
|
-
--press-c-warning-bg: #fffbeb;
|
|
27
|
-
--press-c-danger: #ef4444;
|
|
28
|
-
--press-c-danger-bg: #fef2f2;
|
|
29
|
-
--press-c-info: #3b82f6;
|
|
30
|
-
--press-c-info-bg: #eff6ff;
|
|
31
|
-
--press-c-note: #8b5cf6;
|
|
32
|
-
--press-c-note-bg: #f5f3ff;
|
|
33
|
-
|
|
34
|
-
/* Layout */
|
|
35
|
-
--press-sidebar-width: 280px;
|
|
36
|
-
--press-toc-width: 240px;
|
|
37
|
-
--press-content-max-width: 1100px;
|
|
38
|
-
--press-header-height: 64px;
|
|
39
|
-
|
|
40
|
-
/* Shadows */
|
|
41
|
-
--press-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
42
|
-
--press-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
43
|
-
--press-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
44
|
-
--press-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
45
|
-
|
|
46
|
-
/* Transitions */
|
|
47
|
-
--press-transition: 0.2s ease;
|
|
48
|
-
|
|
49
|
-
/* Typography */
|
|
50
|
-
--press-font-family:
|
|
51
|
-
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
52
|
-
--press-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
|
|
53
|
-
|
|
54
|
-
/* Radius */
|
|
55
|
-
--press-radius: 8px;
|
|
56
|
-
--press-radius-sm: 4px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/* Dark mode */
|
|
60
|
-
.dark {
|
|
61
|
-
--press-c-bg: #0f172a;
|
|
62
|
-
--press-c-bg-soft: #1e293b;
|
|
63
|
-
--press-c-bg-mute: #334155;
|
|
64
|
-
--press-c-bg-alt: #475569;
|
|
65
|
-
|
|
66
|
-
--press-c-text: #f1f5f9;
|
|
67
|
-
--press-c-text-light: #cbd5e1;
|
|
68
|
-
--press-c-text-lighter: #94a3b8;
|
|
69
|
-
|
|
70
|
-
--press-c-border: #334155;
|
|
71
|
-
--press-c-divider: #334155;
|
|
72
|
-
|
|
73
|
-
--press-c-tip-bg: #064e3b;
|
|
74
|
-
--press-c-warning-bg: #78350f;
|
|
75
|
-
--press-c-danger-bg: #7f1d1d;
|
|
76
|
-
--press-c-info-bg: #1e3a8a;
|
|
77
|
-
--press-c-note-bg: #4c1d95;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* Base */
|
|
81
|
-
* {
|
|
82
|
-
box-sizing: border-box;
|
|
83
|
-
margin: 0;
|
|
84
|
-
padding: 0;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
html {
|
|
88
|
-
scroll-behavior: smooth;
|
|
89
|
-
scroll-padding-top: calc(var(--press-header-height) + 24px);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
body {
|
|
93
|
-
font-family: var(--press-font-family);
|
|
94
|
-
font-size: 16px;
|
|
95
|
-
line-height: 1.7;
|
|
96
|
-
color: var(--press-c-text);
|
|
97
|
-
background: var(--press-c-bg);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/* Layout */
|
|
101
|
-
.press-layout {
|
|
102
|
-
min-height: 100vh;
|
|
103
|
-
display: flex;
|
|
104
|
-
flex-direction: column;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.press-layout-container {
|
|
108
|
-
display: flex;
|
|
109
|
-
flex: 1;
|
|
110
|
-
padding-top: var(--press-header-height);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.press-main {
|
|
114
|
-
flex: 1;
|
|
115
|
-
min-width: 0;
|
|
116
|
-
padding: 32px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/* Header */
|
|
120
|
-
.press-header {
|
|
121
|
-
position: fixed;
|
|
122
|
-
top: 0;
|
|
123
|
-
left: 0;
|
|
124
|
-
right: 0;
|
|
125
|
-
height: var(--press-header-height);
|
|
126
|
-
background: var(--press-c-bg);
|
|
127
|
-
border-bottom: 1px solid var(--press-c-border);
|
|
128
|
-
z-index: 100;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.press-header-container {
|
|
132
|
-
display: flex;
|
|
133
|
-
align-items: center;
|
|
134
|
-
justify-content: space-between;
|
|
135
|
-
height: 100%;
|
|
136
|
-
max-width: 1440px;
|
|
137
|
-
margin: 0 auto;
|
|
138
|
-
padding: 0 24px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.press-header-left {
|
|
142
|
-
display: flex;
|
|
143
|
-
align-items: center;
|
|
144
|
-
gap: 16px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.press-logo-link {
|
|
148
|
-
display: flex;
|
|
149
|
-
align-items: center;
|
|
150
|
-
gap: 8px;
|
|
151
|
-
text-decoration: none;
|
|
152
|
-
color: var(--press-c-text);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.press-logo {
|
|
156
|
-
height: 32px;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.press-site-title {
|
|
160
|
-
font-size: 18px;
|
|
161
|
-
font-weight: 600;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.press-nav {
|
|
165
|
-
display: flex;
|
|
166
|
-
align-items: center;
|
|
167
|
-
gap: 24px;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.press-nav-link {
|
|
171
|
-
color: var(--press-c-text-light);
|
|
172
|
-
text-decoration: none;
|
|
173
|
-
font-size: 14px;
|
|
174
|
-
font-weight: 500;
|
|
175
|
-
transition: color var(--press-transition);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.press-nav-link:hover,
|
|
179
|
-
.press-nav-link.active {
|
|
180
|
-
color: var(--press-c-brand);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.press-header-right {
|
|
184
|
-
display: flex;
|
|
185
|
-
align-items: center;
|
|
186
|
-
gap: 16px;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.press-social-link {
|
|
190
|
-
color: var(--press-c-text-light);
|
|
191
|
-
transition: color var(--press-transition);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.press-social-link:hover {
|
|
195
|
-
color: var(--press-c-text);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/* Mobile menu */
|
|
199
|
-
.press-mobile-menu-button {
|
|
200
|
-
display: none;
|
|
201
|
-
background: none;
|
|
202
|
-
border: none;
|
|
203
|
-
cursor: pointer;
|
|
204
|
-
padding: 8px;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.press-hamburger {
|
|
208
|
-
display: flex;
|
|
209
|
-
flex-direction: column;
|
|
210
|
-
gap: 4px;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.press-hamburger span {
|
|
214
|
-
display: block;
|
|
215
|
-
width: 20px;
|
|
216
|
-
height: 2px;
|
|
217
|
-
background: var(--press-c-text);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
@media (max-width: 768px) {
|
|
221
|
-
.press-mobile-menu-button {
|
|
222
|
-
display: block;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.press-nav {
|
|
226
|
-
display: none;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
/* Sidebar */
|
|
231
|
-
.press-sidebar {
|
|
232
|
-
position: fixed;
|
|
233
|
-
top: var(--press-header-height);
|
|
234
|
-
left: 0;
|
|
235
|
-
width: var(--press-sidebar-width);
|
|
236
|
-
height: calc(100vh - var(--press-header-height));
|
|
237
|
-
padding: 24px;
|
|
238
|
-
overflow-y: auto;
|
|
239
|
-
border-right: 1px solid var(--press-c-border);
|
|
240
|
-
background: var(--press-c-bg);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.press-sidebar-list {
|
|
244
|
-
list-style: none;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.press-sidebar-list-0 > .press-sidebar-item {
|
|
248
|
-
margin-bottom: 16px;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.press-sidebar-list-1 {
|
|
252
|
-
margin-left: 16px;
|
|
253
|
-
margin-top: 8px;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.press-sidebar-item-header {
|
|
257
|
-
display: flex;
|
|
258
|
-
align-items: center;
|
|
259
|
-
justify-content: space-between;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.press-sidebar-link,
|
|
263
|
-
.press-sidebar-text {
|
|
264
|
-
display: block;
|
|
265
|
-
padding: 6px 0;
|
|
266
|
-
color: var(--press-c-text-light);
|
|
267
|
-
text-decoration: none;
|
|
268
|
-
font-size: 14px;
|
|
269
|
-
transition: color var(--press-transition);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.press-sidebar-link:hover,
|
|
273
|
-
.press-sidebar-text:hover {
|
|
274
|
-
color: var(--press-c-text);
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.press-sidebar-link.active {
|
|
278
|
-
color: var(--press-c-brand);
|
|
279
|
-
font-weight: 500;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.press-sidebar-text {
|
|
283
|
-
cursor: pointer;
|
|
284
|
-
font-weight: 600;
|
|
285
|
-
color: var(--press-c-text);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.press-sidebar-collapse {
|
|
289
|
-
background: none;
|
|
290
|
-
border: none;
|
|
291
|
-
cursor: pointer;
|
|
292
|
-
padding: 4px;
|
|
293
|
-
color: var(--press-c-text-lighter);
|
|
294
|
-
transition: transform var(--press-transition);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.press-sidebar-collapse.collapsed {
|
|
298
|
-
transform: rotate(-90deg);
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
@media (max-width: 1024px) {
|
|
302
|
-
.press-sidebar {
|
|
303
|
-
display: none;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.press-main {
|
|
307
|
-
margin-left: 0;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
/* TOC */
|
|
312
|
-
.press-toc {
|
|
313
|
-
position: fixed;
|
|
314
|
-
top: var(--press-header-height);
|
|
315
|
-
right: 0;
|
|
316
|
-
width: var(--press-toc-width);
|
|
317
|
-
height: calc(100vh - var(--press-header-height));
|
|
318
|
-
padding: 24px;
|
|
319
|
-
overflow-y: auto;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.press-toc-title {
|
|
323
|
-
font-size: 12px;
|
|
324
|
-
font-weight: 600;
|
|
325
|
-
text-transform: uppercase;
|
|
326
|
-
letter-spacing: 0.05em;
|
|
327
|
-
color: var(--press-c-text-lighter);
|
|
328
|
-
margin-bottom: 16px;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.press-toc-list {
|
|
332
|
-
list-style: none;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.press-toc-link {
|
|
336
|
-
display: block;
|
|
337
|
-
padding: 4px 0;
|
|
338
|
-
color: var(--press-c-text-lighter);
|
|
339
|
-
text-decoration: none;
|
|
340
|
-
font-size: 13px;
|
|
341
|
-
border-left: 2px solid transparent;
|
|
342
|
-
padding-left: 12px;
|
|
343
|
-
margin-left: -12px;
|
|
344
|
-
transition: all var(--press-transition);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.press-toc-link:hover {
|
|
348
|
-
color: var(--press-c-text);
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.press-toc-link.active {
|
|
352
|
-
color: var(--press-c-brand);
|
|
353
|
-
border-left-color: var(--press-c-brand);
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.press-toc-link-3 {
|
|
357
|
-
padding-left: 24px;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.press-toc-link-4 {
|
|
361
|
-
padding-left: 36px;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
@media (max-width: 1280px) {
|
|
365
|
-
.press-toc {
|
|
366
|
-
display: none;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/* Content */
|
|
371
|
-
.press-doc-page {
|
|
372
|
-
display: flex;
|
|
373
|
-
max-width: calc(var(--press-content-max-width) + var(--press-toc-width));
|
|
374
|
-
margin: 0 auto;
|
|
375
|
-
padding-left: var(--press-sidebar-width);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.press-content-container {
|
|
379
|
-
flex: 1;
|
|
380
|
-
max-width: var(--press-content-max-width);
|
|
381
|
-
padding: 0 24px;
|
|
382
|
-
padding-right: calc(var(--press-toc-width) + 24px);
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
@media (max-width: 1280px) {
|
|
386
|
-
.press-content-container {
|
|
387
|
-
padding-right: 24px;
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.press-content-header {
|
|
392
|
-
margin-bottom: 32px;
|
|
393
|
-
padding-bottom: 24px;
|
|
394
|
-
border-bottom: 1px solid var(--press-c-border);
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
.press-content-title {
|
|
398
|
-
font-size: 32px;
|
|
399
|
-
font-weight: 700;
|
|
400
|
-
line-height: 1.25;
|
|
401
|
-
margin-bottom: 8px;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.press-content-description {
|
|
405
|
-
font-size: 18px;
|
|
406
|
-
color: var(--press-c-text-light);
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
.press-content-body {
|
|
410
|
-
line-height: 1.7;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
/* Typography in content */
|
|
414
|
-
.press-content h1,
|
|
415
|
-
.press-content h2,
|
|
416
|
-
.press-content h3,
|
|
417
|
-
.press-content h4,
|
|
418
|
-
.press-content h5,
|
|
419
|
-
.press-content h6 {
|
|
420
|
-
font-weight: 600;
|
|
421
|
-
line-height: 1.25;
|
|
422
|
-
margin-top: 32px;
|
|
423
|
-
margin-bottom: 16px;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
.press-content h1 {
|
|
427
|
-
font-size: 32px;
|
|
428
|
-
}
|
|
429
|
-
.press-content h2 {
|
|
430
|
-
font-size: 24px;
|
|
431
|
-
padding-bottom: 8px;
|
|
432
|
-
border-bottom: 1px solid var(--press-c-border);
|
|
433
|
-
}
|
|
434
|
-
.press-content h3 {
|
|
435
|
-
font-size: 20px;
|
|
436
|
-
}
|
|
437
|
-
.press-content h4 {
|
|
438
|
-
font-size: 18px;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
.press-content p {
|
|
442
|
-
margin-bottom: 16px;
|
|
443
|
-
max-width: 70ch;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
.press-content a {
|
|
447
|
-
color: var(--press-c-brand);
|
|
448
|
-
text-decoration: none;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
.press-content a:hover {
|
|
452
|
-
text-decoration: underline;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
.press-content ul,
|
|
456
|
-
.press-content ol {
|
|
457
|
-
margin-bottom: 16px;
|
|
458
|
-
padding-left: 24px;
|
|
459
|
-
max-width: 70ch;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
.press-content li {
|
|
463
|
-
margin-bottom: 8px;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.press-content blockquote {
|
|
467
|
-
margin: 16px 0;
|
|
468
|
-
padding: 16px 24px;
|
|
469
|
-
border-left: 4px solid var(--press-c-brand);
|
|
470
|
-
background: var(--press-c-bg-soft);
|
|
471
|
-
border-radius: var(--press-radius-sm);
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.press-content hr {
|
|
475
|
-
margin: 32px 0;
|
|
476
|
-
border: none;
|
|
477
|
-
border-top: 1px solid var(--press-c-border);
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
.press-content table {
|
|
481
|
-
width: 100%;
|
|
482
|
-
margin: 16px 0;
|
|
483
|
-
border-collapse: collapse;
|
|
484
|
-
table-layout: fixed;
|
|
485
|
-
font-size: 14px;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
.press-content th,
|
|
489
|
-
.press-content td {
|
|
490
|
-
padding: 12px 16px;
|
|
491
|
-
border: 1px solid var(--press-c-border);
|
|
492
|
-
text-align: left;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.press-content th {
|
|
496
|
-
background: var(--press-c-bg-soft);
|
|
497
|
-
font-weight: 600;
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
.press-content img {
|
|
501
|
-
max-width: 100%;
|
|
502
|
-
border-radius: var(--press-radius);
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/* Inline code */
|
|
506
|
-
.press-content code {
|
|
507
|
-
font-family: var(--press-font-mono);
|
|
508
|
-
font-size: 0.875em;
|
|
509
|
-
padding: 2px 6px;
|
|
510
|
-
background: var(--press-c-bg-mute);
|
|
511
|
-
border-radius: var(--press-radius-sm);
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
.press-content pre code {
|
|
515
|
-
padding: 0;
|
|
516
|
-
background: none;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
/* Code blocks */
|
|
520
|
-
.press-code-block {
|
|
521
|
-
margin: 16px 0;
|
|
522
|
-
border-radius: var(--press-radius);
|
|
523
|
-
overflow: hidden;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
/* Shiki syntax highlighting - dual theme support */
|
|
527
|
-
.shiki span {
|
|
528
|
-
color: var(--shiki-light);
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.dark .shiki span {
|
|
532
|
-
color: var(--shiki-dark);
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
.press-code-title {
|
|
536
|
-
padding: 8px 16px;
|
|
537
|
-
background: var(--press-c-bg-mute);
|
|
538
|
-
font-size: 13px;
|
|
539
|
-
font-weight: 500;
|
|
540
|
-
color: var(--press-c-text-light);
|
|
541
|
-
border-bottom: 1px solid var(--press-c-border);
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
.press-code-wrapper {
|
|
545
|
-
position: relative;
|
|
546
|
-
background: var(--press-c-bg-soft);
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
.press-code-wrapper pre {
|
|
550
|
-
margin: 0;
|
|
551
|
-
padding: 16px;
|
|
552
|
-
overflow-x: auto;
|
|
553
|
-
font-family: var(--press-font-mono);
|
|
554
|
-
font-size: 14px;
|
|
555
|
-
line-height: 1.5;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.press-code-line {
|
|
559
|
-
display: block;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
.press-code-line.highlighted {
|
|
563
|
-
background: rgba(59, 130, 246, 0.1);
|
|
564
|
-
margin: 0 -16px;
|
|
565
|
-
padding: 0 16px;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
.press-line-number {
|
|
569
|
-
display: inline-block;
|
|
570
|
-
width: 32px;
|
|
571
|
-
color: var(--press-c-text-lighter);
|
|
572
|
-
text-align: right;
|
|
573
|
-
margin-right: 16px;
|
|
574
|
-
user-select: none;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
.press-copy-button {
|
|
578
|
-
position: absolute;
|
|
579
|
-
top: 8px;
|
|
580
|
-
right: 8px;
|
|
581
|
-
display: flex;
|
|
582
|
-
align-items: center;
|
|
583
|
-
gap: 4px;
|
|
584
|
-
padding: 6px 10px;
|
|
585
|
-
background: var(--press-c-bg);
|
|
586
|
-
border: 1px solid var(--press-c-border);
|
|
587
|
-
border-radius: var(--press-radius-sm);
|
|
588
|
-
cursor: pointer;
|
|
589
|
-
font-size: 12px;
|
|
590
|
-
color: var(--press-c-text-light);
|
|
591
|
-
opacity: 0;
|
|
592
|
-
transition: opacity var(--press-transition);
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
.press-code-wrapper:hover .press-copy-button {
|
|
596
|
-
opacity: 1;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
.press-copy-button:hover {
|
|
600
|
-
background: var(--press-c-bg-soft);
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
/* Code groups */
|
|
604
|
-
.press-code-group {
|
|
605
|
-
margin: 16px 0;
|
|
606
|
-
border-radius: var(--press-radius);
|
|
607
|
-
overflow: hidden;
|
|
608
|
-
border: 1px solid var(--press-c-border);
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
.press-code-group-tabs {
|
|
612
|
-
display: flex;
|
|
613
|
-
background: var(--press-c-bg-mute);
|
|
614
|
-
border-bottom: 1px solid var(--press-c-border);
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.press-code-group-tab {
|
|
618
|
-
padding: 8px 16px;
|
|
619
|
-
background: none;
|
|
620
|
-
border: none;
|
|
621
|
-
cursor: pointer;
|
|
622
|
-
font-size: 13px;
|
|
623
|
-
color: var(--press-c-text-light);
|
|
624
|
-
border-bottom: 2px solid transparent;
|
|
625
|
-
margin-bottom: -1px;
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
.press-code-group-tab:hover {
|
|
629
|
-
color: var(--press-c-text);
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
.press-code-group-tab.active {
|
|
633
|
-
color: var(--press-c-brand);
|
|
634
|
-
border-bottom-color: var(--press-c-brand);
|
|
635
|
-
background: var(--press-c-bg);
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
.press-code-group-panel {
|
|
639
|
-
display: none;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
.press-code-group-panel.active {
|
|
643
|
-
display: block;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/* Containers */
|
|
647
|
-
.press-container {
|
|
648
|
-
margin: 16px 0;
|
|
649
|
-
padding: 16px 20px;
|
|
650
|
-
border-radius: var(--press-radius);
|
|
651
|
-
border-left: 4px solid;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
.press-container-tip {
|
|
655
|
-
background: var(--press-c-tip-bg);
|
|
656
|
-
border-color: var(--press-c-tip);
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.press-container-warning {
|
|
660
|
-
background: var(--press-c-warning-bg);
|
|
661
|
-
border-color: var(--press-c-warning);
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
.press-container-danger {
|
|
665
|
-
background: var(--press-c-danger-bg);
|
|
666
|
-
border-color: var(--press-c-danger);
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
.press-container-info {
|
|
670
|
-
background: var(--press-c-info-bg);
|
|
671
|
-
border-color: var(--press-c-info);
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.press-container-note {
|
|
675
|
-
background: var(--press-c-note-bg);
|
|
676
|
-
border-color: var(--press-c-note);
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
.press-container-title {
|
|
680
|
-
display: flex;
|
|
681
|
-
align-items: center;
|
|
682
|
-
gap: 8px;
|
|
683
|
-
font-weight: 600;
|
|
684
|
-
font-size: 14px;
|
|
685
|
-
margin-bottom: 8px;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
.press-container-tip .press-container-title {
|
|
689
|
-
color: var(--press-c-tip);
|
|
690
|
-
}
|
|
691
|
-
.press-container-warning .press-container-title {
|
|
692
|
-
color: var(--press-c-warning);
|
|
693
|
-
}
|
|
694
|
-
.press-container-danger .press-container-title {
|
|
695
|
-
color: var(--press-c-danger);
|
|
696
|
-
}
|
|
697
|
-
.press-container-info .press-container-title {
|
|
698
|
-
color: var(--press-c-info);
|
|
699
|
-
}
|
|
700
|
-
.press-container-note .press-container-title {
|
|
701
|
-
color: var(--press-c-note);
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
.press-container-content p:last-child {
|
|
705
|
-
margin-bottom: 0;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
/* Details */
|
|
709
|
-
.press-details {
|
|
710
|
-
margin: 16px 0;
|
|
711
|
-
border: 1px solid var(--press-c-border);
|
|
712
|
-
border-radius: var(--press-radius);
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
.press-details-summary {
|
|
716
|
-
padding: 12px 16px;
|
|
717
|
-
cursor: pointer;
|
|
718
|
-
font-weight: 500;
|
|
719
|
-
background: var(--press-c-bg-soft);
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
.press-details[open] .press-details-summary {
|
|
723
|
-
border-bottom: 1px solid var(--press-c-border);
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
.press-details > *:not(summary) {
|
|
727
|
-
padding: 16px;
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
/* Footer */
|
|
731
|
-
.press-content-footer {
|
|
732
|
-
margin-top: 48px;
|
|
733
|
-
padding-top: 24px;
|
|
734
|
-
border-top: 1px solid var(--press-c-border);
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
.press-content-meta {
|
|
738
|
-
display: flex;
|
|
739
|
-
justify-content: space-between;
|
|
740
|
-
align-items: center;
|
|
741
|
-
margin-bottom: 24px;
|
|
742
|
-
font-size: 14px;
|
|
743
|
-
color: var(--press-c-text-lighter);
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
.press-edit-link {
|
|
747
|
-
color: var(--press-c-brand);
|
|
748
|
-
text-decoration: none;
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
.press-edit-link:hover {
|
|
752
|
-
text-decoration: underline;
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
.press-prev-next {
|
|
756
|
-
display: grid;
|
|
757
|
-
grid-template-columns: 1fr 1fr;
|
|
758
|
-
gap: 16px;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
.press-prev-link,
|
|
762
|
-
.press-next-link {
|
|
763
|
-
display: flex;
|
|
764
|
-
flex-direction: column;
|
|
765
|
-
padding: 16px;
|
|
766
|
-
border: 1px solid var(--press-c-border);
|
|
767
|
-
border-radius: var(--press-radius);
|
|
768
|
-
text-decoration: none;
|
|
769
|
-
transition: border-color var(--press-transition);
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
.press-prev-link:hover,
|
|
773
|
-
.press-next-link:hover {
|
|
774
|
-
border-color: var(--press-c-brand);
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
.press-next-link {
|
|
778
|
-
text-align: right;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
.press-prev-next-label {
|
|
782
|
-
font-size: 12px;
|
|
783
|
-
color: var(--press-c-text-lighter);
|
|
784
|
-
margin-bottom: 4px;
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
.press-prev-next-title {
|
|
788
|
-
font-weight: 500;
|
|
789
|
-
color: var(--press-c-brand);
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
/* Page footer */
|
|
793
|
-
.press-footer {
|
|
794
|
-
padding: 24px;
|
|
795
|
-
text-align: center;
|
|
796
|
-
border-top: 1px solid var(--press-c-border);
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
.press-footer-message,
|
|
800
|
-
.press-footer-copyright {
|
|
801
|
-
font-size: 14px;
|
|
802
|
-
color: var(--press-c-text-lighter);
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
/* Search */
|
|
806
|
-
.press-search-button {
|
|
807
|
-
display: flex;
|
|
808
|
-
align-items: center;
|
|
809
|
-
gap: 8px;
|
|
810
|
-
padding: 8px 12px;
|
|
811
|
-
background: var(--press-c-bg-soft);
|
|
812
|
-
border: 1px solid var(--press-c-border);
|
|
813
|
-
border-radius: var(--press-radius);
|
|
814
|
-
cursor: pointer;
|
|
815
|
-
color: var(--press-c-text-lighter);
|
|
816
|
-
font-size: 14px;
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
.press-search-button:hover {
|
|
820
|
-
border-color: var(--press-c-brand);
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
.press-search-button-text {
|
|
824
|
-
display: none;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
@media (min-width: 768px) {
|
|
828
|
-
.press-search-button-text {
|
|
829
|
-
display: inline;
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
.press-search-kbd {
|
|
834
|
-
display: none;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
@media (min-width: 768px) {
|
|
838
|
-
.press-search-kbd {
|
|
839
|
-
display: flex;
|
|
840
|
-
gap: 4px;
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
.press-search-kbd kbd {
|
|
845
|
-
padding: 2px 6px;
|
|
846
|
-
background: var(--press-c-bg);
|
|
847
|
-
border: 1px solid var(--press-c-border);
|
|
848
|
-
border-radius: 4px;
|
|
849
|
-
font-size: 11px;
|
|
850
|
-
font-family: var(--press-font-family);
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
.press-search-modal {
|
|
854
|
-
position: fixed;
|
|
855
|
-
inset: 0;
|
|
856
|
-
background: rgba(0, 0, 0, 0.5);
|
|
857
|
-
display: flex;
|
|
858
|
-
align-items: flex-start;
|
|
859
|
-
justify-content: center;
|
|
860
|
-
padding-top: 80px;
|
|
861
|
-
z-index: 200;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
.press-search-dialog {
|
|
865
|
-
width: 100%;
|
|
866
|
-
max-width: 600px;
|
|
867
|
-
background: var(--press-c-bg);
|
|
868
|
-
border-radius: var(--press-radius);
|
|
869
|
-
box-shadow: var(--press-shadow-lg);
|
|
870
|
-
overflow: hidden;
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
.press-search-input-wrapper {
|
|
874
|
-
display: flex;
|
|
875
|
-
align-items: center;
|
|
876
|
-
gap: 12px;
|
|
877
|
-
padding: 16px;
|
|
878
|
-
border-bottom: 1px solid var(--press-c-border);
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
.press-search-input {
|
|
882
|
-
flex: 1;
|
|
883
|
-
border: none;
|
|
884
|
-
outline: none;
|
|
885
|
-
font-size: 16px;
|
|
886
|
-
background: none;
|
|
887
|
-
color: var(--press-c-text);
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
.press-search-clear {
|
|
891
|
-
background: none;
|
|
892
|
-
border: none;
|
|
893
|
-
cursor: pointer;
|
|
894
|
-
font-size: 20px;
|
|
895
|
-
color: var(--press-c-text-lighter);
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
.press-search-results {
|
|
899
|
-
list-style: none;
|
|
900
|
-
max-height: 400px;
|
|
901
|
-
overflow-y: auto;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
.press-search-result {
|
|
905
|
-
display: block;
|
|
906
|
-
padding: 12px 16px;
|
|
907
|
-
text-decoration: none;
|
|
908
|
-
color: var(--press-c-text);
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
.press-search-result:hover,
|
|
912
|
-
.press-search-result.selected {
|
|
913
|
-
background: var(--press-c-bg-soft);
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
.press-search-result-title {
|
|
917
|
-
display: block;
|
|
918
|
-
font-weight: 500;
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
.press-search-result-section {
|
|
922
|
-
display: block;
|
|
923
|
-
font-size: 13px;
|
|
924
|
-
color: var(--press-c-text-lighter);
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
.press-search-no-results {
|
|
928
|
-
padding: 24px 16px;
|
|
929
|
-
text-align: center;
|
|
930
|
-
color: var(--press-c-text-lighter);
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
.press-search-footer {
|
|
934
|
-
display: flex;
|
|
935
|
-
justify-content: center;
|
|
936
|
-
gap: 24px;
|
|
937
|
-
padding: 12px 16px;
|
|
938
|
-
background: var(--press-c-bg-soft);
|
|
939
|
-
font-size: 12px;
|
|
940
|
-
color: var(--press-c-text-lighter);
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
.press-search-footer kbd {
|
|
944
|
-
padding: 2px 6px;
|
|
945
|
-
background: var(--press-c-bg);
|
|
946
|
-
border: 1px solid var(--press-c-border);
|
|
947
|
-
border-radius: 4px;
|
|
948
|
-
margin-right: 4px;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
/* Theme toggle */
|
|
952
|
-
.press-theme-toggle {
|
|
953
|
-
display: flex;
|
|
954
|
-
align-items: center;
|
|
955
|
-
justify-content: center;
|
|
956
|
-
width: 36px;
|
|
957
|
-
height: 36px;
|
|
958
|
-
background: none;
|
|
959
|
-
border: none;
|
|
960
|
-
cursor: pointer;
|
|
961
|
-
color: var(--press-c-text-light);
|
|
962
|
-
border-radius: var(--press-radius-sm);
|
|
963
|
-
transition: background var(--press-transition);
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
.press-theme-toggle:hover {
|
|
967
|
-
background: var(--press-c-bg-soft);
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
/* Tabs */
|
|
971
|
-
.press-tabs {
|
|
972
|
-
margin: 16px 0;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
.press-tab-list {
|
|
976
|
-
display: flex;
|
|
977
|
-
border-bottom: 1px solid var(--press-c-border);
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
.press-tab {
|
|
981
|
-
padding: 8px 16px;
|
|
982
|
-
background: none;
|
|
983
|
-
border: none;
|
|
984
|
-
cursor: pointer;
|
|
985
|
-
font-size: 14px;
|
|
986
|
-
color: var(--press-c-text-light);
|
|
987
|
-
border-bottom: 2px solid transparent;
|
|
988
|
-
margin-bottom: -1px;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
.press-tab:hover {
|
|
992
|
-
color: var(--press-c-text);
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
.press-tab.active {
|
|
996
|
-
color: var(--press-c-brand);
|
|
997
|
-
border-bottom-color: var(--press-c-brand);
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
.press-tab-panel {
|
|
1001
|
-
padding: 16px 0;
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
/* Hero section (home page) */
|
|
1005
|
-
.press-home {
|
|
1006
|
-
min-height: 100vh;
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
.press-home-main {
|
|
1010
|
-
padding-top: var(--press-header-height);
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
.press-hero {
|
|
1014
|
-
padding: 64px 24px;
|
|
1015
|
-
text-align: center;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
.press-hero-container {
|
|
1019
|
-
max-width: 900px;
|
|
1020
|
-
margin: 0 auto;
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
.press-hero-image img {
|
|
1024
|
-
max-width: 200px;
|
|
1025
|
-
margin-bottom: 32px;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
.press-hero-name {
|
|
1029
|
-
font-size: 48px;
|
|
1030
|
-
font-weight: 700;
|
|
1031
|
-
background: linear-gradient(135deg, var(--press-c-brand), var(--press-c-brand-dark));
|
|
1032
|
-
-webkit-background-clip: text;
|
|
1033
|
-
-webkit-text-fill-color: transparent;
|
|
1034
|
-
background-clip: text;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
.press-hero-text {
|
|
1038
|
-
font-size: 48px;
|
|
1039
|
-
font-weight: 700;
|
|
1040
|
-
margin-top: 8px;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
.press-hero-tagline {
|
|
1044
|
-
font-size: 20px;
|
|
1045
|
-
color: var(--press-c-text-light);
|
|
1046
|
-
margin-top: 16px;
|
|
1047
|
-
max-width: 600px;
|
|
1048
|
-
margin-left: auto;
|
|
1049
|
-
margin-right: auto;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
.press-hero-actions {
|
|
1053
|
-
display: flex;
|
|
1054
|
-
justify-content: center;
|
|
1055
|
-
gap: 16px;
|
|
1056
|
-
margin-top: 32px;
|
|
1057
|
-
flex-wrap: wrap;
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
.press-hero-action {
|
|
1061
|
-
display: inline-flex;
|
|
1062
|
-
padding: 12px 24px;
|
|
1063
|
-
font-size: 16px;
|
|
1064
|
-
font-weight: 500;
|
|
1065
|
-
text-decoration: none;
|
|
1066
|
-
border-radius: var(--press-radius);
|
|
1067
|
-
transition: all var(--press-transition);
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
.press-hero-action-brand {
|
|
1071
|
-
background: var(--press-c-brand);
|
|
1072
|
-
color: white;
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
.press-hero-action-brand:hover {
|
|
1076
|
-
background: var(--press-c-brand-dark);
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
.press-hero-action-alt {
|
|
1080
|
-
background: var(--press-c-bg-soft);
|
|
1081
|
-
color: var(--press-c-text);
|
|
1082
|
-
border: 1px solid var(--press-c-border);
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
.press-hero-action-alt:hover {
|
|
1086
|
-
border-color: var(--press-c-brand);
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
/* Features */
|
|
1090
|
-
.press-features {
|
|
1091
|
-
padding: 64px 24px;
|
|
1092
|
-
background: var(--press-c-bg-soft);
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
.press-features-container {
|
|
1096
|
-
display: grid;
|
|
1097
|
-
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
1098
|
-
gap: 24px;
|
|
1099
|
-
max-width: 1200px;
|
|
1100
|
-
margin: 0 auto;
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
.press-feature {
|
|
1104
|
-
padding: 24px;
|
|
1105
|
-
background: var(--press-c-bg);
|
|
1106
|
-
border-radius: var(--press-radius);
|
|
1107
|
-
border: 1px solid var(--press-c-border);
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
.press-feature-icon {
|
|
1111
|
-
font-size: 32px;
|
|
1112
|
-
margin-bottom: 16px;
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
.press-feature-title {
|
|
1116
|
-
font-size: 18px;
|
|
1117
|
-
font-weight: 600;
|
|
1118
|
-
margin-bottom: 8px;
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
.press-feature-details {
|
|
1122
|
-
font-size: 14px;
|
|
1123
|
-
color: var(--press-c-text-light);
|
|
1124
|
-
margin-bottom: 12px;
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
.press-feature-link {
|
|
1128
|
-
font-size: 14px;
|
|
1129
|
-
color: var(--press-c-brand);
|
|
1130
|
-
text-decoration: none;
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
.press-feature-link:hover {
|
|
1134
|
-
text-decoration: underline;
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
|
-
/* Responsive */
|
|
1138
|
-
@media (max-width: 1024px) {
|
|
1139
|
-
.press-doc-page {
|
|
1140
|
-
padding-left: 0;
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
@media (max-width: 768px) {
|
|
1145
|
-
.press-hero-name,
|
|
1146
|
-
.press-hero-text {
|
|
1147
|
-
font-size: 32px;
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
.press-hero-tagline {
|
|
1151
|
-
font-size: 16px;
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
/* ================================
|
|
1156
|
-
API Documentation Styles
|
|
1157
|
-
================================ */
|
|
1158
|
-
|
|
1159
|
-
/* API Item */
|
|
1160
|
-
.press-api-item {
|
|
1161
|
-
margin: 24px 0;
|
|
1162
|
-
padding-bottom: 24px;
|
|
1163
|
-
border-bottom: 1px solid var(--press-c-border);
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
.press-api-item:last-child {
|
|
1167
|
-
border-bottom: none;
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
.press-api-item-title {
|
|
1171
|
-
display: flex;
|
|
1172
|
-
align-items: center;
|
|
1173
|
-
gap: 12px;
|
|
1174
|
-
margin-bottom: 12px;
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
.press-api-item-name {
|
|
1178
|
-
font-family: var(--press-font-mono);
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
.press-api-anchor {
|
|
1182
|
-
color: var(--press-c-text-lighter);
|
|
1183
|
-
text-decoration: none;
|
|
1184
|
-
opacity: 0;
|
|
1185
|
-
transition: opacity var(--press-transition);
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
.press-api-item-title:hover .press-api-anchor {
|
|
1189
|
-
opacity: 1;
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
.press-api-item-description {
|
|
1193
|
-
color: var(--press-c-text-light);
|
|
1194
|
-
margin-bottom: 16px;
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
/* API Badges */
|
|
1198
|
-
.press-api-badge {
|
|
1199
|
-
display: inline-flex;
|
|
1200
|
-
padding: 2px 8px;
|
|
1201
|
-
font-size: 11px;
|
|
1202
|
-
font-weight: 600;
|
|
1203
|
-
text-transform: uppercase;
|
|
1204
|
-
letter-spacing: 0.05em;
|
|
1205
|
-
border-radius: var(--press-radius-sm);
|
|
1206
|
-
background: var(--press-c-bg-mute);
|
|
1207
|
-
color: var(--press-c-text-light);
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
.press-api-badge-class {
|
|
1211
|
-
background: #dbeafe;
|
|
1212
|
-
color: #1e40af;
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
.dark .press-api-badge-class {
|
|
1216
|
-
background: #1e3a8a;
|
|
1217
|
-
color: #93c5fd;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
.press-api-badge-interface {
|
|
1221
|
-
background: #d1fae5;
|
|
1222
|
-
color: #065f46;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
.dark .press-api-badge-interface {
|
|
1226
|
-
background: #064e3b;
|
|
1227
|
-
color: #6ee7b7;
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
.press-api-badge-type {
|
|
1231
|
-
background: #fef3c7;
|
|
1232
|
-
color: #92400e;
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
.dark .press-api-badge-type {
|
|
1236
|
-
background: #78350f;
|
|
1237
|
-
color: #fcd34d;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
.press-api-badge-enum {
|
|
1241
|
-
background: #ede9fe;
|
|
1242
|
-
color: #5b21b6;
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
.dark .press-api-badge-enum {
|
|
1246
|
-
background: #4c1d95;
|
|
1247
|
-
color: #c4b5fd;
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
.press-api-badge-function {
|
|
1251
|
-
background: #fce7f3;
|
|
1252
|
-
color: #9d174d;
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
.dark .press-api-badge-function {
|
|
1256
|
-
background: #831843;
|
|
1257
|
-
color: #f9a8d4;
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
.press-api-badge-method {
|
|
1261
|
-
background: #e0f2fe;
|
|
1262
|
-
color: #0369a1;
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
.dark .press-api-badge-method {
|
|
1266
|
-
background: #0c4a6e;
|
|
1267
|
-
color: #7dd3fc;
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
.press-api-badge-property {
|
|
1271
|
-
background: #f3e8ff;
|
|
1272
|
-
color: #7c3aed;
|
|
1273
|
-
}
|
|
1274
|
-
|
|
1275
|
-
.dark .press-api-badge-property {
|
|
1276
|
-
background: #581c87;
|
|
1277
|
-
color: #c4b5fd;
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
/* API Signature */
|
|
1281
|
-
.press-api-signature {
|
|
1282
|
-
margin: 16px 0;
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
.press-api-signature-code {
|
|
1286
|
-
padding: 16px;
|
|
1287
|
-
background: var(--press-c-bg-soft);
|
|
1288
|
-
border-radius: var(--press-radius);
|
|
1289
|
-
overflow-x: auto;
|
|
1290
|
-
font-family: var(--press-font-mono);
|
|
1291
|
-
font-size: 14px;
|
|
1292
|
-
line-height: 1.5;
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
.press-api-keyword {
|
|
1296
|
-
color: #cf222e;
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
.dark .press-api-keyword {
|
|
1300
|
-
color: #ff7b72;
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
.press-api-function-name {
|
|
1304
|
-
color: #8250df;
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
.dark .press-api-function-name {
|
|
1308
|
-
color: #d2a8ff;
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
.press-api-type-params {
|
|
1312
|
-
color: #0550ae;
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
.dark .press-api-type-params {
|
|
1316
|
-
color: #79c0ff;
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
.press-api-params {
|
|
1320
|
-
color: var(--press-c-text);
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
.press-api-return-type {
|
|
1324
|
-
color: #0550ae;
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
.dark .press-api-return-type {
|
|
1328
|
-
color: #79c0ff;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
/* API Section Titles */
|
|
1332
|
-
.press-api-section-title {
|
|
1333
|
-
font-size: 14px;
|
|
1334
|
-
font-weight: 600;
|
|
1335
|
-
color: var(--press-c-text-light);
|
|
1336
|
-
margin-top: 24px;
|
|
1337
|
-
margin-bottom: 12px;
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
/* API Tables */
|
|
1341
|
-
.press-api-table {
|
|
1342
|
-
width: 100%;
|
|
1343
|
-
margin: 12px 0;
|
|
1344
|
-
border-collapse: collapse;
|
|
1345
|
-
font-size: 14px;
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
.press-api-table th,
|
|
1349
|
-
.press-api-table td {
|
|
1350
|
-
padding: 10px 12px;
|
|
1351
|
-
border: 1px solid var(--press-c-border);
|
|
1352
|
-
text-align: left;
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
|
-
.press-api-table th {
|
|
1356
|
-
background: var(--press-c-bg-soft);
|
|
1357
|
-
font-weight: 600;
|
|
1358
|
-
font-size: 12px;
|
|
1359
|
-
text-transform: uppercase;
|
|
1360
|
-
letter-spacing: 0.05em;
|
|
1361
|
-
color: var(--press-c-text-lighter);
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
.press-api-table code {
|
|
1365
|
-
font-size: 13px;
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
.press-api-optional {
|
|
1369
|
-
font-size: 11px;
|
|
1370
|
-
color: var(--press-c-text-lighter);
|
|
1371
|
-
margin-left: 6px;
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
.press-api-default {
|
|
1375
|
-
display: block;
|
|
1376
|
-
margin-top: 4px;
|
|
1377
|
-
font-size: 12px;
|
|
1378
|
-
color: var(--press-c-text-lighter);
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
/* API Returns */
|
|
1382
|
-
.press-api-returns {
|
|
1383
|
-
margin: 16px 0;
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1386
|
-
.press-api-returns code {
|
|
1387
|
-
font-size: 14px;
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
/* API Examples */
|
|
1391
|
-
.press-api-examples {
|
|
1392
|
-
margin: 16px 0;
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
.press-api-example {
|
|
1396
|
-
margin: 8px 0;
|
|
1397
|
-
padding: 16px;
|
|
1398
|
-
background: var(--press-c-bg-soft);
|
|
1399
|
-
border-radius: var(--press-radius);
|
|
1400
|
-
overflow-x: auto;
|
|
1401
|
-
font-family: var(--press-font-mono);
|
|
1402
|
-
font-size: 14px;
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
/* API Source Link */
|
|
1406
|
-
.press-api-source {
|
|
1407
|
-
margin-top: 16px;
|
|
1408
|
-
font-size: 12px;
|
|
1409
|
-
color: var(--press-c-text-lighter);
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
.press-api-source a {
|
|
1413
|
-
color: var(--press-c-brand);
|
|
1414
|
-
text-decoration: none;
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
.press-api-source a:hover {
|
|
1418
|
-
text-decoration: underline;
|
|
1419
|
-
}
|
|
1420
|
-
|
|
1421
|
-
/* API Hierarchy */
|
|
1422
|
-
.press-api-hierarchy {
|
|
1423
|
-
margin: 16px 0;
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
.press-api-hierarchy-list {
|
|
1427
|
-
list-style: none;
|
|
1428
|
-
padding: 0;
|
|
1429
|
-
}
|
|
1430
|
-
|
|
1431
|
-
.press-api-hierarchy-list li {
|
|
1432
|
-
display: flex;
|
|
1433
|
-
align-items: center;
|
|
1434
|
-
gap: 8px;
|
|
1435
|
-
margin-bottom: 6px;
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
.press-api-hierarchy-label {
|
|
1439
|
-
font-size: 12px;
|
|
1440
|
-
color: var(--press-c-text-lighter);
|
|
1441
|
-
min-width: 100px;
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
/* API Children (nested items) */
|
|
1445
|
-
.press-api-children {
|
|
1446
|
-
margin-top: 24px;
|
|
1447
|
-
padding-left: 24px;
|
|
1448
|
-
border-left: 2px solid var(--press-c-border);
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
|
-
/* API Parameters */
|
|
1452
|
-
.press-api-parameters {
|
|
1453
|
-
margin: 16px 0;
|
|
1454
|
-
}
|