Difference between revisions of "MediaWiki:Common.css"
m (Colors.) |
Microchip08 (talk | contribs) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* wikitable/prettytable class for skinning normal tables */ | /* wikitable/prettytable class for skinning normal tables */ | ||
− | + | /* To make the tables look like the ones on Wikipedia, simply add | |
+ | |||
+ | {| class="wiktable" | ||
+ | | ... | ||
+ | |} | ||
+ | |||
+ | */ | ||
table.wikitable, | table.wikitable, | ||
table.prettytable { | table.prettytable { | ||
Line 56: | Line 62: | ||
} | } | ||
− | /* Havvy | + | /* Havvy |
+ | |||
+ | TODO: Links & Navigation & PRE type elements. | ||
#content { | #content { | ||
Line 69: | Line 77: | ||
font-size: 10pt; | font-size: 10pt; | ||
} | } | ||
+ | |||
+ | */ | ||
+ | |||
+ | /* MC8: Various cosmetic tweaks | ||
+ | Makes redirects stand out in [[Special:Allpages]] | ||
+ | Tweaks Special:RecentChanges for things to stand out | ||
+ | Right-align TOC by default | ||
+ | */ | ||
+ | |||
+ | |||
+ | .allpagesredirect { font-style: italic; } | ||
+ | .allpagesredirect:after { color:grey; content: " (redirect)"} | ||
+ | .newpage { color : #990000; } | ||
+ | .minor { color : #AAAAAA; } | ||
+ | .unpatrolled { color : #ff00ff; } | ||
+ | |||
+ | pre {overflow:auto;} |
Latest revision as of 15:18, 5 June 2011
/* wikitable/prettytable class for skinning normal tables */ /* To make the tables look like the ones on Wikipedia, simply add {| class="wiktable" | ... |} */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaa 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; font-weight: bold; } /* default skin for navigation boxes */ table.navbox { background-color: #f9f9f9; border: 1px solid #aaa; clear: both; font-size: 90%; margin: 1em 0em 0em; padding: 5px; text-align: center; width: 100%; } table.navbox th { background-color: #ccf; padding-left: 1em; padding-right: 1em; } table.navbox tr:not(:first-child) th { background-color: #ddf; } @media print { .navbox { display: none; } } /* Havvy TODO: Links & Navigation & PRE type elements. #content { background-color: #D5FFB9; color: #950710; } textarea, input { color: #950710; background-color: #E0FFC0; border: 1px solid #93C145; font-size: 10pt; } */ /* MC8: Various cosmetic tweaks Makes redirects stand out in [[Special:Allpages]] Tweaks Special:RecentChanges for things to stand out Right-align TOC by default */ .allpagesredirect { font-style: italic; } .allpagesredirect:after { color:grey; content: " (redirect)"} .newpage { color : #990000; } .minor { color : #AAAAAA; } .unpatrolled { color : #ff00ff; } pre {overflow:auto;}