@diplodoc/client 3.1.11 → 3.2.0

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.
@@ -373,7 +373,8 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
373
373
  .yfm dl,
374
374
  .yfm table,
375
375
  .yfm pre {
376
- margin: 0 0 15px;
376
+ margin-block: 0 15px;
377
+ margin-block: var(--yfm-text-block-margin-block, 0 15px);
377
378
  }
378
379
  .yfm ul pre,
379
380
  .yfm ol pre,
@@ -533,11 +534,11 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
533
534
  .yfm :not(ol > li) > ol > li::marker {
534
535
  content: counter(list) ". ";
535
536
  }
536
- .yfm ol.yfm_no-list-reset {
537
+ .yfm.yfm_no-list-reset ol {
537
538
  counter-reset: none;
538
539
  counter-reset: initial;
539
540
  }
540
- .yfm ol.yfm_no-list-reset li::marker {
541
+ .yfm.yfm_no-list-reset ol li::marker {
541
542
  content: normal;
542
543
  content: initial;
543
544
  }
@@ -545,11 +546,18 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
545
546
  word-wrap: break-word;
546
547
  }
547
548
  .yfm li + li {
548
- margin-top: 0.33em;
549
+ margin-block: 0.33em 0;
550
+ margin-block: var(--yfm-list-item-margin-block, 0.33em 0);
549
551
  }
550
552
  .yfm li p,
551
553
  .yfm li blockquote {
552
- margin-top: 15px;
554
+ margin-block: 15px;
555
+ margin-block: var(--yfm-list-text-margin-block, 15px);
556
+ }
557
+ .yfm li > p:last-child,
558
+ .yfm li > blockquote:last-child {
559
+ margin-block: 15px;
560
+ margin-block: var(--yfm-list-text-last-margin-block, 15px);
553
561
  }
554
562
  .yfm code {
555
563
  padding: 0.1em 0.4em 0.15em;
@@ -809,7 +817,7 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
809
817
  }
810
818
  .yfm table td.cell-align-top-left,
811
819
  .yfm table td.cell-align-bottom-left {
812
- text-align: left;
820
+ text-align: start;
813
821
  }
814
822
  .yfm table td.cell-align-top-center,
815
823
  .yfm table td.cell-align-center {
@@ -817,7 +825,7 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
817
825
  }
818
826
  .yfm table td.cell-align-top-right,
819
827
  .yfm table td.cell-align-bottom-right {
820
- text-align: right;
828
+ text-align: end;
821
829
  }
822
830
  .yfm table td.cell-align-top-left,
823
831
  .yfm table td.cell-align-top-center,
@@ -868,10 +876,7 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
868
876
  content: "";
869
877
  position: absolute;
870
878
  z-index: -1;
871
- top: 0;
872
- right: 0;
873
- bottom: 0;
874
- left: 0;
879
+ inset: 0;
875
880
  border-radius: inherit;
876
881
  box-shadow: 0 0 0 1px var(--yfm-color-term-dfn-pseudo-shadow);
877
882
  }