1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Optimized table color.

This commit is contained in:
Cotes Chung
2020-04-06 05:15:12 +08:00
parent 4e4e71dff2
commit 23784b3295
3 changed files with 5 additions and 6 deletions

View File

@@ -791,12 +791,12 @@ table {
&:nth-child(2n) {
background-color: var(--tb-even-bg);
}
&:last-child:nth-child(2n) {
border-bottom: solid 1px var(--tb-even-border-color);
}
&:nth-child(2n + 1) {
background-color: var(--tb-odd-bg);
}
& {
border-bottom: 1px solid var(--tb-border-color);
}
}
th {
@extend %table-cell;