aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-03-25 19:47:21 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-03-25 19:47:21 +0100
commitd4abb9d34bca7ed171c46cf32b3e301e583bcfd0 (patch)
tree3ca3209c49932aa957434d5c73efb3de456cc30b /assets
parentc0a0aac386bdc4033243366d892fed45f0a03f39 (diff)
#31, Make tables prettier
Diffstat (limited to 'assets')
-rw-r--r--assets/_markdown.scss15
1 files changed, 13 insertions, 2 deletions
diff --git a/assets/_markdown.scss b/assets/_markdown.scss
index cb62a2f..1fe1a50 100644
--- a/assets/_markdown.scss
+++ b/assets/_markdown.scss
@@ -54,7 +54,18 @@ $block-border-radius: 0.15rem;
:last-child { margin-bottom: 0; }
}
- table tr td {
- padding: $padding-8;
+ table {
+ border-spacing: 0;
+ border-collapse: collapse;
+
+ tr th, tr td {
+ padding: $padding-8 $padding-16;
+ line-height: 1;
+ border: 1px solid $gray-200;
+ }
+
+ tr:nth-child(2n) {
+ background: $gray-100;
+ }
}
} \ No newline at end of file