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:
33
sass/_table.scss
Normal file
33
sass/_table.scss
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user