owls

view Owls.css.php @ 7:a3a651f0cac6

added doxygen-comments to Loginsys.class.php
author Meillo r e t u r n s <meillo@marmaro.de>
date Wed, 13 Dec 2006 22:16:59 +0100
parents 7ee09b636460
children 144bc36a6c27
line source
1 <?php
2 /*########################################################
3 ###### to modify the look of owls, edit below ######
4 ########################################################*/
7 /*
8 color setup
9 use color values according to http://www.w3.org/TR/CSS21/syndata.html#color-units
10 you can assign the set variables too
11 */
13 $c_Text = '#000';
14 $c_Background = '#999';
16 $c_Border = $c_Text;
18 $c_Link = $c_Text;
19 $c_LinkHover = '#ff8040';
20 $c_LinkVisited = '#666';
22 $c_Nav = $c_Link;
23 $c_NavHover = $c_LinkHover;
24 $c_NavSelected = '#eee';
26 $c_Login = $c_Nav;
27 $c_Admin = '#ffff80';
30 /*
31 width of the menu area
32 the unit 'em' is relative to the font-size
33 see: http://www.w3.org/TR/CSS21/syndata.html#length-units
34 */
36 $m_NavWidth = '10em';
39 /*########################################################
40 ############# noobs, stop editing here #############
41 ########################################################*/
48 header('Content-Type: text/css; charset=utf8');
50 // avoid caching TODO: think about removing, cause it's just for dev
51 header('Expires: Thu, 05 Apr 1984 04:47:00 GMT');
52 header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
53 header('Cache-Control: no-store');
54 header('Pragma: no-cache');
55 echo('/* Anti-Caching: '.microtime()." */\r\n");
57 ?>
61 body {
62 font-family: sans-serif;
63 margin: 30px 0;
64 text-align: center;
65 color: <?php echo $c_Text; ?>;
66 background-color: <?php echo $c_Background; ?>;
67 }
70 #websiteContainer {
71 width: 760px;
72 margin: 0 auto;
73 text-align: justify;
74 }
76 #banner {
77 display: block;
78 margin: 0 auto;
79 }
81 #content {
82 margin-left: <?php echo $m_NavWidth; ?>;
83 padding: 1em;
84 }
88 /* uhhh?? is this not needed anymore? are there no borders drawn by default?
89 img {
90 border: none;
91 }
92 */
99 /* links */
100 a:link {
101 color: <?php echo $c_Link; ?>;
102 }
103 a:visited {
104 color: <?php echo $c_LinkVisited;?>;
105 }
106 a:active,
107 a:hover {
108 color: <?php echo $c_LinkHover; ?>;
109 }
116 /* nav */
117 #nav {
118 list-style: none;
119 float: left;
120 width: <?php echo $m_NavWidth; ?>;
121 padding: 0.5em 2em 1em 0.5em;
122 margin: 2.5em 0 1em 0;
123 font-size: 0.8em;
124 }
126 #nav ul {
127 list-style: none;
128 margin-left: 0;
129 padding-left: 1em;
130 /* border: 1px solid #060; */
131 }
132 #nav li {
133 padding: 1px;
134 margin: 0;
135 /* border: 1px solid #006; */
136 }
138 #nav a {
139 display: block;
140 text-decoration: none;
141 color: <?php echo $c_Nav; ?>;
142 }
143 #nav a:link,
144 #nav a:visited {
145 text-decoration: none;
146 }
147 #nav a:active,
148 #nav a:hover {
149 color: <?php echo $c_NavHover; ?>;
150 text-decoration: none;
151 }
153 #selected:link,
154 #selected:visited {
155 color: <?php echo $c_NavSelected; ?>;
156 }
157 #nav #selected:hover {
158 color: <?php echo $c_NavHover; ?>;
159 }
164 /* orphans and broken */
165 li#orphans,
166 li#broken {
167 margin-top: 3em;
168 font-style: italic;
169 color: <?php echo $c_Admin; ?>;
170 }
175 /* login */
176 li#login {
177 margin-top: 3em;
178 }
179 #login input {
180 color: <?php echo $c_Login; ?>;
181 background-color: transparent;
182 border: none;
183 border-left: <?php echo $c_Login; ?> 1px solid; /* TODO: think about other color */
184 display: block;
185 font-size: 0.8em;
186 margin-bottom: 2px;
187 padding-left: 4px;
188 }
195 /* admin controls */
196 .ctrl {
197 text-align: right;
198 font-size: 0.8em;
199 }
200 .ctrl a,
201 .ctrl a:visited,
202 .ctrl a:hover {
203 margin-left: 1em;
204 color: <?php echo $c_Admin; ?>;
205 }
212 /* edit form */
213 #edit {
214 margin-top: 1.5em;
215 }
216 #edit input,
217 #edit select,
218 #edit textarea {
219 font-family: sans-serif;
220 font-size: 0.8em;
221 border: <?php echo $c_Border; ?> 1px solid;
222 }