fix(styles): better styles for tables

This commit is contained in:
Lucien Cartier-Tilet 2023-12-17 21:30:45 +01:00
parent ac310ddab1
commit 5ded96f90e
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -172,3 +172,23 @@ html.dark {
// code blocks vars // code blocks vars
--code-hl-bg-color: var(--nord2); --code-hl-bg-color: var(--nord2);
} }
.page table {
border-color: var(--nord3);
border-top: none;
display: inline-block;
tbody {
border-color: var(--c-bg-dark);
border-width: 3px;
}
tr {
background-color: var(--c-bg);
transition: background-color var(--t-color);
&:nth-child(2n) {
background-color: var(--c-bg-light) !important;
}
}
}