Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
MediaWiki:Common.css
(view source)
Revision as of 19:24, 17 April 2015
734 bytes added
,
9 years ago
implement collapsing templates
Line 208:
Line 208:
background-color: #ecfcf4;
background-color: #ecfcf4;
padding: 1em;
padding: 1em;
+
}
+
+
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
+
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
+
.collapseButton {
+
/* @noflip */
+
float: right;
+
font-weight: normal;
+
/* @noflip */
+
margin-left: 0.5em;
+
/* @noflip */
+
text-align: right;
+
width: auto;
+
}
+
/* In navboxes, the show/hide button balances the v·d·e links
+
from [[Template:Navbar]], so they need to be the same width. */
+
.navbox .collapseButton {
+
width: 6em;
+
}
+
+
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
+
.mw-collapsible-toggle {
+
font-weight: normal;
+
/* @noflip */
+
text-align: right;
+
}
+
.navbox .mw-collapsible-toggle {
+
width: 6em;
}
}
Benlisquare
270
edits