Some initial sass refactoring (breaking change!)

Well, it's not a breaking change if you don't restyle duckquill heavily :)
This commit is contained in:
David Lapshin
2024-05-20 16:14:58 +03:00
parent 5cfa5aa0c8
commit d77ebed269
12 changed files with 365 additions and 372 deletions

33
sass/_table.scss Normal file
View File

@ -0,0 +1,33 @@
// 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;
}