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

De WikiGenWeb
Aller à : navigation, rechercher
m
m
Ligne 65 : Ligne 65 :
 
table.alternance tr.odd, .alternance.wikitable tr.odd th[scope="row"] {
 
table.alternance tr.odd, .alternance.wikitable tr.odd th[scope="row"] {
 
background: #E9E9E9;
 
background: #E9E9E9;
 +
}
 +
 +
 +
/* SPORTTABLE */
 +
 +
/* Tableau préformaté permettant lignes blanches et lignes grises. Syntaxe : class="sporttable"
 +
  Exemple sur [[Équipe d'Angleterre de rugby à XV#Statistiques sur les matchs|cet article]]. */
 +
table.sporttable { /* monobookocentré debut */
 +
margin:1em 1em 1em 0;
 +
background:#F9F9F9;
 +
border:1px #AAA solid;
 +
border-collapse:collapse;
 +
}
 +
 +
table.sporttable th, table.sporttable td {
 +
border:1px #AAA solid;
 +
padding:.2em;
 +
}
 +
 +
table.sporttable th {
 +
font-weight:bold;
 +
} /* monobookocentré fin */
 +
 +
table.sporttable caption {
 +
margin-left:inherit;
 +
margin-right:inherit;
 
}
 
}

Version du 28 février 2011 à 09:38

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


/* SPORTTABLE */

/* Tableau préformaté permettant lignes blanches et lignes grises. Syntaxe : class="sporttable"
   Exemple sur [[Équipe d'Angleterre de rugby à XV#Statistiques sur les matchs|cet article]]. */
table.sporttable { /* monobookocentré debut */
 margin:1em 1em 1em 0;
 background:#F9F9F9;
 border:1px #AAA solid;
 border-collapse:collapse;
}

table.sporttable th, table.sporttable td {
 border:1px #AAA solid;
 padding:.2em;
}

table.sporttable th {
 font-weight:bold;
} /* monobookocentré fin */

table.sporttable caption {
 margin-left:inherit;
 margin-right:inherit;
}