More actions
first try |
m test |
||
| Line 3: | Line 3: | ||
* keep in sync with commonPrint.css | * keep in sync with commonPrint.css | ||
*/ | */ | ||
table. | table.wikitable { | ||
margin: 1em 0; | margin: 1em 0; | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
| Line 11: | Line 11: | ||
} | } | ||
table. | table.wikitable > tr > th, | ||
table. | table.wikitable > tr > td, | ||
table. | table.wikitable > * > tr > th, | ||
table. | table.wikitable > * > tr > td { | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
} | } | ||
table. | table.wikitable > tr > th, | ||
table. | table.wikitable > * > tr > th { | ||
background-color: #eaecf0; | background-color: #eaecf0; | ||
text-align: center; | text-align: center; | ||
} | } | ||
table. | table.wikitable > caption { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
Revision as of 20:28, 19 March 2017
/**
* wikitable class for skinning normal tables
* keep in sync with commonPrint.css
*/
table.wikitable {
margin: 1em 0;
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
border-collapse: collapse;
color: #000;
}
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background-color: #eaecf0;
text-align: center;
}
table.wikitable > caption {
font-weight: bold;
}
/**
* Data table style
*
* Transparent table with subtle borders
* and blue row-highlighting.
*/
.mw-datatable {
border-collapse: collapse;
}
.mw-datatable,
.mw-datatable td,
.mw-datatable th {
border: 1px solid #a2a9b1;
padding: 0 0.15em 0 0.15em;
}
.mw-datatable th {
background-color: #ddf;
}
.mw-datatable td {
background-color: #fff;
}
.mw-datatable tr:hover td {
background-color: #eaf3ff;