Winston Sung - zh(留言 | 贡献) 无编辑摘要 |
Winston Sung - zh(留言 | 贡献) (Fix .wds-community-bar__gamepedia-badge) |
||
第1,622行: | 第1,622行: | ||
margin-right: calc(50% - 119px); |
margin-right: calc(50% - 119px); |
||
margin-left: calc(50% - 75px); |
margin-left: calc(50% - 75px); |
||
+ | overflow: visible; |
||
} |
} |
||
.skin-fandommobile .wds-community-bar__sitename a { |
.skin-fandommobile .wds-community-bar__sitename a { |
||
width: 150px; |
width: 150px; |
||
+ | } |
||
+ | .skin-fandommobile .wds-community-bar .wds-community-bar__sitename .wds-community-bar__gamepedia-badge { |
||
+ | margin-left: 155px; |
||
+ | margin-top: 18px; |
||
} |
} |
||
.skin-fandommobile .wds-global-navigation__content-bar-right { |
.skin-fandommobile .wds-global-navigation__content-bar-right { |
2021年8月29日 (日) 17:40的版本
/* Styles placed here are loaded on FandomMobile view. */
/* 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');
}
/* Hide noscript only elements */
.client-js .noscript {
display: none;
}
/* Color JavaScript link elements like normal links */
.article-content .jslink {
color: var(--fandommobile-link-color);
}
/* Re-add styles to definition list headers */
dt {
font-weight: bold;
margin-left: 1em;
}
/* Turn a list into a tree view style (See [[.minecraft]]) */
.treeview {
margin-top: 0.3em;
}
.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;
margin-left: 0 !important;
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;
}
/* History */
table[data-description="History"] th {
padding: 0 !important;
}
/** Template stylings **/
.notaninfobox > .infobox-title {
font-weight: bold;
text-align: center;
font-size: 120%;
}
.infobox-imagearea {
text-align: center;
}
/* [[Template:Inventory slot]]: [[File:InvSprite.png]] */
.invslot {
position: relative;
display: inline-block;
background: #8B8B8B no-repeat center center / 32px 32px;
border: 2px solid;
border-color: #373737 #FFF #FFF #373737;
width: 36px;
height: 36px;
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-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_zh_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]]:
[[File:Grid layout Arrow (small).png]], [[File:Grid layout Shapeless.png]], [[File:Grid layout Fixed.png]] */
.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: 30px;
}
.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_zh_gamepedia/images/a/a9/Grid_layout_Shapeless.png/revision/latest);
}
.mcui-Crafting_Table .mcui-fixed {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/b/b8/Grid_layout_Fixed.png/revision/latest);
}
/* [[Template:Furnace]]:
[[File:Grid layout Fire.png]], [[File:Grid layout Fire (in-active).png]]
[[File:Grid layout Furnace Progress.png]], [[File:Grid layout Furnace Progress (in-active).png]] */
.mcui-Furnace .mcui-fuel {
display: block;
background: url(https://static.wikia.nocookie.net/minecraft_zh_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_zh_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]]:
[[File:Grid layout Brewing Bubbles.gif]], [[File:Grid layout Brewing Bubbles (In-active).png]],
[[File:Grid layout Brewing Arrow.png]], [[File:Grid layout Brewing Arrow (In-active).png]],
[[File:Grid layout Brewing Paths.png]], [[File:Grid layout Brewing Empty.png]] */
.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_zh_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_zh_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_zh_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_zh_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_zh_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_zh_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_zh_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_zh_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: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]]: [[File:CommentCSS.png]] */
.comment-sprite {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/9/9c/CommentCSS.png/revision/latest);
}
/* [[Template:Schematic]]: [[File:SchematicSprite.png]] */
.schematic-sprite {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/c/c2/SchematicSprite.png/revision/latest);
background-size: 32em auto;
width: 1em;
height: 1em;
}
/*
* [[Template:InvSprite]]: [[File:InvSprite.png]]
* [[Template:SlotSprite]]
*/
.inv-sprite,
.slot-sprite {
width: 32px;
height: 32px;
vertical-align: middle;
}
/* [[Template:Nbt/sprite]]: [[File:Nbtsheet.png]] */
.nbt-sprite {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/d/d0/Nbtsheet.png/revision/latest);
}
/* [[Template:DungeonsItemSprite]]: [[File:DungeonsItemCSS.png]] */
/*
.dungeonsitem-sprite {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_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;
}
/* Element animator */
.article-content .animated > *:not(.animated-active),
.article-content .animated > .animated-subframe > *:not(.animated-active),
#localNotice .animated > :not(.animated-active) {
display: none
}
.article-content span.animated,
.article-content span.animated.animated-visible > *,
.article-content span.animated.animated-visible > .animated-subframe > * {
display: inline-block;
}
.article-content div.animated.animated-visible > *,
.article-content div.animated.animated-visible > .animated-subframe > * {
display: block;
}
/* Hide empty cells */
.mw-empty-elt {
display: none;
}
/* Fix for Mainpage */
#main-page #fp-2 figure {
display: inline-block;
margin: 0;
}
#main-page #fp-2 figure > a > img {
border: 0;
}
/* Fix for Template:History */
.wikitable[data-description="历史"] tr > th {
vertical-align: middle;
padding: 12px 0 12px 0;
}
/* Fix for Template:Msgbox and Quote */
.quote {
display: grid;
}
.msgbox {
display: grid;
gap: 0.6em;
align-items: center;
border-left: 8px solid var(--fandommobile-button-color);
background-color: var(--fandommobile-table-background-color);
padding: 0.3em 0.6em;
}
/* Prevention for content jumping */
#localNotice {
min-height: calc(1em + 7px);
max-height: calc(4em + 7px);
overflow-y: auto;
}
.alternaterows tr:nth-child(even),
.infobox-rows tr:nth-child(even) {
background-color: #F9F9F9;
}
/**
* 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:Mobile.css]] to be loaded (like the basic theme).
*
* Desktop-only styles should go in [[MediaWiki:Common.css]] or
* [[MediaWiki:Hydra.css]] if Minecraft theme related.
* Non-critical mobile-only styles should go in [[MediaWiki:Mobile.css]].
*/
/** Used on Admin noticeboard **/
.admin-header-container {
display: flex;
flex-flow: row wrap;
justify-content: center;
}
.admin-header-item {
flex: 1 1 240px;
padding: 0.4em;
text-align: center;
}
/** Template stylings **/
/* [[Template:Message box]] */
.msgbox {
display: grid;
gap: 0.6em;
align-items: center;
border-left: 8px solid #36c;
background-color: #f8f9fa;
max-width: max-content;
margin: 0.5em auto;
padding: 0.3em 0.6em;
}
.msgbox.msgbox-mini {
gap: 0.3em;
margin-left: 0;
margin-right: 0;
padding: 0 0.3em;
}
/* [[Template:Archive box]] */
.archive-box {
background-color: #f8f9fa;
text-align: left;
border: 1px solid #CCC;
margin-top: 3px;
max-width: 16em;
min-width: 8em;
font-size: 90%;
padding: 2px;
}
/* [[Template:Table Choice]] */
.tc-default {
background-color: #f8f9fa;
color: #222222;
}
.tc-always {
background-color: #5DCC5D;
color: #004100;
}
.tc-yes {
background-color: #C6EFCE;
color: #006100;
}
.tc-no {
background-color: #FFC7CE;
color: #9C0006;
}
.tc-never {
background-color: #FF5757;
color: #700005;
}
.tc-rarely {
background-color: #FDCE5E;
color: #835400;
}
.tc-neutral {
background-color: #FFEB9C;
color: #9C6500;
}
.tc-partial {
background-color: #FFFFDD;
color: #8A7600;
}
.tc-planned {
background-color: #DFDFFF;
color: #0131B7;
}
.tc-unknown {
background-color: #CCCCCC;
color: #222222;
}
.tc-in-off {
background-color: #006600;
color: #FFFFFF;
}
.tc-in-on {
background-color: #00CC00;
color: #FFFFFF;
}
.tc-out-off {
background-color: #990000;
color: #FFFFFF;
}
.tc-out-on {
background-color: #FF0000;
color: #FFFFFF;
}
.tc-na {
background-color: #FFFFFF;
color: #000000;
}
/* [[Template:Close topic]] */
.closed-topic-yes {
border: 1px dotted #AAA;
background-color: #efe;
padding: 0 10px;
}
.closed-topic-no {
border: 1px dotted #AAA;
background-color: #fee;
padding: 0 10px;
}
.closed-topic-neutral {
border: 1px dotted #AAA;
background-color: #eef;
padding: 0 10px;
}
/* [[Template:Shortcut]] */
.shortcut-box {
background-color: #f8f9fa;
border: 1px solid #CCC;
max-width: 400px;
min-width: 70px;
padding: 0.3em 0.5em;
}
/* [[Template:Documentation]] */
.documentation,
.documentation-header.documentation-docpage {
border: 1px solid #AAA;
}
.documentation,
.documentation-header,
.documentation-footer {
background-color: #EAF4F9;
}
.documentation.documentation-nodoc {
background-color: #F9EAEA;
}
.documentation.documentation-baddoc {
background-color: #F9F2EA;
}
/* [[Template:Keys]], [[Module:Keys]] */
.keyboard-key {
background-color: #f8f9fa;
color: #222;
font-size: 80%;
font-family: inherit;
font-weight: bold;
border: 1px solid #c8ccd1;
border-radius: 2px;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
padding: 0.1em 0.4em;
text-shadow: 0 1px 0 #fff;
text-align: center;
}
/* [[Template:Quote]] */
.quote {
display: grid;
gap: 0 4px;
align-items: center;
max-width: max-content;
}
/* [[Template:Inventory slot]]: [[File:InvSprite.png]] */
.invslot {
position: relative;
display: inline-block;
background: #8B8B8B no-repeat center center / 32px 32px;
border: 2px solid;
border-color: #373737 #FFF #FFF #373737;
width: 36px;
height: 36px;
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-item,
.invslot-item > a:first-child {
position: relative;
display: block;
margin: -2px;
width: 32px;
height: 32px;
}
.invslot-item-image > a.new:first-child {
background: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/4/44/InvSprite.png/revision/latest) no-repeat content-box;
width: 32px;
height: 32px;
text-indent: -9999px;
overflow: hidden;
cursor: initial;
}
.invslot-stacksize {
position: absolute;
right: 0;
bottom: 0;
font-family: Unifont-subset, Courier, sans-serif;
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;
}
/* 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]]:
[[File:Grid layout Arrow (small).png]], [[File:Grid layout Shapeless.png]], [[File:Grid layout Fixed.png]] */
.mcui-Crafting_Table .mcui-row {
display: block;
}
.mcui-Crafting_Table > .mcui-arrow {
background: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/8/86/Grid_layout_Arrow_%28small%29.png) no-repeat;
width: 32px;
height: 26px;
margin: 40px 4px 0;
}
.mcui-Crafting_Table > .mcui-output > .invslot-large {
padding: 7px;
width: 48px;
height: 48px;
}
.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_zh_gamepedia/images/a/a9/Grid_layout_Shapeless.png/revision/latest);
}
.mcui-Crafting_Table .mcui-fixed {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/b/b8/Grid_layout_Fixed.png/revision/latest);
}
/* [[Template:Furnace]]:
[[File:Grid layout Fire.png]], [[File:Grid layout Fire (in-active).png]]
[[File:Grid layout Furnace Progress.png]], [[File:Grid layout Furnace Progress (in-active).png]] */
.mcui-Furnace .mcui-fuel {
display: block;
background: url(https://static.wikia.nocookie.net/minecraft_zh_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(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/a/ab/Grid_layout_Fire_%28in-active%29.png);
}
.mcui-Furnace > .mcui-arrow {
background: url(https://static.wikia.nocookie.net/minecraft_zh_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(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/d/dc/Grid_layout_Furnace_Progress_%28in-active%29.png);
}
.mcui-Furnace > .mcui-output {
margin-top: 28px;
}
/* [[Template:Brewing Stand]]:
[[File:Grid layout Brewing Bubbles.gif]], [[File:Grid layout Brewing Bubbles (In-active).png]],
[[File:Grid layout Brewing Arrow.png]], [[File:Grid layout Brewing Arrow (In-active).png]],
[[File:Grid layout Brewing Paths.png]], [[File:Grid layout Brewing Empty.png]] */
.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_zh_gamepedia/images/6/65/Grid_layout_Brewing_Bubbles.gif/revision/latest);
}
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-bubbling {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/d/db/Grid_layout_Brewing_Bubbles_%28In-active%29.png);
}
.mcui-Brewing_Stand .mcui-arrow {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/4/4b/Grid_layout_Brewing_Arrow.png/revision/latest);
}
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-arrow {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/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_zh_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_zh_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_zh_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_zh_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_zh_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(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/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_zh_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 */
#bodyContent .infobox-imagearea .animated {
display: inline-flex;
align-items: center;
}
.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;
}
#bodyContent .infobox-rows p {
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;
}
.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]]: [[File:CommentCSS.png]] */
.comment-sprite {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/9/9c/CommentCSS.png/revision/latest);
}
/* [[Template:Schematic]]: [[File:SchematicSprite.png]] */
.schematic-sprite {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/c/c2/SchematicSprite.png/revision/latest);
background-size: 32em auto;
width: 1em;
height: 1em;
}
/* [[Template:InvSprite]]: [[File:InvSprite.png]] */
.inv-sprite,
.slot-sprite {
width: 32px;
height: 32px;
vertical-align: middle;
}
/* [[Template:Nbt/sprite]]: [[File:Nbtsheet.png]] */
.nbt-sprite {
background-image: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/d/d0/Nbtsheet.png/revision/latest);
}
/* [[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 */
#bodyContent .hlist ul {
display: inline;
margin: 0;
padding: 0;
}
#bodyContent .hlist li {
display: inline;
}
#bodyContent .hlist li:not(:last-child) {
padding-right: 0.286em;
}
#bodyContent .hlist li:not(:last-child)::after {
content: "";
display: inline-block;
position: relative;
left: 0.286em;
bottom: 0.214em;
background-color: #000;
height: 3px;
width: 3px;
}
#bodyContent .hlist li > ul li:first-child::before {
content: "(";
}
#bodyContent .hlist li > ul li:last-child::after {
content: ")";
}
#bodyContent .hlist li li li {
font-size: x-small;
}
/* Element animator */
#siteNotice .animated > *:not(.animated-active),
#bodyContent .animated > *:not(.animated-active),
#bodyContent .animated > .animated-subframe > *:not(.animated-active) {
display: none
}
#bodyContent span.animated,
#bodyContent span.animated.animated-visible > *,
#bodyContent span.animated.animated-visible > .animated-subframe > * {
display: inline-block;
}
#bodyContent div.animated.animated-visible > *,
#bodyContent div.animated.animated-visible > .animated-subframe > * {
display: block;
}
/* Generic nowrap class */
.nowrap {
white-space: nowrap;
}
/* Hide noscript only elements */
.noscript {
display: none;
}
/* Remove bullets/numbers from a list */
#bodyContent .list-style-none ul, .list-style-none ol {
list-style: none;
margin-left: 0;
}
/* 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;
}
body {
overflow-wrap: break-word;
}
/* Simulate link styling for JS only links */
.jslink,
.article-content .jslink {
color: #0645AD;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.jslink:hover,
.article-content .jslink:hover {
text-decoration: underline;
cursor: pointer;
}
.jslink:active,
.article-content .jslink:active {
color: #FAA700;
}
/* Original mobile styles for FandomMobile */
:root .skin-fandommobile {
--theme-article-background-color: #e6eff4;
--theme-article-background-color--rgb: 230,239,244;
--fandommobile-body-gradient: linear-gradient(180deg,#fff,#fff 55px,#e6eff4 100vh,#e6eff4);
}
.banner-notifications-placeholder {
height: auto !important;
}
.skin-fandommobile .wds-community-bar:after {
content: "";
position: absolute;
right: 0;
bottom: -29px;
left: 0;
height: 100vh;
background: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/6/6a/Mobile-header.png/revision/latest) left bottom repeat-x #8DBDE9;
background-size: 48px auto;
z-index: -1;
}
.skin-fandommobile #fandom-mobile-wrapper {
padding-top: 29px;
}
.skin-fandommobile .wds-global-navigation .wds-community-bar__sitename,
.skin-fandommobile .wds-community-bar .wds-community-bar__sitename {
min-height: 55px;
min-width: 150px;
}
.skin-fandommobile .wds-global-navigation .wds-community-bar__sitename a,
.skin-fandommobile .wds-community-bar .wds-community-bar__sitename a {
background: url(https://static.wikia.nocookie.net/minecraft_zh_gamepedia/images/6/6d/Minecraft_Wiki_header_mobile.png/revision/latest) center center no-repeat;
background-size: 150px auto;
color: transparent;
text-indent: -9999px;
min-height: 55px;
min-width: 150px;
position: absolute;
}
.skin-fandommobile .wds-global-navigation .wds-community-bar__sitename {
margin-right: 12px;
margin-left: 12px;
}
.skin-fandommobile .wds-community-bar .wds-community-bar__sitename {
margin-right: calc(50% - 119px);
margin-left: calc(50% - 75px);
overflow: visible;
}
.skin-fandommobile .wds-community-bar__sitename a {
width: 150px;
}
.skin-fandommobile .wds-community-bar .wds-community-bar__sitename .wds-community-bar__gamepedia-badge {
margin-left: 155px;
margin-top: 18px;
}
.skin-fandommobile .wds-global-navigation__content-bar-right {
min-width: 158px;
}
@media only screen and (max-width: 330px) {
.skin-fandommobile .banner-notifications-placeholder {
top: 110px;
}
}
.skin-fandommobile #mw-content-text a:not(.section-edit-link),
.skin-fandommobile .mw-parser-output a:not(.section-edit-link),
.skin-fandommobile .article-footer a {
color: #3366cc;
}
.skin-fandommobile #mw-content-text a:active,
.skin-fandommobile .mw-parser-output a:active,
.skin-fandommobile .article-footer a:active {
color: #faa700;
text-decoration: underline;
}
.skin-fandommobile #mw-content-text a.new,
.skin-fandommobile #mw-content-text a.new:visited,
.skin-fandommobile #mw-content-text a.new:hover,
.skin-fandommobile .mw-parser-output a.new,
.skin-fandommobile .mw-parser-output a.new:visited,
.skin-fandommobile .mw-parser-output a.new:hover,
.skin-fandommobile .article-footer a.new,
.skin-fandommobile .article-footer a.new:visited,
.skin-fandommobile .article-footer a.new:hover {
color: #dd3333;
}
.skin-fandommobile #mw-content-text a.new,
.skin-fandommobile .mw-parser-output a.new,
.skin-fandommobile .article-footer a.new {
text-decoration: none;
}
.skin-fandommobile #mw-content-text a.new:visited,
.skin-fandommobile #mw-content-text a.new:hover,
.skin-fandommobile .mw-parser-output a.new:visited,
.skin-fandommobile .mw-parser-output a.new:hover,
.skin-fandommobile .article-footer a.new:visited,
.skin-fandommobile .article-footer a.new:hover {
text-decoration: underline;
}
.skin-fandommobile kbd,
.skin-fandommobile samp,
.skin-fandommobile code,
.skin-fandommobile pre {
background-color: #f9f9f9;
border: 1px solid #ddd;
color: black;
white-space: pre-wrap;
}
.skin-fandommobile kbd,
.skin-fandommobile samp,
.skin-fandommobile code {
padding: 0.2em 0.5em;
border-radius: 2px;
}
.skin-fandommobile .mw-parser-output ol,
.skin-fandommobile .mw-parser-output ul {
margin-left: 1em;
}
.skin-fandommobile .article-media-thumbnail,
.skin-fandommobile .thumb.tright {
border: 1px solid var(--theme-border-color,#7f9998);
border-radius: 4px;
margin: 0 auto 1.125rem;
width: fit-content;
}
.skin-fandommobile .thumb.tright {
float: none;
}
.skin-fandommobile .article-media-thumbnail .article-media-placeholder {
border: none;
border-radius: 4px 4px 0 0;
}
.skin-fandommobile .notaninfobox .article-media-thumbnail,
.skin-fandommobile .quote .article-media-thumbnail,
.skin-fandommobile .notaninfobox .article-media-thumbnail .article-media-placeholder,
.skin-fandommobile .quote .article-media-thumbnail .article-media-placeholder {
border: none;
}
.article-media-thumbnail figcaption {
color: initial;
}
.skin-fandommobile .article-table-wrapper table {
background-color: transparent !important;
}
.skin-fandommobile .thumb .article-table-wrapper {
margin-bottom: 0;
}
.skin-fandommobile table.schematic td,
.skin-fandommobile span.schematic {
background-color: #FFF;
border: 1px solid #CCC;
padding: 0;
width: 32px;
height: 32px;
overflow: hidden;
}
.skin-fandommobile table.schematic {
border-collapse: collapse;
font-size: 32px;
}
.skin-fandommobile .schematic .text {
font-size: 24px;
}
.skin-fandommobile .schematic-sprite {
background-size: 1024px auto;
width: 32px;
height: 32px;
}
.skin-fandommobile .embedvideo {
max-width: 100%;
margin: 0 auto 1.125rem;
}
/* Fix font-weight in Han characters */
.page-content .mw-parser-output a {
font-weight: inherit;
}
.page-content h1,
.page-content h2,
.page-content h3 {
font-weight: bold;
}