MediaWiki:Gadget-site-styles.css

/** * Styles placed here are loaded on both desktop and mobile views. On mobile it * is loaded without using JS, so is good for critical styles that can't wait * for MediaWiki:FandomMobile.css to be loaded (like the basic theme). * * Desktop-only styles should go in MediaWiki:Common.css or * MediaWiki:Fandomdesktop.css if Minecraft theme related. * Non-critical mobile-only styles should go in MediaWiki:FandomMobile.css. */

/* Minecraft font */ @font-face { font-family: Minecraft; src: url('/media/hydra/fonts/minecraft.eot?#iefix') format('embedded-opentype'), url('/media/hydra/fonts/minecraft.woff') format('woff'), url('/media/hydra/fonts/minecraft.ttf') format('truetype'); }

/** Responsive main page layout **/ display: grid; grid-template-areas: "a" "b" "c" "d" "e" "f" "g" "h" "i" "j"; grid-template-columns: 1fr; grid-gap: 2px; } @media screen and (min-width:990px) { #main-page.main-page { grid-template-areas: "a a a" "b b c" "d d d" "e f g" "h i j"; grid-template-columns: repeat(3, 1fr); } }
 * 1) main-page.main-page {

.fp-section { background-color: #FCFCFC; border: 1px solid #ccc; vertical-align: top; margin: 1px; }

grid-area: a; }
 * 1) fp-1 {

grid-area: b; }
 * 1) fp-2 {

grid-area: c; }
 * 1) fp-3 {

grid-area: d; }
 * 1) fp-4 {

grid-area: e; }
 * 1) fp-5 {

grid-area: f; }
 * 1) fp-6 {

grid-area: g; }
 * 1) fp-7 {

grid-area: h; }
 * 1) fp-8 {

grid-area: i; }
 * 1) fp-9 {

grid-area: j; }
 * 1) fp-10 {

display: grid; grid-template-areas: "aa" "ac" "ab"; grid-template-columns: 1fr; } @media screen and (min-width:990px) { #fp-header.fp-header { grid-template-areas: "aa ab" "ac ac"; grid-template-columns: 335px 1fr; } } @media screen and (min-width:1350px) { #fp-header.fp-header { grid-template-columns: 1fr 2fr; } }
 * 1) fp-header.fp-header {

grid-area: aa; }
 * 1) fp-header-file {

grid-area: ab; }
 * 1) fp-header-links {

grid-area: ac; }
 * 1) fp-header-text {

margin: auto; } @media screen and (min-width:990px) { #fp-header-file { margin: auto 0; } }
 * 1) fp-header-file {

margin: auto 0; }
 * 1) fp-header-links {

-ms-columns: 160px; -moz-columns: 160px; -webkit-columns: 160px; columns: 160px; -ms-column-count: 3; -moz-column-count: 3; -webkit-column-count: 3; column-count: 3; margin-top: 0; }
 * 1) fp-header-links ul {

/** Main page stylings **/ .edition-boxes p { margin: 0 !important; }

.edition-box > div { margin: 0.4em auto; }

@supports ((object-fit: contain) or (-o-object-fit: contain)) { .edition-box img { min-height: 50px; max-width: 50px; -o-object-fit: contain; object-fit: contain; } }

/** Template stylings **/ /* Template:Inventory slot: */ .invslot { position: relative; display: inline-block; background: #8B8B8B no-repeat center center / 32px 32px; border: 2px solid; border-color: #373737 #FFF #FFF #373737; width: 32px; height: 32px; font-size: 16px; line-height: 1; text-align: left; vertical-align: bottom; } .invslot::before, .invslot::after { content: ""; position: absolute; background-color: #8B8B8B; height: 2px; width: 2px; pointer-events: none; } .invslot::before { bottom: -2px; left: -2px; } .invslot::after { top: -2px; right: -2px; } .invslot-large { padding: 8px; }

.invslot-item, .invslot-item > a:first-child { position: relative; display: block; margin: -2px; padding: 2px; width: 32px; height: 32px; }

.invslot-item-image > a.new:first-child { background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/4/44/InvSprite.png/revision/latest) no-repeat content-box; width: 32px; height: 32px; text-indent: -9999px; overflow: hidden; }

.invslot-stacksize { position: absolute; right: 0; bottom: 0; font-family: Minecraft, sans-serif !important; font-weight: normal !important; color: #FFF !important; text-shadow: 2px 2px 0 #3F3F3F; filter: dropshadow(color=#3F3F3F, offx=2, offy=2); z-index: 2; }

/* Plain slot with no border or background */ .invslot-plain { background-color: transparent; border: 0; } .invslot-plain::before, .invslot-plain::after { content: none; } .invslot-plain > .invslot-item, .invslot-plain > .invslot-item > a:first-child { margin: 0; padding: 0; }

/* Template:hp */ .mc-hearts::before { content: ' ('; } .mc-hearts::after {	content: ')'; }

/* Generic Minecraft interface styling: Module:UI */ .mcui { display: inline-block; position: relative; background-color: #C6C6C6; border: 2px solid; border-color: #DBDBDB #5B5B5B #5B5B5B #DBDBDB; padding: 6px; text-align: left; white-space: nowrap; vertical-align: bottom; }

.mcui-Crafting_Table > *, .mcui-Furnace > * { display: inline-block; vertical-align: top; }

/* Template:Crafting Table: ,, */ .mcui-Crafting_Table .mcui-row { display: block; }

.mcui-Crafting_Table > .mcui-arrow { background: url(/media/8/86/Grid_layout_Arrow_%28small%29.png) no-repeat; width: 32px; height: 26px; margin: 40px 4px 0; }

.mcui-Crafting_Table > .mcui-output { margin-top: 28px; }

.mcui-Crafting_Table > .mcui-icons { position: absolute; top: 6px; right: 6px; } .mcui-Crafting_Table .mcui-shapeless, .mcui-Crafting_Table .mcui-fixed { display: inline-block; background-repeat: no-repeat; width: 19px; height: 15px; cursor: help; } .mcui-Crafting_Table .mcui-shapeless { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/a/a9/Grid_layout_Shapeless.png/revision/latest); } .mcui-Crafting_Table .mcui-fixed { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/b/b8/Grid_layout_Fixed.png/revision/latest); }

/* Template:Furnace: ,  ,  */ .mcui-Furnace .mcui-fuel { display: block; background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/d/d8/Grid_layout_Fire.png/revision/latest) no-repeat; width: 36px; height: 36px; } .mcui-Furnace .mcui-fuel.mcui-inactive { background-image: url(/media/a/ab/Grid_layout_Fire_%28in-active%29.png); } .mcui-Furnace > .mcui-arrow { background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/8/8e/Grid_layout_Furnace_Progress.png/revision/latest) no-repeat; width: 44px; height: 32px; margin: 36px 18px 0 14px; } .mcui-Furnace > .mcui-arrow.mcui-inactive { background-image: url(/media/d/dc/Grid_layout_Furnace_Progress_%28in-active%29.png); }

.mcui-Furnace > .mcui-output { margin-top: 28px; }

/* Template:Brewing Stand: ,,  , ,   ,  */ .mcui-Brewing_Stand > * { display: block; }

.mcui-Brewing_Stand .invslot { vertical-align: top; }

.mcui-Brewing_Stand > .mcui-input { text-align: center; }

.mcui-Brewing_Stand > .mcui-input > .invslot { margin-top: 3px; }

.mcui-Brewing_Stand .mcui-bubbling, .mcui-Brewing_Stand .mcui-arrow { display: inline-block; background-repeat: no-repeat; width: 24px; height: 57px; }

.mcui-Brewing_Stand .mcui-bubbling { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/6/65/Grid_layout_Brewing_Bubbles.gif/revision/latest); } .mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-bubbling { background-image: url(/media/d/db/Grid_layout_Brewing_Bubbles_%28In-active%29.png); }

.mcui-Brewing_Stand .mcui-arrow { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/4/4b/Grid_layout_Brewing_Arrow.png/revision/latest); } .mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-arrow { background-image: url(/media/5/59/Grid_layout_Brewing_Arrow_%28In-active%29.png); }

.mcui-Brewing_Stand > .mcui-paths { position: relative; background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/8/82/Grid_layout_Brewing_Paths.png/revision/latest) no-repeat; width: 60px; height: 40px; margin: -20px auto -16px; z-index: 1; }

.mcui-Brewing_Stand .mcui-output .invslot { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/5/59/Grid_layout_Brewing_Empty.png/revision/latest); } .mcui-Brewing_Stand .mcui-output2 { margin: 14px 10px 0; }

/* Template:Hotbar */ .mcui-Hotbar { display: inline-block; position: relative; border: 0; padding: 0; background-color: transparent; } .mcui-Hotbar > .mcui-selector { position: absolute; top: -2px; margin-left: -2px; } .mcui-Hotbar > .mcui-slots { position: absolute; top: 0; left: 0; margin: 2px; } .mcui-Hotbar .invslot { margin: 4px; }

/* Template:Loom */ .mcui-Loom > * { display: inline-block; vertical-align: top; } .mcui-Loom > .mcui-tapestry { background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/6/64/Grid_layout_Loom.png/revision/latest) no-repeat; width: 98px; height: 108px; } .mcui-Loom > .mcui-loomArrow { background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/7/71/Grid_layout_Loom_Arrow.png/revision/latest) no-repeat; width: 54px; height: 54px; margin: 28px 4px 0 4px; } .mcui-Loom > .mcui-output { margin-top: 38px; } .mcui-Loom .mcui-inputBanner { margin: 22px 10px; position: absolute; } .mcui-Loom .mcui-inputDye { margin: 22px 50px; position: absolute; } .mcui-Loom .mcui-inputPattern { margin: 60px 30px; position: absolute; } .mcui-Loom .mcui-bannerSprite { margin-left: 4px; }

/* Template:Grindstone */ .mcui-Grindstone > * { display: inline-block; vertical-align: top; } .mcui-Grindstone > .mcui-grindstone { background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/d/de/Grid_layout_Grindstone.png/revision/latest) no-repeat; width: 108px; height: 112px; } .mcui-Grindstone .mcui-input1 { margin: 6px 36px; position: absolute; } .mcui-Grindstone .mcui-input2 { margin: 48px 36px; position: absolute; } .mcui-Grindstone > .mcui-arrow { background: url(/media/d/dc/Grid_layout_Furnace_Progress_%28in-active%29.png) no-repeat; width: 44px; height: 34px; margin: 36px 22px 0 22px; } .mcui-Grindstone > .mcui-output { margin-top: 34px; }

/* Template:Stonecutter */ .mcui-Stonecutter > * { display: inline-block; vertical-align: top; } .mcui-Stonecutter > .mcui-stonecutterArrow { background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/9/97/Grid_layout_Stonecutter_Arrow.png/revision/latest) no-repeat; width: 58px; height: 60px; margin: 9px 4px 0 4px; } .mcui-Stonecutter > .mcui-output { margin: 28px 0 28px 0; } .mcui-Stonecutter > .mcui-input { margin-top: 36px; } .mcui-Stonecutter .mcui-stonecutterSprite { margin: 4px 0 0 5px; }

/* Template:Infobox, Template:Infobox row */ .notaninfobox { position: relative; clear: right; margin: 0 0 1em 1em; width: 300px; font-size: 90%; background: #FFF; float: right; border: 1px solid #CCC; padding: 2px; overflow: auto; z-index: 1; } @media all and (max-width: 511px) { .notaninfobox { float: none; margin-left: 0; width: auto; } } @media all and (max-width: 337px) { .notaninfobox { margin-left: -16px; margin-right: -16px; border-left: none; border-right: none; } }

.notaninfobox > .infobox-title { font-weight: bold; text-align: center; font-size: 120%; }

.infobox-imagearea { text-align: center; padding: 4px; } .infobox-imagearea > div:not(:first-child) { padding-top: 1em; } /* Horizontally centre animated images */ display: inline-flex; align-items: center; }
 * 1) mw-content-text .infobox-imagearea .animated {

.notaninfobox .infobox-rows { display: table; margin: 0 !important; width: 100% !important; border-collapse: separate !important; border-spacing: 1px !important; } .infobox-rows > tbody > tr > th { text-align: left; white-space: nowrap; }	margin: 0; } /* Merge adjacent dls in the infobox (since they're usually supposed to be one, but the wiki screws up sometimes) */ .infobox-rows dl + dl { margin-top: -0.4em; } .infobox-rows dl:last-child { margin-bottom: 0.2em; }
 * 1) mw-content-text .infobox-rows p {

.infobox-footer { text-align: center; }

/* Template:Sprite */ .sprite { display: inline-block; vertical-align: text-top; height: 16px; width: 16px; background-repeat: no-repeat; } .sprite + .sprite-text { padding-left: 0.312em; }

/* Template:CommentSprite: */ .comment-sprite { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/9/9c/CommentCSS.png/revision/latest); }

/* Template:Schematic: */ .schematic-sprite { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/c/c2/SchematicSprite.png/revision/latest); background-size: 32em auto; width: 1em; height: 1em; }

/* * Template:InvSprite: * Template:SlotSprite */ .inv-sprite, .slot-sprite { width: 32px; height: 32px; vertical-align: middle; }

/* Template:Nbt/sprite: */ .nbt-sprite { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/d/d0/Nbtsheet.png/revision/latest); }

/* Template:DungeonsItemSprite: */ /* .dungeonsitem-sprite { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/7/78/DungeonsItemCSS.png/revision/latest); background-size: 1536px auto; height: 24px; width: 24px; margin: -1px -4px -1px -1px; vertical-align: middle; }

/* Template:Schematic */ .thumb .schematic { margin: auto; } table.schematic { border-collapse: collapse; font-size: 32px; } span.schematic { display: inline-block; font-size: 32px; }

table.schematic td { vertical-align: top; } table.schematic td, span.schematic { background-color: #FFF; border: 1px solid #CCC; padding: 0; width: 1em; height: 1em; overflow: hidden; } table.schematic td > div, span.schematic { position: relative; } table.schematic td > div .sprite, table.schematic td > div .text, span.schematic .sprite, span.schematic .text { position: absolute; left: 0; }

.schematic .text { line-height: 1.5em; font-size: 75%; width: 100%; color: black; font-weight: bold; text-align: center; text-shadow: 0 0 2px #FFF; }

/* Template:Layered blueprint */ .layered-blueprint { position: relative; }

.layered-blueprint-radio { display: none; }

.layered-blueprint-tab { display: inline-block; cursor: pointer; margin-left: 100%; border-left: 4px solid #252525; padding: 0.2em 0.5em; white-space: nowrap; transition: color 200ms, border-color 200ms; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .layered-blueprint-tab:hover { color: #80b640; } .layered-blueprint-radio:checked + .layered-blueprint-tab { color: #80b640; border-left-color: #80b640; }

.layered-blueprint-layer { position: absolute; top: 0; background-color: rgba(230, 239, 244, 0.6); width: 100%; height: 100%; }

.layered-blueprint-radio:checked + .layered-blueprint-tab + .layered-blueprint-layer ~ .layered-blueprint-layer { visibility: hidden; }

/* Template:Sound */ .sound-audio { display: block; }

/** Misc stuff **/ /* The blue header used throughout the wiki */ .mcwiki-header { background: #729FCF; border: 1px solid #CCC; border-bottom: 4px groove #999; border-right: 4px groove #999; padding: 5px; }

/* Fix treeview overlapping floating content */ div.thumb { position: relative; z-index: 1; }

/* Horizontal list */ display: inline; margin: 0; padding: 0; }	display: inline; }	padding-right: 0.286em; }	content: ""; display: inline-block; position: relative; left: 0.286em; bottom: 0.214em; background-color: #000; height: 3px; width: 3px; }	content: "(";	font-weight: normal; }	content: ")"; font-weight: normal; }	font-size: x-small; }
 * 1) mw-content-text .hlist ul {
 * 1) mw-content-text .hlist li {
 * 1) mw-content-text .hlist li:not(:last-child) {
 * 1) mw-content-text .hlist li:not(:last-child)::after {
 * 1) mw-content-text .hlist li li:first-child::before {
 * 1) mw-content-text .hlist li li:last-child::after {
 * 1) mw-content-text .hlist li li li {

/* Element animator */ display: none }	display: inline-block; }	display: block; }
 * 1) mw-content-text .animated > *:not(.animated-active),
 * 2) mw-content-text .animated > .animated-subframe > *:not(.animated-active) {
 * 1) mw-content-text span.animated,
 * 2) mw-content-text span.animated.animated-visible > *,
 * 3) mw-content-text span.animated.animated-visible > .animated-subframe > * {
 * 1) mw-content-text div.animated.animated-visible > *,
 * 2) mw-content-text div.animated.animated-visible > .animated-subframe > * {

/* Generic nowrap class */ .nowrap { white-space: nowrap; }

/* Hide noscript only elements */ .client-js .noscript { display: none; }

/* Remove bullets/numbers from a list */ list-style: none; margin-left: 0; }
 * 1) mw-content-text .list-style-none ul, .list-style-none ol {

/* Allow setting the text alignment of particular table columns */ .col-1-left td:nth-child(1), .col-2-left td:nth-child(2), .col-3-left td:nth-child(3), .col-4-left td:nth-child(4), .col-5-left td:nth-child(5), .col-6-left td:nth-child(6), .col-7-left td:nth-child(7), .col-8-left td:nth-child(8), .col-9-left td:nth-child(9) { text-align: left; } .col-1-center td:nth-child(1), .col-2-center td:nth-child(2), .col-3-center td:nth-child(3), .col-4-center td:nth-child(4), .col-5-center td:nth-child(5), .col-6-center td:nth-child(6), .col-7-center td:nth-child(7), .col-8-center td:nth-child(8), .col-9-center td:nth-child(9) { text-align: center; } .col-1-right td:nth-child(1), .col-2-right td:nth-child(2), .col-3-right td:nth-child(3), .col-4-right td:nth-child(4), .col-5-right td:nth-child(5), .col-6-right td:nth-child(6), .col-7-right td:nth-child(7), .col-8-right td:nth-child(8), .col-9-right td:nth-child(9) { text-align: right; }

/* Centre lists in custom CE TOC */ .toc.console-toc ul { text-align: center; }

/* Bold text in a table header cell shouldn't get extra bold */ b, strong { font-weight: bold; }

/* Make the first heading row of a table stick to the top of the screen */ /* Won't work properly with rowspan headers, or colspan rows in the table */ .stikitable > * > tr:first-child > th { position: -webkit-sticky; position: sticky; top: 0; /* This fixes the borders for some reason */ background-clip: padding-box; } /* Add back the bottom border when stuck */ .stikitable > * > tr:first-child > th::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; border-bottom: 1px solid; border-color: inherit; }

/* Collapsible elements (MediaWiki:Gadget-site.js) */ .collapsible.collapsed > tr:not(:first-child), .collapsible.collapsed > tbody > tr:not(:first-child), .collapsible.collapsed > thead + tbody > tr:first-child, .collapsible.collapsed > tbody + tbody > tr:first-child, .collapsible.collapsed > tfoot > tr, .collapsible.collapsed > .collapsible-content { display: none; }

.collapsetoggle { display: inline-block; font-weight: normal; font-style: normal; float: right; text-align: right; margin-left: 0.8em; } .collapsetoggle-left > tr > * > .collapsetoggle, .collapsetoggle-left > * > tr > * > .collapsetoggle, .collapsetoggle-left > * > .collapsetoggle, .collapsetoggle-left > .collapsetoggle { float: left; text-align: left; margin-right: 0.8em; margin-left: 0; } .collapse-button-none > * > tr > * > .collapsetoggle, .collapsetoggle-inline > tr > * > .collapsetoggle, .collapsetoggle-inline > * > tr > * > .collapsetoggle, .collapsetoggle-inline > * > .collapsetoggle, .collapsetoggle-inline > .collapsetoggle { float: none; text-align:left; }

.collapsetoggle-custom { visibility: hidden; }

/* Mark internal links as plain */ background: none; padding-right: 0; }
 * 1) mw-content-text a.external[href^="https://minecraft.gamepedia.com"],
 * 2) mw-content-text a.external[href^="//minecraft.gamepedia.com"],
 * 3) mw-content-text a.external[href^="https://minecraft.fandom.com"],
 * 4) mw-content-text a.external[href^="//minecraft.fandom.com"] {

/* Show abusefilter error footer only once at the end */ .errorbox li:not(:last-child) .abusefilter-message-footer { display: none; }

/* Bulletless lists, for list semantics without the visuals */ .bulletless ul { list-style-type: none; list-style-image: none; margin: 0; }

/* Various styling for message boxes */ .msgbox { display: flex; background: #FCFCFC; border: 1px solid var(--theme-border-color); box-sizing: border-box; align-items: center; width: auto; padding: .4em .8em; margin: 0 auto; margin-bottom: 1em; } .msgbox + .msgbox { border-top: none; margin-top: -1em; }
 * not(.msgbox) + .msgbox,

.msgbox:first-of-type { border-top-right-radius: .15em; border-top-left-radius: .15em; } .msgbox #msgbox-iconimage, .msgbox #msgbox-image { margin: 0 1.5em 0 .5em; } .msgbox-mini { padding: .4em .5em; margin: 0 0; margin-bottom: 1em; } .msgbox-mini #msgbox-icon { align-self: flex-start; } .msgbox-mini #msgbox-iconimage, .msgbox-mini #msgbox-image { margin: 0 .4em 0 .5em; } .msgbox-mini #msgbox-text { font-size: small; } .msgbox-red { background: var(--custom-background-red-highlight); border-left: 4px solid var(--custom-border-red-highlight); } .msgbox-orange { background: var(--custom-background-orange-highlight); border-left: 4px solid var(--custom-border-orange-highlight); } .msgbox-yellow { background: var(--custom-background-yellow-highlight); border-left: 4px solid var(--custom-border-yellow-highlight); } .msgbox-green { background: var(--custom-background-green-highlight); border-left: 4px solid var(--custom-border-green-highlight); } .msgbox-blue { background: var(--custom-background-blue-highlight); border-left: 4px solid var(--custom-border-blue-highlight); } .msgbox-magenta { background: var(--custom-background-magenta-highlight); border-left: 4px solid var(--custom-border-magenta-highlight); } .msgbox-purple { background: var(--custom-background-purple-highlight); border-left: 4px solid var(--custom-border-purple-highlight); } .msgbox-gray { background: var(--custom-background-grey); border-left: 4px solid var(--custom-border-grey); }

/* Key stylings */ kbd, .kbd-color { text-align: center; font-size: 80%; font-family: inherit; font-weight: 500; border: 1px solid; border-radius: 2px; padding: 0.1em 0.4em; -webkit-box-decoration-break: clone; -o-box-decoration-break: clone; box-decoration-break: clone; } body.theme-fandomdesktop-light kbd, body.theme-fandomdesktop-light .kbd-color, body.theme-fandommobile-light kbd, body.theme-fandommobile-light .kbd-color { text-shadow: 0 1px 0 #fff; color: #222; background-color: #f8f9fa; border-color: #c8ccd1; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset; } body.theme-fandomdesktop-dark kbd, body.theme-fandomdesktop-dark .kbd-color, body.theme-fandommobile-dark kbd, body.theme-fandommobile-dark .kbd-color { text-shadow: 0 1px 0 #444; color: #eee; background-color: #383838; border-color: #1E1E1E; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #444 inset; }

/* Module:Renewable resource row */ .mw-parser-output .renewableresourcetable td { text-align: center; } .mw-parser-output .renewableresourcetable td:last-of-type { text-align: left; }

/* Table choice. Written by ItsPlantseed with some adjustments for contrast * issues */ .tc-yes { background: #c6efce; } body.theme-fandomdesktop-dark .tc-yes, body.theme-fandommobile-dark .tc-yes { background: #29542c; } .tc-always { background: #5dcc5d; } body.theme-fandomdesktop-dark .tc-always, body.theme-fandommobile-dark .tc-always { background: #3b533c; } .tc-no { background: #ffc7ce; } body.theme-fandomdesktop-dark .tc-no, body.theme-fandommobile-dark .tc-no { background: #592c2c; } .tc-never { background: #ff8787; } body.theme-fandomdesktop-dark .tc-never, body.theme-fandommobile-dark .tc-never { background: #533b3b; } .tc-rarely { background: #fdce5e; } body.theme-fandomdesktop-dark .tc-rarely, body.theme-fandommobile-dark .tc-rarely { background: #594f1e; } .tc-neutral { background: #ffeb9c; } body.theme-fandomdesktop-dark .tc-neutral, body.theme-fandommobile-dark .tc-neutral { background: #5b573f; } .tc-partial { background: #ffffdd; } body.theme-fandomdesktop-dark .tc-partial, body.theme-fandommobile-dark .tc-partial { background: #3e3d31; } .tc-planned { background: #dfdfff; } body.theme-fandomdesktop-dark .tc-planned, body.theme-fandommobile-dark .tc-planned { background: #242f2e; } .tc-unknown { background: #ccc; } body.theme-fandomdesktop-dark .tc-unknown, body.theme-fandommobile-dark .tc-unknown { background: #364148; } .tc-in { color: #fff; background: #040; } body.theme-fandomdesktop-dark .tc-in, body.theme-fandommobile-dark .tc-in { background: #06450a; } .tc-inem { color: #fff; background: #080; } body.theme-fandomdesktop-dark .tc-inem, body.theme-fandommobile-dark .tc-inem { background: #266c29; } .tc-out { color: #fff; background: #700; } body.theme-fandomdesktop-dark .tc-out, body.theme-fandommobile-dark .tc-out { background: #4a0a0a; } .tc-outem { color: #fff; background: #c00; } body.theme-fandomdesktop-dark .tc-outem, body.theme-fandommobile-dark .tc-outem { background: #742a2a; } .tc-default { color: inherit; background: #fff; } body.theme-fandomdesktop-dark .tc-default, body.theme-fandommobile-dark .tc-default { color: inherit; background: #373737; } .tc-hyphen { background: #ffc7ce; } body.theme-fandomdesktop-dark .tc-hyphen, body.theme-fandommobile-dark .tc-hyphen { background: #352929; }

/* Even *more* background colors, such as for table cells. * Written by TheSuperPlayer. */ .theme-fandomdesktop-light .page-content .general-background-gray, .theme-fandommobile-light .page-content .general-background-gray { background-color: #bdbdbd; } .theme-fandomdesktop-dark .page-content .general-background-gray, .theme-fandommobile-dark .page-content .general-background-gray { background-color: #212121; } .theme-fandomdesktop-light .page-content .general-background-lime, .theme-fandommobile-light .page-content .general-background-lime { background-color: #c1f792; } .theme-fandomdesktop-dark .page-content .general-background-lime, .theme-fandommobile-dark .page-content .general-background-lime { background-color: #405230; } .theme-fandomdesktop-light .page-content .general-background-yellow, .theme-fandommobile-light .page-content .general-background-yellow { background-color: #fffca6; } .theme-fandomdesktop-dark .page-content .general-background-yellow, .theme-fandommobile-dark .page-content .general-background-yellow { background-color: #4d4c30; } .theme-fandomdesktop-light .page-content .general-background-cyan, .theme-fandommobile-light .page-content .general-background-cyan { background-color: #97fcf9; } .theme-fandomdesktop-dark .page-content .general-background-cyan, .theme-fandommobile-dark .page-content .general-background-cyan { background-color: #426665; } .theme-fandomdesktop-light .page-content .general-background-magenta, .theme-fandommobile-light .page-content .general-background-magenta { background-color: #ffbfff; } .theme-fandomdesktop-dark .page-content .general-background-magenta, .theme-fandommobile-dark .page-content .general-background-magenta { background-color: #4c374d; }

/* Dark mode support for Template:Nbt_inherit */ .theme-fandomdesktop-dark .nbttree-inherited, .theme-fandommobile-dark .nbttree-inherited { background: #323248; }

/* Invert black images in dark mode */ body.theme-fandomdesktop-dark .math-image, body.theme-fandomdesktop-dark img[data-image-name="Android.svg"], body.theme-fandomdesktop-dark img[data-image-name="Apple logo.svg"], body.theme-fandomdesktop-dark img[data-image-name="MacOS.svg"], body.theme-fandomdesktop-dark img[data-image-name="MacOS logo.svg"], body.theme-fandomdesktop-dark img[data-image-name="IOS.svg"], body.theme-fandomdesktop-dark img[data-image-name="IOS logo.svg"], body.theme-fandomdesktop-dark img[data-image-name="IPadOS.svg"], body.theme-fandomdesktop-dark img[data-image-name="IPadOS logo.svg"], body.theme-fandomdesktop-dark img[data-image-name="AppleTVLogo.svg"], body.theme-fandomdesktop-dark img[data-image-name="GearVR.svg"], body.theme-fandomdesktop-dark img[data-image-name="Playstation logo.svg"], body.theme-fandomdesktop-dark img[data-image-name="PS5.svg"], body.theme-fandomdesktop-dark img[data-image-name="PS4.svg"], body.theme-fandomdesktop-dark img[data-image-name="PS3.svg"], body.theme-fandomdesktop-dark img[data-image-name="PSVita.svg"], body.theme-fandomdesktop-dark img[data-image-name="Xbox Series.svg"], body.theme-fandomdesktop-dark img[data-image-name="New Nintendo 3DS.svg"], body.theme-fandomdesktop-dark img[data-image-name="OtherOceanLogo.png"], .theme-fandomdesktop-dark .portable-infobox .pi-image img[data-image-name="OtherOceanLogo.png"], body.theme-fandomdesktop-dark img[data-image-name="Xbox Game Studios.svg"], .theme-fandomdesktop-dark .portable-infobox .pi-image img[data-image-name="Xbox Game Studios.svg"], body.theme-fandomdesktop-dark img[data-image-name="Skyboxlabs.png"], .theme-fandomdesktop-dark .portable-infobox .pi-image img[data-image-name="Skyboxlabs.png"], body.theme-fandommobile-dark .math-image, body.theme-fandommobile-dark img[alt="Android.svg"], body.theme-fandommobile-dark img[alt="Apple logo.svg"], body.theme-fandommobile-dark img[alt="MacOS.svg"], body.theme-fandommobile-dark img[alt="MacOS logo.svg"], body.theme-fandommobile-dark img[alt="IOS.svg"], body.theme-fandommobile-dark img[alt="IOS logo.svg"], body.theme-fandommobile-dark img[alt="IPadOS.svg"], body.theme-fandommobile-dark img[alt="IPadOS logo.svg"], body.theme-fandommobile-dark img[alt="AppleTVLogo.svg"], body.theme-fandommobile-dark img[alt="GearVR.svg"], body.theme-fandommobile-dark img[alt="Playstation logo.svg"], body.theme-fandommobile-dark img[alt="PS5.svg"], body.theme-fandommobile-dark img[alt="PS4.svg"], body.theme-fandommobile-dark img[alt="PS3.svg"], body.theme-fandommobile-dark img[alt="PSVita.svg"], body.theme-fandommobile-dark img[alt="Xbox Series.svg"], body.theme-fandommobile-dark img[alt="New Nintendo 3DS.svg"], body.theme-fandommobile-dark img[alt="OtherOceanLogo.png"], .theme-fandommobile-dark .portable-infobox .pi-image img[alt="OtherOceanLogo.png"], body.theme-fandommobile-dark img[alt="Xbox Game Studios.svg"], .theme-fandommobile-dark .portable-infobox .pi-image img[alt="Xbox Game Studios.svg"], body.theme-fandommobile-dark img[alt="Skyboxlabs.png"], .theme-fandommobile-dark .portable-infobox .pi-image img[alt="Skyboxlabs.png"]{ filter: hue-rotate(180deg) invert(100%) saturate(.6) brightness(2); }

/* Turn a list into a tree view style (See .minecraft) */ .treeview { margin-top: 0.3em; display: flow-root; }

.treeview .treeview-header { padding-left: 3px; font-weight: bold; } .treeview .treeview-header:last-child { border-color: #636363 !important; border-left-style: dotted; } .treeview .treeview-header:not(:last-child)::before { content: none; } .treeview .treeview-header:last-child::before { border-bottom: 0; }

.treeview ul, .treeview li { margin: 0; padding: 0; list-style-type: none; list-style-image: none; }

.treeview li li { position: relative; padding-left: 13px; margin-left: 7px; border-left: 1px solid #636363; } .treeview li li::before { content: ""; position: absolute; top: 0; left: -1px; width: 11px; height: 11px; border-bottom: 1px solid #636363; }

.treeview li li:last-child:not(.treeview-continue) { border-color: transparent; } .treeview li li:last-child:not(.treeview-continue)::before { border-left: 1px solid #636363; width: 10px; }

.nbttree-inherited { background-color: #E6E6FA; }