MediaWiki:Common.css : Différence entre versions

De Logilys
Aller à : navigation, rechercher
m
Ligne 10 : Ligne 10 :
  
 
/* Wikitable (Prettytable) class for skinning normal tables */
 
/* Wikitable (Prettytable) class for skinning normal tables */
 +
table,
 
table.wikitable,
 
table.wikitable,
 
table.prettytable {
 
table.prettytable {
Ligne 18 : Ligne 19 :
 
empty-cells: show;
 
empty-cells: show;
 
}
 
}
 +
table th, table td,
 
table.wikitable th, table.wikitable td,
 
table.wikitable th, table.wikitable td,
 
table.prettytable th, table.prettytable td {
 
table.prettytable th, table.prettytable td {
Ligne 23 : Ligne 25 :
 
padding: 0.2em 0.4em;
 
padding: 0.2em 0.4em;
 
}
 
}
 +
table th, table td.h13, table th.h13,
 
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
 
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
 
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
 
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
Ligne 28 : Ligne 31 :
 
text-align: center;
 
text-align: center;
 
}
 
}
 +
table td.hl1, table th.hl1,
 
table.wikitable td.hl1, table.wikitable th.hl1,
 
table.wikitable td.hl1, table.wikitable th.hl1,
 
table.prettytable td.hl1, table.wikitable th.hl1 {
 
table.prettytable td.hl1, table.wikitable th.hl1 {
Ligne 33 : Ligne 37 :
 
text-align: center;
 
text-align: center;
 
}
 
}
 +
table td.hl2, table th.hl2,
 
table.wikitable td.hl2, table.wikitable th.hl2,
 
table.wikitable td.hl2, table.wikitable th.hl2,
 
table.prettytable td.hl2, table.wikitable th.hl2 {
 
table.prettytable td.hl2, table.wikitable th.hl2 {
Ligne 38 : Ligne 43 :
 
text-align: center;
 
text-align: center;
 
}
 
}
 +
table caption,
 
table.wikitable caption,
 
table.wikitable caption,
 
table.prettytable caption {
 
table.prettytable caption {

Version du 29 janvier 2010 à 16:33

/* Le CSS placé ici sera appliqué à tous les habillages. */
#ca-talk { display: none !important; }
body h1.firstHeading { display:none; }
#p-search {display:none;}
#p-tb {display:none;}

/* Créer par Christian pour dans les cas ou on ne veut pas que la wikitable s'ajoute automatiquement */
table.noclass {
}

/* Wikitable (Prettytable) class for skinning normal tables */
table,
table.wikitable,
table.prettytable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaaaaa solid;
	border-collapse: collapse;
	empty-cells: show;
}
table th, table td,
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
	border: 1px #aaaaaa solid;
	padding: 0.2em 0.4em;
}
table th, table td.h13, table th.h13,
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
	background: #8da7d6;
	text-align: center;
}
table td.hl1, table th.hl1,
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
	background: #c5d8fc;
	text-align: center;
}
table td.hl2, table th.hl2,
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
	background: #a7c1f2;
	text-align: center;
}
table caption,
table.wikitable caption,
table.prettytable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
}

/* General purpose "pretty (data) tables" */
table.datatable { background-color: transparent; }
table.datatable th, table.datatable td { padding: 4px; }
table.datatable th { text-align: left; background-color: #999999; }
table.datatable tr { background-color: #cccccc; }
table.datatable tr:hover { background-color: #ffffcc; }

.generated-sidebar portlet { color: #6893C5 }