From f19006423721487eaaffac6abb4505d88c0535ad Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 24 Apr 2018 15:37:16 +0400 Subject: Decor table Signed-off-by: Valentin Popov --- _scss/components/theme/_table.scss | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 _scss/components/theme/_table.scss (limited to '_scss') 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; + } +} -- cgit v1.2.3