MediaWiki:Common.css: Difference between revisions
From The Battle for Wesnoth Wiki
adding css from http://www.mediawiki.org/wiki/Manual:Collapsible_tables to allow for collapsible tables in wiki pages |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
h1:not(.firstHeading)::before { | |||
color: #f00; | |||
font-size: 40px; | |||
content: "FIXME -- THIS IS A TOP-LEVEL HEADING WHERE IT SHOULDN'T BE" | |||
} | |||
table.collapsed tr.collapsible { | table.collapsed tr.collapsible { | ||
Revision as of 05:48, 10 August 2017
/* CSS placed here will be applied to all skins */
h1:not(.firstHeading)::before {
color: #f00;
font-size: 40px;
content: "FIXME -- THIS IS A TOP-LEVEL HEADING WHERE IT SHOULDN'T BE"
}
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;
}
This page was last edited on 10 August 2017, at 05:48.