Utilisateur:Raymond SÉNÈQUE/vector.css : Différence entre versions
De WikiGenWeb
m |
m |
||
Ligne 33 : | Ligne 33 : | ||
table.gauche, table.left{float:left;margin:0 1em 1em 0} | table.gauche, table.left{float:left;margin:0 1em 1em 0} | ||
table.droite, table.right{float:right;margin:0 0 1em 1em} | table.droite, table.right{float:right;margin:0 0 1em 1em} | ||
− | table.centre, table.center{margin:1em auto;border-style:1px | + | table.centre, table.center{margin:1em auto;border-style:1px solid;} |
/* Pour les cas où le code de l'article contienne un paramètre align de valeur center */ | /* Pour les cas où le code de l'article contienne un paramètre align de valeur center */ | ||
Version du 27 février 2011 à 22:18
/* 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 { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } .wikitable th, .wikitable td { border: 1px #aaa solid; padding: 0.2em; } .wikitable th,.wikitable_header{ background:#E0E0E0; text-align: center; } .wikitable th[scope=row] { text-align: left; } .wikitable caption { font-weight: bold; margin-left:inherit; margin-right:inherit; } /* 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, table.left{float:left;margin:0 1em 1em 0} table.droite, table.right{float:right;margin:0 0 1em 1em} table.centre, table.center{margin:1em auto;border-style:1px solid;} /* Pour les cas où le code de l'article contienne un paramètre align de valeur center */ table.wikitable[align=center] {margin:1em auto;} /* hide initially collapsed collapsable tables */ table.collapsed tr.collapsable { display: none; } /* ALTERNANCE */ /* Classes permettant d'alterner les couleurs de ligne dans les tableaux. La classe .odd est appliquée via common.js */ table.alternance tr, .alternance.wikitable th[scope="row"] { background: #fff; } table.alternance tr.odd, .alternance.wikitable tr.odd th[scope="row"] { background: #E9E9E9; }