diff options
author | Valentin Popov <info@valentineus.link> | 2018-04-24 14:37:16 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-04-24 14:37:16 +0300 |
commit | f19006423721487eaaffac6abb4505d88c0535ad (patch) | |
tree | 7c56be33de3abaa83b469a2407c233d078f336fd | |
parent | ed6be35b4ed1d077977646582d74fc87e45febcc (diff) | |
download | popov.link-f19006423721487eaaffac6abb4505d88c0535ad.tar.xz popov.link-f19006423721487eaaffac6abb4505d88c0535ad.zip |
Decor table
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | _scss/components/theme/_table.scss | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/_scss/components/theme/_table.scss b/_scss/components/theme/_table.scss new file mode 100644 index 0000000..7af38d5 --- /dev/null +++ b/_scss/components/theme/_table.scss @@ -0,0 +1,19 @@ +table { + border-spacing: 0; + width: 100%; +} + +td, +th { + border-bottom: .1rem solid $color-quinary; + padding: 1.2rem 1.5rem; + text-align: left; + + &:first-child { + padding-left: 0; + } + + &:last-child { + padding-right: 0; + } +} |