Files
caldwell/assets/sass/table.scss
2025-09-08 17:30:45 +01:00

31 lines
513 B
SCSS

.table-wrapper {
overflow-x: auto;
}
table {
width: 100%;
border-collapse: collapse;
thead th {
border-bottom: 0.1rem solid
color-mix(in srgb, var(--text) 20%, var(--background));
}
tr + tr td {
border-top: 0.1rem solid
color-mix(in srgb, var(--text) 10%, var(--background));
}
th,
td {
padding: 0.5rem;
border-right: 0.1rem solid
color-mix(in srgb, var(--text) 10%, var(--background));
}
th:last-child,
td:last-child {
border-right: none;
}
}