@diplodoc/client 3.4.3 → 3.4.4
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/CHANGELOG.md +7 -0
- package/build/client/app.css +1 -1
- package/build/client/app.css.map +1 -1
- package/build/client/app.rtl.css +1 -1
- package/build/client/vendor.css +96 -20
- package/build/client/vendor.css.map +1 -1
- package/build/client/vendor.js +1 -1
- package/build/client/vendor.js.map +1 -1
- package/build/client/vendor.rtl.css +96 -20
- package/build/server/vendor.js +235 -65
- package/build/server/vendor.js.map +1 -1
- package/package.json +2 -2
package/build/client/vendor.css
CHANGED
|
@@ -229,8 +229,20 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
|
|
|
229
229
|
.yfm ol > li > ol > li > ol > li > ol > li > ol > li > ol > li::marker {
|
|
230
230
|
content: counter(hier-list-item) "." counter(sub-hier-list-item) "." counter(sub-sub-hier-list-item) "." counter(sub-sub-sub-hier-list-item) "." counter(sub-sub-sub-sub-hier-list-item) "." counter(sub-sub-sub-sub-sub-hier-list-item) ". ";
|
|
231
231
|
}
|
|
232
|
-
.yfm.yfm_no-list-reset ol
|
|
233
|
-
.yfm ol.yfm_no-list-reset
|
|
232
|
+
.yfm.yfm_no-list-reset ol,
|
|
233
|
+
.yfm ol.yfm_no-list-reset,
|
|
234
|
+
.yfm .yfm_no-list-reset ol {
|
|
235
|
+
counter-reset: list-item;
|
|
236
|
+
}
|
|
237
|
+
.yfm.yfm_no-list-reset ol li,
|
|
238
|
+
.yfm ol.yfm_no-list-reset li,
|
|
239
|
+
.yfm .yfm_no-list-reset ol li {
|
|
240
|
+
counter-increment: none;
|
|
241
|
+
counter-increment: initial;
|
|
242
|
+
}
|
|
243
|
+
.yfm.yfm_no-list-reset ol li::marker,
|
|
244
|
+
.yfm ol.yfm_no-list-reset li::marker,
|
|
245
|
+
.yfm .yfm_no-list-reset ol li::marker {
|
|
234
246
|
content: normal;
|
|
235
247
|
content: initial;
|
|
236
248
|
}
|
|
@@ -590,16 +602,17 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
|
|
|
590
602
|
.yfm ol {
|
|
591
603
|
padding-left: 2.2em;
|
|
592
604
|
}
|
|
593
|
-
.yfm ul ul,
|
|
594
|
-
.yfm ul ol,
|
|
595
|
-
.yfm ol ol,
|
|
596
|
-
.yfm ol ul {
|
|
605
|
+
.yfm ul ul:last-child,
|
|
606
|
+
.yfm ul ol:last-child,
|
|
607
|
+
.yfm ol ol:last-child,
|
|
608
|
+
.yfm ol ul:last-child {
|
|
597
609
|
margin-top: 0;
|
|
598
610
|
margin-bottom: 0;
|
|
599
611
|
}
|
|
600
612
|
.yfm li {
|
|
601
613
|
word-wrap: break-word;
|
|
602
614
|
}
|
|
615
|
+
.yfm li:first-child,
|
|
603
616
|
.yfm li + li {
|
|
604
617
|
margin-block: 0.33em 0;
|
|
605
618
|
margin-block: var(--yfm-list-item-margin-block, 0.33em 0);
|
|
@@ -609,17 +622,16 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
|
|
|
609
622
|
margin-block: 0 15px;
|
|
610
623
|
margin-block: var(--yfm-list-text-margin-block, 0 15px);
|
|
611
624
|
}
|
|
612
|
-
.yfm li > p:only-
|
|
613
|
-
.yfm li > blockquote:only-
|
|
625
|
+
.yfm li > p:only-of-type,
|
|
626
|
+
.yfm li > blockquote:only-of-type,
|
|
627
|
+
.yfm li > p:first-child:has(+ ul),
|
|
628
|
+
.yfm li > p:first-child:has(+ ol) {
|
|
614
629
|
margin-block: 0;
|
|
615
630
|
margin-block: var(--yfm-list-text-only-margin-block, 0);
|
|
616
631
|
}
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
margin-block: 0 15px;
|
|
621
|
-
margin-block: var(--yfm-list-text-margin-block, 0 15px);
|
|
622
|
-
}
|
|
632
|
+
.yfm li > p:last-child {
|
|
633
|
+
margin-block: 0;
|
|
634
|
+
margin-block: var(--yfm-list-text-last-margin-block, 0);
|
|
623
635
|
}
|
|
624
636
|
.yfm code {
|
|
625
637
|
padding: 0.1em 0.4em 0.15em;
|
|
@@ -635,6 +647,9 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
|
|
|
635
647
|
-o-tab-size: var(--yfm-tab-size-code, inherit);
|
|
636
648
|
tab-size: var(--yfm-tab-size-code, inherit);
|
|
637
649
|
}
|
|
650
|
+
.yfm a code {
|
|
651
|
+
color: inherit;
|
|
652
|
+
}
|
|
638
653
|
.yfm pre {
|
|
639
654
|
word-wrap: normal;
|
|
640
655
|
}
|
|
@@ -659,6 +674,15 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
|
|
|
659
674
|
color: var(--yfm-color-text);
|
|
660
675
|
white-space: pre;
|
|
661
676
|
}
|
|
677
|
+
.yfm pre > code .yfm-line-number {
|
|
678
|
+
display: inline-block;
|
|
679
|
+
padding-right: 1em;
|
|
680
|
+
color: #666;
|
|
681
|
+
color: var(--yfm-color-line-numbers, #666);
|
|
682
|
+
-webkit-user-select: none;
|
|
683
|
+
-moz-user-select: none;
|
|
684
|
+
user-select: none;
|
|
685
|
+
}
|
|
662
686
|
.yfm sup,
|
|
663
687
|
.yfm sub {
|
|
664
688
|
line-height: 0;
|
|
@@ -678,12 +702,39 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
|
|
|
678
702
|
-moz-user-select: none;
|
|
679
703
|
user-select: none;
|
|
680
704
|
}
|
|
705
|
+
.yfm h1 .yfm-clipboard-anchor,
|
|
706
|
+
.yfm h2 .yfm-clipboard-anchor,
|
|
707
|
+
.yfm h3 .yfm-clipboard-anchor,
|
|
708
|
+
.yfm h4 .yfm-clipboard-anchor,
|
|
709
|
+
.yfm h5 .yfm-clipboard-anchor,
|
|
710
|
+
.yfm h6 .yfm-clipboard-anchor {
|
|
711
|
+
background: none;
|
|
712
|
+
color: var(--yfm-color-link);
|
|
713
|
+
border: none;
|
|
714
|
+
padding: 0;
|
|
715
|
+
font: inherit;
|
|
716
|
+
cursor: pointer;
|
|
717
|
+
}
|
|
718
|
+
.yfm h1 .yfm-clipboard-anchor:hover,
|
|
719
|
+
.yfm h2 .yfm-clipboard-anchor:hover,
|
|
720
|
+
.yfm h3 .yfm-clipboard-anchor:hover,
|
|
721
|
+
.yfm h4 .yfm-clipboard-anchor:hover,
|
|
722
|
+
.yfm h5 .yfm-clipboard-anchor:hover,
|
|
723
|
+
.yfm h6 .yfm-clipboard-anchor:hover {
|
|
724
|
+
color: var(--yfm-color-link-hover);
|
|
725
|
+
}
|
|
681
726
|
.yfm h1 .yfm-anchor,
|
|
727
|
+
.yfm h1 .yfm-clipboard-anchor,
|
|
682
728
|
.yfm h2 .yfm-anchor,
|
|
729
|
+
.yfm h2 .yfm-clipboard-anchor,
|
|
683
730
|
.yfm h3 .yfm-anchor,
|
|
731
|
+
.yfm h3 .yfm-clipboard-anchor,
|
|
684
732
|
.yfm h4 .yfm-anchor,
|
|
733
|
+
.yfm h4 .yfm-clipboard-anchor,
|
|
685
734
|
.yfm h5 .yfm-anchor,
|
|
686
|
-
.yfm
|
|
735
|
+
.yfm h5 .yfm-clipboard-anchor,
|
|
736
|
+
.yfm h6 .yfm-anchor,
|
|
737
|
+
.yfm h6 .yfm-clipboard-anchor {
|
|
687
738
|
display: inline-block;
|
|
688
739
|
width: 24px;
|
|
689
740
|
padding-right: 4px;
|
|
@@ -693,41 +744,66 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
|
|
|
693
744
|
font-size: 18px;
|
|
694
745
|
}
|
|
695
746
|
.yfm h1 .yfm-anchor:focus::before,
|
|
747
|
+
.yfm h1 .yfm-clipboard-anchor:focus::before,
|
|
696
748
|
.yfm h2 .yfm-anchor:focus::before,
|
|
749
|
+
.yfm h2 .yfm-clipboard-anchor:focus::before,
|
|
697
750
|
.yfm h3 .yfm-anchor:focus::before,
|
|
751
|
+
.yfm h3 .yfm-clipboard-anchor:focus::before,
|
|
698
752
|
.yfm h4 .yfm-anchor:focus::before,
|
|
753
|
+
.yfm h4 .yfm-clipboard-anchor:focus::before,
|
|
699
754
|
.yfm h5 .yfm-anchor:focus::before,
|
|
700
|
-
.yfm
|
|
755
|
+
.yfm h5 .yfm-clipboard-anchor:focus::before,
|
|
756
|
+
.yfm h6 .yfm-anchor:focus::before,
|
|
757
|
+
.yfm h6 .yfm-clipboard-anchor:focus::before {
|
|
701
758
|
opacity: 1;
|
|
702
759
|
}
|
|
703
760
|
.yfm h1 .yfm-anchor::before,
|
|
761
|
+
.yfm h1 .yfm-clipboard-anchor::before,
|
|
704
762
|
.yfm h2 .yfm-anchor::before,
|
|
763
|
+
.yfm h2 .yfm-clipboard-anchor::before,
|
|
705
764
|
.yfm h3 .yfm-anchor::before,
|
|
765
|
+
.yfm h3 .yfm-clipboard-anchor::before,
|
|
706
766
|
.yfm h4 .yfm-anchor::before,
|
|
767
|
+
.yfm h4 .yfm-clipboard-anchor::before,
|
|
707
768
|
.yfm h5 .yfm-anchor::before,
|
|
708
|
-
.yfm
|
|
769
|
+
.yfm h5 .yfm-clipboard-anchor::before,
|
|
770
|
+
.yfm h6 .yfm-anchor::before,
|
|
771
|
+
.yfm h6 .yfm-clipboard-anchor::before {
|
|
709
772
|
content: "#";
|
|
710
773
|
opacity: 0;
|
|
711
774
|
}
|
|
712
775
|
.yfm h1:hover .yfm-anchor::before,
|
|
776
|
+
.yfm h1:hover .yfm-clipboard-anchor::before,
|
|
713
777
|
.yfm h2:hover .yfm-anchor::before,
|
|
778
|
+
.yfm h2:hover .yfm-clipboard-anchor::before,
|
|
714
779
|
.yfm h3:hover .yfm-anchor::before,
|
|
780
|
+
.yfm h3:hover .yfm-clipboard-anchor::before,
|
|
715
781
|
.yfm h4:hover .yfm-anchor::before,
|
|
782
|
+
.yfm h4:hover .yfm-clipboard-anchor::before,
|
|
716
783
|
.yfm h5:hover .yfm-anchor::before,
|
|
717
|
-
.yfm
|
|
784
|
+
.yfm h5:hover .yfm-clipboard-anchor::before,
|
|
785
|
+
.yfm h6:hover .yfm-anchor::before,
|
|
786
|
+
.yfm h6:hover .yfm-clipboard-anchor::before {
|
|
718
787
|
opacity: 1;
|
|
719
788
|
}
|
|
720
789
|
.yfm table h1 .yfm-anchor,
|
|
790
|
+
.yfm table h1 .yfm-clipboard-anchor,
|
|
721
791
|
.yfm table h2 .yfm-anchor,
|
|
792
|
+
.yfm table h2 .yfm-clipboard-anchor,
|
|
722
793
|
.yfm table h3 .yfm-anchor,
|
|
794
|
+
.yfm table h3 .yfm-clipboard-anchor,
|
|
723
795
|
.yfm table h4 .yfm-anchor,
|
|
796
|
+
.yfm table h4 .yfm-clipboard-anchor,
|
|
724
797
|
.yfm table h5 .yfm-anchor,
|
|
725
|
-
.yfm table
|
|
798
|
+
.yfm table h5 .yfm-clipboard-anchor,
|
|
799
|
+
.yfm table h6 .yfm-anchor,
|
|
800
|
+
.yfm table h6 .yfm-clipboard-anchor {
|
|
726
801
|
width: 1em;
|
|
727
802
|
margin-left: -1em;
|
|
728
803
|
padding-right: 0;
|
|
729
804
|
}
|
|
730
|
-
.yfm .yfm-tabs .yfm-anchor::before
|
|
805
|
+
.yfm .yfm-tabs .yfm-anchor::before,
|
|
806
|
+
.yfm .yfm-tabs .yfm-clipboard-anchor::before {
|
|
731
807
|
position: absolute;
|
|
732
808
|
padding-right: 2px;
|
|
733
809
|
}
|