From f9555a2dc310158b9a2173addd49674047bb2f81 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Thu, 9 Nov 2017 10:27:29 +0100 Subject: [PATCH] Made tables in main colors --- slt/css/visual.css | 10 ---------- slt/index.php | 25 +++++++++++-------------- 2 files changed, 11 insertions(+), 24 deletions(-) diff --git a/slt/css/visual.css b/slt/css/visual.css index 630a5e5..fccd5b0 100644 --- a/slt/css/visual.css +++ b/slt/css/visual.css @@ -41,14 +41,6 @@ h1,h2,h3,h4 text-align: left; } -table.alternating tr:nth-child(1) { - background-color: gray; -} - -table.alternating tr:nth-child(even) { - background-color: lightgray; -} - h2 > a { color: black; } @@ -71,8 +63,6 @@ ul.nav-child > li > a:hover } - - #topmenu a { color: inherit; } diff --git a/slt/index.php b/slt/index.php index dd6223a..734cdc8 100644 --- a/slt/index.php +++ b/slt/index.php @@ -39,26 +39,14 @@ $rightImageValue = (empty($this->params{'imgright'}) ? "none" : "url(\"" . $this if($this->params{'titlepage'} === '1') { ?> -#right_column, #left_menu { +#right_column, #left_menu +{ display: none; } -:root { - --bgcolor1: params{'bgcolor1'}; ?>; - --bgcolor2: params{'bgcolor2'}; ?>; - --bgcolor3: params{'bgcolor3'}; ?>; - --bgcolor4: params{'bgcolor4'}; ?>; - --fgcolor1: params{'fgcolor1'}; ?>; - --fgcolor2: params{'fgcolor2'}; ?>; - --fgcolor3: params{'fgcolor3'}; ?>; - --fgcolor4: params{'fgcolor4'}; ?>; - --bgcolorside: params{'bgcolorside'}; ?>; - --imgleft: params{'imgleft'}) ? "none" : "url(\"" . $this->baseurl . "/" . $this->params{'imgleft'} . "\")") ; ?>; - --imgright: params{'imgright'}) ? "none" : "url(\"" . $this->baseurl . "/" . $this->params{'imgright'} . "\")") ; ?>; -} body { background-color: params{'bgcolorside'}; ?>; @@ -136,6 +124,15 @@ ul.nav-child > li > a:hover background-image: ; } +table.alternating tr:nth-child(1) { + background-color: ; + color: ; +} + +table.alternating tr:nth-child(even) { + background-color: ; + color: ; +}