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

De WikiGenWeb
Aller à : navigation, rechercher
m
m
Ligne 32 : Ligne 32 :
 
     border-style:0px none;
 
     border-style:0px none;
 
}
 
}
 
+
.right th, .right td {
 +
    border: 1px #aaa solid;
 +
    padding: 0.2em;
 +
}
  
 
.wikitable th, .wikitable td, .left th, .left td, .right th, .right td, .center th, .center td {
 
.wikitable th, .wikitable td, .left th, .left td, .right th, .right td, .center th, .center td {

Version du 27 février 2011 à 22:54

/* 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;
}
.right th, .right td {
    border: 1px #aaa solid;
    padding: 0.2em;
}

.wikitable th, .wikitable td, .left th, .left td, .right th, .right td, .center th, .center 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;
}