MediaWiki:Common.css: Różnice pomiędzy wersjami

Z Encyklopedia Dinozaury.com
Skocz do: nawigacja, szukaj
m
Linia 7: Linia 7:
 
/* Give wikitables blue headings */
 
/* Give wikitables blue headings */
 
.wikitable th, .wikitable td.hl3, .wikitable th.hl3 {
 
.wikitable th, .wikitable td.hl3, .wikitable th.hl3 {
background-color: #e5e0a4;
+
background-color: #e0d79d;
 
}
 
}
 
.wikitable td.hl1, .wikitable th.hl1 {
 
.wikitable td.hl1, .wikitable th.hl1 {
Linia 22: Linia 22:
 
.vatop tr, tr.vatop, .vatop td, .vatop th {
 
.vatop tr, tr.vatop, .vatop td, .vatop th {
 
vertical-align: top;
 
vertical-align: top;
 +
}
 +
 +
/* 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;
 +
}

Wersja z 21:39, 26 gru 2011

/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */

/* make the list of references look smaller and highlight clicked reference in blue */
ol.references > li:target { background-color: #e0d79d; }
sup.reference:target { background-color: #e0d79d; }

/* Give wikitables blue headings */
.wikitable th, .wikitable td.hl3, .wikitable th.hl3 {
	background-color: #e0d79d;
}
.wikitable td.hl1, .wikitable th.hl1 {
	background: #f6f3cf;
}
.wikitable td.hl2, .wikitable th.hl2 {
	background: #f6f3cf;
}

/**
 * Make entire table valign=top,
 * To replace the |valign=top| on every cell.
 */
.vatop tr, tr.vatop, .vatop td, .vatop th {
	vertical-align: top;
}

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