Ugly port of plwizard skinning to X.net.
[platal.git] / htdocs / css / xnet.css
1 /***************************************************************************
2 * Copyright (C) 2003-2007 Polytechnique.org *
3 * http://opensource.polytechnique.org/ *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the Free Software *
17 * Foundation, Inc., *
18 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
19 ***************************************************************************/
20
21 body {
22 background-color: #F2E9D0;
23 margin-left: 0;
24 margin-top: 0;
25 color: #505050;
26 border-top: 1px;
27 }
28
29 table, body {
30 font-size: 10pt;
31 font-family: "Bitstream vera sans","Verdana",sans-serif;
32 }
33
34 input,textarea,select,option {
35 font-size: 9pt;
36 }
37
38 tt,pre {
39 font-size: 10pt;
40 }
41
42 fieldset {
43 border: 1px gray solid;
44
45 margin-top: 1em;
46 margin-bottom: 1em;
47 }
48
49 legend {
50 border: 1px gray solid;
51 background: #e9e0aa;
52 color: inherit;
53
54 padding: 2px 4px;
55 }
56
57 a, a:link, a:visited { text-decoration: none ; color: #5c81aa; }
58
59 a img { border: none; }
60 img { vertical-align: middle; }
61 td { vertical-align: top; }
62
63 h1 { font-size: 130%; }
64 h2 { font-size: 115%; }
65
66 .smaller {
67 font-size: smaller;
68 font-style: italic;
69 }
70
71 input.error, textarea.error {
72 background-color: #faa;
73 }
74
75 input.valid, textarea.valid {
76 background-color: #afa;
77 }
78
79 input.warning, textarea.warning {
80 background-color: #fda;
81 }
82
83
84 /***************************************************************************
85 * DEBUG
86 ***************************************************************************/
87
88 #dev {
89 width: 100%;
90 text-align: center;
91 padding: 1px;
92
93 font-size: 10pt;
94 font-weight: bold;
95 }
96
97 .backtrace div.hide { display: none; }
98 .backtrace:hover div.hide { display: block }
99 .backtrace h1 { margin: 0px; }
100
101 /***************************************************************************
102 * LAYOUT
103 ***************************************************************************/
104
105 table#layout {
106 width: 765px;
107 margin-left: auto;
108 margin-right: auto;
109 }
110
111 #top {
112 width: 100%;
113 }
114
115 #top td {
116 padding: 0;
117 margin: 0;
118 vertical-align: middle;
119 }
120
121 #top td.logo {
122 text-align: right;
123 background: url('../images/bandeau.jpg') bottom left repeat-x;
124 }
125
126 td#credits {
127 text-align: center;
128 font-size: 75%;
129 }
130
131 td#perso div {
132 font-weight: bold;
133 font-size: 90%;
134 padding: 2px 1em;
135 }
136
137 td#perso .gp {
138 display: block;
139 margin: 2px 1em;
140 font-weight: bold;
141 font-size: 85%;
142 float: left;
143 text-align: center;
144 }
145
146 td#search {
147 text-align: right;
148 width: 300px;
149 }
150
151 #content {
152 width: 100%;
153 }
154
155 td#body {
156 vertical-align: top;
157 padding-left: 1em;
158 padding-bottom: 1em;
159 }
160
161 td#menu {
162 width: 130px;
163 padding-right: 0;
164 padding-top: 0.5em;
165 font-family: "Trebuchet MS", "Arial",sans-serif;
166 font-weight: bold;
167 }
168
169 #menu h1 {
170 padding: 0.3em 0em 0.4em 0em;
171 margin-top: 0.7em;
172 margin-bottom: 0.3em;
173 font-size: 89%;
174 text-align: center;
175 width: 130px;
176 background: url('../images/barre_small.png') bottom left no-repeat;
177 background-color: #d0c198;
178 }
179
180 #menu a {
181 display: block;
182 padding: 0.2em 0em 0.2em 15px;
183 font-size: 89%;
184 background: url('../images/puce.png') no-repeat center left;
185 }
186
187 /***************************************************************************
188 * CLASSES
189 ***************************************************************************/
190
191 .breadcrumb {
192 font-weight: bold;
193 font-size: 90%;
194 padding: 0.5em 0em 0em 0.2em;
195 }
196
197 .erreur { color: red !important; }
198 .error { color: red !important; }
199 .center { text-align: center; }
200 .right { text-align: right; }
201
202 .descr {
203 text-align: justify;
204 font-size: 90%;
205 }
206 p.descr {
207 padding-left: 7px;
208 padding-right: 7px;
209 }
210
211 table { border-collapse: collapse; }
212
213 table.links {
214 width: 100%;
215 margin: 0.4em 0em;
216 }
217
218 table.links td {
219 padding: 0em 0.5em;
220 }
221
222 table.links a {
223 background: url('../images/puce.png') no-repeat center left;
224 padding-left: 15px;
225 font-weight: bold;
226 }
227
228 table td.titre {
229 font-weight: bold;
230 white-space: nowrap;
231 }
232
233 table.tiny, table.tinybicol {
234 width: 70%;
235 margin-left: 15%;
236 border: 2px solid gray;
237 font-size: 85%;
238 }
239 table.large, table.bicol {
240 width: 96%;
241 margin-left: 2%;
242 border: 2px solid gray;
243 font-size: 85%;
244 }
245
246 table.tiny td, table.tinybicol td, table.large td, table.bicol td {
247 border: 1px solid gray;
248 padding: 2px 4px;
249 }
250 table.tiny th, table.tinybicol th, table.large th, table.bicol th {
251 border: 1px solid gray;
252 border-top-width: 2px;
253 border-bottom-width: 2px;
254 padding: 2px;
255 }
256
257 table.tinybicol td, table.bicol td {
258 border-top: none;
259 border-bottom: none;
260 }
261
262 table.tinybicol .pair, table.bicol .pair {
263 background-color: #e9e0aa;
264 }
265
266 table.normal td { border: none; }
267
268 th { background: #d0c198; }
269 th.grayed {
270 background: #d0cbb0;
271 color: #666;
272 }
273
274 a.popup2 {
275 color: #4c618a;
276 background-color: inherit;
277 }
278
279 /***************************************************************************
280 * Special pages
281 ***************************************************************************/
282
283 table#liste td.fourth {
284 width: 25%;
285 }
286
287 table#liste td.listec a {
288 display: block;
289 text-align: center;
290 }
291
292 table#liste td.liste a {
293 display: block;
294 text-align: right;
295 }
296
297 table#liste td.liste a.cat {
298 background: #d0c198;
299 margin: 15px 0px 10px 0px;
300 padding: 3px;
301 text-align: center;
302 font-weight: bold;
303 font-size: 90%;
304 }
305
306 table#liste td.liste a:hover, table#liste td.listec a:hover {
307 background: #d0c198;
308 }
309
310 #wikitext {
311 text-align: justify;
312 font-size: 90%;
313 }
314
315 #wikitext p {
316 padding-left: 7px;
317 }
318
319 /***************************************************************************
320 ***************************************************************************/
321
322 div.cat {
323 background: #d0c198;
324 text-align: center;
325 font-weight: bold;
326 font-size: 90%;
327 padding: 2px;
328 width: 180px;
329 margin: 4px 0px;
330 }
331
332 div.sel { background-color: #5c81aa; color: #d0c198; }
333 div.sel a { color: #d0c198; }
334
335 td.oval, td.oval2 {
336 color: #d0c198;
337 height: 50px;
338 text-align: center;
339 vertical-align: middle !important;
340 font-weight: bold;
341 }
342 td.oval {
343 background: url("../images/oval.png") no-repeat top center;
344 width: 130px;
345 padding: 0px 35px;
346 }
347 td.oval2 {
348 background: url("../images/oval2.png") no-repeat top center;
349 width: 160px;
350 padding: 0px 12px;
351
352 }
353
354 .oval a, .oval2 a { color: #d0c198; }
355 .oval a.has_site { color: white; }
356 .jone a { color: #FF9; }
357 .rouje a { color: #D88; }
358 .jone a.has_site { color: #FE0; }
359 .rouje a.has_site { color: #D00; }
360
361 #content td.oval, #content td.oval2 {
362 font-size: 90%;
363 font-family: "Trebuchet MS", sans-serif;
364 letter-spacing: -0.5px;
365 }
366
367 div.backtotop {
368 font-size: small;
369 text-align: center;
370 padding-top: 2em;
371 }
372
373 div.screenshot {
374 text-align: center;
375 }
376
377 div.screenshot img {
378 border: 1px solid #777;
379 }
380
381 /***************************************************************************
382 ***************************************************************************/
383
384 td.infos {
385 height: 30px;
386 text-align: center;
387 font-family: "Bitstream Vera Sans","Arial",sans-serif;
388 color: #505050;
389 }
390
391 /***************************************************************************
392 ***************************************************************************/
393
394 .wizard {
395 margin-left: -1em;
396 }
397
398 .wizard .wiz_header {
399 height: 32px;
400 width: 100%;
401 background: url('../images/skins/wiz_background.png') top right repeat-x;
402 margin-bottom: 1em;
403 }
404
405 .wizard .wiz_header .wiz_tab {
406 background; url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
407 height: 100%;
408 text-align: center;
409 font-size: 75%;
410 border-right: 1px solid #888;
411 }
412
413 .wizard .wiz_header .wiz_tab:hover {
414 background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
415 color: #fff;
416 }
417
418 .wizard .wiz_header .active, .wizard .wiz_header .active:hover {
419 background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
420 color: #fff;
421 }
422
423 .wizard .wiz_header a {
424 color: #000;
425 text-decoration: none;
426 }
427
428 .wizard .wiz_header a.active {
429 color: #fff;
430 }
431
432 .wizard .wiz_content {
433 margin-left: 1em;
434 }
435