Difference between revisions of "MediaWiki:Common.css"

From EncyclopAtys

Jump to: navigation, search
(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…')
 
Line 21: Line 21:
 
{ margin-bottom: 0.5em; }
 
{ 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 */
 
/* Infobox templates */
Line 69: Line 58:
 
.infobox.feedback th
 
.infobox.feedback th
 
{ background: #E5DFEB; }
 
{ 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 */
 
/* RecentChanges, adjusting appearance */

Revision as of 12:10, 14 November 2009

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

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