MediaWiki:Common.css

/*
 * CSS placed here will be applied to all skins on the entire site. *****

Notes: Try avoid critical- CSS: some skins will not support it Appropriately place styles in one of three categories: Global: Which effect a number of pages, or special pages (not templates) Templates: Template styles (avoid if possible) Individuals: Individual pages with styles. - Skin-specific CSS is better at their respective file, rather than at main

/* Global */

/** Special pages**/

/*** Allpages ***/ .allpagesredirect { font-style: italic; }

/*** Watchlist ***/ .watchlistredir { font-style: italic; }

/*** Recentchanges ***/ .mw-plusminus-pos { color: #006500; } .mw-plusminus-neg { color: #8B0000; }

/** Image frame fix **/ div.tright, div.tleft { border: 1px solid silver; } div.thumb { margin: 2px; margin-left: 6px; } div.thumbinner { background: inherit; border: none; } color:inherit; }
 * 1) article div.thumb {

/** Preview **/ background:transparent !important; color:black !important; }
 * 1) new_edit_page_preview_notice {

/** Link icons **/ a[href*="tibianews.net"] { background:url('http://images2.wikia.nocookie.net/tibia/en/images/f/f9/Tibianews.gif') center right no-repeat !important; padding-right:20px !important; } li#pt-logout a[href*="tibianews.net"] { background:transparent !important; } a[href*="http://tibia.wikia.com/wiki/Mapper"] { background:url('http://images2.wikia.nocookie.net/tibia/en/images/6/6e/Mapper.gif') center right no-repeat !important; padding-right:20px !important; } a[href*="wikipedia.org"] { background:url('http://images.wikia.com/tibia/en/images/0/00/Wikipedia.gif') center right no-repeat !important; padding-right:20px !important; }

/** Links and divs styled to look like text in tibia **/ span.tibiatext a { font-family:Tahoma !important; color: #AFAFAF !important; font-size:8pt !important; font-weight:bold !important; text-decoration:none !important; }

span.orange { font-family:Tahoma !important; color:#FE6500 !important; font-size:8pt !important; font-weight:bold !important; text-decoration:none !important; text-shadow:0.1em 0.1em 0.08em #474747, -0.1em -0.1em 0.08em #474747, 0.1em -0.1em 0.08em #474747, -0.1em 0.1em 0.08em #474747, -0.1em 0em 0.08em #474747, 0.1em 0em 0.08em #474747 !important; }

span.yellow { font-family:Tahoma !important; color:#EFEF00 !important; font-size:8pt !important; font-weight:bold !important; text-decoration:none !important; background:#505050 !important; }

span.green { font-family:Tahoma !important; color:#00EF00 !important; font-size:8pt !important; font-weight:bold !important; text-decoration:none !important; text-shadow:0.1em 0.1em 0.08em #474747, -0.1em -0.1em 0.08em #474747, 0.1em -0.1em 0.08em #474747, -0.1em 0.1em 0.08em #474747, -0.1em 0em 0.08em #474747, 0.1em 0em 0.08em #474747 !important; }

div.tibiatext { font-family:Tahoma !important; color: #AFAFAF !important; font-size:8pt !important; font-weight:bold !important; text-decoration:none !important; }

span.tibiabutton { background: url('http://images2.wikia.nocookie.net/tibia/en/images/8/81/Npcs_Window_Back.png') no-repeat scroll right center transparent !important; border-color: black !important; border-style: groove !important; border-width: 2px !important; color: #AFAFAF !important; font-family: Tahoma !important; font-size: 10px !important; font-weight: bold !important; text-decoration: none !important; }

/** Links and divs styled to look like text in tibia **/ .grass { background: #008000 url('http://images4.wikia.nocookie.net/__cb20080817072802/tibia/en/images/6/60/Grass_%28Tile%29.gif') repeat scroll top left; }

/** Giving headers and TOC a little extra space **/ h2 { margin-top: 20px; } .toc { margin-top: 20px; }

/* Forum (by -Algorithm & -Splaka) */ /*** Note: We do not use wiki-forums, but we may choose to in future. ***/ .forumheader { border: 1px solid #aaa; margin-top: 1em; padding: 12px; } .forumlist td.forum_edited a { color: black; text-decoration: none; } .forumlist td.forum_title a { padding-left: 20px; } .forumlist td.forum_title a.forum_new { font-weight: bold; background: url(/images/4/4e/Forum_new.gif) center left no-repeat; padding-left: 20px; } .forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; } .forumlist th.forum_title { padding-left: 20px; }

/* Templates */

/* Documentation */ table.docupara { width: 80%; margin: 1em 1em 1em 0; background: #F9F9F9; text-align: left; } .docupara td { border: 1px #AAA solid; padding: 0.2em; }

/** Template:Runes **/ .runes div { display:inline; }

/** Template:Conditions **/ table.condition { border-collapse:collapse; } table.condition td { background-color:#d4e6ff; border:1px solid #60a3ff; }

/** Styles for Template:Spells **/ .template-spells th { background-color:#f0f0ff; }

/* Individuals */

/** Main Page **/ div.mp-boxes h2 { color: #000000; font-family: sans-serif; font-size: 120%; font-weight: bold; margin: 0; padding: 0.2em 0.4em; text-align: left; } .mp-boxes h2 { background-color: #6E1F1B; border: 1px solid #37100E; } .mp-boxes .readmore { display:block; margin:0 0 1em 0; font-style:italic; } .mp-boxes.rightbox > div { margin: 2em 0; } .mp-boxes.leftbox .donthave { color: #ff0000; font-size: 0.8em; }

/** Promoted Tibia Fansites, Supported Tibia Fansites, Unsupported Tibia Fansites **/ .fansitelist td { border:1px solid #000; }

/** Soft Boots **/ .softboots-regen { border:1px solid #000; width:100%; height:17px; width:91px; font-family:Arial; vertical-align:bottom; white-space:nowrap; font-weight:400; padding-left: 1px; padding-right:1px; padding-top:1px; border-collapse:collapse; } .softboots-regen th { font-size:12px; text-align:left; } .softboots-regen td { font-size:10px; border:1px solid #000; text-align:right; padding:0px 4px; }

/* Experience Table */ table.experience td { background-color:#f1e0c6; }

/* Highlight clicked reference in blue to help navigation */ ol.references > li:target, sup.reference:target, cite:target { background-color: #DEF; } /* Ensure refs do not inherit bold or italic */ sup.reference { font-weight: normal; font-style: normal; }

.references, .references-small { font-size:90%; }

/* Styling for citations */ cite { font-style: normal; word-wrap: break-word; }

/* table stuff */ /** remove white background **/ table { background-color: transparent; }

/** Sortable tables **/ .sortable th { background-color: #c7a48d; }

/** wikitable class **/ table.wikitable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } .wikitable th, .wikitable td { border: 1px #aaa solid; padding: 0.2em; } .wikitable th { background: #f2f2f2; text-align: center; } .wikitable caption { font-weight: bold; } /* the following CSS is not supported by IE */ table.wikitable tr:nth-child(odd) { background-color: #ffffff; } table.wikitable tr:nth-child(even) { background-color: #D2D2D2; }

/* DPL list tables /* .headerSort { background-color: #b1806e; }

/* Used for Npcs Windows*/ /*Common*/ .npc_chat_div_r td, .npc_chat_div td { vertical-align: bottom !important; } .npc_chat_div_r .t3, .npc_chat_div .t3 { color: #002bb8 !important; text-align:right; font-size: 80%; } .npc_chat_div_r .m3, .npc_chat_div .m3 { padding: 4px 6px 4px 6px; } .npc_chat_div_r .t3>a, .npc_chat_div .t3>a { color: #002bb8 !important; } .npc_chat_div_r .t1, .npc_chat_div .t1 { background:url('http://images2.wikia.nocookie.net/tibia/en/images/e/ea/Npcs_Window_0.png') 0px 0px; } .npc_chat_div_r .t2, .npc_chat_div .t2 { background:url('http://images2.wikia.nocookie.net/tibia/en/images/e/ea/Npcs_Window_0.png') -8px 0px; } .npc_chat_div_r .t3, .npc_chat_div .t3 { background:url('http://images2.wikia.nocookie.net/tibia/en/images/a/ac/Npcs_Window_H.png') 0px 0px repeat-x; } .npc_chat_div_r .t4, .npc_chat_div .t4 { background:url('http://images2.wikia.nocookie.net/tibia/en/images/e/ea/Npcs_Window_0.png') -116px 0px; } .npc_chat_div_r .m1, .npc_chat_div .m1 { background:url('http://images3.wikia.nocookie.net/tibia/en/images/3/35/Npcs_Window_V.png') 0px 0px repeat-y; } .npc_chat_div_r .m4, .npc_chat_div .m4 { background:url('http://images3.wikia.nocookie.net/tibia/en/images/3/35/Npcs_Window_V.png') -8px 0px repeat-y; } .npc_chat_div_r .b1, .npc_chat_div .b1 { background:url('http://images2.wikia.nocookie.net/tibia/en/images/e/ea/Npcs_Window_0.png') 0px -25px; } .npc_chat_div_r .b2, .npc_chat_div .b2 { background:url('http://images2.wikia.nocookie.net/tibia/en/images/e/ea/Npcs_Window_0.png') -8px -25px; } .npc_chat_div_r .b3, .npc_chat_div .b3 { background:url('http://images2.wikia.nocookie.net/tibia/en/images/a/ac/Npcs_Window_H.png') 0px -25px repeat-x; } .npc_chat_div_r .b4, .npc_chat_div .b4 { background:url('http://images2.wikia.nocookie.net/tibia/en/images/e/ea/Npcs_Window_0.png') -116px -25px; } /*Simple Style*/ .npc_chat_div_r a { text-decoration:underline !important; } .npc_chat_div_r p { margin: 0px; } .npc_chat_div_r span.pl { font-style:normal !important; font-weight: bold } .npc_chat_div_r span.pl>span.i { font-style:italic; font-weight: normal !important } .npc_chat_div_r .m3 { font:11px/14px Tahoma,sans-serif; } /*Tibia Style*/ .npc_chat_div a { color: #5FF7F7 !important; text-decoration:underline !important; } .npc_chat_div b { color: #1F9FFE; } .npc_chat_div p { margin: 0px; } .npc_chat_div span.pl a { color: #9F9FFE !important; } .npc_chat_div span.pl b, .npc_chat_div span.pl i { color: #9F9FFE; font-style:normal; } .npc_chat_div span.pl { color: #9F9FFE; } .npc_chat_div span.pl>span.i { font-style:italic; } .npc_chat_div .m2 { background: url('http://images2.wikia.nocookie.net/tibia/en/images/8/81/Npcs_Window_Back.png') repeat; } .npc_chat_div .m3 { color:#5FF7F7;font:bold 11px/14px Tahoma,sans-serif; scrollbar-shadow-color: #1D1D1D; scrollbar-highlight-color: #434343; scrollbar-face-color: #444444;scrollbar-drakshadow-color: #1D1D1D; scrollbar-3dlight-color: #949494; scrollbar-arrow-color: #8E8E8E; scrollbar-track-color: #373837; }

/*Template:Minimap*/ body.page-Template_Minimap .map .b { background-color:black; } body.page-Template_Minimap .map .l { display:inline-block;width:63px;height:63px;border-left:#FF00FF 1px solid;border-top:#FF00FF 1px solid;z-index:200;color:#FF00FF;font: bold 12px Arial;text-align:center;vertical-align:bottom; }
 * html body.page-Template_Minimap .map .l { display:inline; } /* IE 6 */
 * + html body.page-Template_Minimap .map .l { display:inline; } /* IE 7 */

/*Minimap*/ div#minimap_maindiv { display:none; width:512px; height:384px; } div.minimap_clic { display:inline; } div.minimap_w .zoomm { background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) -18px -41px; } div.minimap_w .zoomm:active { background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) -18px -59px; } div.minimap_w .zoomp { background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) 0px -41px; } div.minimap_w .zoomp:active { background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) 0px -59px; } div.minimap_w .floorp { background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) -36px -41px; } div.minimap_w .floorp:active { background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) -36px -59px; } div.minimap_w .floorm { background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) -54px -41px; } div.minimap_w .floorm:active { background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) -54px -59px; } div.minimap_w input.mapper_marker_r { width:22px; height:22px; padding:0px; margin:0px; border:0px; } div.minimap_w .starn { width:41px; height:14px; background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png); border-width:1px 1px 0px 1px; } div.minimap_w .stars { width:41px; height:14px; background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) 0px -27px; border-width:0px 1px 1px 1px; } div.minimap_w .starw { width:14px; height:13px; background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) 0px -13px; border-width:0px 0px 0px 1px; padding:0px; } div.minimap_w .starc { width:13px; height:13px; background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) -13px -13px; border:0px; padding:0px; } div.minimap_w .stare { width:14px; height:13px; background:url(http://images1.wikia.nocookie.net/__cb20100713182626/dantest/images/d/d6/Minimap_Buttons.png) -26px -13px; border-width:0px 1px 0px 0px; padding:0px; } div.minimap_w .btns, div.minimap_w .btn { filter:none; outline: none; background-color:#BFBFBF !important; box-shadow:none !important; -webkit-box-shadow:none !important; -moz-box-shadow:none !important; border-radius:0px !important; -moz-border-radius:0 !important; -webkit-border-radius:0px !important; } div.minimap_w .btn { width:20px; height:20px; border:1px solid; padding:0px; margin:0px 1px 1px 0px; } div.minimap_w .btns, div.minimap_w .btn, div.minimap_w .btns:active { border-color:#757575 #2A2A2A #2A2A2A #757575 !important; } div.minimap_w .btn:active { border-color:#2A2A2A #757575 #757575 #2A2A2A !important; } div.minimap_wx { display:block; text-align:center; position:absolute; right:5px; top:4px; cursor:pointer; height:16px; width:16px; font-size:12px; font-weight:bolder; } div.minimap_wl { display:block; position:absolute; bottom:5px; right:26px; height:16px; width:16px; font-size:10px; cursor:pointer; background: transparent url("http://images2.wikia.nocookie.net/tibia/en/images/6/6e/Mapper.gif"); } div.minimap_wtml { display:block; position:absolute; bottom:5px; right:5px; height:16px; width:16px; font-size:10px; cursor:pointer; background-image:url("http://images3.wikia.nocookie.net/tibia/en/images/e/ea/Tibiaml_Icon.png"); } div.minimap_wp { z-index:2002; display:none; position:fixed; top:0%; background-color:white; padding:2px 2px 2px 2px; text-align:left; width:514px; } div.minimap_wf { z-index:2002; display:inline-block; position:relative; top:0%; background-color:#F9FCFF; padding:10px 10px 5px 10px; text-align:left; zoom:1; border:1px #bfcfcf solid; width: 514px; } div.minimap_blackout { display:none; position:absolute; top:0%; left:0%; width:100%; height:100%; background-color:black; filter:alpha(opacity=65); opacity:0.65; z-index:2001; border:none; } div#minimap_imgdiv img { image-rendering:crisp-edges; image-rendering:optimizeSpeed; image-rendering:-moz-crisp-edges; image-rendering:-o-crisp-edges; image-rendering:-webkit-optimize-contrast; image-rendering:optimize-contrast; -ms-interpolation-mode:nearest-neighbor; }
 * 1) minimap_maindiv img { position:relative; }

/* Equips Set */ div.equips_set_basic, .tibia_client_background_light { background: #808080 url('http://images4.wikia.nocookie.net/tibia/en/images/3/39/Tibia_Client_Background_Light.gif'); }

div.equips_set_basic { width:108px;height:144px;border:1px outset black; position:relative; } div.equips_set_basic>div { position: absolute; width: 32px; height: 32px; padding: 1px; background: url('http://images2.wikia.nocookie.net/tibia/en/images/b/b3/Set_Background.gif') transparent; }
 * 1) calculator_armor_body_main div {position:absolute; width:32px; height:32px;background:url('http://images2.wikia.nocookie.net/tibia/en/images/b/b3/Set_Background.gif');padding: 1px;}

/* Creature Abilities */

div.ability {float:left;line-height:0px;width:32px;height:32px;background-image: url('http://images1.wikia.nocookie.net/__cb20070125104259/tibia/en/images/7/79/Stone_Tile.gif');} .ability {float:left;line-height:0px;width:32px;height:32px;background-image: url('http://images1.wikia.nocookie.net/__cb20070125104259/tibia/en/images/7/79/Stone_Tile.gif');} /* DPL */

table.dplcolumns td { border:1px solid #bfcfcf; border-collapse:collapse }

table.dplcraggles td { border:1px solid #bfcfcf; border-collapse:collapse }

table.dpl { border-width: 1px; border-spacing: 2px; border-style: solid; border-color: #bfcfcf; border-collapse: collapse; } table.dpl th { border-width: 1px; padding: 1px; border-style: solid; border-color: #bfcfcf; background-color: white; } table.dpl td { border-width: 1px; padding: 1px; border-style: solid; border-color: #bfcfcf; background-color: white; } /** New trade system: See Template:NPC Trades */

td.buys table tbody tr td, td.sells table tbody tr td { line-height: 1em; padding: 2px; } td.buys table, td.sells table { padding: 0; margin: 0; } table.trades td { padding:0; line-height:1.25em; } .exception:after { content: " \2718"; color: #F1292E; } .npcprice:after, .npcvalue:after { content: " \2714"; color: #1a940a; } .npcprice, .npcvalue { font-weight: bold; line-height:100%; }

/* new spoiler (experimental) */ div.spoiler ul { display: inline-block; text-align: left; } div.spoiler table { margin: 0 auto; } div.legend div.legendtext p { text-align:left; }

/** Template:Messages **/ div.message > div.message > div.message { line-height: 1em; margin: -1px; padding: 0 0.5em !important; } div.message > div.message { margin: 0 -3px; padding: 1px !important; } div.message { padding: 3px; }

/** streets **/ display: none; }   display: block; }
 * 1) mapDiv span + span {
 * 1) mapDiv span:hover + span {

/* Creature demonstration backdrop */ background: url("http://images.wikia.com/tibia/en/images/9/98/Demo_Tile.png") repeat scroll 0 0 transparent; } .demo-show { color: #0078F0; cursor: pointer; text-decoration: underline; } /* Lightbearer Basin Monitor Start */ .lb-01 { background-color: #74F16C; } .lb-02 { background-color: #DEF57B; } .lb-03 { background-color: #F5D66C; } .lb-04 { background-color: #F5A568; } .lb-05 { background-color: #E8A3A4; font-weight: bold; }   list-style-type: none; padding: 0; width: 12em; }   padding: 0 0.5em; }   float: right; } .lb-input-container input { text-align: center; width: 2.5em; } /* Lightbearer Basin Monitor End */
 * 1) creature-ability canvas {
 * 1) lb-basin-list {
 * 1) lb-basin-list li {
 * 1) lb-basin-list li a {

/* Element Icons Start; see Template:Element Icon */ .element-icon { display: block; height: 32px; width: 32px; overflow: hidden; float: left; } .element-icon.physical img { margin-left: -0px; } .element-icon.life_drain img { margin-left: -32px; } .element-icon.death img { margin-left: -64px; } .element-icon.fire img { margin-left: -96px; } .element-icon.energy img { margin-left: -128px; } .element-icon.holy img { margin-left: -160px; } .element-icon.ice img { margin-left: -192px; } .element-icon.earth img { margin-left: -224px; } .element-icon.drown img { margin-left: -256px; } /* Element Icons End */ /* Creature Resist Start */ .creature-resist { line-height: 32px; float: left; margin: 0 1.5em 0 0; } .creature-resist.resist-strong { color: #ff0000; } .creature-resist.resist-neutral { color: #000000; } .creature-resist.resist-weak { color: #008000; } .creature-resist.resist-0, .creature-resist.resist-10 { font-size: 24px; } .creature-resist.resist-1, .creature-resist.resist-9 { font-size: 22px; } .creature-resist.resist-2, .creature-resist.resist-8 { font-size: 20px; } .creature-resist.resist-3, .creature-resist.resist-7 { font-size: 18px; } .creature-resist.resist-4, .creature-resist.resist-6 { font-size: 16px; } .creature-resist.resist-5, .creature-resist.resist--1 { font-size: 14px; } /* Creature Resist End */

/* Main Page Revamp */ .content-navigation { text-align: center; } .iconnav-item:hover { transition-duration: 1s; transition-timing-function: ease-in-out; opacity: 1; } .iconnav-item { background: none repeat scroll 0 0 #B74555; float: left; opacity: 0.75; position: relative; transition-duration: 0.5s; transition-timing-function: ease-out; } .iconnav-icon { border: 0.3em solid #442434; overflow: hidden; border-radius: 5em; width: 64px; height: 64px; background-color: #d04648; margin: 0 auto; } .iconnav-text { width: 100%; text-align: center; overflow: hidden; background-color: #ffacac; } .iconnav-text > a { color: #d00000; font-weight: bold; font-size: 1.1em; display: block; padding: 0.2em 0.5em; } .iconnav-item > a { position: absolute; display: block; height: 100%; width: 100%; text-decoration: none; } /* Some consistency with Wikia skin (background) */ div#content { min-width: 1010px; } body.has-trans-bg { background: url("http://static3.wikia.nocookie.net/tibia/en/images/5/50/Wiki-background") no-repeat fixed center top #000000; } .has-trans-bg div#content { background: none; } .has-trans-bg #wiki-bg { background: none repeat scroll 0 0 #FFFFFF; height: 100%; left: 0; opacity: 0.85; position: absolute; top: 0; width: 100%; z-index: -1; } /* Main Page Revamp End */