Files
blog/sass/_table.scss
David Lapshin d77ebed269 Some initial sass refactoring (breaking change!)
Well, it's not a breaking change if you don't restyle duckquill heavily :)
2024-05-20 16:14:58 +03:00

34 lines
496 B
SCSS

// TABLE
table {
box-shadow: var(--edge-highlight);
border-radius: var(--rounded-corner);
border-collapse: collapse;
width: 100%;
table-layout: fixed;
overflow: hidden;
th {
font-weight: bold;
}
th,
td {
padding: 0.5rem 1rem;
}
tr {
&:nth-child(even) {
background-color: var(--fg-muted-1);
}
th {
background-color: var(--fg-muted-2);
}
}
}
td,
th {
padding: 0;
}