Commit 778a51447b
Unsigned
Layout: unified · split
docs/.vitepress/theme/styles/style.scss +4 −9
| @@ -555,15 +555,10 @@ main figure figcaption { | |||
| 555 | display: none; | 555 | display: none; |
| 556 | } | 556 | } |
| 557 | 557 | ||
| 558 | /** Fix for markdown-it-merge-cells */ | 558 | /** Two-tone rows, applied per-cell so rowspan cells keep the default color */ |
| 559 | .vp-doc table tr:nth-child(even), | 559 | .vp-doc table tbody tr:nth-child(even) td:not([rowspan]), |
| 560 | .vp-doc table tr:nth-child(odd) { | 560 | table tbody tr:nth-child(even) td:not([rowspan]) { |
| 561 | background-color: transparent !important; | 561 | background-color: var(--vp-c-bg-soft); |
| 562 | } | ||
| 563 | |||
| 564 | table tr:nth-child(even), | ||
| 565 | table tr:nth-child(odd) { | ||
| 566 | background-color: transparent !important; | ||
| 567 | } | 562 | } |
| 568 | 563 | ||
| 569 | .vp-doc table tr, | 564 | .vp-doc table tr, |