MediaWiki:Common.css: Difference between revisions
Content added Content deleted
(copied navbox style from https://en.wikipedia.org/wiki/MediaWiki:Common.css) |
(added navbox styling from https://en.wikipedia.org/wiki/MediaWiki:Common.css) |
||
Line 321: | Line 321: | ||
/* @noflip */ |
/* @noflip */ |
||
margin-right: 0.5em; |
margin-right: 0.5em; |
||
width: 6em; |
|||
} |
|||
/* '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; |
width: 6em; |
||
} |
} |