owls

view Owls.css.php @ 3:92a8978e68c5

code beautifying in nav; redesign of banner
author Meillo r e t u r n s <meillo@marmaro.de>
date Thu, 07 Dec 2006 22:08:17 +0100
parents 3021ce32ee14
children 3cacc24e1774
line source
1 <?php
2 header('Content-Type: text/css; charset=utf8');
4 // Caching verhindern
5 header('Expires: Thu, 05 Apr 1984 04:47:00 GMT');
6 header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
7 header('Cache-Control: no-store');
8 header('Pragma: no-cache');
9 echo('/* Anti-Caching: '.microtime()." */\r\n");
12 // colors
13 $cProject = '#ff8040'; // #96c
15 $cBackgroundGlobal = '#666';
16 //$cBackgroundContent = '#666'; //eee
18 $cBorderGlobal = '#000';
20 $cTextH1 = '#aaa';
22 $cLinkHover = $cProject;
24 $cNav = '#333';
27 $mContentMinHeight = '22em';
29 $mNavWidth = '12em';
32 ?>
36 /*#### Standard ############################################################*/
37 body {
38 font-family: sans-serif;
39 margin: 30px 0;
40 text-align: center;
41 background-color: <?php echo $cBackgroundGlobal ?>;
42 }
45 #websiteContainer {
46 width: 760px;
47 margin: 0 auto;
48 text-align: left;
49 }
51 #banner {
52 display: block;
53 border: 1px solid <?php echo $cBorderGlobal ?>;
54 }
57 #content {
58 margin-left: <?php echo $mNavWidth; ?>;
59 padding: 1em;
60 }
63 #edit input,
64 #edit select,
65 #edit textarea {
66 font-family: sans-serif;
67 font-size: 0.8em;
68 }
71 p {
72 text-align: justify;
73 }
76 a {
77 text-decoration: underline;
78 }
79 a:link {
80 color: #000;
81 }
82 a:visited {
83 color: #aaa;
84 }
85 a:active,
86 a:hover {
87 color: <?php echo $cLinkHover; ?>;
88 }
91 img {
92 border: none;
93 }
95 .small {
96 font-size: 0.8em;
97 }
107 #nav {
108 float: left;
109 width: <?php echo $mNavWidth; ?>;
110 padding: 0.5em 2em 1em 0.5em;
111 margin: 2.5em 0 1em 0;
112 font-size: 0.8em;
113 }
115 #nav ul {
116 padding-left: 1em;
117 /* border: 1px solid #060; */
118 }
120 #nav li {
121 padding: 1px;
122 margin: 0;
123 /* border: 1px solid #006; */
124 }
126 #nav a {
127 text-decoration: none;
128 color: <?php echo $cTextH1; ?>;
129 }
130 #nav a:link,
131 #nav a:visited {
132 text-decoration: none;
133 }
134 #nav a:active,
135 #nav a:hover {
136 color: <?php echo $cLinkHover; ?>;
137 text-decoration: none;
138 }
140 #selected:link,
141 #selected:visited {
142 color: <?php echo $cBorderGlobal; ?>;
143 }
144 #nav #selected:hover {
145 color: <?php echo $cLinkHover; ?>;
146 }
149 li#orphans,
150 li#broken {
151 margin-top: 2em;
152 font-style: italic;
153 color: #aaa;
154 }
157 li#login {
158 margin-top: 3em;
159 }
160 #login input {
161 background-color: transparent;
162 border: none;
163 border-left: #555 1px solid;
164 display: block;
165 font-size: 0.8em;
166 margin-bottom: 2px;
167 padding-left: 4px;
168 }
173 .ctrl {
174 text-align: right;
175 font-size: 0.8em;
176 }
177 .ctrl a {
178 margin-left: 1em;
179 color: #eee;
180 }
189 /*#### BBCode ##############################################################*/
191 .quote1 {
192 border:1px solid #c0c0c0;
193 margin:5px;
194 padding:5px;
195 }
196 .quote2 {
197 border:1px solid #c0c0c0;
198 margin:5px;
199 margin-bottom:0px;
200 padding:5px;
201 }
202 .quote0 {
203 color: #000;
204 font-size: 0.8em;
205 }
207 ul {
208 list-style: none;
209 margin-left: 0;
210 padding-left: 1em;
211 }
212 li {
213 margin-left: 1em;
214 padding-left: 0;
215 /*list-style-image: url(Pics/Bullet.gif);*/
216 }