MediaWiki:Wikia.css

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

.notaninfobox { border-color: #3a3a3a; background-color: #131313; }

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

.notaninfobox { border-color: var(--theme-border-color); background-color: var(--custom-table-background); } .notaninfobox .mcwiki-header { background-color: var(--custom-background-blue-highlight); border: 1px solid var(--theme-border-color); } .alternaterows tr:nth-child(2n), .infobox-rows tr:nth-child(2n) { background-color: var(--custom-table-alternate-background); }