-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.php
56 lines (48 loc) · 1.06 KB
/
styles.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
function renderStyles(){
$color = include("colors.php");
$styles = <<<EOD
<!--[if lt IE 8]>
<style>
.contentContainer{
width: 600px;
}
</style>
<![endif]-->
<style type="text/css">
@media only screen and (min-width: 600px) {
.contentContainer {
margin-top: 40px;
}
.contentCard {
padding-left: 20px;
padding-right: 20px;
}
}
.text-link:hover {
text-decoration: none;
}
.text-link:active {
text-decoration: underline;
}
.primary-button a:hover,
.primary-button a:hover font {
background: $color[black] !important;
border-color: $color[black] !important;
color: $color[white] !important;
}
.primary-button:hover,
.primary-button:active {
border-color: $color[white] !important;
}
.primary-button a:active,
.primary-button a:active font {
background: $color[link] !important;
border-color: $color[link] !important;
color: $color[white] !important;
}
</style>
EOD;
return $styles;
}
?>