diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2019-12-05 19:09:26 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2019-12-05 19:09:26 +0800 |
commit | e80f1b5c8aaa83c3e590a485ba2926ae855aa2a4 (patch) | |
tree | 3a56d2e0101838660438b065d8fadb15d5fd5f3c /_sass/yat | |
parent | 8c1cde8fc921b8b061a3a01a8abad67dad2a2feb (diff) |
fix: correct some html tags, css properties
Diffstat (limited to '_sass/yat')
-rw-r--r-- | _sass/yat/_base.scss | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/_sass/yat/_base.scss b/_sass/yat/_base.scss index e5fe278..38c41e5 100644 --- a/_sass/yat/_base.scss +++ b/_sass/yat/_base.scss @@ -207,20 +207,23 @@ table { text-align: $table-text-align; color: lighten($text-color, 18%); border-collapse: collapse; - border: 1px solid $grey-color-light; + tr { &:nth-child(even) { background-color: lighten($grey-color-light, 6%); } } + th, td { padding: ($spacing-unit / 3) ($spacing-unit / 2); } + th { background-color: lighten($grey-color-light, 3%); border: 1px solid darken($grey-color-light, 4%); border-bottom-color: darken($grey-color-light, 12%); } + td { border: 1px solid $grey-color-light; } |