From 8a852c1147dc62b34130aa0f0f09fda915ee6285 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Thu, 26 Nov 2020 13:41:42 +0100 Subject: [PATCH] Reformat tables --- scss/partials/_tables.scss | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/scss/partials/_tables.scss b/scss/partials/_tables.scss index 86a5950..6020751 100644 --- a/scss/partials/_tables.scss +++ b/scss/partials/_tables.scss @@ -5,13 +5,9 @@ table { border-spacing:0; empty-cells:show; margin-bottom:24px; - border-bottom:1px solid #e1e4e5; - - .table-number { - font-weight: bold; - color: #343131; - } + border-bottom:3px solid #e1e4e5; + // Cell Style td,th{ font-size:90%; margin:0; @@ -21,23 +17,27 @@ table { border:1px solid #e1e4e5; } + // First Line of the Table thead th{ font-weight:bold; border-top:3px solid #e1e4e5; border-bottom:1px solid #e1e4e5; } + // Caption caption{ color:#000; font:italic 85%/1 arial,sans-serif; padding:1em 0; + + // "Table x" part + .table-number { + font-weight: bold; + color: #343131; + } } - tr:nth-child(2n-1) td{ - background-color:#f3f6f6; - } - - tr:nth-child(2n) td{ - background-color:white; - } + // Alternating colors for the rows + tr:nth-child(2n-1) td{background-color:#f3f6f6;} + tr:nth-child(2n) td{background-color:white;} }