MediaWiki:Common.css

From EncyclopAtys

Revision as of 13:08, 14 November 2009 by CeNobiteElf (talk | contribs) (Created page with '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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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; }

/* Skill progression template, auto-wrapping */
table.skill-progression
{ margin: 1em 0.25em; border: 1px solid #6A3; text-align: center; line-height: 1.5em; }
table.skill-progression th
{ border-bottom: 1px solid #6A3; background: #ADA; padding: 3px; }
table.skill-progression div.column
{ border-left: 1px solid #6A3; float: left; }
table.skill-progression div.attr
{ padding: 3px; background: #DFD; }
table.skill-progression div.var
{ padding: 3px; border-top: 1px solid #6A3; }

/* 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; }

/* Skill infobox template */
div.skill-box
{ width: 20em; }
div.skill-box p.heading, div.skill-box p.subheading, div.skill-box dt
{ background: #ADA; }
div.skill-box dt
{ width: 6.25em; }

div.skill-box div.skill-image
{ float: left; text-align: right; width: 80px; padding: 1.4em 0em; }
div.skill-box div.skill-stats
{ float: left; text-align: right; width: 4.5em; }
div.skill-box div.skill-stats ul
{ list-style: none none; margin: 0; margin-top: 1em; padding: 0; }

/* Skill infobox template, profession icon background; use 'profession-bg' for general usage */
div.skill-box,              .profession-bg
{ background: #FFF url(./images/e/ec/Any-faded-large.png) no-repeat 8em 0em; }
div.skill-box.Warrior,      .profession-bg.Warrior
{ background: #FFF url(./images/6/6e/Warrior-faded-large.png) no-repeat 8em 0em; }
div.skill-box.Ranger,       .profession-bg.Ranger
{ background: #FFF url(./images/1/14/Ranger-faded-large.png) no-repeat 7.5em 0.5em; }
div.skill-box.Monk,         .profession-bg.Monk
{ background: #FFF url(./images/e/e6/Monk-faded-large.png) no-repeat 8em 0em; }
div.skill-box.Elementalist, .profession-bg.Elementalist
{ background: #FFF url(./images/9/94/Elementalist-faded-large.png) no-repeat 8.5em 0em; }
div.skill-box.Mesmer,       .profession-bg.Mesmer
{ background: #FFF url(./images/5/5c/Mesmer-faded-large.png) no-repeat 7.25em 1em; }
div.skill-box.Necromancer,  .profession-bg.Necromancer
{ background: #FFF url(./images/f/f7/Necromancer-faded-large.png) no-repeat 8em 0em; }
div.skill-box.Assassin,     .profession-bg.Assassin
{ background: #FFF url(./images/a/a9/Assassin-faded-large.png) no-repeat 8em 2em; }
div.skill-box.Ritualist,    .profession-bg.Ritualist
{ background: #FFF url(./images/b/b7/Ritualist-faded-large.png) no-repeat 8.5em -1em; }
div.skill-box.Paragon,      .profession-bg.Paragon
{ background: #FFF url(./images/3/3a/Paragon-faded-large.png) no-repeat 9em 0.5em; }
div.skill-box.Dervish,      .profession-bg.Dervish
{ background: #FFF url(./images/b/b7/Dervish-faded-large.png) no-repeat 8.5em 1em; }
div.skill-box.Monster,      .profession-bg.Monster
{ background: #FFF url(./images/a/a5/Monster-faded-large.png) no-repeat 7.5em 0em; }

/* RecentChanges, adjusting appearance */
div#mw-recentchanges-options div
{ margin-top: 0.2em; }
div#mw-recentchanges-options div span
{ margin-right: 0.5em; }
fieldset.rcoptions
{ border: none; padding:0; margin: 0; }
fieldset.rcoptions legend
{ display: none; }
fieldset.rcoptions hr
{ display: none; }

/* 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>*/