aboutsummaryrefslogtreecommitdiff
path: root/_scss/components
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-24 14:37:16 +0300
committerValentin Popov <info@valentineus.link>2018-04-24 14:37:16 +0300
commitf19006423721487eaaffac6abb4505d88c0535ad (patch)
tree7c56be33de3abaa83b469a2407c233d078f336fd /_scss/components
parented6be35b4ed1d077977646582d74fc87e45febcc (diff)
downloadpopov.link-f19006423721487eaaffac6abb4505d88c0535ad.tar.xz
popov.link-f19006423721487eaaffac6abb4505d88c0535ad.zip
Decor table
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss/components')
-rw-r--r--_scss/components/theme/_table.scss19
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;
+ }
+}