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

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

Website rewrite begins

File size: 7.4 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/h1.png") top left no-repeat;
179 padding:6px 0em 1em 40px;
180 margin:0.5em 0 0 0;
181 font-size: 160%;
182 }
183 #main div.h2-1, #main div.h2-2, #main div.h2-3, #main div.h2-4, #main div.h2-5 {
184 width: 90%;
185 padding: 0 0 0 40px;
186 font-size:100%;
187 }
188 #main h3 {
189 color: #404cba;
190 display: block;
191 padding-left: 1em;
192 font-size: 100%;
193 clear: both;
194 }
195 #main a {
196 color:#33f;
197 }
198 #main a:visited {
199 color:#66c;
200 }
201 #main p {
202 display: block;
203 text-align: justify;
204 padding: 0 75px 0 1em;
205 }
206 #main p.c, #main div.c {
207 text-align: center;
208 }
209 #main p.cs {
210 text-align: center;
211 font-size:80%;
212 }
213 #main ul {
214 padding-left: 4em;
215 }
216 table.enhanced {
217 border-collapse:collapse;
218 border:1px solid #cacaca;
219 width:95%;
220 }
221 table.enhanced td, table enhanced th {
222 border:1px solid #cacaca;
223 padding:4px;
224 }
225 table.enhanced th {
226 background:#d0d9e5;
227 padding: 0.5em;
228 color:#666;
229 }
230 table.enhanced caption {
231 color: #f90;
232 font-weight: bold;
233 padding: 1em 0.3em;
234 font-size:90%;
235 }
236 table.enhanced input[type="image"], table.enhanced img {
237 margin-left: 1.5em;
238 }
239 .enhancedtablecolouredrow{
240 background:#f0f0f0;
241 }
242 .enhancedtablerowhover{
243 background:#e7e9fb;
244 }
245 #servers {
246 width: 50%;
247 margin: 2em auto 2em auto;
248 }
249 #servers input{
250 background: #f0f0f0;
251 }
252 #servers input:hover{
253 background: #e7e9fb;
254 }
255 #servers input:focus{
256 background: #fff;
257 }
258
259 /** Message/forum stuff **/
260 div.message {
261 border: 1px solid #adb4bc;
262 margin: 0px 60px 1em 10px;
263 }
264 div.message div.user, div.message div.admin {
265 background-color: #d0d9e5;
266 padding: 2px;
267 }
268 div.message div.info {
269 margin-bottom: 0.5em;
270 padding: 2px 0 0 25px;
271 }
272 div.user div.info {
273 background:url("/images/icon-page.png") left no-repeat;
274 background-color: #d0d9e5;
275 }
276 div.admin div.info {
277 background:url("/images/icon-user.png") left no-repeat;
278 background-color: #d0d9e5;
279 }
280 div.message div.adminbox {
281 float: right;
282 }
283 div.message div.text {
284 padding: 0.5em 1em;
285 border: 1px solid #adb4bc;
286 }
287 div.message div.user div.text {
288 background-color: #fff;
289 }
290 div.message div.admin div.text {
291 background-color: #ffeeee;
292 }
293
294 /*** form stuff ***/
295 #forum input, #forum textarea, #forum select {
296 background: #f0f0f0;
297 border: 1px solid #cacaca;
298 -moz-border-radius: 4px; /* Moz specific code ! */
299 }
300 #forum label, #forum input, #forum textarea {
301 display: block;
302 float: left;
303 margin-bottom: 1em;
304 }
305 #forum input, #forum textarea {
306 padding: 0 4px;
307 }
308 #forum select {
309 padding-right: 0px;
310 margin-bottom: 1em;
311 }
312 #forum input:hover, #forum textarea:hover, #forum select:hover {
313 background: #e7e9fb;
314 }
315 #forum input:focus, #forum textarea:focus {
316 background: #fff;
317 }
318 #forum label {
319 text-align: right;
320 width: 15em;
321 margin-right: 2em;
322 }
323 #forum div.submit {
324 float: right;
325 }
326 #forum input[type="hidden"] {
327 border: 0px solid #fff;
328 display: none;
329 }
330 #forum input[type="submit"] {
331 margin-left: 1em;
332 }
333 #forum input[type="submit"]:hover {
334 background: #f4cdd1;
335 }
336 #forum abbr, #forum acronym, #forum span.help {
337 display: inline;
338 cursor: help;
339 border-bottom: 1px dashed #999;
340 }
341 #forum fieldset {
342 border:1px solid #e5e5e5;
343 }
344 #forum legend {
345 color: #21449c;
346 font-weight: bold;
347 padding: 1em 0.3em;
348 font-size:90%;
349 text-align:right;
350 }
351 #forum form div {
352 clear: both;
353 }
354 #forum form {
355 margin-left: auto; margin-right: auto;
356 width: 80%;
357 }
358
Note: See TracBrowser for help on using the repository browser.