From a197cf7ca96f017a2592f7a37510c609b224afc4 Mon Sep 17 00:00:00 2001 From: Carl Richter Date: Fri, 30 Jul 2021 10:50:05 +0200 Subject: [PATCH] feat: add styling for tables --- client/themes/tyclipso/scss/app.scss | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/client/themes/tyclipso/scss/app.scss b/client/themes/tyclipso/scss/app.scss index 91cee1ed..c785ec7b 100644 --- a/client/themes/tyclipso/scss/app.scss +++ b/client/themes/tyclipso/scss/app.scss @@ -209,4 +209,32 @@ text-shadow: none !important; } } + + + // --------------------------------- + // TABLES + // --------------------------------- + table { + $br: 8px; + margin: 1rem 0; + display: block; + border-collapse: collapse; + + th, + tr td { + border: 1px solid mc('grey', '200'); + } + + th { + background: mc('grey', '200'); + color: mc('grey', '700'); + font-size: .8em; + letter-spacing: .05em; + text-transform: uppercase; + } + + tbody tr:nth-child(even) td { + background: mc('grey', '50'); + } + } }