Utilisateur:Raymond SÉNÈQUE/vector.css : Différence entre versions
De WikiGenWeb
m |
m |
||
Ligne 32 : | Ligne 32 : | ||
border-style:0px none; | border-style:0px none; | ||
} | } | ||
− | .right th, .right td { | + | .wikitable th, .wikitable td, .left th, .left td, .right th, .right td, .center th, .center td { |
border: 1px #aaa solid; | border: 1px #aaa solid; | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
− | + | .right th, .right td { | |
− | |||
border: 1px #aaa solid; | border: 1px #aaa solid; | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
+ | |||
.wikitable th, .wikitable_header, .left th, .left_header, .right th, .right_header, .center th, .center_header{ | .wikitable th, .wikitable_header, .left th, .left_header, .right th, .right_header, .center th, .center_header{ | ||
background:#E0E0E0; | background:#E0E0E0; |
Version du 27 février 2011 à 22:55
/* 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; } table.left, table.right{ background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } table.center{ margin:0 auto; border:0px none; border-collapse: collapse; } table.left{ float:left; margin:0 1em 1em 0; } table.right{ float:right; margin:0 0 1em 1em; } table.wikitable[align=center] { margin:0 auto; border-style:0px none; } .wikitable th, .wikitable td, .left th, .left td, .right th, .right td, .center th, .center td { border: 1px #aaa solid; padding: 0.2em; } .right th, .right td { border: 1px #aaa solid; padding: 0.2em; } .wikitable th, .wikitable_header, .left th, .left_header, .right th, .right_header, .center th, .center_header{ background:#E0E0E0; text-align: center; } .wikitable th[scope=row], .left th[scope=row], .right th[scope=row], .center th[scope=row] { text-align: left; } .wikitable caption, .left caption, .right caption, .center caption { font-weight: bold; margin-left:inherit; margin-right:inherit; } /* 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; }