Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorVictoria Drake <hello@victoria.dev>2019-12-29 06:07:04 +0300
committerVictoria Drake <hello@victoria.dev>2019-12-29 06:07:04 +0300
commit7a8b8e78b5b4b33f8bb89c176d3f1d6fc68a64c9 (patch)
tree1347a84554b5d48374dca84a21a428276462b52f /assets
parentcfc69095704c00cee6cef45fa7715dc2bbc1562f (diff)
Make markdown table dark style less icky (close #189)
Thanks @meeDamian!
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/_base.sass4
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/sass/_base.sass b/assets/sass/_base.sass
index 19dbe77..4b555f9 100644
--- a/assets/sass/_base.sass
+++ b/assets/sass/_base.sass
@@ -244,8 +244,12 @@ pre
padding: .25rem .5rem
border: 1px solid #e5e5e5
text-align: center
+ background-color: #f7f7f7
tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th
+ background-color: darken(#f7f7f7, 10%)
+ tbody tr:nth-child(even) td,
+ tbody tr:nth-child(even) th
background-color: #f7f7f7
pre
border-radius: 3px