MediaWiki:Common.css : Différence entre versions

De Salve Regina

(Page créée avec « Le CSS placé ici sera appliqué à tous les habillages. : INFOBOX : /* Style commun aux infobox ; utiliser : * class="infobox" dans l'en-tête. * class="in... »)
(Aucune différence)

Version du 11 février 2011 à 23:56

/* Le CSS placé ici sera appliqué à tous les habillages. */

/* INFOBOX */
 
/* Style commun aux infobox ; utiliser : 
   * class="infobox" dans l'en-tête.
   * class="infoboximage" pour l'image et sa description
   * class="infoboxsoustitre" pour le sous-titre.
   Voir [[Aide:Infobox]] et [[Projet:InfoBox]]. */
.infobox {
 background:#EEE; /* couleur correspondant aux titres / colonne de gauche, th */
 color:#000;
 float:right;
 clear:right;
 font-size:95%;
 border-collapse:collapse;
 margin:0 0 .5em 1em;
 width:250px;
} /* monobookocentré debut */
 
.infobox caption {
 background:#C0C0C0;
 border-left:1px solid #AAA;
 border-top:1px solid #AAA;
 border-right:1px solid #AAA;
 padding:.2em;
 margin-left:.57em;
 font-weight:bolder;
 text-align:center;
 color:#FFF;
 font-size:160%;
}
 
.infobox th, .infobox td {
 vertical-align:middle;
 border:1px solid #AAA;
 padding:.2em .2em .2em .5em;
}
 
.infobox td {
 text-align:center;
 background:#F9F9F9;
}
 
.infobox th {
 font-weight:normal;
 text-align:left;
}
 
.infobox .infoboximage { /* emplacement pour les photos et une description */
 background:#FFF;
 padding:0;
 margin-top:0;
 color:#000;
 text-align:center;
}
 
.infobox .infoboxsoustitre { /* sous-titre */
 color:#000;
 font-weight:bold;
 font-size:115%;
 line-height:2;
 text-align:center;
}
 
.infobox dl { clear:both }
.infobox dt {
 float:left;
 clear:left;
 width:35%;
}
.infobox dd { margin-left:40% } /* monobookocentré fin */
Outils personnels
Récemment sur Salve Regina