Difference between revisions of "MediaWiki:Common.css"
From Dragon Age Toolset Wiki
m (Added wikitable style) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
/* Toolset's anvil logo */ | /* Toolset's anvil logo */ | ||
#p-logo a { | #p-logo a { | ||
− | background-image: url('http:// | + | background-image: url('http://www.datoolset.net/mw/images/4/4c/DA_Toolset.png') !important; |
background-repeat:no-repeat !important; | background-repeat:no-repeat !important; | ||
background-position: 35% 50% !important; | background-position: 35% 50% !important; | ||
Line 25: | Line 25: | ||
display:none; | display:none; | ||
} | } | ||
+ | |||
+ | |||
+ | /* Fix font size for dascript and pre */ | ||
+ | .dascript, code, pre { | ||
+ | font-size: 10pt !important; | ||
+ | } | ||
+ | |||
Line 36: | Line 43: | ||
empty-cells: show; | empty-cells: show; | ||
} | } | ||
+ | |||
.wikitable th, .wikitable td, | .wikitable th, .wikitable td, | ||
.prettytable th, .prettytable td { | .prettytable th, .prettytable td { | ||
Line 41: | Line 49: | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
+ | |||
.wikitable th, | .wikitable th, | ||
.prettytable th { | .prettytable th { | ||
Line 46: | Line 55: | ||
text-align: center; | text-align: center; | ||
} | } | ||
+ | |||
.wikitable caption, | .wikitable caption, | ||
.prettytable caption { | .prettytable caption { | ||
font-weight: bold; | 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; }