MediaWiki:Common.css: Unterschied zwischen den Versionen
(Die Seite wurde neu angelegt: „→CSS an dieser Stelle wirkt sich auf alle Skins aus: →Wikitable (Prettytable) class for skinning tables: table.wikitable th, table.wikitable td { paddin…“) |
Keine Bearbeitungszusammenfassung |
||
Zeile 20: | Zeile 20: | ||
margin-right: inherit; | margin-right: inherit; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
/** Collapsible tables ********************************************************* | |||
* | |||
* Description: Allows tables to be collapsed, showing only the header. See | |||
* http://www.mediawiki.org/wiki/Manual:Collapsible_tables. | |||
* Maintainers: [[en:User:R. Koot]] | |||
*/ | |||
table.collapsed tr.collapsible { | |||
display: none; | |||
} | |||
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */ | |||
float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ | |||
font-weight: normal; /* are styled here so they can be customised. */ | |||
text-align: right; | |||
width: auto; | |||
} | } |
Version vom 22. Dezember 2012, 16:11 Uhr
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */
/* Wikitable (Prettytable) class for skinning tables */
table.wikitable th, table.wikitable td {
padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 {
background: #8da7d6;
}
table.wikitable td.hl1, table.wikitable th.hl1 {
background: #c5d8fc;
text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2 {
background: #a7c1f2;
text-align: center;
}
table.wikitable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/** Collapsible tables *********************************************************
*
* Description: Allows tables to be collapsed, showing only the header. See
* http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
* Maintainers: [[en:User:R. Koot]]
*/
table.collapsed tr.collapsible {
display: none;
}
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
}