source: extensions/sobre/theme.bak.css @ 5766

Last change on this file since 5766 was 5766, checked in by Gotcha, 14 years ago

Optimize CSS

File size: 11.0 KB
Line 
1/* $ Id: theme.css 2010-04-03 Par Gotcha pour son thème "Sobre" $ */
2
3/* Valide CSS3 http://jigsaw.w3.org/css-validator/validator */
4/* Compressé avec http://www.cleancss.com/ (musclé !) */
5
6
7
8
9/* MERCI DE NE PAS TOUCHER A CE FICHIER */
10
11
12
13
14
15
16/* Importation de feuilles de styles additionnelles */
17@import "slider.css";
18
19/* Le header */
20/* Fonctionne avec l'administration du thème*/
21/* Désactivé par défaut */
22#theHeader p {
23        display:none;
24}
25
26/* Centrage en une seule colonne */
27body {
28margin: 0 auto;
29max-width: 1190px;
30min-width: 980px;
31}
32
33/* Couleurs des textes */
34BODY, H1, H3,
35INPUT.rateButtonSelected  { /* <= why IE doesn't inherit this ? */
36        color:#d0d0d0;
37}
38H2, #menubar DT {
39        color: #fff48e;
40}
41A, INPUT.rateButton {
42        color: #fff;
43        border: none;
44}
45A:hover {
46        color: #FFF48E;
47}
48#copyright {
49        color: black;
50}
51#copyright a {
52        color: #FF7700;
53}
54
55/* Arrières plans */
56BODY, H3, #imageBar, #imageToolBar A:hover {
57        background: #393737
58}
59BODY {
60background: #EAEAEA url(images/background-0.png) repeat-x top;
61}
62H2 {
63        background-image: url(images/tableh1_bg.png);
64        color: #fff48e;
65}
66#imageHeaderBar H2 {
67        background-image: none;
68        background-color: transparent;
69        border: none;
70}
71#imageHeaderBar {
72        background-image: url(images/tableh2_bg.png);
73        background-repeat: repeat-x;
74        background-position: center;
75        border-top: 1px solid #000;
76}
77.content, #imageToolBar, .header_notes {
78        background-color: black;
79}
80#imageToolBar {
81        background-color:#505050;
82}
83
84/* Bordures */
85.content{
86        border: 1px solid #252525;
87        margin: 0;
88}
89H2, #imageToolBar {
90        border-bottom: 1px solid #000;
91}
92FIELDSET, INPUT, SELECT, TEXTAREA,
93.content DIV.thumbnailCategory {
94        border: 1px solid gray;
95}
96.content UL.thumbnails SPAN.wrap2 {
97        border: 1px solid #aaaaaa;      /* thumbnails border color and style */
98}
99.content UL.thumbnails SPAN.wrap2:hover,
100.content UL.thumbnailCategories DIV.thumbnailCategory:hover,
101.content UL.thumbnailCategories DIV.thumbnailCategory:hover A {
102        background-color: #faebd7;
103        border-color: yellow;   /* thumbnails border color when mouse cursor is over it */
104        color: black;
105}
106#thePicturePage {
107        border:1px solid white;
108}
109
110/* Les polices */
111h2 {
112        font-family:Mon-menu;
113        font-size:18px;
114        font-style:italic;
115        font-weight:normal;
116}
117.content ul.thumbnails span.thumbLegend {
118        height: 100%;
119}
120.content div.thumbnailCategory div.description div.text p {
121  font-family:Trebuchet MS;
122}
123.stuffs_block {
124  font-family:Comic Sans MS;
125}
126
127/* Plugin PWG_Stuff, permet d'afficher les derniers commentaires sur 2 colonnes. */
128.content #comments ul.thumbnailCategories li {
129  width:49.9%;
130}
131
132/* Affichage des tags avec le plugin Cumulus cloud tags */
133.tagLetter table.tagLetterContent {
134  font-size:100%;
135}
136
137/* Modifications pour RV Mpas & Earth */
138#theImage #mapPicture {
139  width: 280px;
140}
141#theImage #map {
142height:600px;
143min-height:512px;
144position: relative;
145background-color: rgb(229, 227, 223);
146left: 290px;
147right: -290px;
148margin-right: 290px;
149}
150
151/* Plugin Whois Online */
152.Online {
153        font-size: 11px;
154        color: #444444;
155}
156.Online a {
157        color: black;
158}
159
160/* Correction du centrage du cadre de la catégorie */
161.content ul.thumbnailCategories {
162  padding-left: 4px;
163}
164
165/* Centrage modifications de la caractéristique de la catégorie. */
166.content div.thumbnailCategory div.description div.text p.Nb_images {
167  border-top:1px solid #808080;
168  color:#FF9960;
169  font-style:italic;
170  text-align:center;
171}
172
173/* Centrage modifications du nom de la catégorie. */
174.content div.thumbnailCategory div.description h3 {
175  font-weight: bold;
176  text-align:center;
177}
178
179/* Modifications de la description de la catégorie. */
180.content div.thumbnailCategory div.description div.text p {
181  color:#996060;
182}
183
184/* Correction du centrage de la miniature */
185.content div.thumbnailCategory div.illustration {
186  text-align: center;
187  margin: 2px;
188}
189
190/* Plus de place pour le texte des catégories */
191.content ul.thumbnails span.wrap2, .content div.thumbnailCategory div.description  {
192        height: 190px;
193}
194.content div.thumbnailCategory div.description .text {
195        text-align: justify;
196        padding-right:5px;
197}
198.content div.thumbnailCategory div.description {
199
200}
201
202/* Correction de l'affichage de la liste des tags */
203ul.tagSelection {
204        width:100%;
205}
206ul.tagSelection li{
207        float:left;
208        width:150px!important;
209        overflow:hidden;
210}
211
212/* Tips pour picture.tpl */
213#theImage img {
214        margin-top: 10px;
215}
216#theImage p {
217        color: #000;
218        font-style:italic;
219        margin:10px auto auto;
220        position:relative;
221        width:800px;
222}
223#linkPrev, #linkNext {
224        display: none;
225}
226/* Mise en page du tableau */
227TABLE.infoTable {
228width:920px;
229background: #505050;
230}
231TABLE.infoTable .label {
232  background-color: #2F0000;
233  font-weight: bold;
234  text-align: left;
235  padding-right: 0.5em;
236  padding-left: 3px;
237}
238TABLE.infoTable {
239  border: solid 1px;
240  margin-top: 6px;
241}
242TABLE.infoTable .value p {
243  width: 320px;
244  margin: 0px;
245}
246TABLE.infoTable .value {
247  max-width: 320px;
248}
249TABLE.infoTable .label {
250  width: 100px;
251}
252TABLE.infoTable .value p a, input.rateButton {
253border-width:0;
254color:#FF7700;
255}
256/* Modification de zone de commentaires */
257#comments fieldset {
258        margin: auto;
259        padding: 0;
260        background-color: #F0F0F0;
261        color: black;
262}
263#comments fieldset legend {
264        margin-left: 10px;
265        background: #F0F0F0;
266}
267#thePicturePage form.filter fieldset ul, #thePicturePage form.filter fieldset label {
268        display:block;
269        float:none;
270        margin-right:0;
271        padding:0;
272}
273table.commentr {
274        margin-top: -20px;
275        margin-bottom: -10px;
276}
277#outils {
278        padding-top: 17px;
279}
280form.filter input[type="submit"] {
281        margin-top:0;
282}
283form fieldset p {
284        margin-top:0;
285}
286#comments  {
287        border-width:0;
288        padding:5px;
289}
290#theImage table {
291        background-color: #D3D3D3;
292        border:1px solid #000;
293        width: 800px;
294        margin:10px auto 0;
295}
296#comments {
297        width: 910px;
298        margin: 0 auto;
299        background-color: #505050;
300}
301#comments h3 {
302        margin:14px -5px;
303        padding:0 7px;
304}
305#comments table tbody tr td  select {
306        width: 95px;
307}
308#comments SPAN.author {
309        font-weight:bold;
310}
311#comments blockquote {
312        border-color:black;
313        border-style:solid;
314        border-width:0 0 0 2px;
315        padding-left:5px;
316        font-style:italic;
317}
318div#comments fieldset legend {
319        margin-left: 10px;
320}
321form.filter fieldset ul, form.filter fieldset label {
322        padding-top: 5px;
323        padding-left: 5px;
324}
325table.commentr {
326        margin-top: -20px;
327        margin-bottom: -10px;
328}
329
330/* Tip pour la page d'accueil */
331/* Concerne PWG_Stuffs */
332/* A adapter */
333#stuffs_block_3 #comments {
334        width: 100%;
335}
336
337/* Modification pûrement visuel et esthétique modifiant l'affichage de l'enveloppe sous une miniature nouvelle */
338.content ul.thumbnails span.thumbLegend img {
339  position:relative; top:-3px;
340}
341
342/* Tip personnel pour un bloc */
343/* Utilisez PWG_Stuffs */
344/* Bloc privé */
345#stuffs_block_10 div.personal_block{
346display:none;
347}
348#stuffs_block_10:hover div.personal_block{
349display:block;
350}
351
352/* Pour IE et Chrome surtout */
353.content ul.thumbnailCategories {
354width: 99%;
355}
356
357
358
359/* Modifications de la tailles des miniatures. L'expemple ci-dessous suppose une taille de 200px de coté pour les miniatures.*/
360/* A vous d'adapter en fonction de vos propres miniatures et choix esthétique.*/
361
362.content DIV.thumbnailCategory DIV.description {
363        padding-left: 0px                    /* For Sylvia theme only */
364}
365.content div.thumbnailCategory div.illustration {
366        text-align:center;
367}
368.content div.thumbnailCategory div.illustration { 
369        width:170px;                      /* Usable range 162px-360px , optimal : Thumbnail width + 10px */
370        margin-top:19px;
371}
372.content div.thumbnailCategory { 
373        height: 200px;                    /* Usable range 172px-250px , optimal : Thumbnail height + 10px */ /* For Slyvia theme, Thumbnail height + 40px */
374}
375.content div.thumbnailCategory div.description .text { 
376        height: 110px;                   /* Optimal : Thumbnail height - 50px */ 
377}
378#comments div.thumbnailCategory div.illustration { 
379        width: 255px;                    /* Usable range 219px-360px , optimal : Thumbnail width + 95px */ 
380}
381.content ul.thumbnails span,
382.content ul.thumbnails span.wrap2 a,
383.content ul.thumbnails label {
384        width: 170px;                        /* Optimal : Thumbnail width + 10px */ 
385}
386
387/* Set defaults for thumbnails legend ( modifie le nbre de ligne sous les vignettes)*/
388#content UL.thumbnails SPAN.thumbLegend {
389  display: block;    /* display: none; if you don't want legend */
390  height: 5em;        /* legend height (don't set auto to be Gecko friendly)*/
391}
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410#menubar {
411height:2.1em;
412margin:-2px auto 3px;
413position:relative;
414width:980px;
415z-index:2;
416padding-bottom:25px;
417display:block;
418float:none;
419}
420
421#menubar #menuTagCloud a {
422display:inline;
423}
424
425#menubar #menuTagCloud span {
426display:block;
427padding:0.5em 0;
428text-align:left;
429}
430
431#menubar .button {
432border:medium none;
433float:right;
434left:95%;
435list-style-image:none;
436list-style-position:outside;
437list-style-type:none;
438margin:-2px 2px 2px;
439padding:0;
440position:absolute;
441text-align:center;
442text-indent:0;
443width:auto;
444}
445
446#menubar a,#menubar dt a,#menubar dd a {
447border:0;
448color:#fff;
449display:block;
450text-decoration:none;
451}
452
453#menubar a,#menubar dt,div#menubar dl:hover dd,div#menubar ul li:hover ul,div#menubar ul ul li:hover ul,div#menubar ul ul ul li:hover ul,div#menubar ul ul ul ul li:hover ul,div#menubar ul ul ul ul ul li:hover ul {
454display:block;
455}
456
457#menubar a:hover,#menubar dt:hover {
458color:#fff;
459}
460
461#menubar dd {
462background:#333;
463border:1px solid #8c8c8c;
464position:absolute;
465text-align:left;
466z-index:500;
467}
468
469#menubar dd a {
470padding:0.5em;
471}
472
473#menubar dd a:hover {
474background-color:#333;
475border:1px solid #8c8c8c;
476color:#FFF;
477font-style:italic;
478}
479
480#menubar dd ul ul {
481background-color:#fff;
482border:1px solid #8c8c8c;
483left:100%;
484position:absolute;
485top:0;
486z-index:500;
487}
488
489#menubar dl {
490display:inline;
491height:25px;
492text-align:center;
493width:25%;
494}
495
496#menubar dl dd p {
497border-bottom:1px solid #000;
498}
499
500#menubar dt {
501background-image:url("images/tableh1_bg.png");
502border:0;
503color:#fff48e;
504padding:5px 0;
505}
506
507#menubar li {
508position:relative;
509}
510
511#menubar li a {
512background:#3f3f3f none repeat scroll 0 0;
513}
514
515#menubar li span {
516right:7px;
517}
518
519#menubar li span,#menubar li IMG {
520padding-left:4px;
521position:absolute;
522top:7px;
523}
524
525#menubar li span.bullet,div#menubar dd,div#menubar ul ul,div#menubar ul li:hover ul ul,div#menubar ul ul li:hover ul ul,div#menubar ul ul ul li:hover ul ul,div#menubar ul ul ul ul li:hover ul ul {
526display:none;
527}
528
529#menubar li:hover {
530background:#3f3f3f;
531}
532
533#menubar p,#menubar p.totalimages,#menubar p,#menubar p.totalimages,form#quickconnect {
534clear:both;
535margin:0;
536padding:0.2em;
537text-align:center;
538}
539
540#menubar ul {
541width:20em;
542}
543
544#menubar ul li a {
545margin-left:25px;
546padding-right:3em;
547}
548
549#menubar ul,#menubar dl,#menubar ul#menuTagCloud {
550float:left;
551list-style:none;
552margin:0;
553padding:0;
554}
555
556#menubar ul,#menubar li {
557background:#333 none repeat scroll 0 0;
558}
559
560#menubar ul.rvTree ul {
561padding-left:0 !important;
562}
563
564body#theadminpage #menubar {
565border:none;
566display:block;
567float:none;
568margin:5px auto;
569width:898px;
570}
571
572form#quickconnect .button {
573left:50px;
574position:relative;
575top:-20px;
576}
577
578form#quickconnect fieldset {
579padding-top:5px;
580text-align:left;
581width:19em;
582}
583
584form#quickconnect label {
585clear:left;
586}
587
588form#quickconnect label input {
589font-size:1em;
590}
591
592form#quickconnect p,form#quickconnect a {
593border:none;
594padding:0;
595}
596
597form#quicksearch {
598border-bottom:1px solid #000;
599padding:0 0 0 15px;
600}
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
Note: See TracBrowser for help on using the repository browser.