@hyperbook/markdown 0.28.1 → 0.28.3
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/dist/assets/content.css +20 -78
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/assets/content.css
CHANGED
|
@@ -75,12 +75,6 @@ figure {
|
|
|
75
75
|
border-color: var(--color-spacer);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
@media screen and (max-width: 600px) {
|
|
79
|
-
.hyperbook-markdown table td {
|
|
80
|
-
border-bottom-color: var(--color-spacer);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
78
|
.hyperbook-markdown figure.normal {
|
|
85
79
|
text-align: center;
|
|
86
80
|
margin-top: 10px;
|
|
@@ -154,11 +148,11 @@ figure {
|
|
|
154
148
|
margin-bottom: 0;
|
|
155
149
|
}
|
|
156
150
|
|
|
157
|
-
.hyperbook-markdown li+li {
|
|
151
|
+
.hyperbook-markdown li + li {
|
|
158
152
|
margin-top: 0.25em;
|
|
159
153
|
}
|
|
160
154
|
|
|
161
|
-
.hyperbook-markdown li>p {
|
|
155
|
+
.hyperbook-markdown li > p {
|
|
162
156
|
margin-top: 16px;
|
|
163
157
|
}
|
|
164
158
|
|
|
@@ -198,11 +192,11 @@ figure {
|
|
|
198
192
|
}
|
|
199
193
|
|
|
200
194
|
.hyperbook-markdown table {
|
|
201
|
-
|
|
202
|
-
border-style: solid;
|
|
195
|
+
display: block;
|
|
203
196
|
border-collapse: collapse;
|
|
204
|
-
width:
|
|
205
|
-
|
|
197
|
+
width: max-content;
|
|
198
|
+
max-width: 100%;
|
|
199
|
+
overflow: auto;
|
|
206
200
|
}
|
|
207
201
|
|
|
208
202
|
.hyperbook-markdown table caption {
|
|
@@ -224,58 +218,6 @@ figure {
|
|
|
224
218
|
.hyperbook-markdown table th {
|
|
225
219
|
font-size: 0.85em;
|
|
226
220
|
letter-spacing: 0.1em;
|
|
227
|
-
text-transform: uppercase;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
@media screen and (max-width: 600px) {
|
|
231
|
-
.hyperbook-markdown table {
|
|
232
|
-
border: 0;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.hyperbook-markdown table caption {
|
|
236
|
-
font-size: 1.3em;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.hyperbook-markdown table thead {
|
|
240
|
-
border: none;
|
|
241
|
-
clip: rect(0 0 0 0);
|
|
242
|
-
height: 1px;
|
|
243
|
-
margin: -1px;
|
|
244
|
-
overflow: hidden;
|
|
245
|
-
padding: 0;
|
|
246
|
-
position: absolute;
|
|
247
|
-
width: 1px;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.hyperbook-markdown table tr {
|
|
251
|
-
border-bottom-width: 3px;
|
|
252
|
-
display: block;
|
|
253
|
-
margin-bottom: 0.625em;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.hyperbook-markdown table td {
|
|
257
|
-
border-bottom-width: 1px;
|
|
258
|
-
border-bottom-style: solid;
|
|
259
|
-
display: block;
|
|
260
|
-
font-size: 0.8em;
|
|
261
|
-
text-align: right;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.hyperbook-markdown table td::before {
|
|
265
|
-
/*
|
|
266
|
-
* aria-label has no advantage, it won't be read inside a table
|
|
267
|
-
content: attr(aria-label);
|
|
268
|
-
*/
|
|
269
|
-
content: attr(data-label);
|
|
270
|
-
float: left;
|
|
271
|
-
font-weight: bold;
|
|
272
|
-
text-transform: uppercase;
|
|
273
|
-
margin-right: 8px;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.hyperbook-markdown table td:last-child {
|
|
277
|
-
border-bottom: 0;
|
|
278
|
-
}
|
|
279
221
|
}
|
|
280
222
|
|
|
281
223
|
.hyperbook-markdown h1,
|
|
@@ -363,10 +305,10 @@ figure {
|
|
|
363
305
|
list-style-type: none;
|
|
364
306
|
}
|
|
365
307
|
|
|
366
|
-
.hyperbook-markdown #toc-toggle
|
|
367
|
-
.hyperbook-markdown #toc-toggle
|
|
368
|
-
.hyperbook-markdown #toc-toggle
|
|
369
|
-
.hyperbook-markdown #toc-toggle
|
|
308
|
+
.hyperbook-markdown #toc-toggle > .bar1,
|
|
309
|
+
.hyperbook-markdown #toc-toggle > .bar2,
|
|
310
|
+
.hyperbook-markdown #toc-toggle > .bar3,
|
|
311
|
+
.hyperbook-markdown #toc-toggle > .bar4 {
|
|
370
312
|
background-color: var(--color-text);
|
|
371
313
|
}
|
|
372
314
|
|
|
@@ -385,7 +327,7 @@ figure {
|
|
|
385
327
|
margin-right: 16px;
|
|
386
328
|
mask-repeat: no-repeat;
|
|
387
329
|
cursor: pointer;
|
|
388
|
-
mask-image: url(
|
|
330
|
+
mask-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgY2xhc3M9ImZlYXRoZXIgZmVhdGhlci1zZWFyY2giIGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iOCIvPjxsaW5lIHgxPSIyMSIgeDI9IjE2LjY1IiB5MT0iMjEiIHkyPSIxNi42NSIvPjwvc3ZnPg==");
|
|
389
331
|
}
|
|
390
332
|
|
|
391
333
|
#search-drawer {
|
|
@@ -410,7 +352,7 @@ figure {
|
|
|
410
352
|
background-color: var(--color-text);
|
|
411
353
|
width: 24px;
|
|
412
354
|
height: 24px;
|
|
413
|
-
mask-image: url(
|
|
355
|
+
mask-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgY2xhc3M9ImZlYXRoZXIgZmVhdGhlci1zZWFyY2giIGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMTEiIGN5PSIxMSIgcj0iOCIvPjxsaW5lIHgxPSIyMSIgeDI9IjE2LjY1IiB5MT0iMjEiIHkyPSIxNi42NSIvPjwvc3ZnPg==");
|
|
414
356
|
mask-repeat: no-repeat;
|
|
415
357
|
}
|
|
416
358
|
|
|
@@ -428,7 +370,7 @@ figure {
|
|
|
428
370
|
height: 24px;
|
|
429
371
|
cursor: pointer;
|
|
430
372
|
mask-repeat: no-repeat;
|
|
431
|
-
mask-image: url(
|
|
373
|
+
mask-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgY2xhc3M9ImZlYXRoZXIgZmVhdGhlci1hcnJvdy1yaWdodCIgZmlsbD0ibm9uZSIgaGVpZ2h0PSIyNCIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48bGluZSB4MT0iNSIgeDI9IjE5IiB5MT0iMTIiIHkyPSIxMiIvPjxwb2x5bGluZSBwb2ludHM9IjEyIDUgMTkgMTIgMTIgMTkiLz48L3N2Zz4=");
|
|
432
374
|
}
|
|
433
375
|
|
|
434
376
|
#search-results {
|
|
@@ -489,16 +431,16 @@ figure {
|
|
|
489
431
|
height: 100%;
|
|
490
432
|
}
|
|
491
433
|
|
|
492
|
-
.toc-drawer-content>nav {
|
|
434
|
+
.toc-drawer-content > nav {
|
|
493
435
|
padding: 20px;
|
|
494
436
|
flex: 1;
|
|
495
437
|
}
|
|
496
438
|
|
|
497
|
-
.toc-drawer-content>nav li a {
|
|
439
|
+
.toc-drawer-content > nav li a {
|
|
498
440
|
display: block;
|
|
499
441
|
}
|
|
500
442
|
|
|
501
|
-
.toc-drawer-content>nav li a:hover {
|
|
443
|
+
.toc-drawer-content > nav li a:hover {
|
|
502
444
|
text-decoration: underline;
|
|
503
445
|
}
|
|
504
446
|
|
|
@@ -605,16 +547,16 @@ figure {
|
|
|
605
547
|
opacity: 1;
|
|
606
548
|
}
|
|
607
549
|
|
|
608
|
-
.hyperbook-markdown #toc-toggle
|
|
609
|
-
.hyperbook-markdown #toc-toggle
|
|
550
|
+
.hyperbook-markdown #toc-toggle > .bar1,
|
|
551
|
+
.hyperbook-markdown #toc-toggle > .bar3 {
|
|
610
552
|
width: 20px;
|
|
611
553
|
height: 2px;
|
|
612
554
|
margin: 2px 3px;
|
|
613
555
|
transition: 0.4s;
|
|
614
556
|
}
|
|
615
557
|
|
|
616
|
-
.hyperbook-markdown #toc-toggle
|
|
617
|
-
.hyperbook-markdown #toc-toggle
|
|
558
|
+
.hyperbook-markdown #toc-toggle > .bar2,
|
|
559
|
+
.hyperbook-markdown #toc-toggle > .bar4 {
|
|
618
560
|
width: 25px;
|
|
619
561
|
height: 2px;
|
|
620
562
|
margin: 2px 3px;
|
package/dist/index.js
CHANGED
|
@@ -65303,7 +65303,7 @@ var remarkDirectiveYoutube_default = (ctx) => () => {
|
|
|
65303
65303
|
tagName: "iframe",
|
|
65304
65304
|
properties: {
|
|
65305
65305
|
class: "player",
|
|
65306
|
-
src: "https://www.youtube.com/embed/" + id,
|
|
65306
|
+
src: "https://www.youtube-nocookie.com/embed/" + id,
|
|
65307
65307
|
frameBorder: "0",
|
|
65308
65308
|
title: typeof data.hChildren === "string" ? data.hChildren : "",
|
|
65309
65309
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen"
|