MediaWiki:Common-base.css

/* Common css for both desktop and mobile view. Imported in common.css and mobile.css.

/* -- */

/* ================================================================== */ /* General styles */ /* ================================================================== */

/* -- */

a:visited { color: #0619aa; }

.small { font-size: 85%; }

.nowrap { white-space: nowrap; }

/* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; }

/* pic box */ div.tright { margin: 0em 0 1em 1em; }

/* clear fix for float block */ .clearfix { *zoom: 1; } .clearfix::before, .clearfix::after { content: " "; display: table; } .clearfix::after { clear: both; }

/* Add diff accent to make even smaller changes visible */ .diffchange-inline { border: 1px #FF6666 dashed; }

/* restore the light blue bullet points that somehow got overridden to black during the MW 1.33 update */ ul { list-style-image: url("data:image/svg+xml, %3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%225%22 height=%2213%22> %3Ccircle cx=%222.5%22 cy=%229%22 r=%222.5%22 fill=%22%2300528c%22/%3E %3C/svg%3E") }

/* Recent changes reduce header spacing */ fieldset.rcoptions { margin-top: 0; }

/* References smaller text than main */ .references { font-size: 90%; }

/* Offset linked anchors */ .anchor { display: block; height: 0; position: relative; top: -100px; z-index: -9999; visibility: hidden; }

/* Larger font for Module: code display (default is smaller than other code pages) */ pre.lua.source-lua { font-size: 14px !important; }

/* SoundManager2Button icon (It looks useless/unused) */ a.sm2_button { background-color: #3399CC; } a.sm2_button:hover, a.sm2_playing { background-color: #006A9F; }

/* Fix indicators' styling (e.g. the "Help" link on category pages) */ .mw-body .mw-indicators { z-index: 0; } .mw-body .mw-indicator { vertical-align: middle; }

/* */ /* Characteristic "terraria" styling */ /* */

.terraria { border: 1px #AFCFE2 solid; padding: 8px 12px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; position: relative; } .terraria > .heading, .terraria > .mw-collapsible-content > .heading { background: #E4F0F7; text-align: center; font-weight: bold; line-height: 2; min-height: 1em; margin: auto -4px; padding: 0; font-size: inherit; margin-top: 8px; } .terraria > .heading:first-child, .terraria > .mw-collapsible-content > .heading:first-child, .terraria > .heading:nth-of-type(1), .terraria > .mw-collapsible-content > .heading:nth-of-type(1){ margin-top: auto; } .terraria > .heading + *, .terraria > .mw-collapsible-content > .heading + * { padding-top: 8px; } .terraria > .mw-collapsible-toggle { position: absolute; line-height: 1; right: 12px; top: 12px; font-size: 12px; } .terraria > .mw-collapsible-toggle > .mw-collapsible-bracket { display: none; } .terraria > .mw-collapsible-toggle:before { content: ""; vertical-align: middle; display: inline-block; width: 4px; height: 4px; transform: rotate(45deg); position: relative; left: -3px; border-left: 2px solid #0645ad; border-top: 2px solid #0645ad; border-right: 0; border-bottom: 0; top: 1px; } .terraria > .mw-collapsible-toggle:after{ content: ""; } .terraria > .mw-collapsible-toggle.mw-collapsible-toggle-collapsed:before { border-left: 0; border-top: 0; border-right: 2px solid #0645ad; border-bottom: 2px solid #0645ad; top: -2px; }

/* */ /* Tables */ /* */

table { font-size: 100%; color: #000000; /* we don't want the bottom borders of s to be visible through * floated tables */ background-color: #FCFCFC; /* fix 100% width table with border */ box-sizing: border-box; }

.mw-specialpages-table { margin-bottom: 0; margin-top: 0; }

/* "terraria"-classed tables */ table.terraria { /* border style is defined in common .terraria */ margin: 0.5em 0.5em 0.5em 0; padding: 2px; } table.terraria.noborder { padding: 0; border: 0; } .terraria th, .terraria td { padding: 3px 6px; border-color: #AFCFE2; border-style: solid; border-width: 0; } .terraria th { background: #E4F0F7; text-align: center; } .terraria caption { font-weight: bold; background: #E4F0F7; padding: 5px; margin: auto 2px; } .terraria > caption { padding: 3px; -moz-border-radius: 6px 6px 0 0; -webkit-border-radius: 6px 6px 0 0; border-radius: 6px 6px 0 0; margin: 1px 1px -4px; border: 4px solid #F9F9F9; border-bottom-width: 1px; box-shadow: 0 0 0 1px #AFCFE2; position: relative; } .terraria > caption:after { content: ""; display: block; width: 100%; height: 1px; background: #F9F9F9; position: absolute; left: -4px; bottom: -2px; border-left: 4px solid #f9f9f9; border-right: 4px solid #f9f9f9; }

/* Auto line separators for tables */ table.lined td { border-width: 0; border-bottom-width: 1px; } table.lined tr:last-of-type td { border-bottom: 0; } table tr.bottomline td { border-bottom-width: 1px; } table tr.topline td { border-top-width: 1px; } table td.bottomline { border-bottom-width: 1px; } table td.topline { border-top-width: 1px; } table.cellborder{ border-collapse: collapse; border-spacing: 0; } table.cellborder td, table.cellborder th{ border-width: 1px; }

/* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */ table.outer { white-space: nowrap; } table.inner { border-collapse: collapse; background: inherit; width: 100%; } table.inner th { border: 2px solid #FCFCFC; }

/* Vertical margin tweaks */ margin-top: 0.7em !important; }
 * 1) content h1,
 * 2) content h2 {

margin-top: 0 !important; }
 * 1) content h1#firstHeading {

margin-bottom: 0.5em !important; }
 * 1) contentSub {

padding-top: 0.4em !important; }
 * 1) content h3 {

margin-bottom: 0.25em;/*!important*/ }
 * 1) content p {

table.terraria { margin-top: 0.4em !important; }

margin-top: 10px !important; }
 * 1) toc {

/* For floating the "Collapse"/"Expand" link (instead of always right next to text) */ .mw-collapsible-alignbtnright .mw-collapsible-toggle { float: right !important; } .mw-collapsible-alignbtnleft .mw-collapsible-toggle { float: left !important; }

/* Other "plaincollapse" styling */ /* Removes brackets from collapse/expand links for collapsible elements with "plaincollapse" class specified*/ .plaincollapse .mw-collapsible-toggle { color: rgba(0, 0, 0, 0.0); } .plaincollapse .mw-collapsible-toggle a, .plaincollapse .mw-collapsible-toggle a:link, .plaincollapse .mw-collapsible-toggle a:visited, .plaincollapse .mw-collapsible-toggle a:hover { font-weight: bold; color: #11688F; }

/* Highlight (used in Community and Admin noticeboard headers) */ .highlightheader { text-align: center; font-size: 140%; background: #CAE1FF; color: #033251; padding: 4px; } .highlightbody { color: #000000; padding:10px; background:#f1f0ff; }

/* multi-columns horizontal toc */ .horizontal-toc{ /* to match styles of .toc */ border: 1px solid #AFCFE2; padding: 5px; background: #fff; border-radius: .3em; margin-top: 10px !important; } .horizontal-toc #toc{ display: block; border: 0; padding: 0; } .horizontal-toc #toc .toctitle{ -webkit-column-span: all; column-span: all; } .horizontal-toc ul, .horizontal-toc ol { margin-top: 0px; } .horizontal-toc ul li:first-child, .horizontal-toc ol li:first-child { margin-top: 0px; } /* -- */

/* ================================================================== */ /* Template-related styles */ /* ================================================================== */

/* -- */

/* Template:multi-column list */ /* correct webkit/chrome uneven margin on the first column*/ .responsive-columns ul, .responsive-columns ol { margin-top: 0px; } .responsive-columns ul li:first-child, .responsive-columns ol li:first-child { margin-top: 0px; } .mclist > ul { list-style: none; margin-left: 0; }

/* Template:itemlist */ .itemlist > ul { list-style: none; margin: 0.25em 0 -0.25em 0; } .itemlist > ul > li { width: 10em; /* default width */ margin: auto 1em 0.5em auto; display: inline-block; }

/* Template:dotlist */ .dotlist { margin: auto; } .dotlist > .title { font-weight: bold; } .dotlist.nobold > .title { font-weight: normal; } .dotlist > .title::after { content: " "; } .dotlist > ul { display: inline; list-style: none; margin: auto; /* please don't delete this line, we need it to remove default ul margin setting. */ } .dotlist > ul > li { display: inline-block; } .dotlist > ul > li::after { content: "•"; padding: 0 0.25em; } .dotlist.nodot > ul > li::after { content: "　"; padding: 0; margin: 0; } .dotlist > ul > li:last-child::after { display: none; } .dotlist.l > .title { margin-right: 0.4em; } .dotlist.l > ul > li::after { margin-left: 0.25em; margin-right: 0.25em; } .dotlist.xl > .title { margin-right: 0.8em; } .dotlist.xl > ul > li::after { margin-left: 0.5em; margin-right: 0.5em; } .dotlist.xxl > .title { margin-right: 1.2em; } .dotlist.xxl > ul > li::after { margin-left: 0.75em; margin-right: 0.75em; } .dotlist.xxxl > .title { margin-right: 1.6em; } .dotlist.xxxl > ul > li::after { margin-left: 1em; margin-right: 1em; } .dotlist.xxxxl > .title { margin-right: 2em; } .dotlist.xxxxl > ul > li::after { margin-left: 1.25em; margin-right: 1.25em; }

/* Template:toc limit */ /* Allows limiting TOCs to generate links for only header levels below a limit, for instance only level-3 (=== ===) and below. */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none !important; }

/* Template:error */ .error { font-weight: bold; color: red; }

/* Template:documentation */ .feature, .documentation { background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 5px; padding: 10px; } .documentation_header { padding-bottom: 3px; border-bottom: 1px solid #AAAAAA; }

/* Template:achievement */ div.achievement a.mw-selflink{ font-weight: inherit; }

/* Template:main */ div.main-article { padding: 0.5em 0 0.3em 1.5em; color: #666; }

/* Template:history */ .history-header { background: none; margin: 0; padding-top: .5em; padding-bottom: .17em; border-bottom: none; font-size: 116%; font-weight: bold; }

/* Template:key */ div.key { pointer-events: none; } div.key span { cursor: pointer; white-space: nowrap; pointer-events: all; } div.key a:-webkit-any-link { text-decoration: none; }

/* Template:quotation */ blockquote.quotation { position: relative; font-style: italic; padding: 0em 1em; margin: 1em auto; overflow: hidden; } blockquote.quotation:before { content: "“"; display: block; font: bold 5em Times New Roman, Times, Georgie, serif; line-height: 0.8; color: silver; position: absolute; left: 0.2em; top: 0; } blockquote.quotation > div { padding: 0.25em 0 0 1em; margin-left: 3em; border-left: 1px solid silver; } blockquote.quotation > div > p:last-child { text-align: right; font-size: 0.9em; margin: 0; } @media(max-width: 550px) { blockquote.quotation { clear: both; } }

/* Template:eicons */ .eico { white-space: nowrap; position: relative; top: -0.1em; line-height: 1; }

/* Template:eil */ .eil { white-space: nowrap; } .eil .eico { margin-left: 3px; }

/* Template:note */ .note-text { color: #666; }

/* Template:expert */ .expert { color: #9B5700; font-weight: bold; } .expert[title]{ cursor: pointer; } abbr.expert{ text-decoration: none; } .expert > span.sep{ padding: 0 0.3em; color: #808080; } .expert > span.postfix{ display: none; } .money .expert > span.sep{ padding: 0 0.5em; } /* Template:master */ .master { color: #DD1414; font-weight: bold; } .master > span.sep{ padding: 0 0.3em; color: #808080; } .master > span.postfix{ display: none; } .master[title]{ cursor: pointer; } abbr.master { text-decoration: none; } .money .master > span.sep{ padding: 0 0.5em; } /* */ /* Boxes */ /* */

/* Template:bannerbox */ .notice-banner { text-align: center; margin: 3px auto 5px; display: -webkit-box; display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: flex; } .notice-banner > div { border: 1px solid #AFCFE2; background: #E4F0F7; color: #063B5E; padding: 6px 2em; margin: auto; } @media(max-width: 600px) { .notice-banner > div { padding: 6px; } }

/* Template:ambox */ .ambox { background-color: #eee; border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px auto; width: 80%; } .ambox-gray { border-left-color: #383838; } .ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; } .ambox + .ambox { margin-top: -2px; } .ambox-text { padding: 0.25em 0.5em; color: #000; } .ambox-image { padding: 2px 0px 2px 0.5em; text-align: center; width: 60px; } .ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; } /* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; } .ambox-red { border-left: 10px solid #b22222; } .ambox-orange { border-left: 10px solid #f28500; } .ambox-yellow { border-left: 10px solid #f4c430; } .ambox-purple { border-left: 10px solid #9932cc; } .ambox-gray { border-left: 10px solid #bbbbaa; } .ambox-green { border-left: 10px solid #228b22; } /* Ambox small text */ .amsmalltext { font-size: smaller; margin-left: 0.8em; margin-top: 0.5em; }

/* Template:msgbox */ .msgbox { border: 2px solid #616161; padding: 3px 12px 3px 7px; margin: 0 auto 1em; text-align: center; }

/* Template:christmas only, Template:halloween only, Template:naturalgen only */ .notice-banner > .common-only { margin: 1em auto; padding: .3em 1.3em .2em; border: 2px solid; -moz-border-radius: .7em; -webkit-border-radius: .7em; border-radius: .7em; color: black; } .common-only.christmas { border-color: #b5282f; background: #009e6a; } .common-only.halloween { border-color: #ffa500; background: #ffb400; } .common-only.naturalgen { border-color: #228b22; background: #aadd99; }

/* Template:guide header */ .guide-header { margin: auto; margin-bottom: 0.5em; max-width: 67%; padding: 0.5em; background: #E4F0F7; border: 1px #AFCFE2 solid; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; text-align: center; }

/* Template:historical content */ .historical-content { margin: auto; margin-bottom: 0.5em; padding: 0.2em; background: #E4F0F7; border: 1px #AFCFE2 solid; -moz-border-radius: 0.7em; -webkit-border-radius: 0.7em; border-radius: 0.7em; text-align: left; }

/* Template:transclude */ .transclude-box { float: right; margin: 0.6em 0 0.5em 0.6em; border: 1px solid #AFCFE2; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background: #E4F0F7; padding: 0 7px; font-size: 90%; }

/* Template:protected */ .protected-box { background-color: #ebf4f9; } .protected-box .notice-banner div { background: #AFCFE2; border: 1px solid #999; font-weight: bold; font-size: 130%; margin: 1em auto; text-align: center; } .protected-box .notice-banner div span { margin-right: 1.25em; } .protected-box table { background: none; } .protected-box #left { width: 50%; vertical-align: top; padding: 1.3em; padding-right: 5%; } .protected-box #right { width: 50%; vertical-align: top; padding: 1.3em; } .protected-box #left div, .protected-box #right div { font-size: 120%; font-weight: bold; margin-left: 1.3em; }

/* */ /* Template:item */ /* */

.i { white-space: nowrap; display: inline-block; } /* css trick for non-exist item image */ .i > a.new { display: inline-block; width: 16px; height: 24px; text-indent: -9999px; direction: ltr; background-image: url(/media/d/dd/Unknown.png); background-repeat: no-repeat; background-position: center center; }

.i > a, .i > img { display: inline-block; line-height: 0; vertical-align: middle; margin-left: 2px; }

.i > span { display: inline-block; margin-left: 3px; text-align: left; }

.i > a:first-child, .i > img:first-child, .i > span:first-child { margin-left: auto; }

.i.multi-line > span, .i.-w > span, .i.break > span { line-height: 1.25; vertical-align: middle; } .i.break > span{ white-space: normal; }

.i > span > .eico { font-size: 0.75em; vertical-align: middle; }

.i .note { color: #666; font-size: 85.7142%; /*12px/14px*/ }

.i > span > div.note { /*note2*/ font-size: 100%; line-height: 1; }

.i > span > .eico, .i > span > span.note { margin-left: 3px; }

.i.-w > span > .eico:last-child, .i.-w > span > span.note:last-child { display: block; margin-left: auto; }

.i.-w > span > span.note:last-child { line-height: 1; }

.i .id { font-size: 71.4285%; /*10px/14px*/ background-color: #E4F0F7; font-weight: bold; margin-top: 1px; padding: 0 2px; }

.i.boldname > span span:first-child { font-weight: bold; }

.i.notecolor span.note { color: inherit; }

.i.note2color div.note { color: inherit; }

.i.block, .i.block > span:first-child, .i.allblock, .i.allblock > * { display: block; }

.i.allblock > * { text-align: inherit; }

.i.notesize span.note { font-size: 100%; }

.i.note2size div.note { font-size: 85.7142%; /*12px/14px*/ }

.i.alignleft { text-align: left; }

.i.aligncenter { text-align: center; }

.i.alignright { text-align: right; }

.i.textleft > span { text-align: left; }

.i.textcenter > span { text-align: center; }

.i.textright > span { text-align: right; }

.i.flip > a:first-child img, .i.flip > img:first-child{ transform: scaleY(-1); } .i.mirror > a:first-child img, .i.mirror > img:first-child{ transform: scaleX(-1); } .i.rotate90 > a:first-child img, .i.rotate90 > img:first-child{ transform: rotate(90deg); } .i.rotate180 > a:first-child img, .i.rotate180 > img:first-child{ transform: rotate(180deg); } .i.rotate270 > a:first-child img, .i.rotate270 > img:first-child{ transform: rotate(270deg); } td.il1c .i{	display: block; text-align: center; } td.il2c .i{	display: block; text-align: left; } table.item-noborder td.il1c{ border-right: 0 !important; padding-right: 1px; } table.item-noborder td.il2c{ border-left: 0 !important; padding-left: 1px; } /* */ /* Template:recipes */ /* */ div.crafts { margin-bottom: 4px; line-height: 1.5; display: table;/*float fix*/ overflow: auto; }

div.crafts.centered { -webkit-box-pack:center; -ms-flex-pack:center; -webkit-justify-content:center; -moz-justify-content:center; justify-content:center; }

div.crafts .wrap { border: 1px solid #aaa; border-radius: 8px; padding: 6px 6px 2px 5px; position: relative; background: #FCFCFC; }

div.crafts .wrap::after { content: ""; display: block; height: 1px; width: auto; background: #fcfcfc; position: absolute; bottom: 2px; left: 6px; right: 6px; }

div.crafts table { position: relative; }

div.crafts table::after { content: ""; display: block; height: 100%; width: 1px; background: #fcfcfc; position: absolute; top: 0; left: 0; }

div.crafts caption { font-size: 1.17em; background: #E4F0F7; padding: 0.25em; position: relative; margin-bottom: 2px; font-weight: bold; } div.crafts caption > i,div.crafts caption > b{	vertical-align: middle; }

div.crafts caption div._nav { position: absolute; left: 1em; top: 0.5em; font-size: 10px; font-weight: normal; }

div.crafts caption div._nav s { text-decoration: none; }

div.crafts th { background: #E4F0F7; padding: 0.25em 0.5em; border-right: 1px solid #f9f9f9; border-left: 1px solid #f9f9f9; } div.crafts th:first-child { border-left-width: 0px; }

div.crafts th:last-child { border-right: 0; }

div.crafts td { padding: 0.25em 0.5em; border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; } /* div.crafts td:first-child { border-left: 0; } div.crafts td.result, div.crafts td.ingredients{ white-space: nowrap; }

div.crafts td.station{ text-align: center; }

div.crafts td.station span.water{ display: inline-block; vertical-align: middle; }

div.crafts.nostation th.station, div.crafts.nostation td.station { display: none; }

div.crafts table .ingredients ul, .crafting-ingredients > ul{ margin: 0; list-style: none; }

div.crafts table .ingredients li, .crafting-ingredients > ul > li{ margin: 3px auto; } /* itemlink default as multiline */ div.crafts .i > span, div.crafts .i > span, div.crafts .note-text {   line-height: 1.25; vertical-align: middle; }

/* */ /* Navbox (Template:navbox/start etc.) */ /* */

.navbox { border: 1px solid #aaa; border-radius: 8px; padding: 6px; margin: 0.5em auto; width: 100%; max-width: 1800px; box-sizing: border-box; position: relative; clear: both; line-height: 1.5; }

.navbox > .header { background: #E4F0F7; text-align: center; font-size: 16px; font-weight: bold; line-height: 2; padding: 4px 70px; min-height: 1em; }

.navbox > .vde { position: absolute; left: 12px; top: 10px; font-size: 9px; line-height: 1; color: #999; }

.navbox > .mw-collapsible-toggle { position: absolute; line-height: 1; right: 10px; top: 10px; font-size: 12px; }

.navbox > .mw-collapsible-toggle > .mw-collapsible-bracket { display: none; }

.navbox > .mw-collapsible-toggle:before { content: ""; vertical-align: middle; display: inline-block; width: 4px; height: 4px; transform: rotate(45deg); position: relative; left: -3px; border-left: 2px solid #0645ad; border-top: 2px solid #0645ad; border-right: 0; border-bottom: 0; top: 1px; }

.navbox > .mw-collapsible-toggle:after{ content: ""; }

.navbox > .mw-collapsible-toggle.mw-collapsible-toggle-collapsed:before { border-left: 0; border-top: 0; border-right: 2px solid #0645ad; border-bottom: 2px solid #0645ad; top: -2px; }

.navbox > .content { padding-top: 6px; text-align: center; }

.navbox > .content .dotlist + .dotlist { margin-top: 0.5em; }

/* nested navbox */ .navbox .navbox { border: 0; padding: 0; width: auto; margin: 0 0 6px; }

.navbox .navbox:last-child { margin: 0; }

.navbox .navbox > .header { font-size: 14px; padding: 0px 64px; }

.navbox .navbox > .vde { left: 6px; top: 4px; }

.navbox .navbox > .mw-collapsible-toggle { right: 4px; top: 4px; font-size: 10px; }

.navbox .navbox > .mw-collapsible-toggle:before { width: 3px; height: 3px; border-left: 1px solid #0645ad; border-top: 1px solid #0645ad; border-right: 0; border-bottom: 0; top: 1px; }

.navbox .navbox > .mw-collapsible-toggle.mw-collapsible-toggle-collapsed:before { border-left: 0; border-top: 0; border-right: 1px solid #0645ad; border-bottom: 1px solid #0645ad; top: -1px; }

.navbox .h1 { font-weight: bold; margin-top: 0.75em; margin-bottom: 0.25em; line-height: 1.5; }

.navbox .h1::after { content: ''; display: block; margin: auto; width: 5em; height: 0; border-bottom: 2px solid #ccc; }

.navbox .h1:first-child { margin-top: auto; }

.navbox .h2 { font-weight: bold; line-height: 1.5; margin-top: 0.25em; font-size: 12px; }

.navbox .h1 + .h2 { margin-top: 0.5em; }

.navbox .h3 { font-size: 10px; font-weight: bold; line-height: 1.5; }

.navbox h2 + .h3 { margin-top: 0.5em; }

/* */ /* Common infobox */ /* */

/* Keeping some rules just for the "old" template. */ .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px #AAA solid; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; }

/* Latest version */ .infobox { border: 1px solid #aaa; border-radius: 8px; padding: 6px; float: right; font-size: 12px; background-color: #f9f9f9; margin: 0 0 0.5em 1em; }

@media(max-width:450px) { .infobox { float: none; } }

.infobox.float-right { float: right; margin: 0 0 0.5em 1em; }

.infobox.float-left { float: left; margin: 0 1em 0.5em 0; }

.infobox.float-none { float: none; margin: 0 1em 0.5em 0; }

.infobox blockquote.quotation { padding: 0 0.25em; margin: 0.5em auto; } .infobox blockquote.quotation:before{ font-size: 3.5em; left: 0; } .infobox blockquote.quotation div{ padding: 0; margin-left: 2em; border-left: 0; }

.infobox table { background-color: transparent; width: 100%; border-spacing: 0; }

.infobox table th { white-space: nowrap; padding: 2px; text-align: right; border-right: 1px solid #f9f9f9; width: 5em; vertical-align: middle; }

.infobox table td { padding: 2px; vertical-align: middle; }

.infobox .title { background-color: #E4F0F7; color: #063B5E; font-weight: bold; text-align: center; padding: 2px 0; }

.infobox > .title { font-size: 15px; padding: 6px 3px; line-height: 1.2; }

.infobox > .title > span { display: block; font-size: 12px; color: slategray; font-style: italic; } .infobox > .title > span::before { content: "(";   font-style: normal; } .infobox > .title > span::after {    content: ")"; font-style: normal; } .infobox > .title > span.ename { color: #063B5E; } .infobox > .title > span.ename::before, .infobox > .title > span.ename::after {	content:""; } .infobox .content-section { padding: 6px 3px; }

.infobox .variant { background-color: #E4F0F7; color: #063B5E; font-weight: bold; text-align: center; font-size: 12px; padding: 4px 0; line-height: 1.2; }

.infobox .images { position: relative; padding: 6px 0; min-height: 40px; text-align: center; display: -webkit-box; display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: flex; /* direction=column, for IE11 */ -webkit-box-direction: normal; -webkit-box-orient: vertical; -moz-box-direction: normal; -moz-box-orient: vertical; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; -moz-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; -moz-align-items: center; align-items: center; }

.infobox .images > img { margin-top: 0.5em; }

.infobox ul { list-style: none; margin: auto; text-align: center; }

.infobox .statistics .title { margin-bottom: 6px; }

.infobox .statistics table th, .infobox .statistics table td { padding-top: 3px; padding-bottom: 3px; }

.infobox .stat td > small { font-size: 10.5px; font-weight: bold; margin-left: 2px; }

.infobox .stat td > small::before { content: " ("; }

.infobox .stat td > small::after { content: ")"; }

.infobox tr.buff th, .infobox tr.buff td { background-color: #E4F0F7; border: 1px solid #f9f9f9; }

.infobox tr.buff th { border-left: 0; }

.infobox tr.buff td { border-right: 0; padding-left: 3px; }

.infobox tr.buff td b { font-weight: bold; white-space: nowrap; } .infobox .tags { margin-top: -1px; margin-bottom: -1px; } .infobox .tags .tag { border: 1px solid #AFCFE2; display: inline-block; padding: 0 4px; border-radius: 3px; margin: 3px 6px 3px auto; }

.infobox .section.ids { margin-top: 3px; border-top: 1px solid #aaa; text-align: center; font-size: 10.5px; background-color: #E4F0F7; color: #063B5E; }

.infobox .section.ids li { padding: 2px 0; border-bottom: 2px solid #f9f9f9; margin: 0; font-weight: bold; }

.infobox .section.ids li:last-child { border-bottom: 0; }

.infobox .variant { margin-bottom: 2px; }

.infobox .drops td:first-child { text-align: left; }

.infobox .drops td:last-child { text-align: right; }

.infobox .drops th:first-child { text-align: left; border-right: 0; }

.infobox .section.drops { margin-top: 6px; margin-bottom: 6px; }

.infobox .drops.money table th { width: 1px; }

.infobox .imageother { text-align: center; padding-top: 6px; border-top: 1px solid #aaa; }

.infobox .drops.items { margin-top: 4px; margin-bottom: 1px; }

.infobox .drops.items li { border-bottom: 1px #AFCFE2 solid; padding: 3px 0; margin-bottom: auto; display: flex; flex-wrap: nowrap; flex-direction: row; justify-content: space-between; align-items: center; }

.infobox .drops.items li:first-child { background-color: #E4F0F7; color: #063B5E; padding: 2px 3px 0; } .infobox .drops.items:after { content: ""; display: block; height: 3px; margin-top: -3px; background-color: #f9f9f9; }

.infobox .drops.items li > div { display: block; }

.infobox .drops.items li > div:first-child { text-align: left; }

.infobox .drops.items li > div:last-child { text-align: right; }

.infobox .drops.items li.caption { border-top: 2px #AFCFE2 solid; margin-top: 2px; line-height: 1; text-align: center; color: #063B5E; font-size: 10.5px; background: #f0f7fb; padding-top: 5px; display: block; } .infobox .drops.items li.caption.group_end { padding-bottom: 5px; }

.infobox .drops.items li.group_end { border-bottom: 5px #AFCFE2 solid; position: relative; }

.infobox .drops.items li.group_end::after { content: ""; display: block; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background-color: #f9f9f9; }

.infobox abbr[title]{ /* for and so on.*/ text-decoration: none; }

/* */ /* Template:item infobox */ /* */

.item.infobox { width: 21em; }

.item.infobox .images .auto, .infobox.item .images .stack { position: absolute; right: 3px; }

.item.infobox .images .auto { top: 3px; }

.item.infobox .images .stack { bottom: 3px; }

.item.infobox .images ul.inline li { display: inline-block; padding: 0 8px 0 9px; margin: 2px auto; position: relative; vertical-align: middle; line-height: 2px; }

.item.infobox .images ul.inline li::before { content: ""; display: block; width: 1px; background: #ccc; height: 80%; position: absolute; left: 0; top: 10%; } .item.infobox .images ul.inline li:first-child { padding: 0 8px; } .item.infobox .images ul.inline li:first-child::before { display: none; }

.item.infobox .images ul.block li { display: block; padding: 13px 0 0 0; margin: auto; position: relative; }

.item.infobox .images hr { background-color: #ccc; margin: 0.5em 0; }

.item.infobox .images ul.block li::before { content: ""; display: block; height: 1px; background: #ccc; width: 80%; position: absolute; left: 10%; top: 6px; }

.item.infobox .images ul.block li:first-child { padding-top: 0; }

.item.infobox .images ul.block li:first-child::before { display: none; }

.item.infobox .section { overflow: hidden; }

.item.infobox .section .title { margin-bottom: 0.25em; }

.item.infobox .section .title + table, .item.infobox .section .title + ul { margin-top: 0.5em; margin-bottom: 0.25em; }

.item.infobox .section.statistics .title { /* hidden title when section content is empty. */	margin-bottom: -2em; }

.item.infobox .section.statistics .title + table, .item.infobox .section.statistics .title + ul { margin-top: 2.5em; margin-bottom: 0.25em; }

.item.infobox .section .title + table:empty, .item.infobox .section .title + ul:empty { /* hidden title when section content is empty. */	display: none; }

.item.infobox ul.toolpower { padding: 6px 0; cursor: help; }

.item.infobox ul.toolpower li { display: inline-block; padding: 0 0.5em; }

.item.infobox .section.statistics span.knockback { font-size: 10.5px; font-weight: bold; }

.item.infobox .section.projectile, .item.infobox .section.mount { text-align: center; }

.item.infobox .section.mount .name, .item.infobox .section.projectile .name { font-size: 10.5px; margin: 0.5em 0.5em 0.25em; }

.item.infobox .section.projectile .image, .item.infobox .section.mount .image { margin: 0.25em 0.5em 0.5em; }

.item.infobox .section.projectile img { max-width: 100%; height: auto; }

.item.infobox .section.projectile .name { margin-top: 0.25em; }

.item.infobox .section.projectile ul { margin: 0 0.5em; }

.item.infobox .section.projectile ul.inline li { display: inline-block; vertical-align: middle; }

/* ammo pages: Total Velocity Multiplier line */ .item.infobox td.tvm { font-weight: bold; padding-left: 5px }

.item.infobox th.tvm, .item.infobox td.tvm { border-color: #AFCFE2; border-style: solid; border-width: 0; border-top-width: 1px; border-bottom-width: 1px; }

/* */ /* Template:npc infobox */ /* */ .infobox.npc .modetabs{ border-bottom: 1px solid #aaa; display: flex; padding: 0 4px; margin: 6px -6px; } .infobox.npc .modetabs .tab{ margin: 0 2px -1px; flex: 1 1 33.33333333%; border: 1px solid #aaa; border-radius: 3px 3px 0 0; background: #eee; padding: 4px 0 3px; text-align: center; font-weight: bold; cursor: pointer; transition: all 0.3s, border-bottom 0; } .infobox.npc .modetabs .tab.current{ background: #f9f9f9; border-bottom: 1px solid #f9f9f9; transition: all 0.3s, border-bottom 0; } .infobox.npc.c-normal .m-expert, .infobox.npc.c-normal .m-master, .infobox.npc.c-normal .m-expert-master{ display: none !important; } .infobox.npc.c-expert .m-normal, .infobox.npc.c-expert .m-master, .infobox.npc.c-expert .m-normal-master{ display: none !important; } .infobox.npc.c-master .m-normal, .infobox.npc.c-master .m-expert, .infobox.npc.c-master .m-normal-expert{ display: none !important; } .infobox.npc.expertonly .m-normal, .infobox.npc .expertonly .m-normal{ display: none !important; } .infobox.npc.masteronly .m-normal, .infobox.npc.masteronly .m-expert{ display: none !important; } .npcstat .ssep{ display: inline; padding-left: 0.5em; padding-right: 0.5em; } .npc.infobox .npcstat .ssep, .npc.infotable .npcstat .ssep {	display: none; } .npc.infobox table.drops.money span.money, .npc.infotable td.block span.npcstat, .npc.infotable td.block span.npcstat .s{	display: block; } .npc.infotable td.block span.npcstat + br, .npc.infotable td.block span.npcstat .sep{ display: none; }

.npc.infobox table.drops.money span.sep{ display: block; text-indent: -9999px; height:1px; overflow: hidden; } .npcstat span.prefix, .npcstat span.postfix{ display: inline; color: #808080; font-weight: normal; font-size: 0.85em; } .npcstat.prefix .s, .npcstat.postfix .s{	display: block; } .npc.infotable.c-expert .terraria th, .npc.infobox.c-expert .section .title, .npc.infobox.c-expert .drops.items li:first-child, .npc.infobox.c-expert .drops.items li.caption{ background-color: #ffeece; color: #3A3119; border-top-color: #FFCA67; } .npc.infotable.c-expert .terraria, .npc.infotable.c-expert .terraria th, .npc.infotable.c-expert .terraria td, .npc.infobox.c-expert .drops.items li{ border-color: #FFCA67; } .npc.infotable.c-master .terraria th, .npc.infobox.c-master .section .title, .npc.infobox.c-master .drops.items li:first-child, .npc.infobox.c-master .drops.items li.caption{ background-color: #ffe9e9; color: #462B08; border-top-color: #FFBABA; } .npc.infotable.c-master .terraria, .npc.infotable.c-master .terraria th, .npc.infotable.c-master .terraria td, .npc.infobox.c-master .drops.items li{ border-color: #FFBABA; }

.infobox.npc .immunities > div{ margin: -1px; } .infobox.npc .immunities .i { margin: 1px ; } .npc.infobox { width: 21em; }

.npc.infobox .statistics table th { width: 6em; }

.npc.infobox .section { overflow: hidden; }

.npc.infobox .section .title { margin-bottom: 0.25em; }

.npc.infobox .section .title + table, .npc.infobox .section .title + ul { margin-top: 0.5em; margin-bottom: 0.25em; }

.npc.infobox .section.debuff table { border-bottom: 1px solid #AFCFE2; } .npc.infobox.c-expert .section.debuff table { border-bottom: 1px solid #FFCA67; } .npc.infobox.c-master .section.debuff table { border-bottom: 1px solid #FFBABA; }

.npc.infobox .section.debuff:after{ content: ""; display: block; height: 4px; margin-top: -4px; background: #F9F9F9; }

.npc.infobox .section.statistics .title { /* hidden title when section content is empty. */	margin-bottom: -2em; }

.npc.infobox .section.statistics .title + table, .npc.infobox .section.statistics .title + ul { margin-top: 2.5em; margin-bottom: 0.25em; }

.npc.infobox .section .title + table:empty, .npc.infobox .section .title + ul:empty { /* hidden title when section content is empty. */	display: none; } .npc.infobox .section.drops table.drops.money { margin: 6px auto 0; }

/* npc drops list in tableview */ ul.table-npcdrops{ text-align: left; margin: auto; } .table-npcdrops>li{ list-style: none; margin-bottom: 2px; } .table-npcdrops>li:last-child{ margin-bottom: auto; } .table-npcdrops > li > div{ display: inline-block; } .table-npcdrops > li > div:last-child{ margin-left: 0.25em; } .table-npcdrops > li > div:last-child:before{ content: " ("; } .table-npcdrops > li > div:last-child:after{	content: ")"; }

/* Template:Summoned (No longer on EN Wiki) */ .summoned.infobox { text-align: center; padding-bottom: 12px; } .summoned.infobox .title{ font-size: 12px; } .summoned.infobox .p{	font-size: 14px; } .npc.infotable{ display: table; margin: 0.5em 0; position: relative; } .npc.infotable > .statnote{ position: absolute; right: 0; top: 0; text-align: right; font-size: 10px; line-height: 14px; padding-right: 9px; color: #808080; } .npc.infotable.note-no > .statnote{ display: none; } .npc.infotable.note-bottom{ padding-bottom: 2.1em; } .npc.infotable.note-bottom > .statnote{ right: auto; top: auto; left: 8px; bottom: 0; text-align: left; } .npc.infotable > .table{ z-index: 10; margin: 0; border: 0; border: 1px solid #aaa; border-radius: 0 8px 8px 8px; padding: 0.5em; } .npc.infotable > .table > table{ margin: 0; } .npc.infotable > .table > table.terraria{ margin-top: 0 !important; } .npc.infotable .modetabs{ position: relative; z-index: 20; } .npc.infotable .modetabs .tab{ margin: 0 5px -1px 0; border: 1px solid #aaa; border-radius: 4px 4px 0 0; background: #eee; padding: 4px 1em; text-align: center; font-weight: bold; cursor: pointer; transition: all 0.3s, border-bottom 0; float: left; position: relative; } .npc.infotable .modetabs .tab.current{ background: #fcfcfc; transition: all 0.3s, border-bottom 0; border-bottom: 1px solid #fcfcfc; } .npc.infotable.c-normal .m-expert, .npc.infotable.c-normal .m-master, .npc.infotable.c-normal .m-expert-master{ display: none !important; } .npc.infotable.c-expert .m-normal, .npc.infotable.c-expert .m-master, .npc.infotable.c-expert .m-normal-master{ display: none !important; } .npc.infotable.c-master .m-normal, .npc.infotable.c-master .m-expert, .npc.infotable.c-master .m-normal-expert{ display: none !important; } .npc.infotable.expertonly .m-normal, .npc.infotable .expertonly .m-normal{ display: none !important; } .npc.infotable.masteronly .m-normal, .npc.infotable.masteronly .m-expert{ display: none !important; }

/* */ /* Template:infobox wrapper */ /* */

.infobox-wrapper.float-right { float: right; margin-left: 0.5em; } .infobox-wrapper.float-left { float: left; margin-right: 0.5em; } .infobox-wrapper.float-none { float: none; } @media(max-width:600px) { .infobox-wrapper.float-right { float: none; margin-left: auto; }   .infobox-wrapper.float-left { float: none; margin-right: auto; } } .infobox-wrapper.float-right.direction-row .infobox, .infobox-wrapper.float-right.direction-row-reverse .infobox, .infobox-wrapper.float-right.direction-row .infobox.float-left, .infobox-wrapper.float-right.direction-row-reverse .infobox.float-left, .infobox-wrapper.float-right.direction-row .infobox.float-right, .infobox-wrapper.float-right.direction-row-reverse .infobox.float-right, .infobox-wrapper.float-right.direction-row .infobox.float-none, .infobox-wrapper.float-right.direction-row-reverse .infobox.float-none { float: none; margin: 0 0 0.5em 0.5em; } .infobox-wrapper.float-left.direction-row .infobox, .infobox-wrapper.float-left.direction-row-reverse .infobox, .infobox-wrapper.float-left.direction-row .infobox.float-left, .infobox-wrapper.float-left.direction-row-reverse .infobox.float-left, .infobox-wrapper.float-left.direction-row .infobox.float-none, .infobox-wrapper.float-left.direction-row-reverse .infobox.float-none, .infobox-wrapper.float-left.direction-row .infobox.float-right, .infobox-wrapper.float-left.direction-row-reverse .infobox.float-right, .infobox-wrapper.float-none.direction-row .infobox, .infobox-wrapper.float-none.direction-row-reverse .infobox, .infobox-wrapper.float-none.direction-row .infobox.float-left, .infobox-wrapper.float-none.direction-row-reverse .infobox.float-left, .infobox-wrapper.float-none.direction-row .infobox.float-none, .infobox-wrapper.float-none.direction-row-reverse .infobox.float-none, .infobox-wrapper.float-none.direction-row .infobox.float-right, .infobox-wrapper.float-none.direction-row-reverse .infobox.float-right { float: none; margin: 0 0.5em 0.5em 0; } .infobox-wrapper.float-left.direction-column .infobox, .infobox-wrapper.float-left.direction-column-reverse .infobox, .infobox-wrapper.float-left.direction-column .infobox.float-left, .infobox-wrapper.float-left.direction-column-reverse .infobox.float-left, .infobox-wrapper.float-left.direction-column .infobox.float-none, .infobox-wrapper.float-left.direction-column-reverse .infobox.float-none, .infobox-wrapper.float-left.direction-column .infobox.float-right, .infobox-wrapper.float-left.direction-column-reverse .infobox.float-right { float: left; margin: 0 0.5em 0.5em 0; } .infobox-wrapper.float-none.direction-column .infobox, .infobox-wrapper.float-none.direction-column-reverse .infobox, .infobox-wrapper.float-none.direction-column .infobox.float-right, .infobox-wrapper.float-none.direction-column-reverse .infobox.float-right { float: right; margin: 0 0 0.5em 0.5em; } .infobox-wrapper.float-none.direction-column .infobox.float-left, .infobox-wrapper.float-none.direction-column-reverse .infobox.float-left, .infobox-wrapper.float-none.direction-column .infobox.float-none, .infobox-wrapper.float-none.direction-column-reverse .infobox.float-none { float: left; margin: 0 0.5em 0.5em 0; } .infobox-wrapper.float-right.direction-column .infobox, .infobox-wrapper.float-right.direction-column-reverse .infobox, .infobox-wrapper.float-right.direction-column .infobox.float-left, .infobox-wrapper.float-right.direction-column-reverse .infobox.float-left, .infobox-wrapper.float-right.direction-column .infobox.float-none, .infobox-wrapper.float-right.direction-column-reverse .infobox.float-none, .infobox-wrapper.float-right.direction-column .infobox.float-right, .infobox-wrapper.float-right.direction-column-reverse .infobox.float-right { float: right; margin: 0 0 0.5em 0.5em; }

/* Template:diagram */ table.diagram { border-spacing: 0; background: transparent; } table.diagram tr { height: 1px; text-align: center; } table.diagram td.l { border-style: none; border-width: 1px; border-color: #a0a0a0; padding: 0.5em; } table.diagram td.n { padding: 0; } table.diagram td.db { border-bottom-style: dashed; } table.diagram td.dr { border-right-style: dashed; } table.diagram td.sb { border-bottom-style: solid; } table.diagram td.sr { border-right-style: solid; } table.diagram td.nb { border-bottom-style: solid; border-bottom-color: transparent; } table.diagram td.nr { border-right-style: solid; border-right-color: transparent; } /* center dot fix */ table.diagram td.cf { position: relative; } table.diagram td.cf:after { content: ""; display: block; position: absolute; width: 0.9px; height: 1px; border-bottom: 1px solid #a0a0a0; right: 0; bottom: 0; } .diagram-box { border-width: 2px; border-style: solid; border-color: #AFCFE2; border-radius: 7px; padding: 0.25em 0.5em; } table.diagram td.no-border { border: none; } table.diagram td.craft-station { border: none; padding: 2px 0; } .crafting-tree { overflow: auto; padding: 0.5em 0; font-size: 12px; line-height: 1.25; } .crafting-tree .diagram { white-space: nowrap; }

/* Template:hp */ .hp { display:inline-block; vertical-align:middle; } .hp > div { margin: -2px; max-width: 260px; } .hp > div > img, .hp > div > a { width: 22px; height: 22px; padding: 2px; }

/* */ /* Template:infocard */ /* */

.infocard { margin: 0.5em 0; padding: 1em; box-sizing: border-box; border: 1px solid #aaa; border-radius: 6px; width: 100%; min-width: 300px; position: relative; background: #f2f2f2; color: #000; } .infocard > .card { float: right; margin: -1em 1em 0.75em 0.75em; box-shadow: 0 0 6px rgba(0,0,0,0.05); position: relative; z-index: 5; } .infocard > .card .image { background: #ddd; border-left: 1px solid #f2f2f2; border-right: 1px solid #f2f2f2; } .infocard > .card .content { border: 1px solid #ddd; border-top: 0; margin: 0 1px; background: #fff; border-radius: 0 0 4px 4px; box-sizing: border-box; padding: 0 0.75em 0; } .infocard > .card .content > .intro { margin-top: 0.75em; } .infocard > .card .content > dl { margin: 0.75em 0; } .infocard > .card .content dt { font-weight: bold; margin-top: 0.75em; } .infocard > .card .content dd { margin: 0; } .infocard > .card .content > .outro { margin-bottom: 0.75em; } .infocard .main-heading { border-right: 3em solid transparent; padding-left: 1em; margin: 2em -1em 1em; position: relative; line-height: 1; background:#AFCFE2; border-right-color:#AFCFE2; } .infocard > .main-heading, .infocard .intro:first-child > .main-heading:first-child, .infocard .outro:first-child > .main-heading:first-child { margin-top: 1em; } .infocard .main-heading .hgroup { background: #f2f2f2; padding: 0 1em; display: inline-block; position: relative; z-index:10; color: #999; font-weight: 100; } .infocard .main-heading .hgroup > .main { font-size: 2em; color: #000; } .infocard .main-heading .hgroup > .main span { font-size: 62.5%; color: #999; } .infocard .main-heading .icon { position: absolute; right: -2em; top: 0; height: 100%; z-index: 1; display:-webkit-box; display:-webkit-flex; display:-moz-flex; display:-ms-flexbox; display:flex; -ms-flex-wrap:wrap; -webkit-flex-wrap:wrap; -moz-flex-wrap:wrap; flex-wrap:wrap; -webkit-box-align:center; -ms-flex-align:center; -webkit-align-items:center; -moz-align-items:center; align-items:center; -webkit-align-content:center; -ms-flex-line-pack:center; align-content:center; } .infocard > .intro { margin: 1em 0; min-width: 200px; } .infocard > .outro { margin: 1em 0; min-width: 200px; } .infocard > .box { margin: 1em 0; } .infocard > .intro:first-child, .infocard > .outro:first-child, .infocard > .box:first-child { margin-top: 0; } .infocard > .intro:last-child, .infocard > .outro:last-child, .infocard > .box:last-child { margin-bottom: 0; } .infocard > .intro > .box, .infocard > .outro > .box { margin: 0 0 1em 0; } .infocard > .intro > .box:last-child, .infocard > .outro > .box:last-child { margin: 0; } .infocard .box { border: 1px solid #ddd; background: #fff; border-radius: 4px; padding: 1em; } .infocard .box > .title { line-height: 1; display: inline-block; margin-left: -1em; padding: 0 1em 0 0.5em; min-width: 5em; border-left: 0.5em solid transparent; } .infocard .box > .title > span { font-weight: lighter; font-size: 1.5em; } .infocard .box > .content { margin-top: 1em; } .infocard .box > .content:first-child { margin-top: 0; } .infocard .heading { margin: 1em 0 0.25em; font-weight: bold; } .infocard.small { font-size: 12px; } .infocard.compact { padding: 0.5em; min-width: 240px; } .infocard.compact .main-heading { padding-left: 0.5em; margin: 0.75em -0.5em 0.5em; } .infocard.compact > .main-heading, .infocard.compact .intro:first-child > .main-heading:first-child, .infocard.compact .outro:first-child > .main-heading:first-child { margin-top: 0.5em; } .infocard.compact .main-heading .hgroup { padding: 0 0.5em; font-weight: normal; } .infocard.compact .main-heading .hgroup > :first-child, .infocard.compact .main-heading .hgroup > :last-child { font-size: 85%; } .infocard.compact .main-heading .hgroup > .main { font-size: 1.25em; } .infocard.compact .main-heading .hgroup > .main span { font-size: 80%; } .infocard.compact > .intro { margin: 0.5em 0; } .infocard.compact > .outro { margin: 0.5em 0; } .infocard.compact > .box { margin: 0.5em 0; } .infocard.compact > .intro:first-child, .infocard.compact > .outro:first-child, .infocard.compact > .box:first-child { margin-top: 0; } .infocard.compact > .intro:last-child, .infocard.compact > .outro:last-child, .infocard.compact > .box:last-child { margin-bottom: 0; } .infocard.compact > .intro > .box, .infocard.compact > .outro > .box { margin: 0 0 0.5em 0; } .infocard.compact > .intro > .box:last-child, .infocard.compact > .outro > .box:last-child { margin: 0; } .infocard.compact .box { padding: 0.5em; } .infocard.compact .box > .title { margin-left: -0.5em; padding: 0 0.5em 0 0.25em; border-left: 0.25em solid transparent; } .infocard.compact .box > .title > span { font-size: 100%; font-weight: bold; } .infocard.compact .box > .content { margin-top: 0.25em; } .infocard.compact .box > .content:first-child { margin-top: 0; } .infocard.compact .box > .content:first-child { margin-top: 0; } .infocard.compact .heading { margin: 0.5em 0 0; } .infocard.compact > .card { margin: -0.5em 0.5em 0.5em 0.5em; } .infocard.compact > .card .content { padding: 0 0.5em 0; } .infocard.compact > .card .content > .intro { margin-top: 0.5em; } .infocard.compact > .card .content > dl { margin: 0.5em 0; } .infocard.compact > .card .content dt { margin-top: 0.5em; } .infocard.compact > .card .content > .outro { margin-bottom: 0.5em; } .infocard.compact .main-heading .icon { right: -2.5em; } .infocard.terraria { background: #fcfcfc; border-color: #AFCFE2; } .infocard.terraria .main-heading { background:#E4F0F7; border-right-color:#E4F0F7; } .infocard.terraria .main-heading .hgroup { background: #fcfcfc; }

/* Template:coin */ .coins { white-space: nowrap; } .coins s { display: none; } .coin { white-space: nowrap; } .coin s { display: none; } .coin ::after{ content: ''; display: inline-block; width: 12px; height: 16px; margin: -3px 2px auto; vertical-align: middle; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAT4AAABgCAYAAACEyx4DAAAEWUlEQVR4nO3dL+heZRjG8WWxzCCILKybBFkUFBnogoiw4IJNEIbJ4MBukQUxCIoOjPNPcZpFk1EMi2IbE/xTDMJr94WD1zPu+/6d188XrvpwnhM+8Zxz54p78tLzh7O06vtOde2ZRw6Vm76ftKumoQMf+KT2pqEDH/ik9qahAx/4pPamoQMf+KT2pqEDH/ik9qahAx/4trr41NOHyk3fT0NNQwc+8G0FPpU0DR34wLcV+FTSNHTgA99W4FNJ09CBD3xbgU8lTUMHPvBtBT79p1JoPrj9TbSfvv8l2u9/3Iu2FyhTmH746nK0v/+6E+1UoQTfWi9feOhQuen7HQW+nsDXE/jWAh/4SgJfT+BbC3zgKwl8PYFvLfCBryTw9QS+tcAHvpLA1xP41gIf+EoC31opTLdufxbt/m9/RjtVKMEHvpLAtxb4egIf+EoC31rg6wl84CsJfGuBryfwga8k8K0Fvp7AB76SwLcW+HraPXzVkL3x7sfR3vn0y2jp+VNQXnni4UOyFLL33r4Y7VShBN9aKUw/v/lCtPtffxKtHErwgQ984AMf+MAHPvCBD3zgAx/4wAc+8IEPfOADH/jABz7wge8o8K3Bl8Jx88OPol177fVopwol+MAHPvCBD3zgAx/4wAc+8IEPfOADH/jABz7wgQ98R4EPfODbMXwpTOlSmKrPP1X4Ush+vftWNPDNwlcN2fvPPhrtztXHo5VDCT7wgQ984AMf+MAHPvCBD3zgAx/4wAc+8IEPfOADH/jABz7wgW8n8D135cVo1VCCD3zgAx/4wAc+8IEPfOADH/jABz7wgQ984AMf+MAHPvCBD3wPDl/6UYBXr9+M9vm330VLnyf9YfkUfClkN155LFoKWQpxel/wzcKXwnTj0vloKZQpxOADH/jABz7wgQ984AMf+MAHPvCBD3zgAx/4wAc+8IEPfOADH/j2Al8KUwpfuhRi8IEPfOADH/jABz7wgQ984AMf+MAHPvCBD3zgAx/4wAc+8IHvweFLIXvp6vVo1ed/cevHaKcKXzrw7Qu+tGooyyFLAx/4wAc+8IEPfOADH/jABz7wgQ984AMf+MAHPvCBD3zgAx/4jgLfGnxp1VDuBbI08IEPfOADH/jABz7wgQ984AMf+MAHPvCBD3zgAx/4jgIf+MB3huBLq4Yy/ejAFGTVVUO5F8jSwNdTCtOZgywNfD2Bby3w9QQ+8JUEvrXA1xP4wFcS+NYCX0/gA19J4FsLfD2BD3wlgW8t8PUEPvCVBL6eUphOFbI08IGvJPD1BL61wAe+ksDXE/jWAh/4SgJfT+BbC3zgKwl8PYFvLfCBryTw9QS+tf538KWl0FRv+n1UlcJ0qpClgU8lTUMHPvBtBT6VNA0d+MC3FfhU0jR04APfVuBTSdPQgQ98W4FPJU1DBz7wbQU+lTQNHfjAJ7U3DR34wCe1Nw0d+MAntTcNHfjAJ7U3DR34wCe1Nw0d+MAn/bt/AMkRaRvTj1x9AAAAAElFTkSuQmCC); background-repeat: no-repeat; background-size: auto 16px; } .coin .pc::after{ width: 14px; background-position: 0 50%; } .coin .gc::after{ background-position: -15px 50%; } .coin .sc::after{ background-position: -28px 50%; } .coin .cc::after{ background-position: -41px 50%; }

/* Template:project */ .project { float: right; display: block; margin: -0.6em 0 0.5em; border: 1px solid #ccc; color: #000; background: #E4F0F7; padding: 0 7px; font-size: 90%; }

/* Template:translation projects */ height: 20px; padding: 7px; }	height: 20px; float: right; line-height: 1; cursor: pointer; }	border: 1px solid #000; /* border around the flag to improve visibility */ }	float: right; margin-left: 1em; font-size: 12px; }	display: none; }	border: none; background: transparent; }	border: 1px solid #afcfe2; border-radius: 3px; background: #e4f0f7; margin-left: 1em; }
 * 1) indic-project {
 * 1) indic-project-flag {
 * 1) indic-project-flag > img {
 * 1) indic-project .text-wrapper {
 * 1) indic-project.collapsed .text-wrapper .text {
 * 1) mw-indicator-translation-project {
 * 1) mw-indicator-translation-project.expanded {

/* Template:archive header */ .terraria.archive-header { text-align: center; padding: 10px; margin: 10px auto; background: #E4F0F7; } /* Template:dpl3 */ .dpl3{ background-color:#eee; font:120% Courier, monospace; }

/* Template:archive-box */ .archive-box { float: right; margin: 0 0 .5em .5em; padding: .5em 1em; width: 150px; background: #f9f9f9; border: 1px solid #AFCFE2; -moz-border-radius: 10px; } .archive-box .archive-header { padding: 0.1em; font-size: 0.9em; color: #000000; background-color: #AFCFE2; text-align: center; -moz-border-radius: 7px; }

/* -- */

/* ================================================================== */ /* Extension/Gadget styles */ /* ================================================================== */

/* -- */

/* Extension:Tabber */ body ul.tabbernav li a, body ul.tabbernav li a:link, body ul.tabbernav li a:visited, body ul.tabbernav li a:hover { border-radius: .5em .5em 0 0; }

/* Extension:Cargo */ /* Removes redundant Cargo extension "Purge cache" link */ div.menu li#ca-cargo-purge { display: none; } /* Maximum image size for NPC images storing in Cargo table */ .npcimg img{ height: auto; width: auto; max-height: 100px; max-width: 100px; }

/* */ /* Geshi syntax highlighting */ /* */

.mw-highlight, .mw-highlight pre {background: #282828 !important;}

.kw1 {color: #FFFFFF; font-weight: bold;} .nf {color: aqua;}

/* Operators */ .mw-highlight .p, .mw-highlight .o {color: #fff; font-weight: bold;}

/* Comments */ .mw-highlight .c {color: #8d9e6b; font-weight: bold;}

/* HTML Tags */ .mw-highlight .nt {color: #bfe431;}

/* IDs */ .mw-highlight .nn {color: #a8a8ff;}

/* Classes */ .mw-highlight .nc {color: #7676ff;}

/* Pseudo-classes */ .mw-highlight .nd {color: #cf82ff;}

/* Properties */ .mw-highlight .k, .mw-highlight .kp {color: #fff; font-weight: normal;}

/* Keywords */ .mw-highlight .nb {color: #ff5858;}

/* Text values, strings */ .mw-highlight .kc, .mw-highlight .s1, .mw-highlight .s2, .mw-highlight .sx, .mw-highlight .n {color: #00c6d2;}

/* Numeric values */ .mw-highlight .mi, .mw-highlight .mf {color: #60feff; font-weight: bold;}

/* Units */ .mw-highlight .kt {color: #ff3f85; font-weight: bold;}

/* #Color values */ .mw-highlight .mh {color: #b2d241;}

/* !important */ .mw-highlight .cp {color: #F37F20;}

/* JS generic */ .mw-highlight .nx {color: #a8a8ff;}

/* Highlight fields inside code class (e.g. Template:Code) */ .code .mw-highlight{ background: #f8f9fa !important; }

/* Curse video */ div.embedvideo{ position: relative; z-index: 999; } div.embedvideo.ev_right{ margin-left: 1em; } div.embedvideo.ev_left{ margin-right: 1em; } @media(max-width: 800px){ div.embedvideo.ev_right{ margin-left: auto; }  div.embedvideo.ev_left{ margin-right: auto; }  div.embedvideo.ev_right, div.embedvideo.ev_left{ float: none; text-align: center; }  div.embedvideo.ev_right .embedvideowrap, div.embedvideo.ev_left .embedvideowrap{ margin: auto; } }

/* -- */

/* ================================================================== */ /* Specific page styles */ /* ================================================================== */

/* -- */

/* Accessories and its related pages, Light sources */ .table-accessories tr { height: 3.5em; } .table-accessories td { position: relative; } .table-accessories td sup { position: absolute; right: 0.25em; top: 0.25em; } .table-accessories td:last-child, .table-accessories td:nth-child(4) { text-align: center; } /* for music box accessories */ .table-accessories td:nth-child(3) { text-align: left; }

/* Bunny */ float: right; text-align: center; width: 130px; }	margin: 0.5em auto 0.25em; }	background: #E4F0F7; padding: 2px 0; font-weight: bold; text-align: center; font-size: 10.5px; color: #063B5E; }
 * 1) bunny-variants {
 * 1) bunny-variants img {
 * 1) bunny-variants .npc-id {

/* Help:Creating animated GIFs */ vertical-align:top; }
 * 1) table-gif td {

/* Template:GameText/doc/alltext */ font-weight: bold; }
 * 1) all-game-text td:first-child {

/* Terraria Wiki:Projects and subpages */ .projects-wrapper { border: 1px solid #AFCFE2; vertical-align: top; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; padding: 7px; } .projects-header { background: #E4F0F7; padding: 7px; font-weight: bold; text-align: center; color: #033251; font-size: 140%; }

/* Terraria Wiki:List of administrators */ .admin-table-mainheading { padding: 5px; margin: 3px; font-size: 110%; color: #033251; white-space:nowrap; } .admin-table-mainheading-inactive { padding: 3px; margin: 3px; color: #033251; white-space:nowrap; } .admin-table-subheading { background: none; }

/* Corruption and Crimson counterparts */
 * 1) cc-counterparts td:nth-child(3) {border-left-width: 1px;}

/* Guide:Game Progression graph */ .game-progression.legend { white-space: nowrap; display: inline-block; color: #000; border: 2px #AFCFE2 solid; padding: 2px 0.5em; border-radius: 6px; } .game-progression.box {background-color: #E4F0F7;} .game-progression.biome {background-color: #e6efc2; border-color: #c6d880;} .game-progression.boss {background-color: #fbe3e4; border-color: #fbc2c4;} .game-progression.miniboss {background-color: #fff6bf; border-color: #ffd324;}
 * 1) progression-graph {overflow: auto;}
 * 2) progression-graph .diagram {margin: auto;}
 * 1) progression-graph .diagram big {font-size: 130%; display: block; line-height: 1.3;}
 * 2) progression-graph .diagram small {font-size: 80%; display: block; line-height: 1.3;}

/* Guide:Armor progression */ .armorg-subh {font-size:95%;}

/* Hooks */
 * 1) Hooks-Pre-Hardmode-table td:first-child,
 * 2) Hooks-Pre-Hardmode-table td:nth-child(3),
 * 3) Hooks-Pre-Hardmode-table td:last-child {text-align: left;}
 * 4) Hooks-Pre-Hardmode-table td:nth-child(8) {text-align: right;}
 * 5) Hooks-Pre-Hardmode-table td:last-child {font-size: 85%;}
 * 6) Hooks-Hardmode-table td:first-child,
 * 7) Hooks-Hardmode-table td:nth-child(3),
 * 8) Hooks-Hardmode-table td:last-child {text-align: left;}
 * 9) Hooks-Hardmode-table td:nth-child(8) {text-align: right;}
 * 10) Hooks-Hardmode-table td:last-child {font-size: 85%;}
 * 11) Hooks-Hardmode-table th {line-height: 1.25;}

/* List of weapons */ table.list-of-all-weapons .kb .knockback {font-size:10.5px; font-weight: bold;}

/* Paintings */
 * 1) golfer-sell-table td:last-child,
 * 2) golfer-sell-table td:nth-last-child(2),
 * 3) golfer-sell-table td:nth-last-child(3) {text-align: left;}
 * 4) desert-cabin-paintings td:last-child,
 * 5) desert-cabin-paintings td:nth-last-child(2),
 * 6) desert-cabin-paintings td:nth-last-child(3) {text-align: left;}
 * 7) Painter-sell-table td:last-child,
 * 8) Painter-sell-table td:nth-last-child(2),
 * 9) Painter-sell-table td:nth-last-child(3) {text-align: left;}
 * 10) Traveling-Merchant-sell-table td:last-child,
 * 11) Traveling-Merchant-sell-table td:nth-last-child(2) {text-align: left;}
 * 12) Underground-Cabin-table td:last-child,
 * 13) Underground-Cabin-table td:nth-last-child(2) {text-align: left;}
 * 14) Dungeon-table td:last-child,
 * 15) Dungeon-table td:nth-last-child(2) {text-align: left;}
 * 16) The-Underworld-table td:last-child,
 * 17) The-Underworld-table td:nth-last-child(2) {text-align: left;}
 * 18) Goodie-Bag-table td:last-child,
 * 19) Goodie-Bag-table td:nth-last-child(2) {text-align: left;}
 * 20) Angler-table td:last-child,
 * 21) Angler-table td:nth-last-child(2) {text-align: left;}
 * 22) chance-list li {line-height: 3em;}
 * 23) chance-list li>span:last-child {display: inline-block;	width: 50px; text-align: right;}
 * 24) chance-list .i {display: inline-block; width: 270px;}

/* Fishing Poles */
 * 1) fishing-poles-table th {line-height: 1.25;}
 * 2) fishing-poles-table td:nth-child(3),
 * 3) fishing-poles-table td:nth-child(8),
 * 4) fishing-poles-table td:nth-child(9),
 * 5) fishing-poles-table td:nth-child(10) {text-align:left; font-size:85%;}

/* Light sources */
 * 1) table-portable-light-source td:first-child,
 * 2) table-portable-light-source td:nth-child(2) {text-align: left;}
 * 3) table-Furniture td:first-child {text-align: left;}
 * 4) table-Novelty-lights td:first-child,
 * 5) table-Novelty-lights td:nth-child(2) {text-align: left;}
 * 6) table-Light-Pet td:first-child {text-align: left;}
 * 7) table-buffs td:last-child,
 * 8) table-buffs td:nth-child(2) {text-align: center;}
 * 9) table-Furniture2 td:first-child {text-align: left;}
 * 10) table-Accessories td:last-child {text-align: center;}
 * 11) table-Blocks td:last-child {text-align: center;}
 * 12) table-Growable td:nth-child(2),
 * 13) table-Growable td:last-child {text-align: center;}
 * 14) table-other td:nth-child(2) {text-align: center;}
 * 15) table-world-generation td:first-child {text-align: left;}

/* Drills */
 * 1) drills-table th {line-height: 1.25;}
 * 2) drills-Effectiveness-table td.td-na {background:lightgray;}
 * 3) drills-Effectiveness-table td:first-child {text-align: left;}

/* Pickaxes, Mining speed */
 * 1) pickaxes-table th {line-height: 1.25;}
 * 2) pickaxes-table td:first-child,
 * 3) pickaxes-table td:nth-child(2) {text-align: left;}

/* Axes */
 * 1) axes-table td:first-child,
 * 2) axes-table td:nth-child(2) {text-align:left;}

/* Hammers */ /* Health */
 * 1) hammers-table td:first-child,
 * 2) hammers-table td:nth-child(2) {text-align: left;}
 * 3) hammers-table th {line-height: 1.25;}
 * 1) Preventing-damage-table td:nth-child(2) {text-align: center;}
 * 2) Preventing-Drowning-table td:nth-child(2) {text-align: center;}
 * 3) lava-safety-table td:nth-child(2) {text-align: center;}
 * 4) Healing-table td:nth-child(2),
 * 5) Healing-table td:nth-child(3) {text-align: center;}
 * 6) Regeneration-table td:nth-child(2) {text-align: center; max-width: 280px;}
 * 7) draining-table td:nth-child(2) {text-align: center;}

/* Map size */
 * 1) table-mapsizes td:nth-child(2),
 * 2) table-mapsizes td:nth-child(3),
 * 3) table-mapsizes td:nth-child(4),
 * 4) table-mapsizes td:nth-child(5) {text-align: right;}

/* NPC spawning */
 * 1) NPC-spawning-table-1 td:first-child {text-align: left;}

/* Player stats */
 * 1) Horizontal-movement-table td:first-child {text-align: left;}
 * 2) Medium-movement-table td:first-child {text-align: left;}

/* Pickaxe power */
 * 1) in-game-table td:first-child {text-align: left; padding: 0.5em 0;}

/* Template:Item infobox/doc, Template:Npc infobox/doc */ table.lined .infob-doc-no-border-b td {border-bottom: 0;} table.lined .infob-doc-medium-border-t td {border-top:2px #AFCFE2 solid;}

/* Title messages */
 * 1) msgtable td:first-child {font-style:italic;}
 * 2) msgtable td:last-child {font-size:90%;}

/* Potion Sickness */
 * 1) Potion-Sickness-table td:last-child {border-left: 1px #AFCFE2 solid; text-align: center;}
 * 2) Potion-Sickness-table td:first-child {border-left: 0; text-align: left;}

/* Angler/Quests */
 * 1) angler-quests-table td:first-child {font-style:italic;}

/* Drowning */ .drowning-table-no-border td {border-bottom: 0 !important;}

/* Trees/Shaking (transcluded on Trees) */
 * 1) treeshaking-table ul {list-style:none; margin-left:0;}

/* */ /* Main page - Terraria Wiki */ /* */

/* Hide page title on main page */ body.rootpage-Terraria_Wiki h1.firstHeading {display: none;} /* body content on main page clear fix.*/ body.rootpage-Terraria_Wiki #bodyContent {*zoom: 1;} body.rootpage-Terraria_Wiki #bodyContent::before, body.rootpage-Terraria_Wiki #bodyContent::after {content: " ";	display: table;} body.rootpage-Terraria_Wiki #bodyContent::after {clear: both;} /* main wrapper min width */ body.rootpage-Terraria_Wiki #mainpage-wrapper {min-width: 300px;} body.rootpage-Terraria_Wiki #mainpage-wrapper .section {margin: 0 -2px;} body.rootpage-Terraria_Wiki #mainpage-wrapper .section .infocard {width: auto; margin: 2px;} /* boxes */ .infocard {min-width: 200px;} .infocard .outro {padding-top: 2px;} .infocard.compact .main-heading .hgroup > .main {font-size: 1.5em;} .infocard.compact .heading {margin-top: 0;} .skin-hydradark #content .infocard .main-heading a {color: #ffffff;} .mclist {column-gap: 0.5em;} @media (max-width:360px) { .mclist {column-gap: 0;} }

/**** mobile view fix ****/ @media(max-width: 600px) { body.rootpage-Terraria_Wiki .skin-minerva #bodyContent {margin: 0; padding: 5px;} }
 * 1) mw-content-text {font-size: 14px;}

background: #E4F0F7; margin-bottom: 2px; padding: 7px; color: #033251; position: relative; } .skin-hydradark #box-wikiheader {background: #383838; color: #fff; border-color: #505050;} .skin-hydradark #box-wikiheader > div {background: #202020;} position: absolute; bottom: 7px; left: 50%; line-height: 1; cursor: pointer; font-size: 10px; display: none; width: 8em; margin-left: -4em; text-align: center; }	content: ""; vertical-align: middle; display: inline-block; width: 4px; height: 4px; transform: rotate(45deg); position: relative; left: -3px; border-left: 0; border-top: 0; border-right: 2px solid #0645ad; border-bottom: 2px solid #0645ad; top: -2px; }	content: ""; vertical-align: middle; display: inline-block; width: 4px; height: 4px; transform: rotate(45deg); position: relative; left: -3px; border-left: 2px solid #0645ad; border-top: 2px solid #0645ad; border-right: 0; border-bottom: 0; top: 1px; }	text-align: center; position: relative; z-index: 10; margin: 3px 1em; font-size: 12px; }	position: relative; z-index: 100; background: #fff; overflow: hidden; margin: 2px 2em; } .skin-hydradark #box-wikiheader .related-info {background: #202020;} line-height: 1; display: -webkit-box; display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; -moz-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; -moz-align-items: center; align-items: center; -ms-flex-wrap: wrap; -webkit-flex-wrap: wrap; -moz-flex-wrap: wrap; flex-wrap: wrap; margin: auto 0; font-size: 12px; } .skin-hydradark #latest-version a.external {color: #19999e;} display: -webkit-box; display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; -moz-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; -moz-align-items: center; align-items: center; -ms-flex-wrap: wrap; -webkit-flex-wrap: wrap; -moz-flex-wrap: wrap; flex-wrap: wrap; margin: 0; }	display: -webkit-box; display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; -moz-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; -moz-align-items: center; align-items: center; margin: auto 4px; } @media(max-width:3280px) { #box-wikiheader .main-title {max-width: 850px; margin: auto;} #box-wikiheader .related-info {max-width: 1550px; margin: auto;} #box-wikiheader .related-info .ii {margin: auto 0.75em;} #latest-version {margin: 0.5em 0;} } @media(max-width:2680px) { #box-wikiheader .main-title {max-width: 400px;} } @media(max-width:2280px) { #box-wikiheader .related-info {max-width: 1220px;} } @media(max-width:1900px) { #latest-version ul:first-child li:first-child {margin-left: 4px;} #latest-version ul:last-child li:last-child {margin-right: 4px;} #box-wikiheader .main-title {max-width: 750px;} #box-wikiheader .main-title > span {display: block;} #box-wikiheader .related-info{margin: 0.25em auto 0;} #box-wikiheader .related-info .ii {margin: 0.25em 1em;} #latest-version {margin: 0.25em auto 0;} #latest-version ul li {margin: 0.25em 0.5em;} #box-wikiheader>div {padding-bottom: 15px;} #box-wikiheader-toggle-link span {display: inline-block;} #box-wikiheader-toggle-link span:first-child {display: none;} #box-wikiheader.collapsed .related-info {display: none !important;} #box-wikiheader.collapsed .main-title .statistics {display: none;} #box-wikiheader.collapsed #box-wikiheader-toggle-link span:first-child {display: inline-block;} #box-wikiheader.collapsed #box-wikiheader-toggle-link span:last-child {display: none;} } @media(max-width:1140px) { #box-wikiheader .related-info {max-width: 1130px;} #box-wikiheader .related-info .i:first-child {max-width: 700px;} } @media(max-width:1010px) { #box-wikiheader .main-title .statistics {max-width: 440px;} } @media(max-width:525px) { #box-wikiheader .main-title {max-width: 350px;} }
 * 1) box-wikiheader {
 * 1) box-wikiheader > div {background: #fff; width: 100%;}
 * 1) box-wikiheader > div > div {margin: auto; padding: 8px 5px;}
 * 2) box-wikiheader-toggle-link {
 * 1) box-wikiheader-toggle-link span {display: none; width: 6em; text-align: center;	padding: 3px 0;}
 * 2) box-wikiheader-toggle-link span:first-child::before {
 * 1) box-wikiheader-toggle-link span:last-child::before {
 * 1) box-wikiheader .main-title {
 * 1) box-wikiheader .main-title > span {font-size: 200%; line-height: 1; margin-bottom: 4px;}
 * 2) box-wikiheader .main-title > span > span {display: inline-block;}
 * 3) box-wikiheader .main-title > span + div {margin: auto 0.25em;}
 * 4) box-wikiheader .main-title .statistics {margin: 0.5em auto;}
 * 5) box-wikiheader .related-info {
 * 1) box-wikiheader .related-info .ii {margin: 5px 1em; text-align: center;}
 * 2) box-wikiheader .related-info .ii li {margin: 0;}
 * 3) latest-version {
 * 1) latest-version * {vertical-align: middle;}
 * 2) latest-version a:hover {text-decoration: none;}
 * 3) latest-version a.external {padding: 0;	background: none; color: #0645ad;}
 * 1) latest-version ul {
 * 1) latest-version ul li {
 * 1) latest-version ul:first-child li:first-child {margin-left: auto;}
 * 2) latest-version ul:last-child li:last-child {margin-right: auto;}
 * 3) latest-version ul li > div {margin: auto auto auto 0.25em;	text-align: left;}
 * 4) latest-version ul li > div > * {display: block;}
 * 5) latest-version ul li > div.pic > * {display: inline;}
 * 6) latest-version ul li > div > span {font-size: 10px;}
 * 7) latest-version ul li > div > strong {font-size: 16px;}
 * 8) latest-version ul li > div > small {font-size: 10px;	color: #999;}
 * 9) latest-version div.pic {text-align: center;}

@media(max-width:3249px) and (min-width:2560px) { #main-section #sep-D {display: block;} } @media(max-width:2299px) and (min-width:1670px) { #main-section #sep-B, #main-section #sep-E {display: block;} } @media(max-width:1669px) { #main-section #sep-B, #main-section #sep-D, #main-section #sep-F {display: block;} }
 * 1) main-section .sep {display: none; width: 100%;	height: 0;}
 * 2) main-section li {margin-bottom: 1px;}

@media (max-width: 4500px) and (min-width:3250px) { #box-game {flex: 2 0 640px;} #box-game .mclist {columns: 4;} } @media(max-width:3249px) and (min-width:1670px) { #box-game {flex: 3 0 840px;} } @media (max-width:1669px) { #box-game {flex: 19 0 640px;} #box-game .mclist {columns: 4;margin: auto;} } @media (max-width:1200px) { #box-game {flex: 1 1 1000px;} #box-game .mclist {columns: 5;} } @media (max-width:1150px) { #box-game .mclist {columns: 4;} } @media (max-width:700px) { #box-game .mclist {columns: 3;} } @media (max-width:540px) { #box-game .mclist {columns: 2;} }
 * 1) box-game .i {line-height: 60px;}
 * 2) box-game .intro {margin-right: 1em;}
 * 3) box-game {flex: 3 0 960px;}
 * 4) box-game .mclist {columns: 5;}
 * 5) box-game .mclist li {height: 60px;}

display: block; font-style: italic; font-size: 85%; margin-left: 2em; margin-top: 0.5em; flex: 1 0 auto; }	margin-top: 0.25em; margin-bottom: 0.25em; text-align: center; display: flex; flex-wrap: wrap; justify-content: space-around; /*fallback*/ justify-content: space-evenly; } @media (min-width:1750px), (max-width:1669px) { #box-news{flex: 1 0 320px;} }
 * 1) box-news {flex: 1 0 480px;	display: flex; flex-direction: column;}
 * 2) box-news .main-heading {flex: none;}
 * 3) box-news .news ul {margin-top: 0;}
 * 4) box-news .outro {flex: 1 0 auto; display: flex; flex-direction: column;}
 * 5) box-news .more {
 * 1) box-news .links {
 * 1) box-news .links span {margin: 0.75em 0.25em 0;	display: inline-block;}

@media (max-width: 4500px) and (min-width:3250px) { #box-items .mclist {columns: 2;} } @media(max-width:1669px) { #box-items .mclist {columns: 4;} } @media(max-width:1320px) { #box-items .mclist {columns: 3;} } @media(max-width:1140px) { #box-items {flex: 1 1 720px;} #box-items .mclist {columns: 6;} } @media(max-width:1040px) { #box-items .mclist {columns: 4;} } @media(max-width:980px) { #box-items .mclist {columns: 6;} } @media(max-width:870px) { #box-items .mclist {columns: 4;} } @media(max-width:620px) { #box-items .mclist {columns: 3;} } @media(max-width:450px) { #box-items .mclist {columns: 2;} }
 * 1) box-items .i {line-height: 28px;}
 * 2) box-items .i > a:first-child {display: inline-block; width: 20px; text-align: center;}
 * 3) box-items .mclist {columns: 3;}
 * 4) box-items .mclist li {height: 28px;}
 * 5) box-items{flex: 2 0 auto;}

@media(max-width:3249px) and (min-width:2560px), (max-width:1669px) { #box-biomes .mclist {columns: 3;} } @media(max-width:1140px) { #box-biomes {flex: 1 1 720px;} #box-biomes .mclist {columns: 5;} } @media(max-width:1040px) { #box-biomes .mclist {columns: 4;} } @media(max-width:980px) { #box-biomes .mclist {columns: 5;} } @media(max-width:870px) { #box-biomes .mclist {columns: 4;} } @media(max-width:720px) { #box-biomes .mclist {columns: 3;} } @media(max-width:540px) { #box-biomes .mclist {columns: 2;} } @media(max-width:359px) { #box-biomes .mclist {columns: 1;} }
 * 1) box-biomes .i {line-height: 28px;}
 * 2) box-biomes .i > a:first-child{display: inline-block; width: 20px; text-align: center;}
 * 3) box-biomes .mclist {columns: 2;}
 * 4) box-biomes .mclist li {height: 28px;}
 * 5) box-biomes {flex: 2 0 auto;}

@media (max-width: 4500px) and (min-width:3250px), (max-width: 1470px) { #box-mechanics .mclist {columns: 2;} } @media (max-width: 1080px) { #box-mechanics {flex:1 1 720px;} #box-mechanics .mclist {columns: 4;} } @media (max-width: 750px) { #box-mechanics .mclist {columns: 3;} } @media (max-width: 550px) { #box-mechanics .mclist {columns: 2;} } @media (max-width: 359px) { #box-mechanics .mclist {columns: 1;} }
 * 1) box-mechanics .i {line-height: 28px;}
 * 2) box-mechanics .i > a:first-child {display: inline-block; width: 20px; text-align: center;}
 * 3) box-mechanics .mclist {columns: 3;}
 * 4) box-mechanics .mclist li {height: 28px;}
 * 5) box-mechanics {flex:2 0 auto;}

@media (max-width: 4500px) and (min-width:3250px) { #box-npcs .prehardmode .mclist {columns: 2;} #box-npcs {flex: 2 0 460px;} #box-npcs .prehardmode {padding-right: 0px;} #box-npcs .hardmode {flex: 1 0 auto;} } @media (max-width: 3249px) and (min-width:2560px) { #box-npcs {flex: 2 0 auto;} #box-npcs .prehardmode {padding-right: 20px;} #box-npcs .hardmode {flex: 1 0 auto;} } @media (max-width: 1470px) { #box-npcs .prehardmode .mclist {columns: 2;} #box-npcs {flex: 2 0 auto;} #box-npcs .prehardmode {padding-right: 1em; flex: 2 0 auto;} #box-npcs .hardmode {flex: 1 0 auto;} } @media (max-width: 1080px) { #box-npcs {flex:1 1 720px;} #box-npcs .prehardmode .mclist {columns: 3;} } @media (max-width: 720px) { #box-npcs {flex:1 1 720px;} #box-npcs .prehardmode {width: 100%;	padding-right: 0;} #box-npcs .prehardmode .mclist {columns: 3;} #box-npcs .hardmode {width: 100%;} #box-npcs .hardmode .mclist {columns: 3;} } @media (max-width: 570px) { #box-npcs .prehardmode .mclist {columns: 2;} #box-npcs .hardmode .mclist {columns: 2;} } @media (max-width: 350px) { #box-npcs .prehardmode .mclist {columns: 1;} #box-npcs .hardmode .mclist {columns: 1;} }
 * 1) box-npcs .i {line-height: 32px;}
 * 2) box-npcs .i > a:first-child {display: inline-block; width: 32px; text-align: center;}
 * 3) box-npcs .mclist li {height: 32px;}
 * 4) box-npcs .prehardmode .mclist {columns: 3;}
 * 5) box-npcs {flex: 3 0 720px;}
 * 6) box-npcs .prehardmode {padding-right: 40px;	flex: 1 0 auto;}
 * 7) box-npcs .hardmode {flex: 1 0 150px;}

@media (max-width: 4500px) and (min-width:3250px) { #box-bosses {flex: 2 0 310px;} } @media (max-width: 3249px) and (min-width:2560px) { #box-bosses {flex: 3 0 600px;} #box-bosses .mclist {columns: 2;} } @media (max-width:1669px) { #box-bosses .mclist {columns: 2;	column-gap: 0.25em;} } @media (max-width:1365px) { #box-bosses .mclist {columns: 1;} } @media (max-width:800px) { #box-bosses {flex: 1 1 720px;} #box-bosses .mclist {columns: 2;} } @media (max-width: 720px) { #box-bosses .prehardmode, #box-bosses .hardmode {width: 100%;} #box-bosses .mclist {columns: 3;} } @media (max-width: 480px){ #box-bosses .mclist {columns: 2;} }
 * 1) box-bosses .i {line-height: 32px;}
 * 2) box-bosses .mclist li {height: 32px;}
 * 3) box-bosses .i > a:first-child {display: inline-block; width: 24px;	text-align: center;}
 * 4) box-bosses {flex: 2 0 360px;}
 * 5) box-bosses .content > div {flex: 1 0 auto;}

@media (max-width: 4500px) and (min-width:3250px) { #box-events {flex: 2 0 310px;} } @media (max-width:1669px) { #box-events .mclist {columns: 2;	column-gap: 0.25em;} } @media (max-width:1365px) { #box-events .mclist {columns: 1;} } @media (max-width:800px) { #box-events {flex: 1 1 720px;} #box-events .mclist {columns: 2;} } @media (max-width: 720px) { #box-events .prehardmode, #box-events .hardmode {width: 100%;} #box-events .mclist {columns: 4;} } @media (max-width: 650px) { #box-events .mclist {columns: 3;} } @media (max-width: 540px) { #box-events .mclist {columns: 2;} }
 * 1) box-events .i {line-height: 32px;}
 * 2) box-events .mclist li {height: 32px;}
 * 3) box-events .i > a:first-child {display: inline-block; width: 24px;	text-align: center;}
 * 4) box-events {flex: 2 0 360px;}
 * 5) box-events .content > div {flex: 1 0 auto;}

@media(min-width: 2300px) { #sect-ext .outro {display: flex;} #sect-ext .outro dl {flex: 1 0 auto;} } @media(max-width: 2299px) { #box-software {flex-basis: 220px;} #box-software .outro dl {display: inline-block; width: 100%;} #box-wiki {flex-basis: 900px;} #box-wiki .outro dl {display: inline-block; width: 33.33333333%;} } @media(max-width: 1499px) { #box-wiki {flex-basis: 620px;} #box-wiki .outro dl {width: 50%;} } @media(max-width: 1100px) { #box-software {flex-basis: 620px;} #box-software .outro dl {width: 50%;} } @media(max-width: 680px){ #box-software {flex-shrink: 1;} #box-software .outro dl {width: 100%;} #box-wiki {flex-shrink: 1;} #box-wiki .outro dl {width: 100%;} }
 * 1) sect-ext dd {margin-left: 1em;}
 * 2) box-software {flex: 1 0 auto;}
 * 3) box-wiki {flex: 3 0 auto;}

body.rootpage-Terraria_Wiki #mainpage-wrapper .footer {text-align: center; margin: 0.75em 2px 0;} body.rootpage-Terraria_Wiki #mainpage-wrapper .footer > div { border: 1px solid #AFCFE2; -moz-border-radius: 5px; border-radius: 5px; background: #E4F0F7; padding: 0.5em; max-width: 25em; margin: auto; } body.rootpage-Terraria_Wiki #mainpage-wrapper .footer > div span {display: inline-block;} body.rootpage-Terraria_Wiki .skin-hydradark #mainpage-wrapper .footer > div {border: 1px solid #505050;	background: #202020;}

/* Hide the translation project flag */ body.rootpage-Terraria_Wiki #mw-indicator-translation-project {display:none;}

/* Tone down spacing for list sub-items */ li ul { margin-top: 0 !important; list-style: none; list-style-image: url(https://gamepedia.cursecdn.com/terraria_gamepedia/a/ab/Hollow_circle_bullet.png); }