Optimized table color.
This commit is contained in:
parent
4e4e71dff2
commit
23784b3295
3 changed files with 5 additions and 6 deletions
|
@ -58,8 +58,7 @@
|
||||||
--tag-hover: rgb(43, 56, 62);
|
--tag-hover: rgb(43, 56, 62);
|
||||||
--tb-odd-bg: rgba(52, 53, 42, 0.52); /* odd rows of the posts' table */
|
--tb-odd-bg: rgba(52, 53, 42, 0.52); /* odd rows of the posts' table */
|
||||||
--tb-even-bg: rgb(31, 31, 34); /* even rows of the posts' table */
|
--tb-even-bg: rgb(31, 31, 34); /* even rows of the posts' table */
|
||||||
--tb-even-border-color: var(--tb-odd-bg);
|
--tb-border-color: var(--tb-odd-bg);
|
||||||
--tb-even-border-color: var(--tb-odd-bg);
|
|
||||||
--footnote-target-bg: rgb(63, 81, 181);
|
--footnote-target-bg: rgb(63, 81, 181);
|
||||||
--btn-share-color: #6c757d;
|
--btn-share-color: #6c757d;
|
||||||
--btn-share-hover-color: #bfc1ca;
|
--btn-share-hover-color: #bfc1ca;
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
--tb-odd-bg: #fbfcfd;
|
--tb-odd-bg: #fbfcfd;
|
||||||
|
|
||||||
--tb-even-border-color: rgba(210, 215, 217, 0.75);
|
--tb-border-color: #f2f3f3;
|
||||||
|
|
||||||
--button-bg: #fff;
|
--button-bg: #fff;
|
||||||
|
|
||||||
|
|
|
@ -791,12 +791,12 @@ table {
|
||||||
&:nth-child(2n) {
|
&:nth-child(2n) {
|
||||||
background-color: var(--tb-even-bg);
|
background-color: var(--tb-even-bg);
|
||||||
}
|
}
|
||||||
&:last-child:nth-child(2n) {
|
|
||||||
border-bottom: solid 1px var(--tb-even-border-color);
|
|
||||||
}
|
|
||||||
&:nth-child(2n + 1) {
|
&:nth-child(2n + 1) {
|
||||||
background-color: var(--tb-odd-bg);
|
background-color: var(--tb-odd-bg);
|
||||||
}
|
}
|
||||||
|
& {
|
||||||
|
border-bottom: 1px solid var(--tb-border-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
th {
|
th {
|
||||||
@extend %table-cell;
|
@extend %table-cell;
|
||||||
|
|
Loading…
Reference in a new issue