MediaWiki:Common.css
From SpeechWiki
(Difference between revisions)
Line 1: | Line 1: | ||
- | /* | + | /* CSS placed here will affect users of all skins */ |
/*Things used on the main page*/ | /*Things used on the main page*/ | ||
- | /*containing table for two-column layout | + | /*containing table for two-column layout*/ |
- | + | ||
- | margin: | + | .arthurStyle { |
- | background:# | + | color: purple; |
+ | background-color: #d8da3d } | ||
+ | |||
+ | .mp-cat-heading { | ||
+ | margin: 0; | ||
+ | background: #cef2e0; | ||
+ | font-size: 120%; | ||
+ | font-weight: bold; | ||
+ | border: 1px solid #a3bfb1; | ||
+ | text-align: left; | ||
+ | color: #000; | ||
+ | padding: 0.2em 0.4em; | ||
} | } | ||
- | /* | + | .mp-cat-table { |
+ | width: 100%; | ||
+ | vertical-align: top; | ||
+ | background: #f5fffa; | ||
+ | border:1px solid #a3bfb1; | ||
+ | padding: "2"; | ||
+ | spacing: "5"; | ||
+ | } | ||
+ | |||
+ | .mp-SpecialMessage-heading { | ||
+ | margin: 0; | ||
+ | background: #ddcef2; | ||
+ | font-size: 120%; | ||
+ | font-weight: bold; | ||
+ | border: 1px solid #a3bfb1; | ||
+ | text-align: left; | ||
+ | color: #000; | ||
+ | padding: 0.2em 0.4em; | ||
+ | } | ||
+ | |||
+ | .mp-SpecialMessage-table { | ||
+ | width: 100%; | ||
+ | border: 1px solid #ddcef2; | ||
+ | background: #faf5ff; | ||
+ | vertical-align:top; | ||
+ | color:#000; | ||
+ | } | ||
+ | |||
+ | /* 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; | ||
+ | } | ||
+ | |||
+ | table.wikitable th, table.wikitable td, | ||
+ | table.prettytable th, table.prettytable td { | ||
+ | border: 1px #aaaaaa solid; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | |||
+ | table.wikitable th, | ||
+ | table.prettytable th { | ||
+ | background: #f2f2f2; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | table.wikitable caption, | ||
+ | table.prettytable caption { | ||
+ | margin-left: inherit; | ||
+ | margin-right: inherit; | ||
+ | } | ||
+ | |||
+ | #f-poweredbyico { display: none; } | ||
+ | |||
+ | /* CSS placed here will be applied to all skins */ | ||
+ | |||
+ | /* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for | ||
+ | instance, will limit to showing ==headings== and ===headings=== but no further (as long as | ||
+ | there are no =headings= on the page, which there shouldn't be according to the MoS). */ | ||
+ | .toclimit-2 .toclevel-2 {display:none;} | ||
+ | .toclimit-3 .toclevel-3 {display:none;} | ||
+ | .toclimit-4 .toclevel-4 {display:none;} | ||
+ | .toclimit-5 .toclevel-5 {display:none;} | ||
+ | .toclimit-6 .toclevel-6 {display:none;} | ||
+ | .toclimit-7 .toclevel-7 {display:none;} | ||
+ | |||
+ | /*Hides the "Main Page" title on the main page*/ | ||
+ | body.page-Main_Page h1.firstHeading { display:none; } |
Latest revision as of 19:36, 14 August 2010
/* CSS placed here will affect users of all skins */ /*Things used on the main page*/ /*containing table for two-column layout*/ .arthurStyle { color: purple; background-color: #d8da3d } .mp-cat-heading { margin: 0; background: #cef2e0; font-size: 120%; font-weight: bold; border: 1px solid #a3bfb1; text-align: left; color: #000; padding: 0.2em 0.4em; } .mp-cat-table { width: 100%; vertical-align: top; background: #f5fffa; border:1px solid #a3bfb1; padding: "2"; spacing: "5"; } .mp-SpecialMessage-heading { margin: 0; background: #ddcef2; font-size: 120%; font-weight: bold; border: 1px solid #a3bfb1; text-align: left; color: #000; padding: 0.2em 0.4em; } .mp-SpecialMessage-table { width: 100%; border: 1px solid #ddcef2; background: #faf5ff; vertical-align:top; color:#000; } /* 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; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaaaaa solid; padding: 0.2em; } table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; } #f-poweredbyico { display: none; } /* CSS placed here will be applied to all skins */ /* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). */ .toclimit-2 .toclevel-2 {display:none;} .toclimit-3 .toclevel-3 {display:none;} .toclimit-4 .toclevel-4 {display:none;} .toclimit-5 .toclevel-5 {display:none;} .toclimit-6 .toclevel-6 {display:none;} .toclimit-7 .toclevel-7 {display:none;} /*Hides the "Main Page" title on the main page*/ body.page-Main_Page h1.firstHeading { display:none; }