Utilisateur:STyx/fiche style actuel.css

Un article de Wikipédia, l'encyclopédie libre.

Note : Après avoir publié la page, vous devrez forcer son rechargement pour voir les changements : Mozilla / Konqueror / Firefox : Shift-Ctrl-R, Internet Explorer / Opera : Ctrl-F5, Safari : Cmd-R.

/*
==Style pour les fiches==
{{Navigation Monobook}}
 
Voir '''[[Projet:Infobox/Fiche/Construction]]'''
 
;URL de la page correctement formatée : 
 http://fr.wikipedia.org/w/index.php?title=Utilisateur:STyx/fiche_style_actuel.css&diff=currentversion
 
;Description:
:Un style (skin) pour les fiches (une « [[Projet:Catégories/Recommandation/Modèle de fiche|Fiche]] » est une « [[Projet:Infobox|Infobox]] nouvelle génération »). 
:Ce style est le style actuel commun aux infoboxes. Il est (re)copié de [[MediaWiki:Common.css]] (simplement "fiche" remplace "infobox" et ".fiche .fichetitre" remplace ".infobox caption" pour le titre")
 
;Utilisation:
:Placer '''en haut''' de votre monobook.css la ligne (penser à « forcer le rechargement de la page ») :
 @import "http://fr.wikipedia.org/w/index.php?title=Utilisateur:STyx/fiche_style_actuel.css&action=raw&ctype=text/css";
 
;Code:
<source lang="css">*/
 
.fiche {
 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;
}
 
.fiche th, .fiche td {
 vertical-align:middle;
 border:1px solid #AAA;
 padding:.2em .2em .2em .5em;
}
 
.fiche td {
 text-align:center;
 background:#F9F9F9;
}
 
.fiche th {
 font-weight:normal;
 text-align:left;
}
 
.fiche .ficheimage { /* emplacement pour les photos et une description */
 background:#FFF;
 padding:0;
 margin-top:0;
 color:#000;
 text-align:center;
}
 
.fiche .fichetitre { /* titre */
 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%;
}
 
.fiche .fichesoustitre { /* sous-titre */
 color:#000;
 font-weight:bold;
 font-size:115%;
 line-height:2;
 text-align:center;
}
 
.fiche dl { clear:both }
.fiche dt {
 float:left;
 clear:left;
 width:35%;
}
.fiche dd { margin-left:40% }