Changes for new styles and scheme
[moodle.git] / theme / standardred / styles.php
CommitLineData
8120317e 1<?PHP // $Id$\r
2\r
3/// We use PHP so we can do value substitutions into the styles\r
4\r
5 require_once("../../config.php"); \r
6\r
7 if (isset($themename)) {\r
8 $CFG->theme = $themename;\r
9 }\r
10\r
11 $themeurl = "$CFG->wwwroot/theme/$CFG->theme";\r
12\r
13/// From here on it's nearly a normal stylesheet.\r
14/// First are some CSS definitions for normal tags, \r
15/// then custom tags follow.\r
16///\r
17/// Note that colours are all defined in config.php\r
18/// in this directory\r
19\r
20?>\r
21\r
22\r
23a:link {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
24 text-decoration: none; \r
25 color: blue;}\r
26a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
27 text-decoration: none; \r
28 color: blue;}\r
29a:hover {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
30 text-decoration: underline; \r
31 color: red;}\r
32\r
33body {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
34\r
35p {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
36\r
37h1 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
38\r
39h2 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
40\r
41h3 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
42\r
43h4 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
44\r
45th {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
46 font-weight: bold; \r
47 background-color: <?PHP echo $THEME->cellheading?>;}\r
48\r
49td {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
50\r
51li {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
52\r
53form { margin-bottom: 0; }\r
54\r
55.highlight {\r
56 background-color: <?PHP echo $THEME->highlight?>;\r
57}\r
58\r
59.headingblock {\r
60 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
61 border-width: 1px;\r
62 border-color: <?PHP echo $THEME->borders?>;\r
63 border-style: solid;\r
64}\r
65\r
66.navbar {\r
67 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
68}\r
69\r
70.generalbox {\r
71 border-width: 1px;\r
72 border-color: <?PHP echo $THEME->borders?>;\r
73 border-style: solid;\r
74}\r
75\r
76.generaltable {\r
77}\r
78\r
79.generaltableheader {\r
80 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
81}\r
82\r
83.generaltablecell {\r
84}\r
85\r
86.sideblock {\r
87 border-width: 1px;\r
88 border-color: <?PHP echo $THEME->borders?>;\r
89 border-style: solid;\r
90}\r
91\r
92.sideblockheading {\r
93 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
94}\r
95\r
96.sideblockmain {\r
97}\r
98\r
99.sideblocklinks {\r
100}\r
101\r
102.sideblocklatestnews {\r
103}\r
104\r
105.sideblockrecentactivity {\r
106}\r
107\r
108.outlineheadingblock {\r
109 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
110 border-width: 1px;\r
111 border-color: <?PHP echo $THEME->borders?>;\r
112 border-style: solid;\r
113}\r
114\r
115.weeklyoutline {\r
116}\r
117\r
118.topicsoutline {\r
119}\r