theme.css.php 1.2 KB
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1
<?php
Dominik Hebeler's avatar
Dominik Hebeler committed
2 3 4 5 6 7 8
header("Content-type: text/css");
$color     = "rgb(255, 128, 0)";
$colorRGBA = "rgba(255, 128, 0, 1)";
if (isset($_GET['r']) && isset($_GET['g']) && isset($_GET['b']) && isset($_GET['a'])) {
    $color     = "rgb(" . $_GET['r'] . "," . $_GET['g'] . "," . $_GET['b'] . ")";
    $colorRGBA = "rgba(" . $_GET['r'] . "," . $_GET['g'] . "," . $_GET['b'] . "," . $_GET['a'] . ")";
}
Dominik Hebeler's avatar
Dominik Hebeler committed
9 10 11 12 13
?>

@CHARSET "UTF-8";

#mglogo > a {
Dominik Hebeler's avatar
Dominik Hebeler committed
14
	background-image: linear-gradient(<?=$color?> 0%, <?=$color?> 250%);
Dominik Hebeler's avatar
Dominik Hebeler committed
15 16 17 18 19
    background-color: transparent;
    color: white;
}

.logo h1{
Dominik Hebeler's avatar
Dominik Hebeler committed
20
	color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
21 22 23
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus{
Dominik Hebeler's avatar
Dominik Hebeler committed
24 25
	background-color: <?=$color?>;
	border-color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
26 27 28
}

.pagination > li > a, .pagination > li > span{
Dominik Hebeler's avatar
Dominik Hebeler committed
29
	color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
30 31 32
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus{
Dominik Hebeler's avatar
Dominik Hebeler committed
33
	color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
34 35
}

36
.navbar, #navbar-static-pages {
Dominik Hebeler's avatar
Dominik Hebeler committed
37
	border-bottom: 3px solid <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
38 39 40
	box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
}

41
.lSPrev > i, .lSNext > i {
Dominik Hebeler's avatar
Dominik Hebeler committed
42
	color: <?=$color?>;
43
}