source: MondoRescue/branches/stable/website/css/common.css@ 798

Last change on this file since 798 was 373, checked in by bcornec, 18 years ago

Integrate Andree's feedback

File size: 7.5 KB
Line 
1/**** Mondo Rescue website default screen Stylesheet ****/
2/** CSS loaded by all browsers V0.2 **/
3/** Reused from http://www.forzen-bubble.org. Many thanks
4 to you guys for your kind authorization **/
5
6 /** Generic stuff **/
7 body {
8 background:url("/images/background.png");
9 margin:0px;
10 padding:0px;
11 color:#000;
12 font-family: "Bitstream Vera Sans", "Lucida Sans", Geneva, Arial, Helvetica, sans-serif;
13 }
14 a {
15 color: #9B9BC8;
16 text-decoration:none ;
17 }
18 a:hover {
19 text-decoration: underline;
20 }
21 h1, h2 {
22 color: #21449c;
23 }
24 img {
25 border: 0px solid #fff;
26 }
27 div.c {
28 text-align:center;
29 }
30 /** Top banner **/
31 #topbanner {
32 width:100%;
33 float:left;
34 background:#c0c0c0;
35 border-bottom: 1px solid #999;
36 margin-bottom: 0.5em;
37 }
38 #links, #topinfo {
39 font-size: 70%;
40 }
41 #links, #links a, #topinfo, #topinfo a {
42 color: #404cba;
43 }
44 #links a {
45 margin-right: 1em;
46 }
47 #topinfo {
48 display:block;
49 float: left;
50 text-align: left;
51 margin-left: 1em;
52 }
53 #links {
54 display:block;
55 float: right;
56 text-align: right;
57 }
58
59
60 /** body **/
61 #body {
62 display: block;
63 padding: 1em 5% 5em 5%;
64 margin-left: auto; margin-right: auto;
65 min-width:700px;
66 max-width:1100px;
67 text-align: left;
68 }
69
70
71 /** Logo **/
72 #logo {
73 text-align: center;
74 margin-bottom: 0.5em;
75 }
76
77
78 /** Navbar **/
79 #navbar {
80 width: 100%;
81 padding: 0 0 0 0;
82 font-size:14px;
83 background:url("/images/navbar-left.png") top left no-repeat;
84 }
85 #navbar ul {
86 width:100%;
87 list-style:none;
88 text-align: center;
89 margin:0 0 0 0;
90 padding:17px 0 30px 0 ; /* 1st param = font v align / Need to be high enough so all bg image is displayed */
91 position:relative;
92 right: -11px;
93 background:url("/images/navbar-right.png") top right no-repeat;
94 }
95 #navbar li {
96 display:inline;
97 margin:0;
98 padding:0;
99 }
100 #navbar a {
101 background:url("/images/navbar-dot.png") no-repeat left ;
102 padding: 0 0 0 0.7em;
103 margin: 0 0 0 1em;
104 color: #21449c;
105 font-weight: bold;
106 }
107 #navbar a:hover {
108 background:url("/images/navbar-dot-hover.png") no-repeat left ;
109 }
110 #current a {
111 text-decoration: underline;
112 background:url("/images/navbar-dot-hover.png") no-repeat left;
113 }
114 #current a:hover {
115 text-decoration: underline overline;
116 }
117
118
119 /** Main body stuff **/
120 #main {
121 width:100%;
122 color: #336;
123 font-size: 90%;
124 }
125 #frametopleft {
126 background: url("/images/frame/corner-topleft.png") top left no-repeat;
127 margin:0px;
128 padding-left:15px;
129 }
130 #frametop {
131 background: url("/images/frame/border-top.png") top right repeat-x;
132 }
133 #frametopright {
134 background: url("/images/frame/corner-topright.png") top right no-repeat;
135 position:relative;
136 right: -15px;
137 margin:0px 0px -30px 0px;
138 padding: 15px 0px;
139 }
140 #frameleft {
141 background: url("/images/frame/border-left.png") top left repeat-y;
142 position:relative;
143 left: -30px;
144 padding-top: 15px;
145 }
146 #frameright {
147 background: url("/images/frame/border-right.png") top right repeat-y;
148 position:relative;
149 right: -30px;
150 padding-right: 15px;
151 padding-bottom: 15px;
152 }
153 #framecontent {
154 padding: 0 0 30px 30px;
155
156 background: #fff;
157 }
158 #framebottomleft {
159 background: url("/images/frame/corner-bottomleft.png") bottom left no-repeat;
160 padding-top: 15px;
161 padding-left: 15px;
162 position:relative;
163 left: -15px;
164 }
165 #framebottom {
166 background: url("/images/frame/border-bottom.png") bottom right repeat-x;
167 background-color: #fff;
168 }
169 #framebottomright {
170 background: url("/images/frame/corner-bottomright.png") bottom right no-repeat;
171 margin-top: -16px;
172 padding-top: 15px;
173 position:relative;
174 right: -30px;
175 }
176 #main h1 {
177 color: #7395cd;
178 background:url("/images/bird_world.png") top left no-repeat;
179 /* background:url("/images/h1.png") top left no-repeat; */
180 padding:12px 0em 1em 80px;
181 margin:0.5em 0 0 0;
182 font-size: 160%;
183 }
184 #main div.h2-1, #main div.h2-2, #main div.h2-3, #main div.h2-4, #main div.h2-5 {
185 width: 90%;
186 padding: 0 0 0 40px;
187 font-size:100%;
188 }
189 #main h3 {
190 color: #404cba;
191 display: block;
192 padding-left: 1em;
193 font-size: 100%;
194 clear: both;
195 }
196 #main a {
197 color:#33f;
198 }
199 #main a:visited {
200 color:#66c;
201 }
202 #main p {
203 display: block;
204 text-align: justify;
205 padding: 0 75px 0 1em;
206 }
207 #main p.c, #main div.c {
208 text-align: center;
209 }
210 #main p.cs {
211 text-align: center;
212 font-size:80%;
213 }
214 #main ul {
215 padding-left: 4em;
216 }
217 table.enhanced {
218 border-collapse:collapse;
219 border:1px solid #cacaca;
220 width:95%;
221 }
222 table.enhanced td, table enhanced th {
223 border:1px solid #cacaca;
224 padding:4px;
225 }
226 table.enhanced th {
227 background:#d0d9e5;
228 padding: 0.5em;
229 color:#666;
230 }
231 table.enhanced caption {
232 color: #f90;
233 font-weight: bold;
234 padding: 1em 0.3em;
235 font-size:90%;
236 }
237 table.enhanced input[type="image"], table.enhanced img {
238 margin-left: 1.5em;
239 }
240 .enhancedtablecolouredrow{
241 background:#f0f0f0;
242 }
243 .enhancedtablerowhover{
244 background:#e7e9fb;
245 }
246 #servers {
247 width: 50%;
248 margin: 2em auto 2em auto;
249 }
250 #servers input{
251 background: #f0f0f0;
252 }
253 #servers input:hover{
254 background: #e7e9fb;
255 }
256 #servers input:focus{
257 background: #fff;
258 }
259
260 /** Message/forum stuff **/
261 div.message {
262 border: 1px solid #adb4bc;
263 margin: 0px 60px 1em 10px;
264 }
265 div.message div.user, div.message div.admin {
266 background-color: #d0d9e5;
267 padding: 2px;
268 }
269 div.message div.info {
270 margin-bottom: 0.5em;
271 padding: 2px 0 0 25px;
272 }
273 div.user div.info {
274 background:url("/images/icon-page.png") left no-repeat;
275 background-color: #d0d9e5;
276 }
277 div.admin div.info {
278 background:url("/images/icon-user.png") left no-repeat;
279 background-color: #d0d9e5;
280 }
281 div.message div.adminbox {
282 float: right;
283 }
284 div.message div.text {
285 padding: 0.5em 1em;
286 border: 1px solid #adb4bc;
287 }
288 div.message div.user div.text {
289 background-color: #fff;
290 }
291 div.message div.admin div.text {
292 background-color: #ffeeee;
293 }
294
295 /*** form stuff ***/
296 #forum input, #forum textarea, #forum select {
297 background: #f0f0f0;
298 border: 1px solid #cacaca;
299 -moz-border-radius: 4px; /* Moz specific code ! */
300 }
301 #forum label, #forum input, #forum textarea {
302 display: block;
303 float: left;
304 margin-bottom: 1em;
305 }
306 #forum input, #forum textarea {
307 padding: 0 4px;
308 }
309 #forum select {
310 padding-right: 0px;
311 margin-bottom: 1em;
312 }
313 #forum input:hover, #forum textarea:hover, #forum select:hover {
314 background: #e7e9fb;
315 }
316 #forum input:focus, #forum textarea:focus {
317 background: #fff;
318 }
319 #forum label {
320 text-align: right;
321 width: 15em;
322 margin-right: 2em;
323 }
324 #forum div.submit {
325 float: right;
326 }
327 #forum input[type="hidden"] {
328 border: 0px solid #fff;
329 display: none;
330 }
331 #forum input[type="submit"] {
332 margin-left: 1em;
333 }
334 #forum input[type="submit"]:hover {
335 background: #f4cdd1;
336 }
337 #forum abbr, #forum acronym, #forum span.help {
338 display: inline;
339 cursor: help;
340 border-bottom: 1px dashed #999;
341 }
342 #forum fieldset {
343 border:1px solid #e5e5e5;
344 }
345 #forum legend {
346 color: #21449c;
347 font-weight: bold;
348 padding: 1em 0.3em;
349 font-size:90%;
350 text-align:right;
351 }
352 #forum form div {
353 clear: both;
354 }
355 #forum form {
356 margin-left: auto; margin-right: auto;
357 width: 80%;
358 }
359
Note: See TracBrowser for help on using the repository browser.