theme.css.php 1.4 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
?>

@CHARSET "UTF-8";

13 14 15 16 17 18 19 20 21
input[type=text]:focus, textarea:focus, input[type=email]:focus, input[type=tel]:focus {
	outline-color: <?=$color?>;
	-webkit-box-shadow: 0px 0px 2px 2px <?=$colorRGBA?>;
	-moz-box-shadow: 0px 0px 2px 2px <?=$colorRGBA?>;
	box-shadow: 0px 0px 2px 2px <?=$colorRGBA?>;
  border-color: <?=$colorRGBA?>;
}


Dominik Hebeler's avatar
Dominik Hebeler committed
22
#mglogo > a {
23
	color: rgb(255,128,0);
Dominik Hebeler's avatar
Dominik Hebeler committed
24 25 26
}

.logo h1{
Dominik Hebeler's avatar
Dominik Hebeler committed
27
	color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
28 29 30
}

.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
31 32
	background-color: <?=$color?>;
	border-color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
33 34 35
}

.pagination > li > a, .pagination > li > span{
Dominik Hebeler's avatar
Dominik Hebeler committed
36
	color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
37 38 39
}

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

43
.navbar, #navbar-static-pages {
Dominik Hebeler's avatar
Dominik Hebeler committed
44
	border-bottom: 3px solid <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
45 46 47
	box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
}

48
.lSPrev > i, .lSNext > i {
Dominik Hebeler's avatar
Dominik Hebeler committed
49
	color: <?=$color?>;
50
}