Improve table colors a bit

This commit is contained in:
Pk11 2021-03-05 15:48:03 -06:00
parent c4b1fc406a
commit 5e14eb325a
2 changed files with 7 additions and 2 deletions

View File

@ -14,7 +14,7 @@
--a-color: #0366d6; --a-color: #0366d6;
--small-color: gray; --small-color: gray;
--carousel-caption-bg: #fffb; --carousel-caption-bg: #fffb;
--table-alt-bg: #f0f0f0; --table-alt-bg: #f9f9f9;
--kbd-bg: #fafafa; --kbd-bg: #fafafa;
--kbd-border: #ddd; --kbd-border: #ddd;
--alert-secondary-bg: #e9e9e9; --alert-secondary-bg: #e9e9e9;

View File

@ -331,12 +331,17 @@ table th {
} }
table th, table td { table th, table td {
padding: 6px 13px; padding: 6px 13px;
border: 1px solid var(--borders); border: 1px solid var(--light-borders);
} }
table tr:nth-child(2n) { table tr:nth-child(2n) {
background-color: var(--table-alt-bg); background-color: var(--table-alt-bg);
} }
// Fix bootstrap messing up the th bottom borders and dark mode text
.table>:not(:last-child)>:last-child>* {
border-bottom-color: var(--light-borders);
}
.table { .table {
color: inherit; color: inherit;
} }