diff --git a/themes/default/style.css b/themes/default/style.css index 46e7a2c5..0746f9ac 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -97,8 +97,9 @@ TD { TABLE.zebra {border-spacing: 0; border: 2px solid var(--zebra-border);} 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 TFOOT TD, TABLE.zebra TFOOT TH {border-top: 2px solid var(--zebra-border);} +TABLE.zebra THEAD {position: sticky;top: 0;} +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:nth-child(odd) {background: var(--zebra-odd);} TABLE.zebra TR:nth-child(even) {background: var(--zebra-even);}