MediaWiki:Common.css

/* hack to show if server has refreshed Wikia.css. To enable it, set display:block to #mydbg in your common.css */

content: "16:26, April 27, 2013 (UTC)"; } {   display: none; }
 * 1) mydbg code:after {
 * 1) mydbg

.i18ndoc { background-color: #FFF77D; border-bottom: 1px solid lightgrey; font-family: monospace; font-size: 8pt; height: 140px; overflow: auto; padding: 3px; }

/***** CSS IN COMMON WITH COMMON.CSS *****/

code {   white-space: pre-wrap; } /* a pre as thumbnail*/ .thumbpre {   display: inline; float: right; margin-right: 3em; margin-left: 1em; } .thumbpre-left {   display: inline; float: left; margin-right: 1em; } /* a little more padding for wikitables */

table.wikitable>*>tr>th, table.wikitable>*>tr>td, table.wikitable>tr>th, table.wikitable>tr>td {   padding-left: 0.31em; padding-right: 0.31em; }

/*** AJAX tooltips - START ***/

/* tooltip style */ .itemtooltip {   width: 360px; padding: 10px; border-radius: 10px; } /* make tooltip floating */ .tooltip-float {   z-index: 16777271; width: 390px; } /* message divs */ .ttl, .ttn {   text-align: center; } /* hide them all */ .tooltip-float, .ttn {   display: none; } /* "go to page" div */ .ttgo {   clear: both; text-align: right; padding-top: 9px; width: 380px; } .ttgo a { padding: 3px; border-radius: 18px 0px; } .ttgo a, .itemtooltip {   border: 5px ridge rgb(142, 75, 29); background-color: rgb(165, 137, 94); }

/*** AJAX tooltips - END ***/

/*** Jobs and Guilds - START ***/

/** Style for Skill tables **/ table.skills {   width: 100%; } /* 1st col (name) */ table.skills td:first-child {   width: 115px; white-space: nowrap; text-align: center; padding-right: 0.4em; } /* 2nd col (icon) */ table.skills td:first-child + td { width: 1px; padding-left: 0px; padding-right: 0px; } /* 3th col (level) */ table.skills td:first-child + td + td { width: 52px; text-align: center; } /* header row */ table.skills th { text-align: center; } /* no extra margin for icons */ table.skills .floatleft {   margin: 0px; }

/** Style for Job Stats **/ div.stats {   width: 285px; height: 255px; overflow: auto; } div.stats table {   width: 265px; white-space: nowrap; text-align: right; } div.stats th { text-align: right; }

/** Style for Building/Upgrading **/ table.build {   width: 100%; } /* header */ table.build th { text-align: center; } /* 1,2,7,8th cols (artifact, location, time, cap) */ table.build td:first-child, table.build td:first-child + td, table.build td:first-child + td + td + td + td + td + td, table.build td:first-child + td + td + td + td + td + td + td { text-align: center; } /* 2nd col (location) */ table.build td:first-child + td { white-space: nowrap; } /* 3th col: wood quantity; 4th col: wood image; 5th col: metal quantity; 6th col: metal image */ /* 4-6th cols */ table.build td:first-child + td + td + td, table.build td:first-child + td + td + td + td, table.build td:first-child + td + td + td + td + td { padding-left: 0px; /* See Common Stuff */ } /* 4,5th cols */ table.build td:first-child + td + td + td, table.build td:first-child + td + td + td + td { /* don't grow */ width: 1px; } /* 4th col */ table.build td:first-child + td + td + td { padding-right: 0.4em; /* 1 spacebar */ }

/** Style for Crafting, "Dropped By", Grinnfinite and Premium items **/ table.critems, table.dbitems, table.gditems, table.pritems {   width: 100%; white-space: nowrap; margin-bottom: 0px; /* items table near total table */ } table.critems th, table.dbitems th, table.gditems th { text-align: center; } /* Craft header - 5th and 6th cells (stats) */ table.critems th + th + th + th + th, table.critems th + th + th + th + th + th { width: 4.16em; /* same width, more nice */ } /* Craft - 1st and 2nd cols... */ table.critems td:first-child, table.critems td:first-child + td, /* GD e Dropped - 1st, 2nd and 3th cols... */ table.dbitems td:first-child, table.dbitems td:first-child + td, table.dbitems td:first-child + td + td, table.gditems td:first-child, table.gditems td:first-child + td, table.gditems td:first-child + td, /* ...and Premium - 2nd row 1st-2nd cells */ table.pritems tr:first-child + tr td:first-child, table.pritems tr:first-child + tr td:first-child + td /* (item, slot, dropped by) (no 3th for Craft, GD and Premium) */ {   text-align: center; white-space: normal; } /*   Stupid MediaWiki without colgroup. Stupid ie8 without css3. Stupid orcs. /* Craft - 3th col (time) */ table.critems td:first-child + td + td { text-align: center; } /* Craft - 5th col (material names) */ table.critems td:first-child + td + td + td + td { padding-left: 0px; /* see before */ } /* Craft - div child of 6th-7th cols (refined rates) */ table.critems td:first-child + td + td + td + td + td > div, table.critems td:first-child + td + td + td + td + td + td > div {   text-align: center; } /* Premium - 1st row (header)... */ table.pritems tr:first-child { text-align: center; } /* ...and its cells */ table.pritems tr:first-child td { border-bottom: none; padding-bottom: 0px; /* compact homemade header */ font-weight: bold; } /* Premium - 2nd row 3th cell (cost) */ table.pritems tr:first-child + tr td:first-child + td + td { text-align: center; } /* Total tables */ table.crtotal, table.dbtotal, table.gdtotal, table.prtotal {   width: 100%; white-space: nowrap; margin-top: 0px; /* see item tables */ } /* 1st row, 2nd cell (set name) */ table.crtotal tr:first-child td:first-child + td, table.dbtotal tr:first-child td:first-child + td, table.gdtotal tr:first-child td:first-child + td { width: 1px; } /* 2nd row, first cell (set image) */ table.crtotal tr:first-child + tr td:first-child, table.dbtotal tr:first-child + tr td:first-child, table.gdtotal tr:first-child + tr td:first-child {   text-align: center; } /* Total (no Premium) - 2nd row 2nd cell... */ table.crtotal tr:first-child + tr td:first-child + td, table.dbtotal tr:first-child + tr td:first-child + td, table.gdtotal tr:first-child + tr td:first-child + td, /* ...and Premium Total - 2nd row 1st cell (total title) */ table.prtotal tr:first-child + tr td:first-child {   text-align: center; font-weight: bold; } /* Total (no Premium) - 2nd row 2nd cell (total title) */ table.crtotal tr:first-child + tr td:first-child + td, table.dbtotal tr:first-child + tr td:first-child + td, table.gdtotal tr:first-child + tr td:first-child + td { padding-top: 24px; /* hack to make better vertical align */ border-bottom: none; } /* Total - 1st row 1st cell (set title) */ table.crtotal tr:first-child td:first-child, table.dbtotal tr:first-child td:first-child, table.gdtotal tr:first-child td:first-child, table.prtotal tr:first-child td:first-child {   /* no bold by default for consistence with Premium Total */ text-align: center; } /* Total (no Premium) - 3th row cells (total stats) */ table.crtotal tr:first-child + tr + tr td, table.dbtotal tr:first-child + tr + tr td, table.gdtotal tr:first-child + tr + tr td { padding-bottom: 24px; /* see total title */ }

/** Common Stuff **/ /* Total (no Craft) - 1st row 3th-7th cells... */ table.dbtotal tr:first-child td:first-child + td + td, table.dbtotal tr:first-child td:first-child + td + td + td, table.dbtotal tr:first-child td:first-child + td + td + td + td, table.dbtotal tr:first-child td:first-child + td + td + td + td + td, table.dbtotal tr:first-child td:first-child + td + td + td + td + td + td, table.gdtotal tr:first-child td:first-child + td + td, table.gdtotal tr:first-child td:first-child + td + td + td, table.gdtotal tr:first-child td:first-child + td + td + td + td, table.gdtotal tr:first-child td:first-child + td + td + td + td + td, table.gdtotal tr:first-child td:first-child + td + td + td + td + td + td, /* ...DB - 5th-8th cols... */ table.dbitems td:first-child + td + td + td + td, table.dbitems td:first-child + td + td + td + td + td, table.dbitems td:first-child + td + td + td + td + td + td, table.dbitems td:first-child + td + td + td + td + td + td + td, /* ...GD - 4th-7th cols... */ table.gditems td:first-child + td + td + td, table.gditems td:first-child + td + td + td + td, table.gditems td:first-child + td + td + td + td + td, table.gditems td:first-child + td + td + td + td + td + td, /* ...Premium - 2nd row 4th-7th cells... */ table.pritems tr:first-child + tr td:first-child + td + td + td, table.pritems tr:first-child + tr td:first-child + td + td + td + td, table.pritems tr:first-child + tr td:first-child + td + td + td + td + td, table.pritems tr:first-child + tr td:first-child + td + td + td + td + td + td, /* ...and Premium Total - 3nd-7th cols (stats) */ table.prtotal td:first-child + td + td, table.prtotal td:first-child + td + td + td, table.prtotal td:first-child + td + td + td + td, table.prtotal td:first-child + td + td + td + td + td, table.prtotal td:first-child + td + td + td + td + td + td { width: 57px; /* same width for items and total, more nice */ } /* Craft Total - 1st row 3th-7th cells (stats) */ table.crtotal tr:first-child td:first-child + td + td, table.crtotal tr:first-child td:first-child + td + td + td, table.crtotal tr:first-child td:first-child + td + td + td + td, table.crtotal tr:first-child td:first-child + td + td + td + td + td, table.crtotal tr:first-child td:first-child + td + td + td + td + td + td { width: 1px; /* save space for set image */ } /* DB table - 4th col... */ table.dbitems td:first-child + td + td + td, /* ...GD table, 3th col... */ table.gditems td:first-child + td + td, /* ...Total (no Premium) - 1st row 2nd cell and 3th row 1st cell... */ table.crtotal tr:first-child td:first-child + td, table.crtotal tr:first-child + tr + tr td:first-child, table.dbtotal tr:first-child td:first-child + td, table.dbtotal tr:first-child + tr + tr td:first-child, table.gdtotal tr:first-child td:first-child + td, table.gdtotal tr:first-child + tr + tr td:first-child, /* ...and Premium Total table - 2nd col (set names) */ table.prtotal td:first-child + td { text-align: right; font-style: italic; } /* Premium - 2nd row 4th-6th cells... */ table.pritems tr:first-child + tr td:first-child + td + td + td, table.pritems tr:first-child + tr td:first-child + td + td + td + td, table.pritems tr:first-child + tr td:first-child + td + td + td + td + td, /* ...and Premium Total - 2nd-6th col (stats, not the last) */ table.prtotal td:first-child + td, table.prtotal td:first-child + td + td, table.prtotal td:first-child + td + td + td, table.prtotal td:first-child + td + td + td + td, table.prtotal td:first-child + td + td + td + td + td { padding-right: 0px; /* save a bit of space */ } /* Craft - 4th col (material quantities)... */ table.critems td:first-child + td + td + td, /* ...and Build - 3,5th cols (resource quantities) */ table.build td:first-child + td + td, table.build td:first-child + td + td + td + td { padding-right: 0.4em; /* a spacebar */ text-align: right; }

/*** Jobs and Guilds - END ***/

/*** Style for item and monster pages - START ***/ table.item, table.monster, table.item-nearimg, table.monster-nearimg, table.item-bonuses {   margin: 0px; border: 0px; background-color: transparent; width: 100%; text-align: center; } table.item th, table.item-nearimg th, table.item-bonuses th { width: 90px; } /* secondary th cells */ table.monster th { width: 41px; } /* primary th cells */ table.monster th:first-child, table.monster-nearimg th:first-child {   width: 63px; } /* table at the left of the item image (hack for bug with chrome */ /* and rowspan) */ table.item-nearimg, table.monster-nearimg {   height: 100%; } table.monster-nearimg table.stats {   margin: 0px auto 0px auto; } table.monster-nearimg table.stats td:first-child, table.monster-nearimg table.stats td:first-child + td + td { border: 0px; } table.monster-nearimg table.stats td:first-child + td, table.monster-nearimg table.stats td:first-child + td + td + td { border: 0px; text-align: right; } /* cell with th scope="row" after, on the same row */ table.monster td.thra-cell {   width: 108px; } table.item-bonuses {   white-space: nowrap; } td.null-cell, td.nopad-cell, /* to avoid problems with rules at "a little more padding for */ /* wikitables" section */ table.wikitable td.null-cell, table.wikitable td.nopad-cell {   padding-left: 0px; padding-right: 0px; padding-top: 0px; padding-bottom: 0px; } td.null-cell, table.wikitable td.null-cell {   border: 0px; } tr.not-empty-row {   height: 1px; } {   text-align: center; width: 1px; border: 0px; padding-top: 0px; padding-right: 0px; padding-left: 3px; } {   margin: 0px; } {   max-width: 123px; height: auto; } {   max-width: 148px; height: auto; } /* style for cell of the last row of tables that have another table */ /* after, without any padding or margin - so they look like an unique table */ table>*>tr.last-row th, table>*>tr.last-row td, table>tr.last-row th, table>tr.last-row td { border-bottom: 0px; } /* style for table cell with only lists, used in "dropped by" field of material pages */ {   text-align: left; padding-top: 0px; padding-bottom: 0px; padding-left: 0px; } {   margin: 0em 0em 0em 1.7em; }
 * 1) item-image-cell,
 * 2) monster-image-cell
 * 1) item-image-cell .floatright,
 * 2) monster-image-cell .floatright
 * 1) item-image-cell img
 * 1) monster-image-cell img
 * 1) list-cell
 * 1) list-cell ul,
 * 2) list-cell ol

/*** Style for any item pages - END ***/

/*** Style for dungeon waves - START ***/

/* main styles */ table.wave {   border: 0px none; background: none; display: inline; } table.wave td:first-child, .wave td:first-child + td { width: 95px; } table.wave caption {   text-align: center; } /* hack to see tables on the same line, for stupid Google Chrome */ table.wave {   float:left; } table.wave + h2 { clear:left; } table.wave + hr { clear:left; } table.wave + p { clear:left; }

/*** Style for dungeon waves - END ***/

/* explore table in dungeon categories */

table.dungeon {   text-align: center; white-space: nowrap; background-color: transparent; border: 0px; width: 100%; }

table.dungeon td { background-color: white; }

/* hack to display caption for small thumbs */

.WikiaArticle .thumbinner {   display: table; } .WikiaArticle .thumbinner .image {   display: block; } /* style for disambiguations */ .dablink { font-style: italic; padding-left: 1.6em; margin-bottom: 0.5em; } /* table with text centered */ table.table-aligncenter th, table.table-aligncenter td { text-align: center; } /* center 1st col only */ table.center-col1 th:first-child, table.center-col1 td:first-child {   text-align: center; } /* center 2nd col only */ table.center-col2 th:first-child + *, table.center-col2 td:first-child + * {   text-align: center; } /* center 3rd col only */ table.center-col3 th:first-child + * + *, table.center-col3 td:first-child + * + * {   text-align: center; }

/* style for lists, useful for materials */

table>*>tr>td.list, table>tr>td.list {   border-right: 0px; } table>*>tr>td.list + td, table>tr>td.list + td { width: 1px; white-space: nowrap; text-align: right; padding-right: 0px; border-left: 0px; border-right: 0px; } td.list + td + td { width: 1px; white-space: nowrap; text-align: left; padding-left: 0.4em; border-left: 0px; border-right: 0px; } td.list + td + td + td { border-left: 0px; }

.WikiaWideTablesWrapper canvas {display:none;} .WikiaWideTablesWrapper img.sprite.popout {display:none;} .WikiaWideTablesWrapper > .table {overflow:visible;}