8,236
edits
(New page: →CSS placed here will affect users of the Monobook skin: .divlang { background: #F9F9F9; border: 1px solid #E9E9E9; font-size: 0.85em; margin: 0 0 1em 0; padding: ...) |
|||
Line 30: | Line 30: | ||
margin-left: 0; | margin-left: 0; | ||
padding-left: 0; | padding-left: 0; | ||
} | |||
/* WIKITABLE */ | |||
/* Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="wikitable" */ | |||
/* Tableaux selon la charte graphique. Ils sont centrés par défaut. */ | |||
table.wikitable { /* monobookocentré debut */ | |||
margin-top:1em; | |||
margin-bottom:1em; | |||
background:#F9F9F9; | |||
border:1px #AAA solid; | |||
border-collapse:collapse; | |||
} | |||
table.wikitable th, table.wikitable td { | |||
border:1px #AAA solid; | |||
padding:.3em; | |||
} | |||
table.wikitable th, .wikitable_header { | |||
background:#F2F2F2; | |||
text-align:center; | |||
} | |||
table.wikitable caption { | |||
margin-left:inherit; | |||
margin-right:inherit; | |||
} /* monobookocentré fin */ | |||
/* Alignement du tableau : flottant à droite ou à gauche, ou centré. On peut aligner à droite ou à gauche | |||
sans flottement en ajoutant le [[modèle:clr]] en bas du tableau, ou en précisant style="float:none" | |||
dans l'en-tête du tableau. */ | |||
table.gauche { | |||
float:left; | |||
margin:0 1em 1em 0; | |||
} | |||
table.droite { | |||
float:right; | |||
margin:0 0 1em 1em; | |||
} | |||
table.centre { | |||
margin:1em auto; | |||
} | } |
edits