[themes/default] nicer table headings

This commit is contained in:
Shish 2024-02-24 16:31:02 +00:00 committed by Shish
parent 73ec7be491
commit aeeccf31d5

View file

@ -97,8 +97,9 @@ TD {
TABLE.zebra {border-spacing: 0; border: 2px solid var(--zebra-border);} TABLE.zebra {border-spacing: 0; border: 2px solid var(--zebra-border);}
TABLE.zebra TD, TABLE.zebra TH {vertical-align: middle; padding: 4px;} TABLE.zebra TD, TABLE.zebra TH {vertical-align: middle; padding: 4px;}
TABLE.zebra THEAD TD, TABLE.zebra THEAD TH {border-bottom: 2px solid var(--zebra-border);} TABLE.zebra THEAD {position: sticky;top: 0;}
TABLE.zebra TFOOT TD, TABLE.zebra TFOOT TH {border-top: 2px solid var(--zebra-border);} TABLE.zebra THEAD TR:last-child TD, TABLE.zebra TR:last-child THEAD TH {border-bottom: 2px solid var(--zebra-border);}
TABLE.zebra TFOOT TR:first-child TD, TABLE.zebra TFOOT TR:first-child TH {border-top: 2px solid var(--zebra-border);}
TABLE.zebra TR TD {border-bottom: 1px solid var(--zebra-header);} TABLE.zebra TR TD {border-bottom: 1px solid var(--zebra-header);}
TABLE.zebra TR:nth-child(odd) {background: var(--zebra-odd);} TABLE.zebra TR:nth-child(odd) {background: var(--zebra-odd);}
TABLE.zebra TR:nth-child(even) {background: var(--zebra-even);} TABLE.zebra TR:nth-child(even) {background: var(--zebra-even);}