Difference between revisions of "MediaWiki:Common.css"
From Dragon Age Toolset Wiki
m |
m (Added wikitable style) |
||
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 { | #p-logo a { | ||
background-image: url('http://social.bioware.com/wiki/datoolset/images/4/4c/DA_Toolset.png') !important; | background-image: url('http://social.bioware.com/wiki/datoolset/images/4/4c/DA_Toolset.png') !important; | ||
Line 17: | Line 19: | ||
width: auto; | width: auto; | ||
} | } | ||
+ | |||
/* Hide the heading on the main page */ | /* Hide the heading on the main page */ | ||
− | body.page-Main_Page h1.firstHeading { display:none; } | + | body.page-Main_Page h1.firstHeading { |
+ | display:none; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* 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; | ||
+ | } |
Revision as of 13:15, 6 June 2011
/* CSS placed here will be applied to all skins */ /* Toolset's anvil logo */ #p-logo a { background-image: url('http://social.bioware.com/wiki/datoolset/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; } /* 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; }