MediaWiki:Common.css

From EncyclopAtys

Revision as of 13:11, 14 November 2009 by CeNobiteElf (talk | contribs)
Jump to: navigation, search
/* CSS placed here will be applied to all skins */
 /*<nowiki>*/
/* TOC display level limiter, will only display the TOC up to level N */
.toc1 li.toclevel-2,
.toc1 li.toclevel-3, .toc2 li.toclevel-3,
.toc1 li.toclevel-4, .toc2 li.toclevel-4, .toc3 li.toclevel-4,
.toc1 li.toclevel-5, .toc2 li.toclevel-5, .toc3 li.toclevel-5, .toc4 li.toclevel-5,
.toc1 li.toclevel-6, .toc2 li.toclevel-6, .toc3 li.toclevel-6, .toc4 li.toclevel-6, .toc5 li.toclevel-6
{ display: none; }

/* hidden elements */
.hide
{ display: none; }

/* list elements without bullets */
.hidelist ul
{ list-style: none none; padding: 0; margin: 0; }
.hidelist p
{ font-style: italic; margin: 0em 0em 0.2em; }
.hidelist p + ul
{ margin-bottom: 0.5em; }


/* Infobox templates */
div.infobox
{ float: right; font-size: 0.9em; border: 1px solid silver; background: #FFF;
  margin: 0em 0em 0.5em 0.5em; padding: 2px 2px 0px 2px; }
div.infobox p
{ clear: both; text-align: center; margin: 0.5em; }
div.infobox p.heading
{ padding: 5px; margin: 0; font-weight: bold; background: silver; font-size: 1.1em; }
div.infobox p.subheading
{ padding: 5px; margin: 0; font-weight: bold; background: silver; }
div.infobox div
{ padding: 0; margin: 0; }
div.infobox dl
{ padding: 0; margin: 0; clear: both; }
div.infobox dt
{ float: left; clear: both; margin: 0 10px 0 0; padding: 5px; background: silver; width: 45%; *padding: 4px 5px; }
div.infobox dd
{ line-height: inherit; margin: 0 0 2px; padding: 5px 0; height: 19px; }

table.infobox
{ float: right; font-size: 0.9em; border: 1px solid silver; background: #FFF;
  margin: 0em 0em 0.5em 0.5em; }
table.infobox th
{ font-weight: bold; background: silver; text-align: left; }
table.infobox tr
{ vertical-align: top; }
table.infobox th.heading
{ text-align: center; font-size: 1.1em; }
table.infobox th.subheading, table.infobox td.image
{ text-align: center; }

/* Infobox template customizations */
.infobox.guild_hall th
{ background: #CAD; }
.infobox.feedback th
{ background: #E5DFEB; }



/* Watchlist, adjusting appearance */
fieldset#mw-watchlist-options
{ border: none; padding: 0; margin: 0; }
fieldset#mw-watchlist-options legend
{ display: none; }
fieldset#mw-watchlist-options form hr
{ display: none; }

/* Warning box */
div#warningBox, div.noticeboardbox
{ position: fixed; top: 2.8em; right: 2.8em; border: 1px solid silver; background: #FFF; }
div#warningBox div, div.noticeboardbox div
{ margin: 2px; padding: 5px; font-size: 1.2em; text-align: center; background: #EF8F8F; }

/* Misc changes */
table#mw-dismissable-notice
{ background: transparent; }
#content .hiddenlinks a, #content .hiddenlinks a:link, #content .hiddenlinks a:visited
{ color: inherit; }

/* Wiki community birthdays project */
ul.birthday
{ list-style: none none; padding: 0; margin: 0 0 0 2.5em; }
ul.birthday li span
{ position: absolute; margin-left: -2.5em; }

/* Feedback namespace */
body.ns-202, body.ns-203 { background: #ECF6EC url(http://wiki.guildwars.com/images/1/15/User_Aiiane_background_green_faded.jpg) repeat-x; }
body.ns-202 #content, body.ns-202 #p-cactions li.selected
{ border-width: 2px; border-color: #517453; background: #FFFFFF url(http://wiki.guildwars.com/images/5/5e/Feedback_banner_logo.png) no-repeat top right; }
body.ns-203 #content, body.ns-203 #p-cactions li.selected
{ border-width: 2px; border-color: #517453; background: #FFFFFF url(http://wiki.guildwars.com/images/5/5e/Feedback_banner_logo.png) no-repeat top right; }
body.ns-202 #p-cactions li.selected a, body.ns-203 #p-cactions li.selected a
{ background: #FFFFFF; border-bottom: 2px solid #FFFFFF; }

table.feedback-table
{ width: 100%; border: 1px solid #866D9E; }
table.feedback-table th
{ background: #E5DFEB; padding: 2px 5px; text-align: left; }
table.feedback-table td
{ background: #F2ECF8; padding: 2px 5px; }
table.feedback-table tr:nth-child(even) td
{ background: #F9F2FF; }
/*</nowiki>*/