Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
MikeHarris (talk | contribs) |
|||
Line 1: | Line 1: | ||
/** CSS placed here will be applied to all skins */ | /** CSS placed here will be applied to all skins */ | ||
+ | |||
+ | .leftColumn { | ||
+ | float: left; | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | .rightColumn { | ||
+ | margin-left: 51%; | ||
+ | } | ||
+ | |||
+ | .rightColumn, .leftColumn { | ||
+ | width: 49%; | ||
+ | } | ||
+ | |||
+ | .mainPage .box { | ||
+ | border: 1px #666 dotted; | ||
+ | background-color: #f8f8f8; | ||
+ | margin-bottom: 8px; | ||
+ | padding: 0 4px 0 4px; | ||
+ | } | ||
+ | |||
+ | .mainPage .box li { | ||
+ | margin-bottom: 4px !important; | ||
+ | } | ||
+ | |||
+ | .mainPage.rightColumn .box { | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .mainPage.rightColumn .box ul { | ||
+ | text-align: left; | ||
+ | } |
Revision as of 00:31, 28 May 2009
/** CSS placed here will be applied to all skins */ .leftColumn { float: left; clear: both; } .rightColumn { margin-left: 51%; } .rightColumn, .leftColumn { width: 49%; } .mainPage .box { border: 1px #666 dotted; background-color: #f8f8f8; margin-bottom: 8px; padding: 0 4px 0 4px; } .mainPage .box li { margin-bottom: 4px !important; } .mainPage.rightColumn .box { text-align: center; } .mainPage.rightColumn .box ul { text-align: left; }