Reskin register/success page and add AXLetter subscription
[platal.git] / htdocs / css / default.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 /*******************************************************************************
22 1 Styles par défauts
23 [ balises sans attributs ou classes sans contexte ]
24 *******************************************************************************/
25
26 body {
27 font-family: "Arial", sans-serif;
28 color: #000000;
29 background: #ffffff;
30 }
31
32 a:link, a:visited, a:active, a:hover { color: #003399; background: none; }
33 img { vertical-align: middle; }
34 a img { border: 0px; }
35 td { vertical-align: top; }
36 li { padding-left: 3px; padding-right: 3px; text-align: justify; }
37 hr { width: 90%; text-align: center }
38 dt { font-weight: bold; }
39
40 fieldset {
41 border: 1px #336699 solid;
42 background: #eeeeee;
43 color: inherit;
44
45 margin-top: 1em;
46 margin-bottom: 1em;
47 }
48
49 legend {
50 border: 1px #336699 solid;
51 background: #f4d09c;
52 color: inherit;
53
54 padding-left: 4px;
55 padding-right: 4px;
56 }
57
58 .center { text-align: center; }
59 .right { text-align: right; }
60 .middle { vertical-align: middle; }
61 .smaller { font-size: smaller; font-style: italic; }
62 .spacer { clear: both; }
63
64 .float2 { float: left; width: 49%; }
65 .float3 { float: left; width: 33%; }
66
67 /*******************************************************************************
68 2 Styles <p>, <div>, <span>, <li>
69 [ styles classiques d'effets de texte ]
70 *******************************************************************************/
71
72 p {
73 margin-bottom: 0.5em;
74 text-align: justify;
75 }
76
77 .erreur {
78 font-weight: bold;
79 color: #ff0000;
80 background: inherit;
81 margin-top: 0.5em;
82 margin-bottom: 0.5em;
83 }
84
85 .erreur a:link, .erreur a:visited, .erreur a:active, .erreur a:hover {
86 color: #ff3333;
87 background: inherit;
88 }
89
90 h1 {
91 color: #555555;
92 background: url('../images/skins/default_titre.gif');
93 background-repeat: no-repeat;
94
95 text-indent: 0.2em;
96 text-align: left;
97 font-size: 120%;
98 font-family: "helvetica", sans-serif;
99 font-weight: bolder;
100
101 margin: 1em 0em 1em 0em;
102 padding: 0em 0em 0em 0.5em;
103 }
104
105 h2 {
106 padding: 0.5em 0em 0em 0em;
107 margin: 0em;
108 font-size: 100%;
109 font-weight: bold;
110 }
111
112 h3 {
113 margin: 0em;
114 font-weight: bold;
115 padding: 0.25em;
116 font-size: 100%;
117 }
118
119 p.explication, div.explication {
120 font-style: italic;
121 padding: 0em 1ex 1ex 1ex;
122 }
123
124 li.spaced {
125 padding-top: 0.5em;
126 padding-bottom: 0.5em;
127 text-align: justify;
128 }
129
130 /*******************************************************************************
131 3 Tableaux bicolores + classes utiles
132 [ Tableaux à lignes alternées, en taille normale, ou tiny ]
133 *******************************************************************************/
134
135 table.bicol {
136 color: inherit;
137 background: #eeeeee;
138 border: 1px solid #336699;
139 border-collapse: collapse;
140 width: 98%;
141 margin-left: 1%;
142 }
143 table.tinybicol {
144 color: inherit;
145 background: #eeeeee;
146 border: 1px solid #336699;
147 border-collapse: collapse;
148 width: 70%;
149 margin-left: 15%;
150 }
151
152 table.tinybicol tr.impair, table.bicol tr.impair {}
153 table.tinybicol tr.pair, table.bicol tr.pair {
154 color: inherit;
155 background: #eeeed0;
156 }
157
158 table.tinybicol th, table.bicol th {
159 color: #ffffff;
160 background: #336699;
161 font-weight: bold;
162 text-align: center;
163 vertical-align: middle;
164 }
165
166 table.tinybicol th a:link, table.tinybicol th a:visited,
167 table.tinybicol th a:active, table.tinybicol th a:hover,
168 table.bicol th a:link, table.bicol th a:visited,
169 table.bicol th a:active, table.bicol th a:hover {
170 color: #9999FF;
171 background: inherit;
172 }
173
174 table.tinybicol td, table.bicol td {
175 color: #000000;
176 background: inherit;
177 }
178
179 table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; }
180
181 td.half { width: 50%; padding: 4px; }
182 td.titre {
183 color: #000000;
184 background: inherit;
185 font-weight: bold;
186 }
187 td.action {
188 white-space: nowrap;
189 text-align: right;
190 font-weight: bold;
191 vertical-align: middle;
192 }
193 td.action a { padding: 0px 2px 0px 2px; }
194
195 /*******************************************************************************
196 4 Tableau de choix de skins
197 [ Styles pour les tableaux de types de ceux des skins ]
198 *******************************************************************************/
199
200 #skin {
201 border-bottom: 1px solid #003399;
202 border-top: 1px solid #003399;
203 width: 98%;
204 margin-left: 1%;
205 }
206 #skin td {
207 border-bottom: 2px solid #003399;
208 border-top: 1px solid #003499;
209 vertical-align: middle;
210 }
211 #skin td.skigauche {
212 background: #eeeeee;
213 color: inherit;
214 vertical-align: middle;
215 }
216 #skin td.skimilieu {
217 padding-left: 1em;
218 width: 100%;
219 }
220 #skin td.skidroite { padding: 0; }
221
222 /*******************************************************************************
223 5 Contacts
224 [ Styles liés à l'affichage de contacts ]
225 *******************************************************************************/
226
227 div.contact-list {
228 width: 98%;
229 margin-left: 1%;
230 }
231
232 div.contact-list div.contact {
233 width: 100%;
234 text-align: left;
235 border-top: 1px solid #003399;
236 background: #F4D09C;
237 color: inherit;
238 }
239
240 div.grayed {
241 color: #444444;
242 font-style: italic;
243 }
244
245 div.grayed div.contact {
246 background: #eee;
247 }
248
249 div.contact div.nom {
250 font-weight: bold;
251 width: 35%;
252 float: left;
253 }
254
255 div.contact div.appli {
256 float: left;
257 }
258
259 div.contact div.bits {
260 text-align: right;
261 float: right;
262 }
263
264 div.contact div.long {
265 width: 100%;
266 clear: both;
267 background: white;
268 color: inherit;
269 padding-top: 1px;
270 padding-bottom: 1px;
271 }
272
273 div.long table { width: 100%; }
274 div.long td.lt { width: 35%; }
275 div.long td.rt { width: 65%; }
276
277 /*******************************************************************************
278 6 Profil
279 [ onglets des profils ]
280 *******************************************************************************/
281
282 table.flags {
283 margin: 1em 0em 0em 0em;
284 }
285 table.flags input { margin: 0px 2px; padding: 0px; }
286
287 table.flags td.texte, tr.flags td.texte {
288 font-size: smaller;
289 font-weight: bold;
290 padding: 3px;
291 }
292 table.flags td.vert, tr.flags td.vert {
293 background: green;
294 padding: 3px;
295 text-align: center;
296 }
297 table.flags td.orange, tr.flags td.orange {
298 background: #ff9900;
299 padding: 3px;
300 text-align: center;
301 }
302 table.flags td.rouge, tr.flags td.rouge {
303 background: red;
304 padding: 3px;
305 text-align: center;
306 }
307
308 table.cadre_a_onglet{
309 border-width: 0;
310 padding : 0;
311 margin: 0;
312 }
313
314 td.conteneur_tab {
315 border-width : 1px 2px 2px 1px;
316 border-style : solid;
317 border-color : #999;
318 padding : 4px 4px 4px 4px;
319 background : #eceade;
320 }
321
322 #onglet {
323 display : block;
324 margin : 0;
325 padding : 0;
326 }
327
328 #onglet li {
329 display : block;
330 float : left;
331 padding : 0.4ex;
332 margin : 0 0.3ex -1px 0;
333 background : #D2E0E6 repeat-x 0 100%;
334 border-width : 1px 1px 0px 1px;
335 border-style : solid;
336 border-color : #999;
337 border-bottom-color : #999;
338 width: auto;
339 height: 5ex;
340 text-align: center;
341 }
342
343 #onglet li:hover { background : #fc3 repeat-x 0 100%; }
344
345 #onglet li.actif {
346 background : #eceade;
347 border-bottom-color : #eceade;
348 font-weight: bold;
349 }
350
351 #onglet li a {
352 font-size: 80%;
353 font-weight : normal;
354 text-decoration : none;
355 color : #000;
356 }
357
358 #onglet li a:hover { text-decoration: underline; }
359 #onglet li img { margin-right : 2px; }
360
361 /*******************************************************************************
362 7 fiche.php & fiche_referent.php
363 [ cas de la fiche ]
364 *******************************************************************************/
365
366 #fiche {
367 width: 760px;
368 font-size: 100%;
369 vertical-align: top;
370
371 border: 1px solid #369;
372 }
373
374 #fiche em { color: purple; }
375
376 #fiche h2 {
377 color: #369;
378 padding: 0px 4px;
379 margin: 0.5em 0em;
380 font-weight: bold;
381 border-bottom: 1px dotted #369;
382 }
383
384 #fiche_identite {
385 padding: 5px;
386 width: 600px;
387 }
388
389 #photo { padding-left: 1em; }
390
391 #fiche_identite div.civilite {
392 text-align: center;
393 font-weight: bold;
394 width: 80%;
395 float: left;
396 }
397
398 #fiche_identite div.maj {
399 float: left;
400 width: 20%;
401 font-size: 75%;
402 text-align: right;
403 clear: right;
404 }
405
406 #fiche_identite div.contact {
407 clear: both;
408 margin: 1em;
409 padding: 1ex;
410 background: #fff;
411 border: 1px dotted #69c;
412 }
413 #fiche_identite div.email {
414 clear: left;
415 float: left;
416 }
417 #fiche_identite div.mob {
418 float: right;
419 clear: right;
420 text-align: right;
421 }
422
423 #fiche_identite div.formation {
424 margin: 0em 1em;
425 clear: both;
426 }
427
428 div.adresse {
429 float: left;
430 width: 48%;
431 padding: 0px;
432 margin: 0px 0.5% 1ex 1%;
433 }
434
435 div.adresse strong {
436 font-size: 90%;
437 }
438
439 /* only for fiche_referent.php*/
440
441 #fiche_referent{
442 padding: 10px;
443 width: 100%;
444 }
445
446 #fiche_referent div.rubrique_referent{
447 float: left;
448 width: 31%;
449 padding: 0px;
450 margin: 0px 1% 1ex 1%;
451
452 }
453
454 #fiche_referent em{color: purple;}
455 #fiche_referent ul { margin: 0px; padding: 0px 1em; }
456 #fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
457
458 /*******************************************************************************
459 A SKIN
460 [ choix de classes faites par le skinneur
461 *******************************************************************************/
462
463 #dev {
464 width: auto;
465 text-align: center;
466 padding: 1px;
467
468 color: #003399;
469 background: #e0ffff;
470
471 font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
472 font-size: 10pt;
473 font-weight: bold;
474 }
475
476 #dev a { text-decoration: underline; }
477 #dev a:hover { color: #003399; background: #c0e0e0; }
478
479 .backtrace div.hide { display: none; }
480 .backtrace:hover div.hide { display: block }
481
482 #suid {
483 color: red;
484 background: #ffc0cb;
485 width: auto;
486 font-weight: bold;
487 text-align: center;
488 }
489 #suid a {
490 color: red;
491 background: inherit;
492 text-decoration: none;
493 display: block;
494 }
495 #suid:hover {
496 color: red;
497 background: #ffffcb;
498 }
499 #suid a:hover {
500 color: #ff7000;
501 background: inherit;
502 }
503
504 #body {
505 width: 740px;
506 margin-left: auto;
507 margin-right: auto;
508 }
509
510 #body-logo {
511 width: 140px;
512 border-right: 1px solid gray;
513 text-align: center;
514 font-family: "MS Sans Serif", sans-serif;
515 padding-top: 4px;
516 border-bottom: 1px solid gray;
517 }
518
519 #body-top {
520 border-bottom: 1px solid gray;
521 text-align: center;
522 font-size: 95%;
523 padding: 4px;
524 padding-bottom: 16px;
525 font-family: "Arial", sans-serif;
526 }
527
528 #body-top table { width: 100%; padding: 4px; }
529 #body-top .date-heure { text-align: left; }
530 #body-top .inscrits { text-align: right; }
531
532 #body-bottom {
533 border-top: 1px solid gray;
534 text-align: center;
535 padding: 4px;
536 font-size: 75%;
537 font-family: "MS Sans Serif", sans-serif;
538 }
539
540 #body-menu {
541 width: 140px;
542 border-right: 1px solid gray;
543 text-align: center;
544 font-family: "MS Sans Serif", sans-serif;
545 font-size: 75%;
546 font-weight: bold;
547 white-space: nowrap;
548 }
549
550 #body-menu .menu_item {
551 padding-left: 4px;
552 padding: 2px;
553 text-align: left;
554 }
555
556 #body-menu .menu_title {
557 color: gray;
558 background: #eeeeee;
559 border-top: 1px solid gray;
560 border-bottom: 1px solid gray;
561 padding: 1px;
562 margin-top: 4px;
563 text-align: center;
564 }
565
566 #content {
567 width: 600px;
568 padding: 4px 0px 4px 16px;
569 font-size: 95%;
570 vertical-align: top;
571 }
572
573 #quick_search {
574 color: gray;
575 text-align: right;
576 }
577
578 div#content {
579 padding: 1em;
580 margin: 0em;
581 }
582
583 #content input {
584 font-size: 95%;
585 }
586
587 /* vim: set et ts=4 sts=4 sw=4: */