MediaWiki:Mobile.css

/********** Note that this loads before skin CSS, so selectors need to be more specific than the skin to override it.

There will still be a "white flash" as the default (light) mobile css initially loads. To avoid this, you should first enable the Gadgets extension, then add gphelp:MediaWiki:Gadget-darkmobile to your wiki and rename this css file to MediaWiki:Gadget-darkmobile.css /*** mobile-specific style classes ***/ .skin-minerva .nomobile { display: none; }

.skin-minerva .mobileleft { text-align: left; }

.skin-minerva .mobilecenter { text-align: center; }

.skin-minerva .mobileright { text-align: right; }

/********** interface /*** text colors ***/ .skin-minerva #mw-mf-diffview #mw-mf-userinfo, .skin-minerva #mw-mf-diffview #mw-mf-userinfo .mw-mf-edit-count, .skin-minerva #mw-mf-diffview #mw-mf-userinfo .mw-mf-edit-count div, .skin-minerva #mw-mf-page-center, .skin-minerva .globalNotice, .skin-minerva .header-container.header-chrome, .skin-minerva .last-modified-bar a, .skin-minerva .last-modified-bar a:visited, .skin-minerva .last-modified-bar.active a, .skin-minerva .last-modified-bar.active a:visited, .skin-minerva .list-header, .skin-minerva .minerva-footer, .skin-minerva .mw-echo-ui-notificationItemWidget-content-actions-timestamp, .skin-minerva .mw-echo-ui-notificationItemWidget-content-message-header, .skin-minerva .mw-mf-user, .skin-minerva .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button, .skin-minerva .overlay-footer-container, .skin-minerva .overlay-header-container, .skin-minerva .page-list .component, .skin-minerva .page-list .info, .skin-minerva .page-list li > a, .skin-minerva .page-list.side-list .list-thumb, .skin-minerva .page-summary h2, .skin-minerva .page-summary h3, .skin-minerva .search-overlay, .skin-minerva .search-overlay .results, .skin-minerva .search-overlay .search-content, .skin-minerva .search-overlay .search-feedback, .skin-minerva .site-link-list .component, .skin-minerva .site-link-list .info, .skin-minerva .site-link-list li, .skin-minerva .site-link-list li > a, .skin-minerva .site-link-list.side-list .list-thumb, .skin-minerva .topic-title-list .component, .skin-minerva .topic-title-list .info, .skin-minerva .topic-title-list li > a, .skin-minerva .topic-title-list.side-list .list-thumb, .skin-minerva footer .last-modified-bar, .skin-minerva footer .last-modified-bar.active, .skin-minerva nav ul li a, .skin-minerva.navigation-enabled #mw-mf-page-center, .skin-minerva.primary-navigation-enabled, .skin-minerva.secondary-navigation-enabled, body { color: #eee; }

.action-edit #editpage-copywarn, .action-edit #mw-anon-edit-warning, .action-edit #section_0, .action-edit .diff-ntitle, .action-edit .diff-otitle, .action-edit .mw-editTools, .action-edit .mw-editnotice, .action-edit .preview-limit-report-wrapper, .action-submit #editpage-copywarn, .action-submit #mw-anon-edit-warning, .action-submit #section_0, .action-submit .diff-ntitle, .action-submit .diff-otitle, .action-submit .mw-editTools, .action-submit .mw-editnotice, .action-submit .preview-limit-report-wrapper, .skin-minerva .heading-holder .tagline, .skin-minerva .mw-echo-ui-notificationItemWidget-content-message-body, .skin-minerva .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover, .skin-minerva nav ul li a:visited { color: #ccc; }

.skin-minerva .mw-ui-anchor.mw-ui-progressive, .skin-minerva .mw-ui-anchor.mw-ui-progressive:active, .skin-minerva .mw-ui-anchor.mw-ui-progressive:focus, .skin-minerva nav ul.hlist li a, a, a.external, a.extiw, a:visited { color: #24a3d5; }

a.new { color: #ea331d; }

/*** interface colors ***/ .client-js .skin-minerva .toc-mobile, .skin-minerva #mw-mf-diffview #mw-mf-userinfo, .skin-minerva .globalNotice, .skin-minerva .header-container.header-chrome, .skin-minerva .list-header, .skin-minerva .mw-echo-ui-bundleNotificationItemWidget-group, .skin-minerva .mw-echo-ui-crossWikiNotificationItemWidget-group, .skin-minerva .notifications-overlay .overlay-content, .skin-minerva .overlay-header-container, .skin-minerva .search-overlay .results, .skin-minerva .search-overlay .search-content, .skin-minerva .search-overlay .search-feedback { background-color: #303030; }

.skin-minerva .minerva-footer, .skin-minerva .overlay-footer-container, .skin-minerva nav { background-color: #2c2c2c; }

.client-js .skin-minerva .toc-mobile, .skin-minerva #mw-mf-diffview #mw-mf-userinfo, .skin-minerva .header, .skin-minerva .header-container, .skin-minerva .minerva-footer, .skin-minerva .mw-echo-ui-bundleNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-crossWikiNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-notificationItemWidget, .skin-minerva .mw-echo-ui-notificationItemWidget:last-child, .skin-minerva .overlay-footer-container, .skin-minerva .page-list li, .skin-minerva .search-overlay .search-content, .skin-minerva .site-link-list li, .skin-minerva .topic-title-list li, .skin-minerva footer .last-modified-bar, .skin-minerva footer > .post-content > h2, .skin-minerva nav .secondary-action, .skin-minerva nav ul li, .skin-minerva.ns-special .content-header { border-color: #777; }

.skin-minerva #mw-mf-page-center, .skin-minerva .search-overlay, .skin-minerva.navigation-enabled #mw-mf-page-center, .skin-minerva.primary-navigation-enabled, .skin-minerva.search-overlay, .skin-minerva.secondary-navigation-enabled, body { background: #090909; }

.skin-minerva .lazy-image-placeholder { background-color: #090909; }

.skin-minerva #content, .skin-minerva .mw-echo-ui-notificationsInboxWidget-toolbarWrapper, .skin-minerva.ns-special #content, .skin-minerva.ns-special #content form, .skin-minerva.ns-special .pre-content { background: transparent; }

/*** basics ***/ .center { text-align: center; }

.skin-minerva .content h1, .skin-minerva .content h2, .skin-minerva .pre-content h1, body { font-family: sans-serif; }

/*** header and footer ***/ .header { border-width: 1px 0; border-style: solid; }

.header-container.header-chrome { box-shadow: 0 1px 1px rgba(100,100,100,0.2); }

@supports (position:sticky) { .header-container.header-chrome { position: sticky; top: 0; z-index: 1000; }

.overlay-enabled .header-container.header-chrome { position: static; }

.navigation-enabled .header-container.header-chrome { z-index: 0; } }

.skin-minerva .globalNotice { overflow: hidden; padding: 0 0.5em 0.25em; }

.skin-minerva .notification-count { background: transparent; }

/*** notifications ***/ .skin-minerva .mw-echo-ui-bundleNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-crossWikiNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-notificationItemWidget, .skin-minerva .mw-echo-ui-notificationItemWidget:last-child { background: rgba(0,0,0,0.1); }

.skin-minerva .mw-echo-ui-notificationItemWidget-unread { background: rgba(0,0,0,0.3); }

.skin-minerva .mw-echo-ui-notificationItemWidget:hover { background: rgba(0,0,0,0.2); }

.skin-minerva .mw-echo-ui-notificationItemWidget-unread:hover { background: rgba(0,0,0,0.4); }

/*** search ***/ .skin-minerva .page-list li .watch-this-article, .skin-minerva .site-link-list li .watch-this-article, .skin-minerva .topic-title-list li .watch-this-article { top: 50%; margin-top: -0.75em; }

/*** navigation ***/ .skin-minerva.navigation-enabled .transparent-shield { background: rgba(50,50,50,0.9); }

.skin-minerva nav ul li { background: #090909; width: 100%; }

.skin-minerva nav ul li a:hover { box-shadow: inset 4px 0 0 0 #24a3d5; }

/*** last-modified bar ***/ .skin-minerva footer .last-modified-bar { background-color: #666; }

/* recently changed page last-modified bar*/ .skin-minerva footer .last-modified-bar.active { background: #00af89; }

/*** page history and diffs ***/ .skin-minerva .minoredit { color: #777; }

.skin-minerva #mw-mf-diffview #mw-mf-userinfo { z-index: 100; box-shadow: 0 -1px 3px rgba(0,0,0,0.6); opacity: 0.95; }

/*** editor ***/ .skin-minerva .editor-overlay-ve { color: #000; }

.skin-minerva .editor-overlay .wikitext-editor { background: rgba(0,0,0,0.1); }

/********** content /*** mobile front page collapse ***/ .fpbox.mobilecollapsible .heading a.togglecollapse { display: block; padding: 0 0 0 15px; }

.fpbox.mobilecollapsible .heading a.togglecollapse:active, .fpbox.mobilecollapsible .heading a.togglecollapse:hover { text-decoration: none; }

.fpbox.mobilecollapsible.collapsed .heading { border: none; margin-bottom: -4px; }

.fpbox.mobilecollapsible .heading a { position: relative; }

.fpbox.mobilecollapsible .heading a:before { content: ""; width: 12px; height: 12px; background-image: url("/skins/Vector/images/arrow-down.png"); background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E %3Cpath d=%22M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5%22 fill=%22%23222%22/%3E %3C/svg%3E"); position: absolute; left: 0; top: 50%; margin-top: -6px; }

.fpbox.mobilecollapsible.collapsed .heading a:before { transform: rotate(-90deg); }

.fpbox.mobilecollapsible.collapsed .body { display: none; }

/*** navboxes ***/ table.navbox { border: 1px solid #aaaaaa; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; display: table !important; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

.navbox-abovebelow, .navbox-title, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background */ .navbox, .navbox-subgroup { background: rgba(255, 255, 255, 0.2); }

.navbox-list { border-color: rgba(255, 255, 255, 0.2); /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: rgba(255, 255, 255, 0.2); }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(255, 255, 255, 0.2); }

/* Level 3 styling */ .navbox-subgroup .navbox-abovebelow, .navbox-subgroup .navbox-group { background: rgba(0, 0, 0, 0.05); }

/* Even row striping */ .navbox-even { background: rgba(0, 0, 0, 0.05); }

/* Odd row striping */ .navbox-odd { background: transparent; }

.collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; }

.navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; }

table.collapsed tr.collapsible { display: none; }

/*** amboxes ***/ .ambox { background-color: rgba(100,100,100,0.5); border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px; 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; }

.ambox-image { padding: 2px 0 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 #bba; }

.ambox-green { border-left: 10px solid #228b22; }

/* Ambox small text */ .amsmalltext { font-size: smaller; margin-left: 0.8em; margin-top: 0.5em; }

/* copyright images tweak */ .copyright-icon { background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/thumb/b/b6/Copyright.png/32px-Copyright.png"); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath d='M100 200C44.772 200 0 155.228 0 100S44.772 0 100 0s100 44.772 100 100-44.772 100-100 100zm0-179.115c-43.694 0-79.115 35.421-79.115 79.115 0 43.694 35.421 79.115 79.115 79.115 43.694 0 79.115-35.421 79.115-79.115 0-43.694-35.421-79.115-79.115-79.115zm0 108.599c20.627 0 27.518-18.427 27.518-18.427h26.536s-7.847 43.734-54.054 43.734c-30.532 0-55.283-24.751-55.283-55.282 0-30.532 24.751-55.283 55.283-55.283 45.365 0 53.317 41.769 53.317 41.769h-26.781S118.966 69.533 100 69.533c-16.555 0-29.975 13.421-29.975 29.976s13.42 29.975 29.975 29.975z'/%3E%3C/svg%3E%0A"); background-position: center center; background-repeat: no-repeat; background-size: 100%; width: 32px; height: 32px; }

/*** wikitables ***/ .content table.wikitable { display: table; }

.content table.wikitable > * > tr > th, .content table.wikitable > tr > th { background: rgba(0, 0, 0, 0.2); border-color: rgba(100,100,100, 1); }

.content table.wikitable, .content table.wikitable > * > tr > td, .content table.wikitable > tr > td { border-color: rgba(100,100,100, 1); background: rgba(100,100,100, 0.2); }

/*** front page styles ***/ .fpmain { width: 100%; overflow: hidden; }

.fpbox { margin: 5px; padding: 5px; overflow: auto; background: rgba(255,255,255, 0.05); border: 1px solid #505050; box-shadow: 1px 1px 2px rgba(100,100,100, 0.5); }

.fpbox.plain { background: transparent; border: none; box-shadow: none; }

.fpbox .heading, .fpbox .mainheading, .fpbox .welcome { margin: 0 0 10px; padding: 0 0 5px; overflow: auto; border: 0; border-bottom: 1px solid #505050; }

.fpbox .mainheading, .fpbox .welcome { font-size: 150%; font-weight: bold; }

.fpbox .heading { text-align: center; font-size: 132%; }

.linkslabel { margin: 15px 5px 5px; padding: 0 0 5px; border-bottom: 2px solid #505050; }

/* auto-resize front page video to fit smaller columns */ .fpbox .embedvideo, .fpbox .embedvideowrap { width: 100% !important; max-width: 480px; margin: 0 auto; }

.fpbox .embedvideowrap iframe { width: 100% !important; }

/*** Template:FP link styles ***/ .fplinks { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch; text-align: center; }

.fplink-outer { padding: 5px; flex-basis: calc(25% - 10px); width: calc(25% - 15px); min-width: 115px; display: inline-block; vertical-align: middle; }

.fplink-wide { flex-basis: calc(33% - 10px); width: calc(33% - 15px); }

.fplink-fullwidth { flex-basis: 100%; width: calc(100% - 15px); font-weight: bold; }

.fplink { padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; background: rgba(100,100,100,0.3); border: 1px solid #505050; }

.fplink-fullwidth .fplink { background: rgba(100,100,100,0.4); }

.fplink-plain { background: transparent; border-radius: 0; border: 0; box-shadow: none; }

.fplink-inner { display: table-row; }

.fplink a { display: table-cell; vertical-align: middle; }

.fplink img { max-width: 150px; width: 100%; height: auto; }

/*** infoboxes ***/ .infoboxtable { max-width: 300px; float: none; border: 1px solid #777; padding: 0.25em; display: table !important; border-collapse: separate; }

.infoboxname { color: #fff; padding: 5px; background: #777; }

.infoboxdetails { color: #fff; padding: 5px; background: #777; }

.infoboxtable div { color: #fff; background: #777; text-align: right; font-weight: bold; padding: 1px 5px; }

/*** invert icons for dark theme ***/ .skin-minerva .copyright-icon, .fpbox.mobilecollapsible .heading a:before, .oo-ui-iconElement-icon { filter:invert(1); }

.mw-echo-ui-notificationItemWidget-icon, .mw-echo-ui-toggleReadCircleButtonWidget-circle, .mw-ui-icon:before { filter:brightness(2); }

.mw-echo-ui-notificationsInboxWidget-main-toolbar-top .oo-ui-iconElement-icon, .mw-mf-user:before, .search-overlay .clear:before { filter:none; } /********************************************************************** * from common.css **********************************************************************/
 * 1) mw-mf-diffview .meta:before,

/* ========================================================================== */ /* mobile.css needs this part. */ /* ========================================================================== */

/* common style */ a:visited { color: #0619aa; } div#content a.new, #quickbar a.new{ color: #ff6666; } .small { font-size: 85%; }

.nowrap { white-space: nowrap; }

/* "terraria" box style. */ .terraria{ border: 1px #404040 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.mw-collapsible-toggle-collapsed:before { border-left: 0; border-top: 0; border-right: 2px solid #0645ad; border-bottom: 2px solid #0645ad; top: -2px; }

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

/* Hide page title on main page */ body.rootpage-Terraria_Wiki h1.firstHeading { display: none; } /* heading on main page. */ body.rootpage-Terraria_Wiki div.heading { background: #E4F0F7; padding: 5px; margin-bottom: 0.5em; font-weight: bold; text-align: center; color: #033251; font-size: 120%; } body.rootpage-Terraria_Wiki div.heading > span.rightimg { float: right; }

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

/* SoundManager2Button icon (It looks useless) */ a.sm2_button { background-color: #3399CC; }

a.sm2_button:hover, a.sm2_playing { background-color: #006A9F; }

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

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

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

/* Tweak vertical margins */ 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 {

/* Allows limiting TOCs to generate links for only header levels below a limit, for instance only level-3 (=== ===) and below. Use Template:Toc limit */ .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; }

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

.terraria th, .terraria td { padding: 3px; }

.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-bottom: 1px #AFCFE2 solid; }

table.lined tr:last-of-type td { border-bottom: 0; }

table tr.bottomline td { border-bottom: 1px #AFCFE2 solid; }

table tr.topline td { border-top: 1px #AFCFE2 solid; }

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

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

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

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

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

/* Ambox styles */ .ambox { background-color: #eeeeee; 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; }

.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-related styles */ /* ================================================================== */

/* -- */

.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; }

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

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

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

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

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

/* template:eil */ .eil { white-space: nowrap; }

.eil .eico { margin-left: 3px; }

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

/* Expert */ .expert { color: #9B5700; cursor: pointer; font-weight: bold; }

/* -- item link - */ .item-link { white-space: nowrap; display: inline-block; }

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

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

.item-link > a:first-child, .item-link > img:first-child, .item-link > span:first-child { margin-left: auto; } .item-link.multi-line > span, .item-link.-w > span { line-height: 1.25; vertical-align: middle; }

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

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

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

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

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

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

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

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

.item-link.notecolor span.note { color: inherit; }

.item-link.note2color div.note { color: inherit; }

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

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

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

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

.item-link.alignleft { text-align: left; }

.item-link.aligncenter { text-align: center; }

.item-link.alignright { text-align: right; }

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

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

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

/* -- crafts table -- */ 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 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 .item-link > span, div.crafts .item-link > span, div.crafts .note-text {   line-height: 1.25; vertical-align: middle; }

/* multi-column list */ .mclist > ul { list-style: none; margin-left: 0; }

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

/* dot list */ .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: " • "; margin: 0 .0.25em; } .dotlist.nodot > ul > li::after { content: "　"; margin: 0; }

.dotlist > ul > li:last-child::after { display: none; }

.dotlist.l > .title { margin-right: 5px; }

.dotlist.l > ul > li::after { margin-left: 3px; margin-right: 3px; }

.dotlist.xl > .title { margin-right: 10px; }

.dotlist.xl > ul > li::after { margin-left: 6px; margin-right: 6px; }

.dotlist.xxl > .title { margin-right: 15px; }

.dotlist.xxl > ul > li::after { margin-left: 9px; margin-right: 9px; }

.dotlist.xxxl > .title { margin-right: 20px; }

.dotlist.xxxl > ul > li::after { margin-left: 12px; margin-right: 12px; }

.dotlist.xxxxl > .title { margin-right: 25px; }

.dotlist.xxxxl > ul > li::after { margin-left: 15px; margin-right: 15px; }

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

/* -- */ /* -- Infobox & infobox wrapper template style -- */ /*  some rules just kept for "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; }

/* styles for latest template */ .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 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 .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; }

.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 .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 { margin: 2px auto; }

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

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

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

.infobox .drops.items li { border-bottom: 1px #AFCFE2 solid; padding: 3px 0; margin-bottom: auto; display: -webkit-box; display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: flex; -ms-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -moz-flex-wrap: nowrap; flex-wrap: nowrap; -webkit-box-direction: normal; -webkit-box-orient: horizontal; -moz-box-direction: normal; -moz-box-orient: horizontal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-box-pack: justify; -ms-flex-pack: justify; -webkit-justify-content: space-between; -moz-justify-content: space-between; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; -moz-align-items: center; align-items: center; }

.infobox .drops.items li:first-child { background-color: #E4F0F7; color: #063B5E; padding: 2px 3px 0; } .infobox .drops.items li:last-child { border-bottom: none; }

.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; }

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

.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::before { display: none; }

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

.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 ul.toolpower { padding: 6px 0; cursor: pointer; }

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

/* for npc infobox */ .npc.infobox { width: 23em; } .npc.infobox .statistics table th { width: 6em; }

/* 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:450px) { .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; }

/* */ 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; } .crafting-tree .diagram{ white-space: nowrap; }

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

/* */ .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; } .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 .hgroup{ background: #fcfcfc; }

/* -- */ /* ======================== Extensions ===============================*/ /* -- This is the style for the tabs of the tabber extension. --- */ 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; }

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

/* ========================================================================== */ /* === New flex mainpage styles ============================================= */ /* ========================================================================== */   min-width: 300px; background: #fcfcfc; }
 * 1) mainpage-global-wrapper {

color: #033251; background: #fff; border: 7px solid #E4F0F7; margin: 1px 1px 3px; border-radius: 5px; box-shadow: 0 0 0 1px #AFCFE2; position: relative; padding: 5px; /* this value shouldn't be greater then "right" and/or "top" of #mf-wikiheader-toggle-link */ }
 * 1) mf-wikiheader {

transition: all 0.3s; }
 * 1) mf-wikiheader * {

position: absolute; z-index: 50; line-height: 1; right: 5px; top: 5px; cursor: pointer; font-size: 10px; display: none; }
 * 1) mf-wikiheader-toggle-link {

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; }
 * 1) mf-wikiheader-toggle-link span:first-child::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; }
 * 1) mf-wikiheader-toggle-link span:last-child::before {

display: none; }
 * 1) mf-wikiheader-toggle-link span:first-child {

text-align: center; position: relative; z-index: 10; padding-bottom: 8px; }
 * 1) mf-wikiheader .main-title {

position: relative; z-index: 100; background: #fff; overflow: hidden; padding-top: 5px; padding-bottom: 12px; }
 * 1) mf-wikiheader .related-info {

margin: 0.25em 1em 1em; text-align: center; }
 * 1) mf-wikiheader .related-info .i {

margin-bottom: 0; }
 * 1) mf-wikiheader .related-info .i:first-child {

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: 0 auto; }
 * 1) latest-version {

vertical-align: middle; }
 * 1) latest-version * {

text-decoration: none; }
 * 1) latest-version a:hover {

padding: 0; background: none; color: #0645ad; }
 * 1) latest-version a.external {

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; }
 * 1) latest-version ul {

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: 0.25em 0.5em; }
 * 1) latest-version ul li {

margin: auto auto auto 0.25em; text-align: left; }
 * 1) latest-version ul li > div {

display: block; }
 * 1) latest-version ul li > div > * {

display: inline; }
 * 1) latest-version ul li > div.pic > * {

font-size: 10px; }
 * 1) latest-version ul li > div > span {

font-size: 16px; }
 * 1) latest-version ul li > div > strong {

font-size: 10px; color: #999; }
 * 1) latest-version ul li > div > small {

text-align: center; }
 * 1) latest-version div.pic {

display: inline; }
 * 1) mf-wikiheader.collapsed #mf-wikiheader-toggle-link span:first-child {

display: none; }
 * 1) mf-wikiheader.collapsed #mf-wikiheader-toggle-link span:last-child {

display: none !important; }
 * 1) mf-wikiheader.collapsed .related-info {

display: none; }
 * 1) mf-wikiheader.collapsed .main-title .statistics {

@media(max-width: 600px) { #mf-wikiheader { padding: 15px; } }

.fp-box { border: 1px solid #808080; -moz-border-radius: 5px; border-radius: 5px; padding: 7px; box-sizing: border-box; margin: 0 2px 4px; }

.fake-bullet { padding: 1px 0; white-space: nowrap; }

.fake-bullet::before { content: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%225%22%20height%3D%2213%22%3E%0A%3Ccircle%20cx%3D%222.5%22%20cy%3D%229.5%22%20r%3D%222.5%22%20fill%3D%22%2300528c%22%2F%3E%0A%3C%2Fsvg%3E%0A); padding-right: 5px; }

text-align: center; margin: 0.5em 2px; }
 * 1) mainpage-global-wrapper .footer {

border: 1px solid #AFCFE2; -moz-border-radius: 5px; border-radius: 5px; background: #E4F0F7; padding: 0.5em; max-width: 25em; margin: auto; }
 * 1) mainpage-global-wrapper .footer > div {

/* ========================================================================== */ /* === New flex mainpage styles end ========================================= */ /* ========================================================================== */

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

/********************************************************************** * Mobile.css Only **********************************************************************/ body { background-color: #012034; color: #000000; }  background: #FCFCFC; color: #000000; border: 0px solid #bd912f; clear: both; margin: 0 8px; } h2 { border-bottom: 0px solid #AAAAAA; } .thumb { background: none repeat scroll 0 0 #FCFCFC; border: 1px solid #aaaaaa; margin-bottom: 10px; } table[style] { float: none !important; margin-left: 0 !important; width: 100%; } table { border: 0px solid #CCCCCC; border-collapse: collapse !important; border-spacing: 0 !important; margin: auto; margin-bottom: 15px; padding: 3px; }
 * 1) content_wrapper {

table td, table th { border: 0px solid #CCCCCC; padding: 3px; }

table.infobox { background: none repeat scroll 0 0 #f9f9f9; border: 1px solid #aaaaaa; width: 21em !important; margin: auto; }

/* fix table error in infobox. override rules in /extensions/MobileFrontend/resources/skins.minerva.content.styles/tables.less */ .infobox table, table.infobox{ display: table; border-collapse: separate !important; margin: auto; }

/* for New flex mainpage styles */ /*NOTE: We NEED -14px left & right margin to get enough space for "enemies" and "biomes" block to show as 2-col on iphone7+ (414px width).*/ margin: auto -14px; } .skin-minerva #mainpage-global-wrapper{ background: #202020; } .skin-minerva #mf-wikiheader{ background: #202020; color:#D8F0F7; border-color: #606060; box-shadow: 0 0 0 1px #808080; } .page-Main_Page.skin-minerva table{ background: transparent; color: #fff; }
 * 1) mainpage-global-wrapper {

/* Content */ div#content { box-shadow: 0 0 2px rgba(200,200,200,0.7); background-color: #202020; color: #ffffff; }

h1, h2, h3, h4, h5, h6 { color: #ffffff; } legend { color: white; }  border: 1px solid #808080; background-color: #181818; } ul#filetoc { border: 1px solid #808080; }  color:#19999e; } div#content a:visited{ color:#19999e; } a:visited, div#content a.external:visited, div#content a.extiw:visited{ color:#19999e; }   color: #ffffff; }
 * toc, .toc, .mw-warning {
 * 1) content a{
 * 1) content a.mw-selflink{

/* Template:infocard */ .infocard{ margin: 0.5em 0; padding: 1em; box-sizing: border-box; border: 1px solid #505050; border-radius: 6px; width: 100%; min-width: 300px; position: relative; background: #202020; } .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 #202020; border-right: 1px solid #202020; } .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; } .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: #202020; padding: 0 1em; display: inline-block; position: relative; z-index:10; color: #fff; font-weight: 100; } .infocard .main-heading .hgroup > .main{ font-size: 2em; color: #fff; } .infocard .main-heading .hgroup > .main span{ font-size: 62.5%; color: #aaa; } .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 #505050; background: #303030; 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: #202020; border-color: #505050; } .infocard.terraria .main-heading .hgroup{ background: #202020; }