@podlite/to-jsx 0.0.79 → 0.0.81

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/esm/podlite.css DELETED
@@ -1,443 +0,0 @@
1
- /* Start podlite */
2
- /* body {
3
- margin: 0;
4
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
5
- -webkit-font-smoothing: antialiased;
6
- -moz-osx-font-smoothing: grayscale;
7
- }
8
-
9
- code {
10
- font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
11
- monospace;
12
- } */
13
-
14
-
15
- pre {
16
- display: block;
17
- /* A command is a sequence of tokens: broken inside one, it cannot be read
18
- or retyped. Wrap at spaces, and mark the remainder as a continuation. */
19
- word-break: normal;
20
- overflow-wrap: normal;
21
- background-color: var(--color-canvas-default, #f8f8f8);
22
- border: 1px solid var(--color-border-default);
23
- border-radius: 6px;
24
- padding: 16px;
25
- }
26
-
27
- code {
28
- padding: 0;
29
- font-size: inherit;
30
- color: inherit;
31
- white-space: pre-wrap;
32
- background-color: transparent;
33
- border-radius: 0;
34
- }
35
-
36
- img {
37
- max-width: 1024px;
38
- }
39
-
40
- table {
41
- word-break: normal;
42
- border-spacing: 0;
43
- border-collapse: collapse;
44
- text-align: left;
45
- }
46
- /* The first column names the row and is read top to bottom, so it lines up
47
- with the text around the table. Columns after it hold short values of even
48
- length, where centring reads better. */
49
- th:not(:first-child),
50
- td:not(:first-child) {
51
- text-align: center;
52
- }
53
- table caption {
54
- margin-bottom: 0.8em;
55
- caption-side: bottom;
56
- }
57
-
58
- table tbody tr:hover {
59
- background-color: #eee;
60
- -webkit-transition: .5s;
61
- transition: .5s
62
- }
63
-
64
- tr th {
65
- vertical-align: bottom;
66
- border-bottom: 2px solid #eee;
67
- }
68
-
69
- td {
70
- padding: 8px;
71
- border: 1px solid #eee;
72
- }
73
-
74
- .footnote a {
75
- text-decoration: none;
76
- }
77
- .footnotes {
78
- border-top-style: solid;
79
- border-top-width: 1px;
80
- border-top-color: #eee;
81
- }
82
-
83
- img {
84
- display: block;
85
- margin: 0 auto;
86
- max-width: 100%;
87
- }
88
-
89
- .shadow {
90
- -webkit-box-shadow: 3px 3px 5px 6px #ccc; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
91
- -moz-box-shadow: 3px 3px 5px 6px #ccc; /* Firefox 3.5 - 3.6 */
92
- box-shadow: 3px 3px 5px 6px #ccc; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
93
- }
94
- .box {
95
- box-shadow:
96
- 0 2.8px 2.2px rgba(0, 0, 0, 0.034),
97
- 0 6.7px 5.3px rgba(0, 0, 0, 0.048),
98
- 0 12.5px 10px rgba(0, 0, 0, 0.06),
99
- 0 22.3px 17.9px rgba(0, 0, 0, 0.072),
100
- 0 41.8px 33.4px rgba(0, 0, 0, 0.086),
101
- 0 100px 80px rgba(0, 0, 0, 0.12)
102
- ;
103
- margin: 100px auto;
104
- background: white;
105
- border-radius: 5px;
106
- }
107
-
108
- .image_block video {
109
- max-width: 100%;
110
- /* margin: 0 auto; */
111
- margin-bottom: 1em;
112
- }
113
-
114
- .image_block video{
115
- width: 100%;
116
- outline: none;
117
- border: none;
118
- }
119
-
120
- /* plugins */
121
- .mermaid svg {
122
- display: block;
123
- margin: auto;
124
- }
125
-
126
- .toc {
127
- padding: 1rem;
128
- }
129
-
130
- .toc-list {
131
- list-style: none;
132
- font-size: .8rem;
133
- }
134
-
135
- .caption {
136
- text-align: center;
137
- font-size: 0.9rem;
138
- }
139
-
140
- aside.notify {
141
- border-left: .25em solid;
142
- padding-left: 1rem ;
143
- }
144
-
145
- aside.notify>:first-child {
146
- margin-top: 0
147
- }
148
-
149
- aside.notify>:last-child {
150
- margin-bottom: 0
151
- }
152
-
153
- aside.notify.note {
154
- border-left-color: #0085f2
155
- }
156
-
157
- aside.notify.note .notify-title {
158
- color: #0085f2
159
- }
160
-
161
- aside.notify.tip {
162
- border-left-color: #007936;
163
- }
164
-
165
- aside.notify.tip .notify-title {
166
- color: #007936;
167
- }
168
-
169
-
170
- aside.notify.important {
171
- border-left-color: #8250df
172
- }
173
-
174
- aside.notify.important .notify-title {
175
- color: #8250df
176
- }
177
-
178
- aside.notify.warning {
179
- border-left-color: #9a6700;;
180
- }
181
-
182
- aside.notify.warning .notify-title {
183
- color: #9a6700;;
184
- }
185
-
186
- aside.notify.caution {
187
- border-left-color: #d30038;
188
- }
189
-
190
- aside.notify.caution .notify-title {
191
- color: #d30038;
192
- }
193
-
194
- /* Folded blocks using <details>/<summary> */
195
- details.folded {
196
- border: 1px solid var(--color-border-default, #d0d7de);
197
- border-radius: 6px;
198
- margin-top: 1em;
199
- margin-bottom: 1em;
200
- }
201
-
202
- details.folded > summary {
203
- cursor: pointer;
204
- padding: 0.5em 1em;
205
- background-color: var(--color-canvas-subtle, #f6f8fa);
206
- border-radius: 6px 6px 0 0;
207
- font-weight: 500;
208
- list-style: none;
209
- }
210
-
211
- details.folded > summary::-webkit-details-marker {
212
- display: none;
213
- }
214
-
215
- details.folded > summary::before {
216
- content: '▶ ';
217
- display: inline-block;
218
- margin-right: 0.5em;
219
- transition: transform 0.2s ease;
220
- }
221
-
222
- details.folded[open] > summary::before {
223
- transform: rotate(90deg);
224
- }
225
-
226
- details.folded[open] > summary {
227
- border-bottom: 1px solid var(--color-border-default, #d0d7de);
228
- border-radius: 6px 6px 0 0;
229
- }
230
-
231
- details.folded > .folded-content {
232
- padding: 1em;
233
- }
234
-
235
- /* Folded heading sections — =for head L :folded wraps the whole section.
236
- Use long-hand vertical margins so horizontal margins fall through the
237
- cascade (e.g. host stylesheets that center block elements with
238
- `details { margin-left: auto }` keep working — shorthand `margin: 1em 0`
239
- would clobber that with margin-left:0 due to specificity). */
240
- details.folded-section {
241
- margin-top: 1em;
242
- margin-bottom: 1em;
243
- }
244
-
245
- details.folded-section > summary.folded-section-summary {
246
- cursor: pointer;
247
- list-style: none;
248
- display: flex;
249
- align-items: center;
250
- gap: 0.25em;
251
- }
252
-
253
- details.folded-section > summary.folded-section-summary::-webkit-details-marker {
254
- display: none;
255
- }
256
-
257
- details.folded-section > summary.folded-section-summary::before {
258
- content: '▶';
259
- flex-shrink: 0;
260
- transition: transform 0.2s ease;
261
- }
262
-
263
- details.folded-section[open] > summary.folded-section-summary::before {
264
- transform: rotate(90deg);
265
- }
266
-
267
- /* Render the heading inline with the disclosure marker so the summary stays
268
- on one line. Preserves <h1>..<h6> semantics (heading level announced to
269
- assistive tech) while fixing the visual break caused by block-level h*.
270
- The `.line-src` selector handles the case where the editor wraps each
271
- node for live preview line-sync. */
272
- details.folded-section > summary.folded-section-summary h1,
273
- details.folded-section > summary.folded-section-summary h2,
274
- details.folded-section > summary.folded-section-summary h3,
275
- details.folded-section > summary.folded-section-summary h4,
276
- details.folded-section > summary.folded-section-summary h5,
277
- details.folded-section > summary.folded-section-summary h6,
278
- details.folded-section > summary.folded-section-summary > .line-src {
279
- display: inline;
280
- margin: 0;
281
- }
282
-
283
- details.folded-section > .folded-section-content {
284
- padding: 0.5em 0 0 1em;
285
- }
286
-
287
- /* TOC per-item fold — single-line disclosure + link for toc items that have
288
- nested children (leaf items render as plain li without a marker).
289
- A left gutter (padding-left) on every toc item reserves space for the
290
- disclosure marker so that text at the same level starts on the same
291
- x-position regardless of whether an item is foldable. The marker sits
292
- in that gutter via absolute positioning. */
293
- li.toc-item,
294
- li.toc-item-foldable {
295
- position: relative;
296
- padding-left: 1.2em;
297
- list-style: none;
298
- }
299
-
300
- /* Normalise nested toc-list indentation — browser default padding-left (40px)
301
- stacks with the per-item gutter, producing exaggerated indent for deeper
302
- levels. Use a predictable 1.5em step per level. */
303
- ul.toc-list {
304
- padding-left: 1.5em;
305
- list-style: none;
306
- }
307
- .toc > ul.toc-list {
308
- padding-left: 0;
309
- }
310
-
311
- li.toc-item-foldable > details.toc-fold > summary.toc-list-summary {
312
- cursor: pointer;
313
- list-style: none;
314
- }
315
-
316
- li.toc-item-foldable > details.toc-fold > summary.toc-list-summary::-webkit-details-marker {
317
- display: none;
318
- }
319
-
320
- li.toc-item-foldable > details.toc-fold > summary.toc-list-summary::before {
321
- content: '▶';
322
- position: absolute;
323
- left: 0;
324
- display: inline-block;
325
- transition: transform 0.2s ease;
326
- }
327
-
328
- li.toc-item-foldable > details.toc-fold[open] > summary.toc-list-summary::before {
329
- transform: rotate(90deg);
330
- }
331
-
332
- /* Keep summary content inline when editor preview wraps nodes in .line-src */
333
- li.toc-item-foldable > details.toc-fold > summary.toc-list-summary > .line-src {
334
- display: inline;
335
- }
336
-
337
- /* Folded notification blocks */
338
- details.notify.folded {
339
- border-left-width: 4px;
340
- border-left-style: solid;
341
- }
342
-
343
- details.notify.folded > summary {
344
- background-color: transparent;
345
- }
346
-
347
- details.notify.folded.note {
348
- border-left-color: #0085f2;
349
- }
350
-
351
- details.notify.folded.note > summary {
352
- color: #0085f2;
353
- }
354
-
355
- details.notify.folded.tip {
356
- border-left-color: #007936;
357
- }
358
-
359
- details.notify.folded.tip > summary {
360
- color: #007936;
361
- }
362
-
363
- details.notify.folded.important {
364
- border-left-color: #8250df;
365
- }
366
-
367
- details.notify.folded.important > summary {
368
- color: #8250df;
369
- }
370
-
371
- details.notify.folded.warning {
372
- border-left-color: #9a6700;
373
- }
374
-
375
- details.notify.folded.warning > summary {
376
- color: #9a6700;
377
- }
378
-
379
- details.notify.folded.caution {
380
- border-left-color: #d30038;
381
- }
382
-
383
- details.notify.folded.caution > summary {
384
- color: #d30038;
385
- }
386
-
387
- /* Folded tables */
388
- /* details.table-folded > .folded-content {
389
- padding: 0;
390
- overflow-x: auto;
391
- } */
392
-
393
- /* details.table-folded table {
394
- margin: 0;
395
- border-top: none;
396
- border-radius: 0 0 6px 6px;
397
- } */
398
-
399
- /* Task lists */
400
- ul.task-list {
401
- list-style: none;
402
- padding-left: 2em;
403
- }
404
-
405
- li.task-list-item {
406
- margin-left: -1em;
407
- padding-left: 0;
408
- display: flex;
409
- align-items: flex-start;
410
- gap: 0.35em;
411
- }
412
-
413
- li.task-list-item > input[type='checkbox'] {
414
- /* nudge the checkbox down so its centre aligns roughly with the cap-height
415
- of the first line of text rather than sitting at its top edge */
416
- margin-top: 0.25em;
417
- flex-shrink: 0;
418
- }
419
-
420
- li.task-list-item p {
421
- margin: 0;
422
- }
423
-
424
- /* End of podlite */
425
-
426
- /* Tests: the site styles them; here only what the behaviour needs. The card is
427
- placed by the renderer, and print shows a folded test without a script. */
428
- .test-card {
429
- position: absolute;
430
- z-index: 10;
431
- background: Canvas;
432
- color: CanvasText;
433
- }
434
-
435
- @media print {
436
- details.test::details-content {
437
- content-visibility: visible;
438
- display: block;
439
- }
440
- .test-card {
441
- display: none;
442
- }
443
- }