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