theme.css.php 1.61 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
14
15
16
17
18
19
20
21
22
23
?>

@CHARSET "UTF-8";

body{
	background-color: rgb(250, 250, 250);
	background-attachment: fixed;
}

body#resultBody{
	background-image: inherit;
}


input[type=text]:focus, textarea:focus, input[type=email]:focus, input[type=tel]:focus {
Dominik Hebeler's avatar
Dominik Hebeler committed
24
25
26
27
28
    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: 1px solid <?=$colorRGBA?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
29
30
}
#mglogo > a {
Dominik Hebeler's avatar
Dominik Hebeler committed
31
	background-image: linear-gradient(<?=$color?> 0%, <?=$color?> 250%);
Dominik Hebeler's avatar
Dominik Hebeler committed
32
33
34
35
36
    background-color: transparent;
    color: white;
}

.logo h1{
Dominik Hebeler's avatar
Dominik Hebeler committed
37
	color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
38
39
40
}

.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
41
42
	background-color: <?=$color?>;
	border-color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
43
44
45
}

.pagination > li > a, .pagination > li > span{
Dominik Hebeler's avatar
Dominik Hebeler committed
46
	color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
47
48
49
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus{
Dominik Hebeler's avatar
Dominik Hebeler committed
50
	color: <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
51
52
53
}

.navbar {
Dominik Hebeler's avatar
Dominik Hebeler committed
54
	border-bottom: 3px solid <?=$color?>;
Dominik Hebeler's avatar
Dominik Hebeler committed
55
56
57
	box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
}

Dominik Hebeler's avatar
Dominik Hebeler committed
58
59
.lSPrev > span, .lSNext > span {
	color: <?=$color?>;
60
}