@hyperbook/markdown 0.48.1 → 0.48.2
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.
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.directive-tiles .tile {
|
|
62
|
-
line-height: 1.
|
|
62
|
+
line-height: 1.2;
|
|
63
63
|
min-height: 6rem;
|
|
64
64
|
background: var(--color-nav);
|
|
65
65
|
transition: all 300ms;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
bottom: 0.5rem;
|
|
90
90
|
right: 0.5rem;
|
|
91
91
|
font-size: 2rem;
|
|
92
|
-
line-height:
|
|
92
|
+
line-height: 1.2;
|
|
93
93
|
text-align: center;
|
|
94
94
|
pointer-events: none;
|
|
95
95
|
}
|
package/dist/assets/shell.css
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
--internal-color-error: #d26466;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
body {
|
|
6
|
+
line-height: 1.5;
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
.main-grid * {
|
|
6
10
|
box-sizing: border-box;
|
|
7
|
-
line-height: 1.5rem;
|
|
8
11
|
}
|
|
9
12
|
|
|
10
13
|
.main-grid {
|
|
@@ -276,7 +279,7 @@ a.jump.previous::before {
|
|
|
276
279
|
|
|
277
280
|
.sidebar>nav,
|
|
278
281
|
.nav-drawer-content>nav {
|
|
279
|
-
padding:
|
|
282
|
+
padding: 1rem;
|
|
280
283
|
flex: 1;
|
|
281
284
|
}
|
|
282
285
|
|
|
@@ -284,7 +287,7 @@ a.jump.previous::before {
|
|
|
284
287
|
.nav-drawer-content>.author {
|
|
285
288
|
text-align: center;
|
|
286
289
|
text-decoration: none;
|
|
287
|
-
padding:
|
|
290
|
+
padding: 1rem;
|
|
288
291
|
}
|
|
289
292
|
|
|
290
293
|
.sidebar>.author,
|
|
@@ -294,7 +297,7 @@ a.jump.previous::before {
|
|
|
294
297
|
|
|
295
298
|
.mobile-nav {
|
|
296
299
|
display: none;
|
|
297
|
-
margin-left:
|
|
300
|
+
margin-left: 1rem;
|
|
298
301
|
}
|
|
299
302
|
|
|
300
303
|
.mobile-nav .toggle {
|
|
@@ -352,7 +355,7 @@ a.jump.previous::before {
|
|
|
352
355
|
}
|
|
353
356
|
|
|
354
357
|
main {
|
|
355
|
-
padding:
|
|
358
|
+
padding: 1rem;
|
|
356
359
|
overflow-y: auto;
|
|
357
360
|
}
|
|
358
361
|
|
|
@@ -400,7 +403,6 @@ article {
|
|
|
400
403
|
max-width: var(--main-width);
|
|
401
404
|
margin: 0 auto;
|
|
402
405
|
grid-area: article;
|
|
403
|
-
line-height: 1.5rem;
|
|
404
406
|
}
|
|
405
407
|
|
|
406
408
|
header {
|
|
@@ -416,13 +418,12 @@ header {
|
|
|
416
418
|
.branding {
|
|
417
419
|
text-decoration: none;
|
|
418
420
|
display: flex;
|
|
419
|
-
padding:
|
|
420
|
-
line-height: normal;
|
|
421
|
+
padding: 1rem;
|
|
421
422
|
align-items: center;
|
|
422
423
|
}
|
|
423
424
|
|
|
424
425
|
.custom-links-menu {
|
|
425
|
-
padding:
|
|
426
|
+
padding: 1rem;
|
|
426
427
|
flex: 1;
|
|
427
428
|
display: flex;
|
|
428
429
|
justify-content: flex-end;
|
|
@@ -432,7 +433,7 @@ header {
|
|
|
432
433
|
.custom-links-menu .links-menu {
|
|
433
434
|
align-items: center;
|
|
434
435
|
display: flex;
|
|
435
|
-
gap:
|
|
436
|
+
gap: 1rem;
|
|
436
437
|
font-size: 0.85rem;
|
|
437
438
|
}
|
|
438
439
|
|
|
@@ -462,19 +463,19 @@ header {
|
|
|
462
463
|
}
|
|
463
464
|
|
|
464
465
|
#custom-links-footer a .icon {
|
|
465
|
-
margin-right:
|
|
466
|
+
margin-right: 0.5rem;
|
|
466
467
|
}
|
|
467
468
|
|
|
468
469
|
#custom-links-footer>.links-item {
|
|
469
|
-
border-radius:
|
|
470
|
-
padding:
|
|
470
|
+
border-radius: 0.5rem;
|
|
471
|
+
padding: 0.5rem;
|
|
471
472
|
border: 1px solid var(--color-nav-border);
|
|
472
473
|
background: var(--color-nav);
|
|
473
474
|
flex: 1;
|
|
474
475
|
}
|
|
475
476
|
|
|
476
477
|
#custom-links-footer .links-sub-menu {
|
|
477
|
-
margin-left:
|
|
478
|
+
margin-left: 1.5rem;
|
|
478
479
|
}
|
|
479
480
|
|
|
480
481
|
@media (max-width: 960px) {
|
|
@@ -484,11 +485,11 @@ header {
|
|
|
484
485
|
|
|
485
486
|
#custom-links-footer {
|
|
486
487
|
display: flex;
|
|
487
|
-
margin-top:
|
|
488
|
-
padding-top:
|
|
488
|
+
margin-top: 1.5rem;
|
|
489
|
+
padding-top: 1.5rem;
|
|
489
490
|
border-top: 1px solid var(--color-nav-border);
|
|
490
491
|
flex-wrap: wrap;
|
|
491
|
-
gap:
|
|
492
|
+
gap: 0.5rem;
|
|
492
493
|
}
|
|
493
494
|
}
|
|
494
495
|
|
|
@@ -515,7 +516,7 @@ header {
|
|
|
515
516
|
.custom-links-menu .links-item.sub::after {
|
|
516
517
|
color: var(--color-brand-text);
|
|
517
518
|
content: "\25BC";
|
|
518
|
-
margin-right:
|
|
519
|
+
margin-right: 0.5rem;
|
|
519
520
|
}
|
|
520
521
|
|
|
521
522
|
.custom-links-menu .links-item:hover {
|
|
@@ -539,7 +540,7 @@ header {
|
|
|
539
540
|
display: flex;
|
|
540
541
|
width: max-content;
|
|
541
542
|
text-decoration: none;
|
|
542
|
-
padding:
|
|
543
|
+
padding: 0.5rem;
|
|
543
544
|
color: var(--color-brand-text);
|
|
544
545
|
cursor: pointer;
|
|
545
546
|
}
|
|
@@ -550,7 +551,7 @@ header {
|
|
|
550
551
|
}
|
|
551
552
|
|
|
552
553
|
.custom-links-menu a .icon {
|
|
553
|
-
margin-right:
|
|
554
|
+
margin-right: 0.5rem;
|
|
554
555
|
}
|
|
555
556
|
|
|
556
557
|
.custom-links-menu .links-sub-menu .links-item:hover .icon {
|
|
@@ -621,9 +622,9 @@ header {
|
|
|
621
622
|
margin: 0 auto;
|
|
622
623
|
align-items: center;
|
|
623
624
|
justify-content: center;
|
|
624
|
-
gap:
|
|
625
|
-
margin-top:
|
|
626
|
-
padding-top:
|
|
625
|
+
gap: 1rem;
|
|
626
|
+
margin-top: 1.5rem;
|
|
627
|
+
padding-top: 1.5rem;
|
|
627
628
|
max-width: var(--main-width);
|
|
628
629
|
}
|
|
629
630
|
|
|
@@ -668,7 +669,7 @@ nav li+li {
|
|
|
668
669
|
.section summary.name {
|
|
669
670
|
display: flex;
|
|
670
671
|
text-decoration: none;
|
|
671
|
-
padding:
|
|
672
|
+
padding: 0.65rem;
|
|
672
673
|
border-width: 1px;
|
|
673
674
|
border-style: solid;
|
|
674
675
|
width: 100%;
|
|
@@ -704,21 +705,21 @@ nav li+li {
|
|
|
704
705
|
color: var(--color-text);
|
|
705
706
|
font-weight: bold;
|
|
706
707
|
text-align: right;
|
|
707
|
-
margin-left:
|
|
708
|
+
margin-left: 0.25rem;
|
|
708
709
|
}
|
|
709
710
|
|
|
710
|
-
.section[open]
|
|
711
|
+
.section[open]>summary.name:after {
|
|
711
712
|
content: "\2212";
|
|
712
713
|
}
|
|
713
714
|
|
|
714
715
|
.section .section {
|
|
715
|
-
margin-left:
|
|
716
|
+
margin-left: 1rem;
|
|
716
717
|
margin-bottom: 0px;
|
|
717
718
|
}
|
|
718
719
|
|
|
719
720
|
.page {
|
|
720
721
|
display: block;
|
|
721
|
-
padding:
|
|
722
|
+
padding: 0.65rem;
|
|
722
723
|
text-decoration: none;
|
|
723
724
|
}
|
|
724
725
|
|
|
@@ -728,11 +729,11 @@ nav li+li {
|
|
|
728
729
|
}
|
|
729
730
|
|
|
730
731
|
.pages {
|
|
731
|
-
margin-top:
|
|
732
|
+
margin-top: 1.5rem;
|
|
732
733
|
}
|
|
733
734
|
|
|
734
735
|
.border {
|
|
735
|
-
border-radius:
|
|
736
|
+
border-radius: 0.25rem;
|
|
736
737
|
border-style: solid;
|
|
737
738
|
border-width: 1px;
|
|
738
739
|
}
|
|
@@ -751,7 +752,7 @@ nav li+li {
|
|
|
751
752
|
}
|
|
752
753
|
|
|
753
754
|
nav.toc li {
|
|
754
|
-
margin-bottom:
|
|
755
|
+
margin-bottom: 0.5rem;
|
|
755
756
|
}
|
|
756
757
|
|
|
757
758
|
nav.toc li>a {
|
|
@@ -768,24 +769,24 @@ nav.toc li.level-1 {
|
|
|
768
769
|
}
|
|
769
770
|
|
|
770
771
|
nav.toc li.level-2 {
|
|
771
|
-
padding-left:
|
|
772
|
+
padding-left: 0.5rem;
|
|
772
773
|
}
|
|
773
774
|
|
|
774
775
|
nav.toc li.level-3 {
|
|
775
|
-
padding-left:
|
|
776
|
+
padding-left: 1rem;
|
|
776
777
|
}
|
|
777
778
|
|
|
778
779
|
nav.toc li.level-3 {
|
|
779
|
-
padding-left:
|
|
780
|
+
padding-left: 1.5rem;
|
|
780
781
|
}
|
|
781
782
|
|
|
782
783
|
.reset-icon {
|
|
783
784
|
display: inline-block;
|
|
784
785
|
background-color: var(--color-brand);
|
|
785
|
-
width:
|
|
786
|
-
height:
|
|
786
|
+
width: 1.5rem;
|
|
787
|
+
height: 1.5rem;
|
|
787
788
|
cursor: pointer;
|
|
788
|
-
margin-right:
|
|
789
|
+
margin-right: 1rem;
|
|
789
790
|
mask-repeat: no-repeat;
|
|
790
791
|
cursor: pointer;
|
|
791
792
|
mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWNvb2tpbmctcG90Ij48cGF0aCBkPSJNMiAxMmgyMCIvPjxwYXRoIGQ9Ik0yMCAxMnY4YTIgMiAwIDAgMS0yIDJINmEyIDIgMCAwIDEtMi0ydi04Ii8+PHBhdGggZD0ibTQgOCAxNi00Ii8+PHBhdGggZD0ibTguODYgNi43OC0uNDUtMS44MWEyIDIgMCAwIDEgMS40NS0yLjQzbDEuOTQtLjQ4YTIgMiAwIDAgMSAyLjQzIDEuNDZsLjQ1IDEuOCIvPjwvc3ZnPg==");
|
|
@@ -794,10 +795,10 @@ nav.toc li.level-3 {
|
|
|
794
795
|
.export-icon {
|
|
795
796
|
display: inline-block;
|
|
796
797
|
background-color: var(--color-brand);
|
|
797
|
-
width:
|
|
798
|
-
height:
|
|
798
|
+
width: 1.5rem;
|
|
799
|
+
height: 1.5rem;
|
|
799
800
|
cursor: pointer;
|
|
800
|
-
margin-right:
|
|
801
|
+
margin-right: 1rem;
|
|
801
802
|
mask-repeat: no-repeat;
|
|
802
803
|
cursor: pointer;
|
|
803
804
|
mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWRvd25sb2FkIj48cGF0aCBkPSJNMjEgMTV2NGEyIDIgMCAwIDEtMiAySDVhMiAyIDAgMCAxLTItMnYtNCIvPjxwb2x5bGluZSBwb2ludHM9IjcgMTAgMTIgMTUgMTcgMTAiLz48bGluZSB4MT0iMTIiIHgyPSIxMiIgeTE9IjE1IiB5Mj0iMyIvPjwvc3ZnPg==");
|
|
@@ -806,10 +807,10 @@ nav.toc li.level-3 {
|
|
|
806
807
|
.import-icon {
|
|
807
808
|
display: inline-block;
|
|
808
809
|
background-color: var(--color-brand);
|
|
809
|
-
width:
|
|
810
|
-
height:
|
|
810
|
+
width: 1.5rem;
|
|
811
|
+
height: 1.5rem;
|
|
811
812
|
cursor: pointer;
|
|
812
|
-
margin-right:
|
|
813
|
+
margin-right: 1rem;
|
|
813
814
|
mask-repeat: no-repeat;
|
|
814
815
|
cursor: pointer;
|
|
815
816
|
mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXVwbG9hZCI+PHBhdGggZD0iTTIxIDE1djRhMiAyIDAgMCAxLTIgMkg1YTIgMiAwIDAgMS0yLTJ2LTQiLz48cG9seWxpbmUgcG9pbnRzPSIxNyA4IDEyIDMgNyA4Ii8+PGxpbmUgeDE9IjEyIiB4Mj0iMTIiIHkxPSIzIiB5Mj0iMTUiLz48L3N2Zz4=");
|
|
@@ -887,9 +888,7 @@ nav.toc li.level-3 {
|
|
|
887
888
|
grid-template-areas:
|
|
888
889
|
"header"
|
|
889
890
|
"article";
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
--main-width: 100%;
|
|
891
|
+
--main-width: 1800px;
|
|
893
892
|
}
|
|
894
893
|
|
|
895
894
|
.main-grid.layout-wide .sidebar {
|
|
@@ -902,18 +901,13 @@ nav.toc li.level-3 {
|
|
|
902
901
|
justify-content: center;
|
|
903
902
|
}
|
|
904
903
|
|
|
905
|
-
.main-grid.layout-wide main {
|
|
906
|
-
padding: 20px 40px;
|
|
907
|
-
max-width: 100%;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
904
|
/* Standalone layout: content only, no navigation or header (for iframe embedding) */
|
|
911
905
|
.main-grid.layout-standalone {
|
|
912
906
|
grid-template-columns: 1fr;
|
|
913
907
|
grid-template-rows: 1fr;
|
|
914
908
|
grid-template-areas: "article";
|
|
915
909
|
|
|
916
|
-
--main-width:
|
|
910
|
+
--main-width: 1800px;
|
|
917
911
|
|
|
918
912
|
#toc-toggle {
|
|
919
913
|
top: inherit;
|
|
@@ -929,11 +923,6 @@ nav.toc li.level-3 {
|
|
|
929
923
|
display: none;
|
|
930
924
|
}
|
|
931
925
|
|
|
932
|
-
.main-grid.layout-standalone main {
|
|
933
|
-
padding: 20px 40px;
|
|
934
|
-
max-width: 100%;
|
|
935
|
-
}
|
|
936
|
-
|
|
937
926
|
.main-grid.layout-standalone .jump-container,
|
|
938
927
|
.main-grid.layout-standalone .meta,
|
|
939
928
|
.main-grid.layout-standalone #custom-links-footer {
|