welpo a6046cd9d7
💄 style: set transparent bg for code in table headers
Changed the background color of the `code` tags within table headers
to transparent to enhance readability and contrast. This ensures
that the code tags in headers remain visually distinct
while not detracting from overall table aesthetics.
2023-08-13 21:59:17 +02:00

38 lines
679 B
SCSS

table {
border-spacing: 0;
border-collapse: collapse;
text-align: center;
font: inherit;
overflow: hidden;
border-style: hidden !important;
margin: 1rem auto;
border-radius: 5px;
th,
td {
padding: 6px 13px;
border: 1px solid var(--bg-1);
font-size: large;
}
thead tr {
background-color: var(--primary-color);
color: var(--hover-color);
code {
background-color: transparent;
}
}
tbody {
tr:nth-child(even) {
background-color: var(--bg-0);
}
}
details,
summary {
font-family: inherit !important;
}
}