« MediaWiki:Common.css » : différence entre les versions
Aller à la navigation
Aller à la recherche
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. * * clas... » |
Aucun résumé des modifications |
||
Ligne 83 : | Ligne 83 : | ||
.infobox dd { | .infobox dd { | ||
margin-left: 40% | margin-left: 40% | ||
} | |||
/** | |||
* Infobox V2 | |||
* Voir : [[Utilisateur:Antaya/Infobox V2]] | |||
*/ | |||
.infobox_v2 { | |||
/* monobookocentré debut */ | |||
background: #f9f9f9; | |||
color: #000; | |||
font-size: 90%; | |||
line-height: 1.1em; | |||
float: right; | |||
clear: right; | |||
/* haut droite bas gauche */ | |||
margin: 0 0 .5em 1em; | |||
width: 300px; | |||
border: 1px solid #aaa; | |||
padding: 0.1em; | |||
} | |||
.infobox_v2 th { | |||
vertical-align: super; | |||
text-align: left; | |||
} | |||
.infobox_v2 .entete { | |||
height: 45px; | |||
vertical-align: middle; | |||
text-align: center; | |||
font-size: 150%; | |||
font-weight: bolder; | |||
line-height: 1.2em; | |||
color: #000; | |||
} | |||
.infobox_v2 .media { | |||
/* css V2 pour [[Modèle: Son]], etc. */; | |||
height: 35px; | |||
vertical-align: middle; | |||
text-align: center; | |||
font-weight: bolder; | |||
color: #000; | |||
} | } |
Version du 25 août 2012 à 11:06
/* 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%
}
/**
* Infobox V2
* Voir : [[Utilisateur:Antaya/Infobox V2]]
*/
.infobox_v2 {
/* monobookocentré debut */
background: #f9f9f9;
color: #000;
font-size: 90%;
line-height: 1.1em;
float: right;
clear: right;
/* haut droite bas gauche */
margin: 0 0 .5em 1em;
width: 300px;
border: 1px solid #aaa;
padding: 0.1em;
}
.infobox_v2 th {
vertical-align: super;
text-align: left;
}
.infobox_v2 .entete {
height: 45px;
vertical-align: middle;
text-align: center;
font-size: 150%;
font-weight: bolder;
line-height: 1.2em;
color: #000;
}
.infobox_v2 .media {
/* css V2 pour [[Modèle: Son]], etc. */;
height: 35px;
vertical-align: middle;
text-align: center;
font-weight: bolder;
color: #000;
}