sendou.ink/app/components/Table.module.css
Kalle fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00

39 lines
580 B
CSS

.container {
position: relative;
width: 100%;
overflow: auto;
}
.table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
font-size: var(--font-xs);
text-align: left;
border-color: var(--color-border);
& > thead {
font-size: var(--font-2xs);
}
& tbody tr:hover {
background-color: var(--color-bg-high);
}
& > thead > tr > th {
padding: var(--s-2);
}
& > tbody > tr > td {
padding: var(--s-2) var(--s-3);
}
& tr:first-child td {
border-top: 1px solid var(--color-border);
}
& td {
border-bottom: 1px solid var(--color-border);
}
}