♻️ refactor: unify table styling

This commit is contained in:
welpo
2023-07-06 13:55:00 +02:00
parent 8e1473bba9
commit 787243c3c5
2 changed files with 16 additions and 33 deletions

View File

@@ -1,15 +1,27 @@
table {
border-spacing: 0;
border-collapse: collapse;
justify-self: center;
font: inherit;
overflow: hidden;
border-style: hidden !important;
margin: 2rem auto;
min-width: 13rem;
}
table th {
table th,
table td {
padding: 6px 13px;
border: 1px solid #dfe2e5;
font-size: large;
}
table td {
padding: 6px 13px;
border: 1px solid #dfe2e5;
table thead tr {
background-color: var(--primary-color);
color: var(--hover-color);
text-align: left;
}
table tbody tr:nth-child(even) {
background-color: var(--bg-0);
}