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

De WikiGenWeb
Aller à : navigation, rechercher
m
m
Ligne 10 : Ligne 10 :
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 
}
 
}
table.wgw-left, table.wgwright{
+
table.wikitable-left, table.wgwright{
 
     background: #f9f9f9;
 
     background: #f9f9f9;
 
     border: 1px #aaa solid;
 
     border: 1px #aaa solid;
Ligne 20 : Ligne 20 :
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 
}
 
}
table.wgw-left{
+
table.wikitable-left{
 
     float:left;
 
     float:left;
 
     margin:0 1em 1em 0;
 
     margin:0 1em 1em 0;
Ligne 32 : Ligne 32 :
 
     border-style:0px none;
 
     border-style:0px none;
 
}
 
}
.wikitable th, .wikitable td, .wgw-left th, .wgw-left td, .wgwright th, .wgwright td, .wgw-center th, .wgw-center td {
+
.wikitable th, .wikitable td, .wikitable-left th, .wikitable-left td, .wgwright th, .wgwright td, .wgw-center th, .wgw-center td {
 
     border: 1px #aaa solid;
 
     border: 1px #aaa solid;
 
     padding: 0.2em;
 
     padding: 0.2em;
 
}
 
}
.wgwright th, .wgwright td {
+
.wikitable th, .wikitable_header, .wikitable-left th, .wikitable-left_header, .wgwright th, .wgwright_header, .wgw-center th, .wgw-center_header{
    border: 1px #aaa solid;
 
    padding: 0.2em;
 
}
 
 
 
.wikitable th, .wikitable_header, .wgw-left th, .wgw-left_header, .wgwright th, .wgwright_header, .wgw-center th, .wgw-center_header{
 
 
     background:#E0E0E0;
 
     background:#E0E0E0;
 
     text-align: center;
 
     text-align: center;
 
}
 
}
.wikitable th[scope=row], .wgw-left th[scope=row], .wgw-right th[scope=row], .wgw-center th[scope=row] {
+
.wikitable th[scope=row], .wikitable-left th[scope=row], .wgw-right th[scope=row], .wgw-center th[scope=row] {
 
text-align: left;
 
text-align: left;
 
}
 
}
.wikitable caption, .wgw-left caption, .wgwright caption, .wgw-center caption {
+
.wikitable caption, .wikitable-left caption, .wgwright caption, .wgw-center caption {
 
     font-weight: bold;
 
     font-weight: bold;
 
     margin-left:inherit;
 
     margin-left:inherit;

Version du 27 février 2011 à 23:06

/* 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.wikitable-left, table.wgwright{
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
table.wgw-center{
    margin:0 auto;
    border:0px none;
    border-collapse: collapse;
}
table.wikitable-left{
    float:left;
    margin:0 1em 1em 0;
}
table.wgwright{
    float:right;
    margin:0 0 1em 1em;
}
table.wikitable[align=center] {
    margin:0 auto;
    border-style:0px none;
}
.wikitable th, .wikitable td, .wikitable-left th, .wikitable-left td, .wgwright th, .wgwright td, .wgw-center th, .wgw-center td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th, .wikitable_header, .wikitable-left th, .wikitable-left_header, .wgwright th, .wgwright_header, .wgw-center th, .wgw-center_header{
    background:#E0E0E0;
    text-align: center;
}	
.wikitable th[scope=row], .wikitable-left th[scope=row], .wgw-right th[scope=row], .wgw-center th[scope=row] {
	text-align: left;
}	
.wikitable caption, .wikitable-left caption, .wgwright caption, .wgw-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;
}