brutcss/src/tables.less
Yann Esposito (Yogsototh) 00841cfaf7
dark mode
2022-09-26 11:26:08 +02:00

10 lines
258 B
Plaintext

.table th, .table td {
padding: .5em;
text-align: left;
}
.table tbody>:nth-child(2n-1) {
/* We use tbody to ensure that we don't shade the heading - this preserves the order of the shading */
background: var(--bg2); /* Shade every other table row */
}