Difference between revisions of "MediaWiki:Common.css"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m |
|||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | + | ||
+ | /* Toolset's anvil logo */ | ||
+ | #p-logo a { | ||
+ | background-image: url('http://www.datoolset.net/mw/images/4/4c/DA_Toolset.png') !important; | ||
+ | background-repeat:no-repeat !important; | ||
+ | background-position: 35% 50% !important; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* 'show'/'hide' buttons created dynamically by the */ | ||
+ | /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ | ||
+ | /* are styled here so they can be customised. */ | ||
+ | .collapseButton { | ||
+ | float: right; | ||
+ | font-weight: normal; | ||
+ | text-align: right; | ||
+ | width: auto; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Hide the heading on the main page */ | ||
+ | body.page-Main_Page h1.firstHeading { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Fix font size for dascript and pre */ | ||
+ | .dascript, code, pre { | ||
+ | font-size: 10pt !important; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /* wikitable/prettytable class for skinning normal tables */ | ||
+ | table.wikitable, | ||
+ | table.prettytable { | ||
+ | margin: 1em 1em 1em 0; | ||
+ | background: #F9F9F9; | ||
+ | border: 1px #AAAAAA solid; | ||
+ | border-collapse: collapse; | ||
+ | empty-cells: show; | ||
+ | } | ||
+ | |||
+ | .wikitable th, .wikitable td, | ||
+ | .prettytable th, .prettytable td { | ||
+ | border: 1px #AAAAAA solid; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | |||
+ | .wikitable th, | ||
+ | .prettytable th { | ||
+ | background: #F2F2F2; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .wikitable caption, | ||
+ | .prettytable caption { | ||
+ | font-weight: bold; | ||
+ | } |
Latest revision as of 22:39, 30 December 2017
/* CSS placed here will be applied to all skins */ /* Toolset's anvil logo */ #p-logo a { background-image: url('http://www.datoolset.net/mw/images/4/4c/DA_Toolset.png') !important; background-repeat:no-repeat !important; background-position: 35% 50% !important; } /* 'show'/'hide' buttons created dynamically by the */ /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ /* are styled here so they can be customised. */ .collapseButton { float: right; font-weight: normal; text-align: right; width: auto; } /* Hide the heading on the main page */ body.page-Main_Page h1.firstHeading { display:none; } /* Fix font size for dascript and pre */ .dascript, code, pre { font-size: 10pt !important; } /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #F9F9F9; border: 1px #AAAAAA solid; border-collapse: collapse; empty-cells: show; } .wikitable th, .wikitable td, .prettytable th, .prettytable td { border: 1px #AAAAAA solid; padding: 0.2em; } .wikitable th, .prettytable th { background: #F2F2F2; text-align: center; } .wikitable caption, .prettytable caption { font-weight: bold; }