@diplodoc/client 3.8.2 → 3.8.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.
@@ -14,7 +14,7 @@
14
14
  .dc-toc-label_offset{margin-left:10px}[dir=rtl] .dc-toc-label_offset{margin-right:10px}
15
15
  .g-label{--_--bg-color: none;--_--bg-color-hover: none;--_--text-color: none;display:inline-flex;align-items:center;position:relative;height:var(--_--height);border-radius:var(--_--border-radius);color:var(--_--text-color);background-color:var(--_--bg-color);transition-property:opacity,color,background-color;transition-duration:.15s;transition-timing-function:ease-in-out;box-sizing:border-box;isolation:isolate}.g-label__text{font-family:var(--g-text-body-font-family);font-weight:var(--g-text-body-font-weight);font-size:var(--g-text-body-1-font-size);line-height:var(--g-text-body-1-line-height);display:flex;align-items:baseline;margin:0 var(--_--margin-inline);width:100%;line-height:var(--_--height);text-align:center;white-space:nowrap;overflow:hidden}.g-label__content,.g-label__key{text-overflow:ellipsis;overflow:hidden}.g-label__value{display:flex;opacity:.7;overflow:hidden}.g-label__separator{margin:0 4px}.g-label__main-button{padding:0;font-family:var(--g-text-body-font-family);font-size:inherit;font-weight:var(--g-text-body-font-weight);color:inherit;background:none;border:none;outline:none;cursor:pointer;border-radius:inherit;z-index:1}.g-label__main-button:empty{position:absolute;inset:0}.g-label__addon{display:flex;align-items:center;justify-content:center;width:var(--_--height);height:var(--_--height);border-radius:var(--_--border-radius)}.g-label__addon_side_start,.g-label__addon_side_end{position:absolute;inset-block-start:0}.g-label__addon_side_start{inset-inline-start:2px;border-start-end-radius:0;border-end-end-radius:0}.g-label__addon_side_end{inset-inline-end:0;border-start-start-radius:0;border-end-start-radius:0}.g-label__addon_type_button{padding:0;font-family:var(--g-text-body-font-family);font-size:inherit;font-weight:var(--g-text-body-font-weight);color:inherit;background:none;border:none;outline:none;cursor:pointer;z-index:2;cursor:pointer;color:var(--_--text-color);background-color:transparent;transition:color .15s ease-in-out,background-color .15s ease-in-out,transform .1s ease-out}.g-label__addon_type_button:active{transform:scale(0.96)}.g-label_size_xs{--_--height: 20px;--_--border-radius: var(--g-border-radius-xs);--_--margin-inline: 8px;--_--margin-addon-start: 24px;--_--margin-addon-end: 22px}.g-label_size_s{--_--height: 24px;--_--border-radius: var(--g-border-radius-s);--_--margin-inline: 10px;--_--margin-addon-start: 28px;--_--margin-addon-end: 26px}.g-label_size_m{--_--height: 28px;--_--border-radius: var(--g-border-radius-m);--_--margin-inline: 12px;--_--margin-addon-start: 32px;--_--margin-addon-end: 32px}.g-label_disabled{opacity:.7;pointer-events:none}.g-label_interactive{cursor:pointer}.g-label_theme_normal{--_--bg-color: var(--g-color-base-misc-light);--_--bg-color-hover: var(--g-color-base-misc-light-hover);--_--text-color: var(--g-color-text-misc-heavy)}.g-label_theme_success{--_--bg-color: var(--g-color-base-positive-light);--_--bg-color-hover: var(--g-color-base-positive-light-hover);--_--text-color: var(--g-color-text-positive-heavy)}.g-label_theme_info{--_--bg-color: var(--g-color-base-info-light);--_--bg-color-hover: var(--g-color-base-info-light-hover);--_--text-color: var(--g-color-text-info-heavy)}.g-label_theme_warning{--_--bg-color: var(--g-color-base-warning-light);--_--bg-color-hover: var(--g-color-base-warning-light-hover);--_--text-color: var(--g-color-text-warning-heavy)}.g-label_theme_danger{--_--bg-color: var(--g-color-base-danger-light);--_--bg-color-hover: var(--g-color-base-danger-light-hover);--_--text-color: var(--g-color-text-danger-heavy)}.g-label_theme_utility{--_--bg-color: var(--g-color-base-utility-light);--_--bg-color-hover: var(--g-color-base-utility-light-hover);--_--text-color: var(--g-color-text-utility-heavy)}.g-label_theme_unknown{--_--bg-color: var(--g-color-base-neutral-light);--_--bg-color-hover: var(--g-color-base-neutral-light-hover);--_--text-color: var(--g-color-text-complementary)}.g-label_theme_clear{--_--bg-color: transparent;--_--bg-color-hover: var(--g-color-base-simple-hover);--_--text-color: var(--g-color-text-complementary);box-shadow:inset 0 0 0 1px var(--g-color-line-generic)}.g-label:has(.g-label__addon_side_start) .g-label__text{margin-inline-start:var(--_--margin-addon-start)}.g-label:has(.g-label__addon_side_end) .g-label__text{margin-inline-end:var(--_--margin-addon-end)}.g-label_interactive:hover:not(:has(.g-label__addon_type_button:hover)),.g-label__addon_type_button:hover{background-color:var(--_--bg-color-hover)}.g-label__main-button:focus-visible,.g-label__addon_type_button:focus-visible{outline:2px solid var(--g-color-line-focus)}
16
16
  .g-popover{display:inline-block;position:relative}.g-popover:not(.g-popover_disabled){cursor:pointer}.g-popover__handler{display:inline-block}.g-popover__tooltip{--_--padding: 16px;--_--close-offset: 8px;--_--close-size: 24px}.g-popover__tooltip-popup-content{box-sizing:border-box;min-height:40px;max-width:var(--g-popover-max-width, 300px);padding:var(--g-popover-padding, var(--_--padding));cursor:default}.g-popover__tooltip-title{font-family:var(--g-text-subheader-font-family);font-weight:var(--g-text-subheader-font-weight);font-size:var(--g-text-subheader-3-font-size);line-height:var(--g-text-subheader-3-line-height);display:inline-flex;margin:0 0 12px}.g-popover__tooltip-buttons{display:flex;flex-wrap:wrap;gap:5px;margin-block-start:20px}.g-popover__tooltip-button{flex:1}.g-popover__tooltip-close{position:absolute;inset-block-start:var(--_--close-offset);inset-inline-end:var(--_--close-offset)}.g-popover__tooltip-content{font-family:var(--g-text-body-font-family);font-weight:var(--g-text-body-font-weight);font-size:var(--g-text-body-1-font-size);line-height:var(--g-text-body-1-line-height);overflow-wrap:break-word}.g-popover__tooltip-content_secondary{opacity:.7}.g-popover__tooltip-links>*{margin-block-start:8px}.g-popover__tooltip-links>*:first-child{margin-block-start:0}.g-popover__tooltip-content+.g-popover__tooltip-links>*:first-child{margin-block-start:12px}.g-popover__tooltip-link{font-family:var(--g-text-body-font-family);font-weight:var(--g-text-body-font-weight);font-size:var(--g-text-body-1-font-size);line-height:var(--g-text-body-1-line-height);display:inline-block}.g-popover__tooltip_theme_info.g-popover__tooltip_theme_info,.g-popover__tooltip_theme_info .g-popover__tooltip_theme_announcement,.g-popover__tooltip_theme_announcement.g-popover__tooltip_theme_info,.g-popover__tooltip_theme_announcement .g-popover__tooltip_theme_announcement{color:var(--g-color-text-primary)}.g-popover__tooltip_force-links-appearance.g-popover__tooltip_theme_info .g-popover__tooltip-content a:not(.g-button),.g-popover__tooltip_theme_announcement .g-popover__tooltip-content a:not(.g-button){text-decoration:none;color:var(--g-color-text-link)}.g-popover__tooltip_force-links-appearance.g-popover__tooltip_theme_info .g-popover__tooltip-content a:not(.g-button):hover,.g-popover__tooltip_theme_announcement .g-popover__tooltip-content a:not(.g-button):hover{color:var(--g-color-text-link-hover)}.g-popover__tooltip_theme_announcement{--g-popup-background-color: var(--g-color-base-simple-hover-solid);--g-popup-border-color: var(--g-color-base-simple-hover-solid)}.g-popover__tooltip_theme_special{--g-popup-background-color: var(--g-color-base-brand);--g-popup-border-color: var(--g-color-base-brand);color:var(--g-color-text-light-primary)}.g-popover__tooltip_theme_special .g-popover__tooltip-content a:not(.g-button){font-weight:var(--g-text-accent-font-weight);color:var(--g-color-text-light-primary)}.g-popover__tooltip_theme_special .g-popover__tooltip-content a:not(.g-button):hover{color:var(--g-color-text-light-secondary)}.g-popover__tooltip_theme_special .g-link{color:var(--g-color-text-light-primary)}.g-popover__tooltip_theme_special .g-link:hover{color:var(--g-color-text-light-secondary)}.g-popover__tooltip_size_l{--_--padding: 24px}.g-popover__tooltip_size_l .g-popover__tooltip-title{font-family:var(--g-text-header-font-family);font-weight:var(--g-text-header-font-weight);font-size:var(--g-text-header-1-font-size);line-height:var(--g-text-header-1-line-height)}.g-popover__tooltip_size_l .g-popover__tooltip-content{font-family:var(--g-text-body-font-family);font-weight:var(--g-text-body-font-weight);font-size:var(--g-text-body-2-font-size);line-height:var(--g-text-body-2-line-height)}.g-popover__tooltip_with-close .g-popover__tooltip-title,.g-popover__tooltip_with-close .g-popover__tooltip-content{padding-inline-end:calc(var(--_--close-offset) + var(--_--close-size) - var(--_--padding))}
17
- .dc-toc{display:flex;flex-direction:column;height:calc(100vh - 0px);height:calc(100vh - var(--dc-header-height, 0px));overflow:hidden;border-right:1px solid var(--g-color-line-generic)}@media(max-width: 768px){.dc-toc{padding:12px 16px 0px;border-right:none;overflow-y:auto}}.dc-toc__empty{padding:5px 15px 5px 24px}.dc-toc__top{flex-grow:0;flex-shrink:0;display:flex;align-items:flex-start;padding:10px 10px 8px 0;margin-bottom:12px}@media(max-width: 768px){.dc-toc__top{padding:10px 12px 10px 28px;margin-bottom:0}}.dc-toc__top_scrolled{border-bottom:1px solid var(--g-color-line-generic)}.dc-toc__top-header-icon{display:flex;margin-right:5px;flex-shrink:0}[dir=rtl] .dc-toc__top-header-icon{margin-left:5px}.dc-toc__top-header{flex-grow:0;position:relative;font-weight:500;font-size:var(--g-text-body-3-font-size);line-height:var(--g-text-body-3-line-height)}.dc-toc__top-header_link{color:inherit;-webkit-text-decoration:none;text-decoration:none;display:flex;align-items:center;border-radius:var(--g-focus-border-radius);color:var(--g-color-text-link);-webkit-text-decoration:none;text-decoration:none;cursor:pointer;border-radius:var(--g-focus-border-radius);outline:none}.utilityfocus .dc-toc__top-header_link:focus{outline:2px solid #ffdb4d}.dc-toc__top-header_link:focus{box-shadow:0 0 0 2px var(--g-color-line-focus);outline:0}.dc-toc__top-header_link:focus:not(:focus-visible){box-shadow:none}.dc-toc__top-header_link:hover,.dc-toc__top-header_link:active{color:var(--g-color-text-link-hover)}.dc-toc__top-header_link:hover{color:var(--g-color-text-primary)}.dc-toc__top-header_link:focus{outline:2px solid var(--g-color-line-focus);outline-offset:0}.dc-toc__top-header_link:focus:not(:focus-visible){outline:0}.dc-toc__bottom{flex-grow:0;flex-shrink:0;display:flex;align-items:center;padding:4px 10px 20px 0}.dc-toc__bottom_scrolled{border-top:1px solid var(--g-color-line-generic)}@media(max-width: 768px){.dc-toc__bottom_scrolled{border-top:0}}.dc-toc__content{--g-scrollbar-width: 6px;position:relative;flex-grow:1;overflow-y:auto;scrollbar-width:thin}@media(max-width: 768px){.dc-toc__content{overflow-y:visible;overflow-y:initial}}@media(min-width: 769px){.dc-toc__content_offset_top{padding-top:12px}}.dc-toc__list{margin:0;padding:0;list-style:none;display:block}.dc-toc__list-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dc-toc__list-item_labeled{margin-top:16px}.dc-toc__list-item_main>*:first-child{color:var(--g-color-text-primary)}.dc-toc__list-item:not(.dc-toc__list-item_opened)>.dc-toc__list{display:none}.dc-toc__list-item:not(.dc-toc__list-item_labeled)>.dc-toc__list{padding-left:20px}[dir=rtl] .dc-toc__list-item:not(.dc-toc__list-item_labeled)>.dc-toc__list{padding-right:20px}.dc-toc__content>.dc-toc__list{padding-right:21px;padding-bottom:30px}@media(max-width: 768px){.dc-toc__content>.dc-toc__list{padding-right:0}}
17
+ .dc-toc{display:flex;flex-direction:column;height:calc(100vh - 0px);height:calc(100vh - var(--dc-header-height, 0px));overflow:hidden;border-right:1px solid var(--g-color-line-generic)}@media(max-width: 768px){.dc-toc{padding:12px 16px 0px;border-right:none;overflow-y:auto}}.dc-toc__empty{padding:5px 15px 5px 24px}.dc-toc__top{flex-grow:0;flex-shrink:0;display:flex;align-items:flex-start;padding:10px 10px 8px 0;margin-bottom:12px}@media(max-width: 768px){.dc-toc__top{padding:10px 12px 10px 28px;margin-bottom:0}}.dc-toc__top_scrolled{border-bottom:1px solid var(--g-color-line-generic)}.dc-toc__top_with-extra-header{flex-direction:column;margin-bottom:var(--g-spacing-1)}.dc-toc__top_with-extra-header .dc-toc__top-main{display:flex;align-items:flex-start;width:100%;box-sizing:border-box;padding:var(--g-spacing-2) var(--g-spacing-3);gap:var(--g-spacing-2)}.dc-toc__top_with-extra-header .dc-toc__top-main-link{display:flex;align-items:flex-start;width:100%;box-sizing:border-box;padding:var(--g-spacing-2) var(--g-spacing-3);gap:var(--g-spacing-2);cursor:pointer;color:inherit;-webkit-text-decoration:none;text-decoration:none;border-radius:3px}.dc-toc__top_with-extra-header .dc-toc__top-main-link:hover{background:var(--g-color-base-simple-hover)}.dc-toc__top_with-extra-header .dc-toc__top-main-link_active{background:var(--g-color-base-selection)}.dc-toc__top_with-extra-header .dc-toc__top-header-icon,.dc-toc__top_with-extra-header .dc-toc-label_offset{margin:0;flex-shrink:0}.dc-toc__top_with-extra-header .dc-toc__top-header{display:inline-flex;flex-grow:1;font-size:var(--g-text-body-1-font-size);font-weight:var(--g-text-body-font-weight);line-height:var(--g-text-body-1-line-height)}.dc-toc__top_with-extra-header .dc-toc__content>.dc-toc__list{padding-left:var(--g-spacing-4)}.dc-toc__top-header-icon{display:flex;margin-right:5px;flex-shrink:0}[dir=rtl] .dc-toc__top-header-icon{margin-left:5px}.dc-toc__top-header{flex-grow:0;position:relative;font-weight:500;font-size:var(--g-text-body-3-font-size);line-height:var(--g-text-body-3-line-height)}.dc-toc__top-header_link{color:inherit;-webkit-text-decoration:none;text-decoration:none;display:flex;align-items:center;border-radius:var(--g-focus-border-radius);color:var(--g-color-text-link);-webkit-text-decoration:none;text-decoration:none;cursor:pointer;border-radius:var(--g-focus-border-radius);outline:none}.utilityfocus .dc-toc__top-header_link:focus{outline:2px solid #ffdb4d}.dc-toc__top-header_link:focus{box-shadow:0 0 0 2px var(--g-color-line-focus);outline:0}.dc-toc__top-header_link:focus:not(:focus-visible){box-shadow:none}.dc-toc__top-header_link:hover,.dc-toc__top-header_link:active{color:var(--g-color-text-link-hover)}.dc-toc__top-header_link:hover{color:var(--g-color-text-primary)}.dc-toc__top-header_link:focus{outline:2px solid var(--g-color-line-focus);outline-offset:0}.dc-toc__top-header_link:focus:not(:focus-visible){outline:0}.dc-toc__bottom{flex-grow:0;flex-shrink:0;display:flex;align-items:center;padding:4px 10px 20px 0}.dc-toc__bottom_scrolled{border-top:1px solid var(--g-color-line-generic)}@media(max-width: 768px){.dc-toc__bottom_scrolled{border-top:0}}.dc-toc__content{--g-scrollbar-width: 6px;position:relative;flex-grow:1;overflow-y:auto;scrollbar-width:thin}@media(max-width: 768px){.dc-toc__content{overflow-y:visible;overflow-y:initial}}@media(min-width: 769px){.dc-toc__content_offset_top{padding-top:12px}}.dc-toc__list{margin:0;padding:0;list-style:none;display:block}.dc-toc__list-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dc-toc__list-item_labeled{margin-top:16px}.dc-toc__list-item_main>*:first-child{color:var(--g-color-text-primary)}.dc-toc__list-item:not(.dc-toc__list-item_opened)>.dc-toc__list{display:none}.dc-toc__list-item:not(.dc-toc__list-item_labeled)>.dc-toc__list{padding-left:20px}[dir=rtl] .dc-toc__list-item:not(.dc-toc__list-item_labeled)>.dc-toc__list{padding-right:20px}.dc-toc__content>.dc-toc__list{padding-right:21px;padding-bottom:30px}@media(max-width: 768px){.dc-toc__content>.dc-toc__list{padding-right:0}}.dc-toc__content_with-extra-header>.dc-toc__list{padding-right:10px}
18
18
  .dc-toc-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dc-toc-item__link{--g-focus-border-radius: 4px;display:block;-webkit-text-decoration:none;text-decoration:none;border-radius:4px;border-radius:var(--g-focus-border-radius)}.dc-toc-item__link:focus{outline:2px solid var(--g-color-line-focus);outline-offset:-2px}.dc-toc-item__link:focus:not(:focus-visible){outline:0}.dc-toc-item__wrapper{display:flex;align-items:center;padding:7px 0px 5px}.dc-toc-item__text-block{display:block;position:relative;padding:7px 12px 7px 20px;width:100%}@media(max-width: 768px){.dc-toc-item__text-block{padding:10px 12px 10px 40px}[dir=rtl] .dc-toc-item__text-block{padding:10px 40px 10px 12px}}[dir=rtl] .dc-toc-item__text-block{padding:7px 20px 7px 12px}.dc-toc-item__text{--g-focus-border-radius: 4px;font-family:inherit;font-size:inherit;font-weight:inherit;box-sizing:border-box;word-break:break-word;background-color:transparent;border:0;text-align:left;text-align:initial;border-radius:4px;border-radius:var(--g-focus-border-radius);color:var(--g-color-text-primary)}@media(max-width: 768px){.dc-toc-item__text{font-size:var(--g-text-body-2-font-size);line-height:var(--g-text-body-2-line-height)}}.dc-toc-item__text_active{border-radius:3px;background:var(--g-color-base-selection)}.dc-toc-item__text_labeled{font-weight:500;text-transform:uppercase;font-size:var(--g-text-body-1-font-size);line-height:var(--g-text-body-1-line-height)}.dc-toc-item__text_deprecated span{width:90%;display:block}.dc-toc-item__text_deprecated svg{position:absolute;top:50%;right:6px;transform:translateY(-50%);opacity:.6}.dc-toc-item__text_clicable{cursor:pointer}.dc-toc-item__text_clicable:hover{border-radius:3px;background:var(--g-color-base-simple-hover)}.dc-toc-item__text:focus{outline:2px solid var(--g-color-line-focus);outline-offset:-2px}.dc-toc-item__text:focus:not(:focus-visible){outline:0}.dc-toc-item__icon{position:absolute;left:0}[dir=rtl] .dc-toc-item__icon{right:0}@media(max-width: 768px){.dc-toc-item__icon{left:12px}[dir=rtl] .dc-toc-item__icon{right:12px}}@media(max-width: 768px){.dc-toc-item__arrow{margin-right:20px}[dir=rtl] .dc-toc-item__arrow{margin-left:20px}}.dc-toc-item__arrow:hover:before{background:none}
19
19
  .dc-toggle-arrow{transition:transform .15s;stroke-width:2px}.dc-toggle-arrow_type_horizontal{transform:rotate(0deg)}[dir=rtl] .dc-toggle-arrow_type_horizontal{transform:rotate(180deg)}.dc-toggle-arrow_type_vertical{transform:rotate(90deg)}.dc-toggle-arrow_open.dc-toggle-arrow_type_horizontal{transform:rotate(90deg)}[dir=rtl] .dc-toggle-arrow_open.dc-toggle-arrow_type_horizontal{transform:rotate(90deg)}.dc-toggle-arrow_open.dc-toggle-arrow_type_vertical{transform:rotate(-90deg)}[dir=rtl] .dc-toggle-arrow_open.dc-toggle-arrow_type_vertical{transform:rotate(90deg)}.dc-toggle-arrow_thin{stroke-width:1px}.dc-toggle-arrow_slow{transition-duration:.3s}
20
20
  .dc-controls{display:flex;align-items:center;font-size:var(--g-text-body-1-font-size);line-height:var(--g-text-body-1-line-height)}.dc-controls__control:not(:last-child),.dc-controls__divider{margin-right:4px}.dc-controls__list{padding:4px 0}.dc-controls__list-icon{font-size:22px}.dc-controls__icon-rotated{transform:rotate(90deg)}.dc-controls__popup-tooltip{padding:0}@media(min-width: 769px){.dc-controls_vertical{flex-direction:column}.dc-controls_vertical .dc-controls__divider{height:1px;width:16px}.dc-controls_vertical .dc-controls__control:not(:last-child),.dc-controls_vertical .dc-controls__divider{margin-right:0;margin-bottom:4px}}
@@ -451,10 +451,6 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
451
451
  .yfm svg {
452
452
  height: auto;
453
453
  }
454
- .yfm .katex svg {
455
- height: auto;
456
- height: initial;
457
- }
458
454
  .yfm img + small {
459
455
  display: block;
460
456
  }
@@ -966,6 +962,10 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
966
962
  .yfm .yfm-note.yfm-accent-warning {
967
963
  background: var(--yfm-color-note-warning-background);
968
964
  }
965
+ .yfm .katex svg {
966
+ height: inherit;
967
+ max-height: inherit;
968
+ }
969
969
  .yfm table td.cell-align-top-left,
970
970
  .yfm table td.cell-align-bottom-left {
971
971
  text-align: start;
@@ -997,11 +997,14 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
997
997
  .yfm table[sticky-header] thead {
998
998
  position: sticky;
999
999
  top: 0;
1000
+ z-index: 2;
1000
1001
  }
1002
+ .yfm table[sticky-header] thead td,
1001
1003
  .yfm table[sticky-header] thead th {
1002
1004
  position: relative;
1003
1005
  z-index: 0;
1004
1006
  }
1007
+ .yfm table[sticky-header] thead td::before,
1005
1008
  .yfm table[sticky-header] thead th::before {
1006
1009
  content: "";
1007
1010
  background: var(--yfm-color-base);
@@ -1009,6 +1012,7 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
1009
1012
  inset: 0;
1010
1013
  z-index: -2;
1011
1014
  }
1015
+ .yfm table[sticky-header] thead td::after,
1012
1016
  .yfm table[sticky-header] thead th::after {
1013
1017
  content: "";
1014
1018
  background: var(--yfm-color-table-row-background);
@@ -1016,6 +1020,39 @@ a.pc-image-card_border_shadow,.pc-image-card_border_shadow{box-shadow:0px 4px 24
1016
1020
  inset: 0;
1017
1021
  z-index: -1;
1018
1022
  }
1023
+ .yfm table[sticky-header]:not(:has(thead)) tbody > tr:first-child,
1024
+ .yfm table[sticky-header]:not(:has(thead)) > tr:first-child {
1025
+ position: sticky;
1026
+ top: 0;
1027
+ z-index: 2;
1028
+ }
1029
+ .yfm table[sticky-header]:not(:has(thead)) tbody > tr:first-child td,
1030
+ .yfm table[sticky-header]:not(:has(thead)) tbody > tr:first-child th,
1031
+ .yfm table[sticky-header]:not(:has(thead)) > tr:first-child td,
1032
+ .yfm table[sticky-header]:not(:has(thead)) > tr:first-child th {
1033
+ position: relative;
1034
+ z-index: 0;
1035
+ }
1036
+ .yfm table[sticky-header]:not(:has(thead)) tbody > tr:first-child td::before,
1037
+ .yfm table[sticky-header]:not(:has(thead)) tbody > tr:first-child th::before,
1038
+ .yfm table[sticky-header]:not(:has(thead)) > tr:first-child td::before,
1039
+ .yfm table[sticky-header]:not(:has(thead)) > tr:first-child th::before {
1040
+ content: "";
1041
+ background: var(--yfm-color-base);
1042
+ position: absolute;
1043
+ inset: 0;
1044
+ z-index: -2;
1045
+ }
1046
+ .yfm table[sticky-header]:not(:has(thead)) tbody > tr:first-child td::after,
1047
+ .yfm table[sticky-header]:not(:has(thead)) tbody > tr:first-child th::after,
1048
+ .yfm table[sticky-header]:not(:has(thead)) > tr:first-child td::after,
1049
+ .yfm table[sticky-header]:not(:has(thead)) > tr:first-child th::after {
1050
+ content: "";
1051
+ background: var(--yfm-color-table-row-background);
1052
+ position: absolute;
1053
+ inset: 0;
1054
+ z-index: -1;
1055
+ }
1019
1056
  .yfm-term_title {
1020
1057
  color: var(--yfm-color-term-title);
1021
1058
  cursor: pointer;