.table2 { -webkit-print-color-adjust: exact; border: solid 1px #333333; thead > tr { //background-color: black !important; //color: white !important; border: solid 1px #333333; th { border-width: 0 !important; } } tbody { tr:nth-child(odd) { --bs-table-accent-bg: #eee; background: #eee; } } tr.subtitle { &, * { background-color: #333333 !important; color: white !important; } } td, th { padding: 0.5rem; } }