Made tables in main colors

This commit is contained in:
Christian Wolf 2017-11-09 10:27:29 +01:00
parent cd68e1491f
commit f9555a2dc3
2 changed files with 11 additions and 24 deletions

View File

@ -41,14 +41,6 @@ h1,h2,h3,h4
text-align: left; text-align: left;
} }
table.alternating tr:nth-child(1) {
background-color: gray;
}
table.alternating tr:nth-child(even) {
background-color: lightgray;
}
h2 > a { h2 > a {
color: black; color: black;
} }
@ -71,8 +63,6 @@ ul.nav-child > li > a:hover
} }
#topmenu a { #topmenu a {
color: inherit; color: inherit;
} }

View File

@ -39,26 +39,14 @@ $rightImageValue = (empty($this->params{'imgright'}) ? "none" : "url(\"" . $this
if($this->params{'titlepage'} === '1') if($this->params{'titlepage'} === '1')
{ {
?> ?>
#right_column, #left_menu { #right_column, #left_menu
{
display: none; display: none;
} }
<?php <?php
} }
?> ?>
:root {
--bgcolor1: <?php echo $this->params{'bgcolor1'}; ?>;
--bgcolor2: <?php echo $this->params{'bgcolor2'}; ?>;
--bgcolor3: <?php echo $this->params{'bgcolor3'}; ?>;
--bgcolor4: <?php echo $this->params{'bgcolor4'}; ?>;
--fgcolor1: <?php echo $this->params{'fgcolor1'}; ?>;
--fgcolor2: <?php echo $this->params{'fgcolor2'}; ?>;
--fgcolor3: <?php echo $this->params{'fgcolor3'}; ?>;
--fgcolor4: <?php echo $this->params{'fgcolor4'}; ?>;
--bgcolorside: <?php echo $this->params{'bgcolorside'}; ?>;
--imgleft: <?php echo (empty($this->params{'imgleft'}) ? "none" : "url(\"" . $this->baseurl . "/" . $this->params{'imgleft'} . "\")") ; ?>;
--imgright: <?php echo (empty($this->params{'imgright'}) ? "none" : "url(\"" . $this->baseurl . "/" . $this->params{'imgright'} . "\")") ; ?>;
}
body body
{ {
background-color: <?php echo $this->params{'bgcolorside'}; ?>; background-color: <?php echo $this->params{'bgcolorside'}; ?>;
@ -136,6 +124,15 @@ ul.nav-child > li > a:hover
background-image: <?php echo $rightImageValue; ?>; background-image: <?php echo $rightImageValue; ?>;
} }
table.alternating tr:nth-child(1) {
background-color: <?php echo $params{'bgcolor2'}; ?>;
color: <?php echo $params{'fgcolor2'}; ?>;
}
table.alternating tr:nth-child(even) {
background-color: <?php echo $params{'bgcolor3'}; ?>;
color: <?php echo $params{'fgcolor3'}; ?>;
}
</style> </style>
<!-- <!--