Utilisateur:Raymond SÉNÈQUE/vector.css : Différence entre versions

De WikiGenWeb
Aller à : navigation, rechercher
m (Page créée avec « WIKITABLE : Classe pour tableaux standards, légèrement grisés. Syntaxe : {| class="wikitable" : /* Tableaux selon la charte graphique. Ils sont centrés par déf... »)
 
m
Ligne 18 : Ligne 18 :
  
 
table.wikitable th, .wikitable_header {
 
table.wikitable th, .wikitable_header {
  background:#F2F2F2;
+
  background:#E0E0E0;
 
  text-align:center;
 
  text-align:center;
 
}
 
}

Version du 27 février 2011 à 10:57

/* 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:#E0E0E0;
 text-align:center;
}
.wikitable th[scope=row] {
 text-align: left;
}

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, 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;
}

/* Pour les cas où le code de l'article contienne un paramètre align de valeur center */

table.wikitable[align=center] {margin:1em auto;}

/* 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;
}