owls
diff Config/Owls.css.php @ 14:cebc198276eb
more file moving
author | meillo@marmaro.de |
---|---|
date | Sun, 27 May 2007 03:01:16 +0200 |
parents | Owls.css.php@682b4a24469c |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Config/Owls.css.php Sun May 27 03:01:16 2007 +0200 1.3 @@ -0,0 +1,221 @@ 1.4 +<?php 1.5 +/*######################################################## 1.6 +###### to modify the look of owls, edit below ###### 1.7 +########################################################*/ 1.8 + 1.9 + 1.10 +/* 1.11 + color setup 1.12 + use color values according to http://www.w3.org/TR/CSS21/syndata.html#color-units 1.13 + you can assign the set variables too 1.14 +*/ 1.15 + 1.16 + $c_Text = '#000'; 1.17 + $c_Background = '#999'; 1.18 + 1.19 + $c_Border = $c_Text; 1.20 + 1.21 + $c_Link = $c_Text; 1.22 + $c_LinkHover = '#ff8040'; 1.23 + $c_LinkVisited = '#666'; 1.24 + 1.25 + $c_Nav = $c_Link; 1.26 + $c_NavHover = $c_LinkHover; 1.27 + $c_NavSelected = '#eee'; 1.28 + 1.29 + $c_Login = $c_LinkVisited; 1.30 + $c_Admin = '#ffff80'; 1.31 + 1.32 + 1.33 +/* 1.34 + width of the menu area 1.35 + the unit 'em' is relative to the font-size 1.36 + see: http://www.w3.org/TR/CSS21/syndata.html#length-units 1.37 +*/ 1.38 + 1.39 + $m_NavWidth = '10em'; 1.40 + 1.41 + 1.42 +/*######################################################## 1.43 +############# noobs, stop editing here ############# 1.44 +########################################################*/ 1.45 + 1.46 + 1.47 + 1.48 + 1.49 + 1.50 + 1.51 + header('Content-Type: text/css; charset=utf8'); 1.52 + 1.53 + // avoid caching TODO: think about removing, cause it's just for dev 1.54 + header('Expires: Thu, 05 Apr 1984 04:47:00 GMT'); 1.55 + header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); 1.56 + header('Cache-Control: no-store'); 1.57 + header('Pragma: no-cache'); 1.58 + echo('/* Anti-Caching: '.microtime()." */\r\n"); 1.59 + 1.60 +?> 1.61 + 1.62 + 1.63 + 1.64 +body { 1.65 + font-family: sans-serif; 1.66 + margin: 30px 0; 1.67 + text-align: center; 1.68 + color: <?php echo $c_Text; ?>; 1.69 + background-color: <?php echo $c_Background; ?>; 1.70 +} 1.71 + 1.72 + 1.73 +#websiteContainer { 1.74 + width: 760px; 1.75 + margin: 0 auto; 1.76 + text-align: justify; 1.77 +} 1.78 + 1.79 +#banner { 1.80 + display: block; 1.81 + margin: 0 auto; 1.82 +} 1.83 + 1.84 +#content { 1.85 + position: relative; 1.86 + margin-left: <?php echo $m_NavWidth; ?>; 1.87 + padding: 1em; 1.88 +} 1.89 + 1.90 + 1.91 + 1.92 +/* uhhh?? is this not needed anymore? are there no borders drawn by default? 1.93 +img { 1.94 + border: none; 1.95 +} 1.96 +*/ 1.97 + 1.98 + 1.99 + 1.100 + 1.101 + 1.102 + 1.103 +/* links */ 1.104 +a:link { 1.105 + color: <?php echo $c_Link; ?>; 1.106 +} 1.107 +a:visited { 1.108 + color: <?php echo $c_LinkVisited;?>; 1.109 +} 1.110 +a:active, 1.111 +a:hover { 1.112 + color: <?php echo $c_LinkHover; ?>; 1.113 +} 1.114 + 1.115 + 1.116 + 1.117 + 1.118 + 1.119 + 1.120 +/* nav */ 1.121 +#nav { 1.122 + list-style: none; 1.123 + float: left; 1.124 + width: <?php echo $m_NavWidth; ?>; 1.125 + padding: 0.5em 2em 1em 0.5em; 1.126 + margin: 2.5em 0 1em 0; 1.127 + font-size: 0.8em; 1.128 +} 1.129 + 1.130 +#nav ul { 1.131 + list-style: none; 1.132 + margin-left: 0; 1.133 + padding-left: 1em; 1.134 +/* border: 1px solid #060; */ 1.135 +} 1.136 +#nav li { 1.137 + padding: 1px; 1.138 + margin: 0; 1.139 +/* border: 1px solid #006; */ 1.140 +} 1.141 + 1.142 +#nav a { 1.143 + display: block; 1.144 + text-decoration: none; 1.145 + color: <?php echo $c_Nav; ?>; 1.146 +} 1.147 +#nav a:link, 1.148 +#nav a:visited { 1.149 + text-decoration: none; 1.150 +} 1.151 +#nav a:active, 1.152 +#nav a:hover { 1.153 + color: <?php echo $c_NavHover; ?>; 1.154 + text-decoration: none; 1.155 +} 1.156 + 1.157 +#selected:link, 1.158 +#selected:visited { 1.159 + color: <?php echo $c_NavSelected; ?>; 1.160 +} 1.161 +#nav #selected:hover { 1.162 + color: <?php echo $c_NavHover; ?>; 1.163 +} 1.164 + 1.165 + 1.166 + 1.167 + 1.168 +/* orphans and broken */ 1.169 +li#orphans, 1.170 +li#broken { 1.171 + margin-top: 3em; 1.172 + font-style: italic; 1.173 + color: <?php echo $c_Admin; ?>; 1.174 +} 1.175 + 1.176 + 1.177 + 1.178 + 1.179 +/* login */ 1.180 +#loginform input { 1.181 + background-color: transparent; 1.182 + border: none; 1.183 + border-bottom: <?php echo $c_Login; ?> 1px solid; /* TODO: think about other color */ 1.184 + font-size: 0.8em; 1.185 + width: 8em; 1.186 +} 1.187 + 1.188 + 1.189 + 1.190 + 1.191 + 1.192 + 1.193 +/* admin controls */ 1.194 +.ctrl { 1.195 + position: absolute; 1.196 + right: 0; 1.197 + text-align: right; 1.198 + font-size: 0.8em; 1.199 + color: <?php echo $c_Login; ?>; 1.200 +} 1.201 +.ctrl a, 1.202 +.ctrl a:visited, 1.203 +.ctrl a:hover { 1.204 + margin-left: 1em; 1.205 + color: <?php echo $c_Admin; ?>; 1.206 +} 1.207 + 1.208 + 1.209 + 1.210 + 1.211 + 1.212 + 1.213 +/* edit form */ 1.214 +#edit { 1.215 + margin-top: 1.5em; 1.216 +} 1.217 +#edit input, 1.218 +#edit select, 1.219 +#edit textarea { 1.220 + font-family: sans-serif; 1.221 + font-size: 0.8em; 1.222 + border: <?php echo $c_Border; ?> 1px solid; 1.223 +} 1.224 +