Utilisateur:STyx/fiche style Antaya.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_Antaya.css&diff=currentversion#Style_pour_les_fiches
 
;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 basé sur [[Projet:Modèle/Fiche ville]].
 
;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_Antaya.css&action=raw&ctype=text/css";
 
<div style="clear:both" />
;Code:
<source lang="css">*/
 
.fiche {
 border: 1px solid #aaaaaa;
}
 
table.fiche {
 width:300px; 
 float:right; 
 clear:right; 
 margin: 0 0 1em 1em; /* haut droite bas gauche */ 
 padding: 0; 
 border-collapse: collapse; 
 background-color: white;
}
 
.fiche th, .fiche td {
 font-size: 95%; 
 vertical-align:baseline;
 text-align:left;
 line-height: 1em;
 padding: 0 0.2em 0.3em 0.2em; /* haut droite bas gauche */
 border:none;
 background-color:#f8f8f8;
}
 
.fiche th {
 font-weight:normal;  /* désactive le "th {font-weight:bold;}" */
 padding-bottom: 0.1em;
}
 
.fiche th a {
 color:black;  /* désactive la couleur des liens à gauche et dans les titres */
}
 
.fiche .ficheimage { /* emplacement pour les photos */
 background-color: white;
 padding:1px;
 text-align:center;
}
 
.fiche .ficheimage div { /* la légende des photos */
 padding-bottom:0.15em;
 font-size:80%;
}
.fiche .fichetitre { /* titre */
 text-align:center; 
 font-size: 135%;
 font-weight:bolder;
 border: 1px solid #aaaaaa;
 background-color:#dddddd;
 padding:0.25em;
}
 
.fiche .fichesoustitre { /* sous-titre */
 text-align:center; 
 font-size: 125%;
 border-style: solid; 
 border: 1px solid #aaaaaa;
 background-color:#eeeeee;
}
 
.fiche dl { clear:both }
.fiche dt {
 float:left;
 clear:left;
 width:35%;
}
.fiche dd { margin-left:40% }
 
/* LES CHARTES: */
 
.charte_geographie th, .charte_geographie td  {
 background-color:#f3fff3;
}
 
.charte_geographie th.fichetitre  {
 background-color:#ddffdd;
}
 
.charte_geographie th.fichesoustitre  {
 background-color:#ddffdd;
}
 
.charte_cratere th, .charte_cratere td  {
 background-color:#f9f9f9;
}
 
.charte_cratere th.fichetitre  {
 background-color:#003399;
 color:white;
}
 
.charte_cratere th.fichesoustitre  {
 background-color:#B7CEFF;
}
 
/*</source>*/