@stacksjs/bunpress 0.2.29 → 0.2.31

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.
@@ -1,330 +0,0 @@
1
- /**
2
- * VitePress Theme for BunPress - Custom Blocks
3
- * -------------------------------------------------------------------------- */
4
-
5
- .custom-block {
6
- border: 1px solid transparent;
7
- border-radius: 8px;
8
- padding: 16px 16px 8px;
9
- line-height: 24px;
10
- font-size: var(--vp-custom-block-font-size);
11
- color: var(--vp-c-text-2);
12
- }
13
-
14
- .custom-block.info {
15
- border-color: var(--vp-custom-block-info-border);
16
- color: var(--vp-custom-block-info-text);
17
- background-color: var(--vp-custom-block-info-bg);
18
- }
19
-
20
- .custom-block.info a,
21
- .custom-block.info code {
22
- color: var(--vp-c-brand-1);
23
- }
24
-
25
- .custom-block.info a:hover,
26
- .custom-block.info a:hover > code {
27
- color: var(--vp-c-brand-2);
28
- }
29
-
30
- .custom-block.info code {
31
- background-color: var(--vp-custom-block-info-code-bg);
32
- }
33
-
34
- .custom-block.note {
35
- border-color: var(--vp-custom-block-note-border);
36
- color: var(--vp-custom-block-note-text);
37
- background-color: var(--vp-custom-block-note-bg);
38
- }
39
-
40
- .custom-block.note a,
41
- .custom-block.note code {
42
- color: var(--vp-c-brand-1);
43
- }
44
-
45
- .custom-block.note a:hover,
46
- .custom-block.note a:hover > code {
47
- color: var(--vp-c-brand-2);
48
- }
49
-
50
- .custom-block.note code {
51
- background-color: var(--vp-custom-block-note-code-bg);
52
- }
53
-
54
- .custom-block.tip {
55
- border-color: var(--vp-custom-block-tip-border);
56
- color: var(--vp-custom-block-tip-text);
57
- background-color: var(--vp-custom-block-tip-bg);
58
- }
59
-
60
- .custom-block.tip a,
61
- .custom-block.tip code {
62
- color: var(--vp-c-tip-1);
63
- }
64
-
65
- .custom-block.tip a:hover,
66
- .custom-block.tip a:hover > code {
67
- color: var(--vp-c-tip-2);
68
- }
69
-
70
- .custom-block.tip code {
71
- background-color: var(--vp-custom-block-tip-code-bg);
72
- }
73
-
74
- .custom-block.important {
75
- border-color: var(--vp-custom-block-important-border);
76
- color: var(--vp-custom-block-important-text);
77
- background-color: var(--vp-custom-block-important-bg);
78
- }
79
-
80
- .custom-block.important a,
81
- .custom-block.important code {
82
- color: var(--vp-c-important-1);
83
- }
84
-
85
- .custom-block.important a:hover,
86
- .custom-block.important a:hover > code {
87
- color: var(--vp-c-important-2);
88
- }
89
-
90
- .custom-block.important code {
91
- background-color: var(--vp-custom-block-important-code-bg);
92
- }
93
-
94
- .custom-block.warning {
95
- border-color: var(--vp-custom-block-warning-border);
96
- color: var(--vp-custom-block-warning-text);
97
- background-color: var(--vp-custom-block-warning-bg);
98
- }
99
-
100
- .custom-block.warning a,
101
- .custom-block.warning code {
102
- color: var(--vp-c-warning-1);
103
- }
104
-
105
- .custom-block.warning a:hover,
106
- .custom-block.warning a:hover > code {
107
- color: var(--vp-c-warning-2);
108
- }
109
-
110
- .custom-block.warning code {
111
- background-color: var(--vp-custom-block-warning-code-bg);
112
- }
113
-
114
- .custom-block.danger {
115
- border-color: var(--vp-custom-block-danger-border);
116
- color: var(--vp-custom-block-danger-text);
117
- background-color: var(--vp-custom-block-danger-bg);
118
- }
119
-
120
- .custom-block.danger a,
121
- .custom-block.danger code {
122
- color: var(--vp-c-danger-1);
123
- }
124
-
125
- .custom-block.danger a:hover,
126
- .custom-block.danger a:hover > code {
127
- color: var(--vp-c-danger-2);
128
- }
129
-
130
- .custom-block.danger code {
131
- background-color: var(--vp-custom-block-danger-code-bg);
132
- }
133
-
134
- .custom-block.caution {
135
- border-color: var(--vp-custom-block-caution-border);
136
- color: var(--vp-custom-block-caution-text);
137
- background-color: var(--vp-custom-block-caution-bg);
138
- }
139
-
140
- .custom-block.caution a,
141
- .custom-block.caution code {
142
- color: var(--vp-c-caution-1);
143
- }
144
-
145
- .custom-block.caution a:hover,
146
- .custom-block.caution a:hover > code {
147
- color: var(--vp-c-caution-2);
148
- }
149
-
150
- .custom-block.caution code {
151
- background-color: var(--vp-custom-block-caution-code-bg);
152
- }
153
-
154
- .custom-block.details {
155
- border-color: var(--vp-custom-block-details-border);
156
- color: var(--vp-custom-block-details-text);
157
- background-color: var(--vp-custom-block-details-bg);
158
- }
159
-
160
- .custom-block.details a {
161
- color: var(--vp-c-brand-1);
162
- }
163
-
164
- .custom-block.details a:hover,
165
- .custom-block.details a:hover > code {
166
- color: var(--vp-c-brand-2);
167
- }
168
-
169
- .custom-block.details code {
170
- background-color: var(--vp-custom-block-details-code-bg);
171
- }
172
-
173
- .custom-block-title {
174
- font-weight: 600;
175
- }
176
-
177
- .custom-block p + p {
178
- margin: 8px 0;
179
- }
180
-
181
- .custom-block.details summary {
182
- margin: 0 0 8px;
183
- font-weight: 700;
184
- cursor: pointer;
185
- user-select: none;
186
- }
187
-
188
- .custom-block.details summary + p {
189
- margin: 8px 0;
190
- }
191
-
192
- .custom-block a {
193
- color: inherit;
194
- font-weight: 600;
195
- text-decoration: underline;
196
- text-underline-offset: 2px;
197
- transition: opacity 0.25s;
198
- }
199
-
200
- .custom-block a:hover {
201
- opacity: 0.75;
202
- }
203
-
204
- .custom-block code {
205
- font-size: var(--vp-custom-block-code-font-size);
206
- }
207
-
208
- .custom-block.custom-block th,
209
- .custom-block.custom-block blockquote > p {
210
- font-size: var(--vp-custom-block-font-size);
211
- color: inherit;
212
- }
213
-
214
- /**
215
- * GitHub-Flavored Alerts (VitePress style)
216
- * -------------------------------------------------------------------------- */
217
-
218
- .github-alert {
219
- border: 1px solid transparent;
220
- border-radius: 8px;
221
- padding: 16px 16px 8px;
222
- line-height: 24px;
223
- font-size: var(--vp-custom-block-font-size);
224
- margin: 16px 0;
225
- }
226
-
227
- .github-alert-title {
228
- display: flex;
229
- align-items: center;
230
- gap: 8px;
231
- font-weight: 600;
232
- margin-bottom: 8px;
233
- }
234
-
235
- .github-alert-icon {
236
- flex-shrink: 0;
237
- width: 16px;
238
- height: 16px;
239
- }
240
-
241
- .github-alert-content {
242
- line-height: 24px;
243
- }
244
-
245
- .github-alert-content p {
246
- margin: 8px 0;
247
- }
248
-
249
- .github-alert-content p:first-child {
250
- margin-top: 0;
251
- }
252
-
253
- .github-alert-content p:last-child {
254
- margin-bottom: 0;
255
- }
256
-
257
- /* Note Alert */
258
- .github-alert-note {
259
- border-color: var(--vp-custom-block-note-border);
260
- color: var(--vp-custom-block-note-text);
261
- background-color: var(--vp-custom-block-note-bg);
262
- }
263
-
264
- .github-alert-note .github-alert-title {
265
- color: var(--vp-c-brand-1);
266
- }
267
-
268
- .github-alert-note .github-alert-icon {
269
- fill: var(--vp-c-brand-1);
270
- }
271
-
272
- /* Tip Alert */
273
- .github-alert-tip {
274
- border-color: var(--vp-custom-block-tip-border);
275
- color: var(--vp-custom-block-tip-text);
276
- background-color: var(--vp-custom-block-tip-bg);
277
- }
278
-
279
- .github-alert-tip .github-alert-title {
280
- color: var(--vp-c-tip-1);
281
- }
282
-
283
- .github-alert-tip .github-alert-icon {
284
- fill: var(--vp-c-tip-1);
285
- }
286
-
287
- /* Important Alert */
288
- .github-alert-important {
289
- border-color: var(--vp-custom-block-important-border);
290
- color: var(--vp-custom-block-important-text);
291
- background-color: var(--vp-custom-block-important-bg);
292
- }
293
-
294
- .github-alert-important .github-alert-title {
295
- color: var(--vp-c-important-1);
296
- }
297
-
298
- .github-alert-important .github-alert-icon {
299
- fill: var(--vp-c-important-1);
300
- }
301
-
302
- /* Warning Alert */
303
- .github-alert-warning {
304
- border-color: var(--vp-custom-block-warning-border);
305
- color: var(--vp-custom-block-warning-text);
306
- background-color: var(--vp-custom-block-warning-bg);
307
- }
308
-
309
- .github-alert-warning .github-alert-title {
310
- color: var(--vp-c-warning-1);
311
- }
312
-
313
- .github-alert-warning .github-alert-icon {
314
- fill: var(--vp-c-warning-1);
315
- }
316
-
317
- /* Caution Alert */
318
- .github-alert-caution {
319
- border-color: var(--vp-custom-block-caution-border);
320
- color: var(--vp-custom-block-caution-text);
321
- background-color: var(--vp-custom-block-caution-bg);
322
- }
323
-
324
- .github-alert-caution .github-alert-title {
325
- color: var(--vp-c-caution-1);
326
- }
327
-
328
- .github-alert-caution .github-alert-icon {
329
- fill: var(--vp-c-caution-1);
330
- }