De Wiki-Brest
MediaWiki:Common.css : Différence entre versions
Ligne 1 : | Ligne 1 : | ||
− | /** Le CSS placé ici sera appliqué à toutes les apparences. */ | + | |
+ | |||
+ | |||
+ | |||
+ | /** Le CSS placé ici sera appliqué à toutes les apparences. */ | ||
+ | |||
+ | /* VERSION IMPRIMABLE */ | ||
+ | |||
+ | /* Ne pas afficher le lien complet des URL externes sur la version imprimable | ||
+ | (à faire manuellement, grâce à class="plainlinksneverexpand"). */ | ||
+ | .plainlinksneverexpand a.external.text:after { | ||
+ | display:none !important; | ||
+ | } | ||
+ | .plainlinksneverexpand a.external.autonumber:after { | ||
+ | display:none !important; | ||
+ | } | ||
+ | /* Supprimer la flèche de lien externe pour ces liens. */ | ||
+ | .plainlinksneverexpand a { | ||
+ | background:none !important; | ||
+ | padding:0 !important; | ||
+ | } | ||
/* INFOBOX */ | /* INFOBOX */ |
Version du 28 septembre 2007 à 12:13
/** Le CSS placé ici sera appliqué à toutes les apparences. */
/* VERSION IMPRIMABLE */
/* Ne pas afficher le lien complet des URL externes sur la version imprimable
(à faire manuellement, grâce à class="plainlinksneverexpand"). */
.plainlinksneverexpand a.external.text:after {
display:none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
display:none !important;
}
/* Supprimer la flèche de lien externe pour ces liens. */
.plainlinksneverexpand a {
background:none !important;
padding:0 !important;
}
/* 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;
}
.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% }
/* MODÂLES DE COORDONNÉES */
/* Voir [[Modèle:Coord]] pour l'utilité de ces classes.
Notez que les classes "geo", "longitude", et "latitude" ne sont pas simplement des styles
mais servent aussi à l'export au Geo microformat, il ne faut pas les renommer. */
.geo-default { display:inline }
.geo-nondefault { display:none }
.geo-dms { display:inline }
.geo-dec { display:inline }
.geo-multi-punct { display:none }
.longitude .latitude { white-space:nowrap }
/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
.geo {}
geo-default { display: inline } .geo-nondefault { display: inline }
.geo-dec { display: none } .geo-dms { display: inline }