mirror of
https://github.com/rvtr/wiki.git
synced 2025-10-31 06:31:13 -04:00
Improve table colors a bit
This commit is contained in:
parent
c4b1fc406a
commit
5e14eb325a
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user