Difference between revisions of "MediaWiki:Common.css"
From FollowTheScore
| Line 1: | Line 1: | ||
| − | /** CSS | + | /** CSS an dieser Stelle wirkt sich auf alle Skins aus */ |
| + | |||
| + | /* wikitable, sortablewikitable, and prettytable class definitions | ||
| + | ** based on meta.wikimedia.org MediaWiki:Common.css | ||
| + | */ | ||
| + | |||
| + | table.wikitable, table.sortablewikitable, | ||
| + | table.prettytable { | ||
| + | margin: 1em 1em 1em 0; | ||
| + | background: #f9f9f9; | ||
| + | border: 1px #aaaaaa solid; | ||
| + | border-collapse: collapse; | ||
| + | } | ||
| + | |||
| + | table.wikitable th, table.wikitable td, | ||
| + | table.sortablewikitable th, table.sortablewikitable td, | ||
| + | table.prettytable th, table.prettytable td { | ||
| + | border: 1px #aaaaaa solid; | ||
| + | padding: 0.2em; | ||
| + | } | ||
| + | |||
| + | table.wikitable th, | ||
| + | table.sortablewikitable th, | ||
| + | table.prettytable th { | ||
| + | background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */ | ||
| + | text-align: center; | ||
| + | } | ||
| + | |||
| + | table.wikitable caption, | ||
| + | table.sortablewikitable caption, | ||
| + | table.prettytable caption { | ||
| + | margin-left: inherit; | ||
| + | margin-right: inherit; | ||
| + | } | ||
Revision as of 21:01, 20 January 2007
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */
/* wikitable, sortablewikitable, and prettytable class definitions
** based on meta.wikimedia.org MediaWiki:Common.css
*/
table.wikitable, table.sortablewikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.sortablewikitable th, table.sortablewikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th,
table.sortablewikitable th,
table.prettytable th {
background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */
text-align: center;
}
table.wikitable caption,
table.sortablewikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}