| This is the documentation page of MediaWiki:Common.css. It also serves as a place to discuss it. | ||
| Request a change | ||
|
Discussion area
You can discuss changes to this system message here.
Start a new discussion.
Internal links/Tibianews icon
Added:
li#pt-logout a[href*="tibianews.net"] {
background:transparent !important;
}
Because of a bug due to a recent change by Wikia. If any TN links disappear unexpectedly, report here so they can be fixed. I'm confident the change is fine though. (TN link) -- Sixorish 22:21, November 25, 2009 (UTC)
Small correction for Template:Infobox_Transcript
this needs to be changed:
.npc_chat_div span.pl>a { color: #9F9FFE !important; }
TO:
.npc_chat_div span.pl a { color: #9F9FFE !important; }
--Daniel Letalis 02:44, April 14, 2010 (UTC)
Wikipedia link icon
I uploaded the Wikpedia favicon and added the css (mimicked after mapper/tibianews) to display this icon next to outgoing wikipedia links - does anyone see this working (i.e. look for "cinnamon" on Sling Herb)? It does not appear in the actual css when i search for it and while the actual css is valid, i do not see it when validating the entire common.css page.
I did change the link to the icon from the specific server file path to the general server file path, but this was after it did not show up the first time. CSS changes usually take near-immediate effect, so perhaps the server is cacheing css instead? --DM ><((°> Contribs <°))>< talk to me 03:13, February 28, 2012 (UTC)
I was told by wikia support the change should be almost instant an showed them it wasn't, they said they would improve that like a year ago, also many users have had this problem since long time ago, it takes some hours for the CSS to be minified and updated. I tested your css and is working fine here, so just wait until the cache is updated. EDIT: I forgot, you also need to change MediaWiki:Wikia.css for Oasis skin, Common.css is for the other skins only. I already edited wikia.css --Daniel Letalis 03:37, February 28, 2012 (UTC)
Syntax highlighting
Is this CSS valid / working properly ?
#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;}
The escaped apostrophes are causing the syntax highlighting to fail, not sure exactly what it is supposed to do. -- Sixorish 15:31, May 13, 2012 (UTC)
Sorry, surely was my mistake, fixed now on both css files. --Daniel Letalis 10:31, May 15, 2012 (UTC)
Change request
Here are some minor graphical improvements for TibiaWiki:Tools/Lightbearer Basin Monitor. This is the whole text of 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 affect 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
*/
/* [[Special:Allpages]]
* [[Special:Watchlist]]
*/
.allpagesredirect,
.watchlistredir {
font-style: italic;
}
/* [[Special:RecentChanges]] */
.mw-plusminus-pos {
color: #006500;
}
.mw-plusminus-neg {
color: #8B0000;
}
/* Template:Archives */
.archives-box {
width: 22em;
float: right;
margin: 0.2em 0 0.2em 0.2em;
}
.archives-header {
text-align: center;
font-weight: bold;
font-size: 1.2em;
}
ol.archives-links {
margin: 0;
list-style-type: none;
}
.archives-links > li {
float: left;
margin: 0 0.75em;
}
.archives-links > li + li {
list-style-type: disc;
}
/* References */
ol.references > li:target, sup.reference:target, cite:target {
background-color: #DEF;
}
sup.reference {
font-weight: normal;
font-style: normal;
}
.references, .references-small {
font-size:90%;
}
cite {
font-style: normal;
word-wrap: break-word;
}
/* Image frame fix */
div.tright, div.tleft {
border: 1px solid #c0c0c0;
}
div.thumb {
margin: 2px 2px 2px 6px;
}
div.thumbinner {
background: inherit;
border: none;
}
#article div.thumb {
color: inherit;
}
/* Edit Preview - unused? */
#new_edit_page_preview_notice {
background: transparent !important;
color: black !important;
}
/* Link icons */
#mw-content-text 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;
padding: 0 20px 0 0;
}
#mw-content-text a[href*="wikipedia.org"] {
background: url('http://images.wikia.com/tibia/en/images/0/00/Wikipedia.gif') center right no-repeat;
padding: 0 20px 0 0;
}
/* Tibia interface emulation */
span.tibiatext a {
font-family: Tahoma !important;
color: #AFAFAF !important;
font-size: 8pt !important;
font-weight: bold !important;
text-decoration: none !important;
}
/* Do we want this? It's hard to read */
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.sounds {
color: #D14703;
font-weight: bold;
}
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;
}
/* [[Template:Backpack Slot]] */
.tw-bp-slot {
position: relative;
float: left;
height: 32px;
width: 32px;
overflow: hidden;
background: url("http://static4.wikia.nocookie.net/tibia/en/images/1/1a/Backpack_Slot.png") no-repeat scroll 0 0 #292929;
padding: 1px;
}
.tw-bp-slot-count {
position: absolute;
bottom: 0;
right: 0;
color: #BFBFBF;
font-weight: bold;
line-height: 1em;
margin: 0 2px 2px 0;
}
.tw-bp-slot-img > img {
width: 32px;
height: 32px;
padding: 0;
margin: 0;
}
.tw-bp-slot-link > a {
display: block;
height: 100%;
width: 100%;
z-index: 2;
position: absolute;
text-decoration: none;
}
/* [[Template:Item Obtained]] */
.tw-item-obtained {
background: url("http://static4.wikia.nocookie.net/tibia/en/images/1/1a/Backpack_Slot.png") repeat scroll 0 17px #292929;
border: 2px outset #00A100;
height: auto;
width: 136px;
overflow: hidden;
}
.tw-item-obtained .tw-bp-head:before {
color: #90EE90;
content: "+";
margin: 0 0.5em;
}
.tw-bp-head {
background-color: #3D3D3D;
color: #8F8F8F;
font-size: 12px;
font-weight: bold;
height: 17px;
line-height: 17px;
}
/* [[Template:Ability List]] ([[Template:Ability]]) */
#creature-ability canvas {
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;
}
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');
}
/* In-game scenery emulation */
.grass {
background: #008000 url('http://images4.wikia.nocookie.net/__cb20080817072802/tibia/en/images/6/60/Grass_%28Tile%29.gif') repeat scroll top left;
}
/* Section headers */
h2 {
margin: 20px 0 0 0;
}
/* ToC */
.toc {
margin-top: 20px;
}
/* Template documentation */
table.docupara {
width: 80%;
margin: 1em 1em 1em 0;
background: #F9F9F9;
text-align: left;
}
.docupara td {
border: 1px #AAA solid;
padding: 0.2em;
}
/* [[TibiaWiki:Page Overviews]] */
.page_overview_table {
border: 1px solid #B1806E;
background-color: #F4F0EC;
margin: 1em auto;
}
.page_overview_table table {
border: 0;
margin: 1em auto;
}
.page_overview_table_header {
background-color: #c7a48d;
}
.page_overview_table_header td {
text-align: center;
}
.page_overview_table_left {
text-align: left;
}
.page_overview_table_right {
text-align: right;
}
/* [[Template:Conditions]] */
table.condition {
border-collapse: collapse;
}
table.condition td {
background-color: #d4e6ff;
border: 1px solid #60a3ff;
}
/* [[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;
}
/* 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;
}
/* [[Promoted Tibia Fansites]], [[Unsupported Tibia Fansites]], [[Unsupported Tibia Fansites]] */
.fansitelist td {
border:1px solid #000;
}
/* [[Pair of 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;
}
/* Sortable tables */
.sortable th {
background-color: #c7a48d;
}
/** Note: Wikia has their own wikitable styles which have specific CSS selectors
* To enforce our own styles we need to use !important
*/
.wikitable {
margin: 1em 1em 1em 0 !important;
border: 1px #b87f54 solid !important;
border-collapse: collapse !important;
}
.wikitable caption {
border-color: #B87F54 !important;
border-style: solid !important;
border-width: 1px 1px 0 !important;
font-weight: bold !important;
}
.wikitable th, .wikitable td {
padding: 0.2em !important;
}
.wikitable th {
background-color: #B87F54 !important;
border: 1px solid #B87F54 !important;
text-align: center !important;
}
.wikitable td {
border: 1px solid #B87F54 !important;
}
/* low support (IE etc.) */
table.wikitable tr:nth-child(odd) {
background-color: #F1D8C2;
}
table.wikitable tr:nth-child(even) {
background-color: transparent;
}
/* Infobox lists */
/* Used on e.g. [[Template:Infobox Item/List]] */
table.infobox_list {
width: 100%;
border-collapse: collapse;
border:1px solid #b87f54;
}
table.infobox_list tr td {
border: 1px solid #b87f54;
border-collapse: collapse;
}
.infobox_list_caption {
font-weight: bold;
font-size: 132%;
padding: 0 0 0.3em 0;
}
.infobox_list_header {
background-color: #b1806e;
}
.infobox_list_center {
text-align: center;
}
/* Loot list, [[Template:Loot]], [[Template:Loot/List]] */
table.loot_list {
border-collapse: collapse;
border:1px solid #b87f54;
}
table.loot_list tr th {
border-right: 1px solid #b87f54;
border-bottom: 1px solid #b87f54;
border-collapse: collapse;
}
table.loot_list tr td {
border-right: 1px solid #b87f54;
border-collapse: collapse;
}
.loot_list_header {
background-color: #b1806e;
}
.loot_list_no_border {
border-right: none !important;
}
/* [[Template:Infobox Transcript]] */
.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;
}
/** Plain 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: #000;
}
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;
}
/* [[Mapper]] and [[Template:Minimap]] transclusions */
#minimap_maindiv img {
position: relative;
}
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;
}
/** Map Marker */
/* Move to a more generic class? */
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: absolute;
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: #000;
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;
}
/* [[Template: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 #000;
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;
}
#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;
}
/* DPL */
/* How much of this is used? Should it be combined with .wikitable.sortable? */
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: #b87f54;
border-collapse: collapse;
}
table.dpl th {
border-width: 1px;
padding: 1px;
border-style: solid;
border-color: #b87f54;
background-color: #c7a48d;
}
table.dpl td {
border-width: 1px;
padding: 1px;
border-style: solid;
border-color: #b87f54;
}
/** [[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%;
}
/* [[Template:Legend]] */
div.legend div.legendtext p {
text-align:left;
}
/* [[Template:Messages]] */
/* Where is this used? Is it used enough to justify CSS? */
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;
}
/* [[Template:Infobox Streets]] */
/* This needs better naming: #mapDiv is a table ? */
#mapDiv span + span {
display: none;
}
#mapDiv span:hover + span {
display: block;
}
/* [[TibiaWiki:Lightbearer Basin Monitor]] */
.lb-01 {
background-color: #74F16C;
border-color: #5cbf56;
}
.lb-02 {
background-color: #DEF57B;
border-color: #b0c261;
}
.lb-03 {
background-color: #F5D66C;
border-color: #c2a955;
}
.lb-04 {
background-color: #F5A568;
border-color: #c28352;
}
.lb-05 {
background-color: #E8A3A4;
border-color: #b57f80;
font-weight: bold;
}
#lb-basin-list {
border: 0.1em solid #000000;
list-style: none;
margin: 0;
padding: 0;
width: 22em;
}
#lb-basin-list li {
padding: 0 0.5em;
font-size: 1.2em;
line-height: 1.5em;
margin: 0;
border-width: 1px;
border-style: solid;
}
#lb-basin-list li a {
float: right;
}
.lb-input-container input {
text-align: center;
width: 2.5em;
}
.lb-input-container {
text-align: center;
}
#basin-tools-url {
font-size: 1.2em;
width: 18em;
}
/* [[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;
}
/* [[Template:Creature Types]] */
.ctypes {
background-color: #F4F0EC;
margin: 1em auto;
border: 1px solid #B1806E;
width: 48em;
}
.ctypes .main-header {
margin: 0 auto;
width: 16em;
padding: 0.5em;
text-align: center;
border-width: 0 1px;
border-style: solid;
border-color: #B1978D;
}
.ctypes .leftcol, .ctypes .rightcol, .ctypes .list-container li {
float: left;
width: 50%;
}
.ctypes .list-container ul {
list-style: none;
padding: 0;
margin: 0;
}
.ctypes .ctype .header {
background-color: #B1806E;
text-align: center;
}
.ctypes .list-container {
border-color: #B1806E;
border-style: solid;
border-width: 1px;
}
.ctypes .leftcol .list-container {
border-left: 0;
}
.ctypes .rightcol .list-container {
border-right: 0;
}
/* Involve ~ templates */
ul.involves {
list-style: none;
margin: 0;
padding: 0;
}
.involves > li {
float: left;
padding: 0 1.5em;
border: 1px solid #000000;
border-radius: 1.5em;
position: relative;
line-height: 72px;
}
.involves .link-whole > a {
display: block;
height: 100%;
width: 100%;
position: absolute;
text-decoration: none;
border-radius: 1.5em;
margin: 0 0 0 -1.5em;
}
/* [[Template:Show-Hide]] */
.showhide-hidden > .showhide-body {
visibility: hidden;
position: absolute;
z-index: -999;
height: 0;
overflow: hidden;
}
.showhide-init.showhide-hidden > .showhide-body,
.showhide-visible > .showhide-body {
visibility: visible;
position: relative;
z-index: auto;
height: auto;
overflow: auto;
}
.showhide-header {
cursor: pointer;
}
/* [[Template:JSpoiler]] */
.spoiler-container > .showhide-header {
background-color: #FFDDDD;
border: 1px solid #FF0000;
display: inline;
font-weight: bold;
line-height: 24px;
padding: 4px 4px 2px;
}
.spoiler-content {
padding: 4px 0;
}
.spoiler-warning {
border-bottom: 2px solid #FF0000;
border-top: 2px solid #FF0000;
line-height: 22px;
padding: 3px;
}
/* [[Template:QSpoiler]] */
.quest-spoiler > .showhide-header {
background-color: #FFD1D1;
border: 1px solid #D0070A;
color: #D0070A;
font-size: 1.7em;
padding: 1em 0;
text-align: center;
}
/* [[Template:Item Icon]] */
.item-icon .new {
display: none;
}
.item-icon .no-exist {
display: none;
}
.item-icon .new + .no-exist {
display: block;
}
/* Template:Additional Information */
.additional-information {
display: inline;
}
.additional-information > .showhide-header {
font-size: 1.2em;
font-weight: bold;
display: inline;
}
.additional-information > .showhide-body {
border-color: #A3A3A3;
border-style: solid;
border-width: 0 0 0.02em;
margin: 0 0 0 1.5em;
}
/* Template:Library */
.library-box {
background-color: #F4F0EC;
border: 0.1em solid #B1806E;
width: 30em;
padding: 0.5em 2em;
margin: 0 auto;
clear: both;
}
.library-header {
text-align: center;
}
.header-library {
background: url("http://img2.wikia.nocookie.net/__cb20071224094818/tibia/en/images/e/ed/Book_%28Atlas%29.gif") no-repeat scroll 0 0 transparent;
display: inline-block;
margin: 1em 2em;
padding: 0 0 0 40px;
text-align: center;
font-size: 1.3em;
font-weight: bold;
line-height: 32px;
height: 32px;
}
.header-town,
.header-wild,
.header-other {
background-color: #C7A48D;
display: block;
font-size: 1.05em;
font-weight: bold;
margin: 0 0.2em 0.25em 0;
text-align: center;
}
.library-town,
.library-wild {
float: left;
}
.library-town,
.library-wild {
width: 50%;
}
.library-other {
clear: both;
width: 100%;
}
.library-town ul,
.library-wild ul,
.library-other ul {
list-style: none;
padding: 0;
margin: 0 0.75em;
white-space: nowrap;
}
.library-town ul {
text-align: right;
}
.library-wild ul {
text-align: left;
}
.library-other ul {
text-align: center;
}
.library-other li {
display: inline;
padding: 0 0.75em;
}
Thanks, -- Sixorish-Safe (talk) 06:42, November 3, 2014 (UTC)
Done. -- Bennie (talk ~ fellows) 12:09, November 3, 2014 (UTC)
Style changes
Hey, I did some style changes:
- border, background color for table of contents
- border-bottom of h2 section headers and h1 article links changed
- background color not fully transpartent but a little opacity for most lists (infobox_list, loot_list, dpl lists, some are listed here)
If you like a little tweaking, please go ahead or your ideas here. -- Bennie (talk ~ fellows) 16:27, December 14, 2014 (UTC)