མི་ཌི་ཡ་ཝི་ཀི།:Common.css ཐོན་རིམ་རེ་རེའི་ཁྱད་པར།

སྒྲིག་ཆུང་།No edit summary
No edit summary
 
(བར་མའི་བསྐྱར་བཅོས་ 3 དང་། སྤྱོད་མཁན་ 2 གྱིས་བྱས་པ་རྣམས་བསྟན་མེད།)
ཐིག་ཕྲེང་1: ཐིག་ཕྲེང་1:
/* འདི་རུ་བཞག་པའི་CSSདེ་པགས་པ་ཡོད་ཚད་ལ་སྤྱོད་རྒྱུ་རེད། */
/* འདི་རུ་བཞག་པའི་CSSདེ་པགས་པ་ཡོད་ཚད་ལ་སྤྱོད་རྒྱུ་རེད། */
/**
/**
  * See [[MediaWiki:Vector.css]] for desktop theme related styles.
  * See [[MediaWiki:Vector.css]] for desktop theme related styles.
ཐིག་ཕྲེང་10: ཐིག་ཕྲེང་9:


/* Minecraft font
/* Minecraft font
  * [[File:Minecraft.woff2]] [[File:Minecraft.woff]]
  * [[File:Minecraft.woff2]] [[File:Minecraft.woff]] [[File:Unifont.woff2]]
  */
  */
@font-face {
@font-face {
font-family: Minecraft;
font-family: Minecraft;
src: url('https://minecraft.wiki/images/Minecraft.woff2?edfbc&format=original') format('woff2'),
src: url('https://zh.minecraft.wiki/images/Minecraft.woff2') format('woff2'),
    url('https://minecraft.wiki/images/Minecraft.woff?ade8a&format=original') format('woff');
    url('https://zh.minecraft.wiki/images/Minecraft.woff') format('woff');
}
}
 
@font-face {
body {
    font-family: Unifont;
font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif;
    src: url('https://zh.minecraft.wiki/images/Unifont.woff2') format('woff2');
}
}


ཐིག་ཕྲེང་129: ཐིག་ཕྲེང་128:
--background-color-content-added: #a3d3ff;
--background-color-content-added: #a3d3ff;
--background-color-content-removed: #ffe49c;
--background-color-content-removed: #ffe49c;
--background-color-content-moved: #d29cff;
--background-color-transparent: transparent;
--background-color-transparent: transparent;
--background-color-backdrop-light: rgba( 255, 255, 255, 0.65 ); /* Backdrop is the term used by CSS Fullscreen API and is used to dim the background when a modal Dialog is open. Also known as overlay mask. */
--background-color-backdrop-light: rgba( 255, 255, 255, 0.65 ); /* Backdrop is the term used by CSS Fullscreen API and is used to dim the background when a modal Dialog is open. Also known as overlay mask. */
ཐིག་ཕྲེང་274: ཐིག་ཕྲེང་272:
--background-color-content-added: #233566;
--background-color-content-added: #233566;
--background-color-content-removed: #453217;
--background-color-content-removed: #453217;
--background-color-content-moved: #432366;
--background-color-backdrop-light: rgba( 0, 0, 0, 0.65 ); /* Backdrop is the term used by CSS Fullscreen API and is used to dim the background when a modal Dialog is open. Also known as overlay mask. */
--background-color-backdrop-light: rgba( 0, 0, 0, 0.65 ); /* Backdrop is the term used by CSS Fullscreen API and is used to dim the background when a modal Dialog is open. Also known as overlay mask. */
--background-color-backdrop-dark: rgba( 255, 255, 255, 0.65 );
--background-color-backdrop-dark: rgba( 255, 255, 255, 0.65 );
ཐིག་ཕྲེང་300: ཐིག་ཕྲེང་297:


body.wgl-theme-dark .skin-invert-image img,
body.wgl-theme-dark .skin-invert-image img,
body.wgl-theme-dark .skin-invert,
body.wgl-theme-dark .skin-invert:not(.mw-echo-notificationsWrapper),
body.wgl-theme-dark .oo-ui-iconElement-icon:not(.oo-ui-image-progressive):not(.oo-ui-image-destructive):not(.oo-ui-checkboxInputWidget-checkIcon):not(.oo-ui-image-invert):not(.mw-no-invert),
body.wgl-theme-dark .oo-ui-iconElement-icon:not(.oo-ui-image-progressive):not(.oo-ui-image-destructive):not(.oo-ui-checkboxInputWidget-checkIcon):not(.oo-ui-image-invert):not(.mw-no-invert),
body.wgl-theme-dark .oo-ui-indicatorElement-indicator {
body.wgl-theme-dark .oo-ui-indicatorElement-indicator {
ཐིག་ཕྲེང་307: ཐིག་ཕྲེང་304:
}
}


/** Color variables for tweaking by different themes **/
/* Defaults assume a namespace without a custom theme, and light theme. */
:root {
:root {
--navbox-background-color: #FFF;
--link-color: #0645ad;
--navbox-border-color: #CCC;
--link-color-active: #faa700;
--navbox-header-color: #CCC;
--custom-background-blue: #ccf;
--navbox-secondary-header-color: #DDD;
--custom-background-cyan: #cef;
--navbox-tertiary-header-color: #EEE;
--custom-background-green: #cfc;
--navbox-section-color: #EEE;
--custom-background-gray: #d2d2d2;
 
--custom-background-grey: var(--custom-background-gray);
--list-bullet: url('filepath://List_bullet.svg');
--custom-background-magenta: #fdf;
--custom-background-orange: #fdb;
--custom-background-purple: #ecf;
--custom-background-red: #fcc;
--custom-background-yellow: #ffc;
--custom-border-blue: #36e;
--custom-border-cyan: #9df;
--custom-border-green: #5d5;
--custom-border-gray: #bbb;
--custom-border-grey: var(--custom-border-gray);
--custom-border-magenta: #f9f;
--custom-border-orange: #f90;
--custom-border-purple: #96c;
--custom-border-red: #e44;
--custom-border-yellow: #fc3;
--custom-closed-topic-neutral: #eef;
--custom-closed-topic-no: #fee;
--custom-closed-topic-yes: #efe;
--custom-code-background: #f8f9fa;
--custom-load-page-button-color: #fff8;
--custom-main-page-background: #fcfcfc;
--custom-main-page-border: var(--custom-border-gray);
--custom-main-page-edition-subheader: #333;
--custom-mcwiki-header-color: #bcd4f5;
--custom-navbox-background: #fff;
--custom-navbox-top: #ccc;
--custom-navbox-middle: #ddd;
--custom-navbox-thru: #eee;
--custom-nbt-inherit-color: #e6e6fa;
--custom-table-background: #f8f9fa;
--custom-table-alternate-background: #f0f1f2;
--custom-table-choice-always: #003600;
--custom-table-choice-always-background: #80d080;
--custom-table-choice-default: #fff;
--custom-table-choice-in-off-background: #060;
--custom-table-choice-in-on-background: #0c0;
--custom-table-choice-na: #000;
--custom-table-choice-na-background: #fff;
--custom-table-choice-neutral: #634800;
--custom-table-choice-neutral-background: #ffeb9c;
--custom-table-choice-never: #3c0404;
--custom-table-choice-never-background: #ff8080;
--custom-table-choice-no: #840606;
--custom-table-choice-no-background: #ffc7ce;
--custom-table-choice-out-off-background: #900;
--custom-table-choice-out-on-background: #f00;
--custom-table-choice-partial: #665400;
--custom-table-choice-partial-background: #ffd;
--custom-table-choice-planned: #0131b7;
--custom-table-choice-planned-background: #dfdfff;
--custom-table-choice-rarely: #533400;
--custom-table-choice-rarely-background: #fdce5e;
--custom-table-choice-unknown: #222;
--custom-table-choice-unknown-background: #ccc;
--custom-table-choice-yes: #005600;
--custom-table-choice-yes-background: #c6efce;
--custom-table-header-background: #eaecf0;
--custom-topic-30-days: #bbb;
--custom-topic-7-days: #ddd;
}
}


body.wgl-theme-dark {
body.wgl-theme-dark {
--navbox-background-color: #333;
--link-color: #90c0fe;
--navbox-border-color: #444;
--link-color-active: #faa700;
--navbox-header-color: #111;
--custom-background-blue: hsl(240, 25%, 12%);
--navbox-secondary-header-color: #181818;
--custom-background-cyan: hsl(190, 25%, 12%);
--navbox-tertiary-header-color: #222;
--custom-background-green: hsl(120, 25%, 12%);
--navbox-section-color: #222;
--custom-background-gray: hsl(0, 0%, 12%);
 
--custom-background-grey: var(--custom-background-gray);
--list-bullet: url('filepath://List_bullet_dark.svg');
--custom-background-magenta: hsl(310, 25%, 12%);
--custom-background-orange: hsl(40, 25%, 12%);
--custom-background-purple: hsl(260, 25%, 12%);
--custom-background-red: hsl(0, 25%, 12%);
--custom-background-yellow: hsl(60, 25%, 12%);
--custom-border-blue: hsl(240, 15%, 36%);
--custom-border-cyan: hsl(190, 15%, 36%);
--custom-border-green: hsl(120, 15%, 36%);
--custom-border-gray: hsl(0, 0%, 36%);
--custom-border-grey: var(--custom-border-gray);
--custom-border-magenta: hsl(310, 15%, 36%);
--custom-border-orange: hsl(40, 15%, 36%);
--custom-border-purple: hsl(260, 15%, 36%);
--custom-border-red: hsl(0, 15%, 36%);
--custom-border-yellow: hsl(60, 15%, 36%);
--custom-closed-topic-neutral: #2a2a33;
--custom-closed-topic-no: #332a2a;
--custom-closed-topic-yes: #2a332a;
--custom-code-background: #131313;
--custom-load-page-button-color: #fff2;
--custom-main-page-background: #202125;
--custom-main-page-border: #2e2e2e;
--custom-main-page-edition-subheader: #ddd;
--custom-mcwiki-header-color: #2e4159;
--custom-navbox-background: #131313;
--custom-navbox-top: #363636;
--custom-navbox-middle: #2d2d2d;
--custom-navbox-thru: #202020;
--custom-nbt-inherit-color: #404050;
--custom-table-background: #131313;
--custom-table-alternate-background: #202020;
--custom-table-choice-always: #a0e37b;
--custom-table-choice-always-background: #1c410c;
--custom-table-choice-default: #ddd;
--custom-table-choice-in-off-background: #030;
--custom-table-choice-in-on-background: #060;
--custom-table-choice-na: #fff;
--custom-table-choice-na-background: #000;
--custom-table-choice-neutral: #e2c789;
--custom-table-choice-neutral-background: #4c3416;
--custom-table-choice-never: #ffb29d;
--custom-table-choice-never-background: #601a15;
--custom-table-choice-no: #f2acae;
--custom-table-choice-no-background: #432a2e;
--custom-table-choice-out-off-background: #400;
--custom-table-choice-out-on-background: #700;
--custom-table-choice-partial: #cebe95;
--custom-table-choice-partial-background: #362d21;
--custom-table-choice-planned: #b9c1db;
--custom-table-choice-planned-background: #2a2a4b;
--custom-table-choice-rarely: #ede0b8;
--custom-table-choice-rarely-background: #693a0c;
--custom-table-choice-unknown: #ddd;
--custom-table-choice-unknown-background: #444;
--custom-table-choice-yes: #adf2ad;
--custom-table-choice-yes-background: #384c3c;
--custom-table-header-background: #363636;
--custom-topic-30-days: #303030;
--custom-topic-7-days: #242424;
}
}


/* Page display title */
/** Site stylings **/
.mw-page-title-separator::after {
/* Set text spaces */
content: ' ';
body {
}
text-autospace: normal;
 
text-spacing-trim: normal;
.ns-10000 .mw-page-title-namespace,
.ns-10002 .mw-page-title-namespace,
.ns-10004 .mw-page-title-namespace,
.ns-10006 .mw-page-title-namespace,
.ns-10012 .mw-page-title-namespace,
.ns-10014 .mw-page-title-namespace {
font-style: italic;
margin-right: 1px;
}
}


/** Main page stylings **/
/** Main page stylings **/
/** Only used for styling of elements, main page layout is defined at [[Minecraft_Wiki/styles.css]] **/
@supports (flex-wrap: wrap) {  
.fp-section {
.edition-group {
background-color: var(--background-color-neutral-subtle);
display: flex;
    border: 1px solid var(--border-color-base);
flex-wrap: wrap;
vertical-align: top;
margin: 1px;
}
 
.fp-banner-image {
margin: 0 auto;
}
 
.fp-banner-content {
display: flex;
gap: 10px;
margin: 10px 0;
flex-wrap: wrap;
    align-items: center;
}
 
@media screen and (min-width: 480px) {
.fp-banner-content {
flex-wrap: nowrap;
}
}
 
.edition-group .edition-box {
.fp-banner-image {
flex: 17.4em;
margin: 0;
}
}
}
}


#fp-header-file {
/** Template stylings **/
margin: auto;
/* Template:Comment* */
}
.comment-icon img {
@media screen and (min-width:990px) {
vertical-align: text-bottom;
#fp-header-file {
margin: auto 0;
}
}
}


#fp-header-links {
/* [[Template:Columns-list]] */
margin: auto 0;
.div-col.columns {
margin-top: 0.3em;
}
}


#fp-header-links ul {
.div-col.columns ul,
-ms-columns: 160px;
.div-col.columns ol {
-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;
margin-top: 0;
}
}


 
/* [[Template:SimpleNavbox]] */
/** Main page stylings **/
.mcw-mainpage-icons {
padding: 10px;
display: flex;
flex-wrap: wrap;
row-gap: 20px;
justify-content: center;
}
 
@media screen and (min-width:1400px) and (max-width:2400px) {
#fp-2 .mcw-mainpage-icons {
max-width: 750px;
margin: auto;
}
}
 
.mcw-mainpage-icon {
flex: 0 0 auto;
width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
 
.mcw-mainpage-icon-img {
height: 60px;
width: 60px;
/* Make sure icon is correctly centered */
display: flex;
align-items: center;
justify-content: center;
}
 
.mcw-mainpage-icon a {
    word-wrap: normal;
}
 
.mcw-mainpage-platforms {
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: center;
margin-top: 5px;
}
 
.mcw-mainpage-platform {
display: flex;
gap: 5px;
flex-direction: column;
padding: 5px;
}
 
@media screen and (max-width:989px) {
.mcw-mainpage-platform {
    flex: 1 1 200px;
}
 
.mcw-mainpage-platform {
    flex-direction: row;
    flex-wrap: wrap;
}
}
 
/** Diff stylings **/
.mw-diff-inline-moved {
background-color: var(--background-color-content-moved);
}
 
.mw-diff-inline-moved-upwards.mw-diff-inline-moved-source,
.mw-diff-inline-moved-downwards.mw-diff-inline-moved-source {
position: relative;
}
.mw-diff-inline-moved-upwards.mw-diff-inline-moved-source {
margin-top: 5px;
}
.mw-diff-inline-moved-downwards.mw-diff-inline-moved-source {
margin-bottom: 5px;
}
 
.mw-diff-inline-moved-upwards.mw-diff-inline-moved-source::after,
.mw-diff-inline-moved-downwards.mw-diff-inline-moved-source::after {
content: "";
position: absolute;
left: 0;
right: 0;
height: 10px;
}
.mw-diff-inline-moved-upwards.mw-diff-inline-moved-source::after {
top: -10px;
background: linear-gradient(-135deg, transparent 75%, var(--background-color-content-moved) 75%) 0 0,
            linear-gradient(135deg, transparent 75%, var(--background-color-content-moved) 75%) 0 0;
background-size: 10px 10px;
}
.mw-diff-inline-moved-downwards.mw-diff-inline-moved-source::after {
bottom: -10px;
background: linear-gradient(-45deg, transparent 75%, var(--background-color-content-moved) 75%) 0 0,
            linear-gradient(45deg, transparent 75%, var(--background-color-content-moved) 75%) 0 0;
background-size: 10px 10px;
}
 
/** Template stylings **/
/* [[Template:Navbox]] */
.navbox {
.navbox {
background: var(--navbox-background-color);
background: var(--custom-navbox-background);
border: 1px solid var(--navbox-border-color);
border: 1px solid var(--custom-border-gray);
margin: 1em auto 0;
margin: 1em auto 0;
width: 100%;
width: 100%;
ཐིག་ཕྲེང་513: ཐིག་ཕྲེང་486:


.navbox table {
.navbox table {
background: var(--navbox-background-color);
background: var(--custom-navbox-background);
}
 
.navbox table,
.navbox .table-wide {
margin-left: -4px;
margin-left: -4px;
margin-right: -2px;
margin-right: -2px;
}
}


.navbox table:first-child {
.navbox table:first-child,
.navbox .table-wide:first-child {
margin-top: -2px;
margin-top: -2px;
}
}


.navbox table:last-child {
.navbox table:last-child,
.navbox .table-wide:last-child {
margin-bottom: -2px;
margin-bottom: -2px;
}
.navbox .table-wide {
clear: none;
}
}


.navbox .navbox-top {
.navbox .navbox-top {
white-space: nowrap;
white-space: nowrap;
background-color: var(--navbox-header-color);
background-color: var(--custom-navbox-top);
padding: 0 3px;
padding: 0 3px;
text-align: center;
text-align: center;
}
}


.navbox tr:not(:first-child) .navbox-top,
.navbox .navbox-middle {
.navbox .navbox .navbox-top {
white-space: nowrap;
background-color: var(--navbox-secondary-header-color);
background-color: var(--custom-navbox-middle);
padding: 0 3px;
text-align: center;
}
}


.navbox .navbox tr:not(:first-child) .navbox-top {
.navbox .navbox-thru {
background-color: var(--navbox-tertiary-header-color);
white-space: nowrap;
background-color: var(--custom-navbox-thru);
padding: 0 3px;
text-align: center;
}
}


ཐིག་ཕྲེང་555: ཐིག་ཕྲེང་543:


.navbox th {
.navbox th {
background-color: var(--navbox-section-color);
background-color: var(--custom-navbox-thru);
padding: 0 10px;
padding: 0 10px;
white-space: nowrap;
white-space: nowrap;
ཐིག་ཕྲེང་566: ཐིག་ཕྲེང་554:
}
}


/* Clear before navboxes and their section */
.navbox .table-wide::before {
.mw-heading2:has(#Navigation):has(+ table.navbox) {
width: 0;
    clear: both;
height: 0;
box-shadow: none;
}
}


/* [[Template:LoadBox]]*/
.navbox .table-wide-inner,
.load-page {
.navbox .table-wide table {
background-color: rgba(255, 255, 255, .5);
margin: 0;
border: 1px solid #CCC;
margin-bottom: 0.5em;
padding: 0 0.5em;
}
}
body.wgl-theme-dark .load-page {
 
background-color: #222;
/* Clear before navboxes and their section */
border-color: #111;
.mw-heading2:has(#导航, #導覽):has(+ table.navbox) {
clear: both;
}
}
body.wgl-theme-dark .load-page .mw-spinner {
 
filter: invert(1);
/* [[Template:LoadBox]] with navbox */
.loadbox-navbox {
padding: 2px !important;
margin: 1em 0 0 !important;
clear: both;
}
}
 
#content .loadbox-navbox > p {
/* Hatnotes and disambiguation notices */
background-color: var(--custom-navbox-top);
.hatnote {
text-align: center;
font-style: italic;
margin: 0;
padding: 0 3px;
}
}
 
.loadbox-navbox > p > b {
.hatnote i {
font-size: 110%;
font-style: normal;
}
}


div.hatnote {
.loadbox-navbox .navbox {
padding-left: 1.6em;
margin: 0 -2px -2px;
margin-bottom: 0.5em;
border: 0;
}
}
 
.loadbox-navbox > .load-page-content > .mw-parser-output > .navbox > tbody > tr:first-child {
div.hatnote + div.hatnote {
display: none;
margin-top: -0.5em;
}
}


ཐིག་ཕྲེང་615: ཐིག་ཕྲེང་605:
}
}
}
}
@keyframes layered-blueprint-fade-in {
@keyframes layered-blueprint-fade-in {
0% {
0% {
ཐིག་ཕྲེང་626: ཐིག་ཕྲེང་615:
}
}
}
}
.layered-blueprint-layer {
.layered-blueprint-layer {
-webkit-animation: layered-blueprint-fade-in 200ms;
-webkit-animation: layered-blueprint-fade-in 200ms;
ཐིག་ཕྲེང་642: ཐིག་ཕྲེང་630:
}
}
}
}
@keyframes layered-blueprint-fade-out {
@keyframes layered-blueprint-fade-out {
0% {
0% {
ཐིག་ཕྲེང་653: ཐིག་ཕྲེང་640:
}
}
}
}
.layered-blueprint-radio:checked + .layered-blueprint-tab + .layered-blueprint-layer ~ .layered-blueprint-layer {
.layered-blueprint-radio:checked + .layered-blueprint-tab + .layered-blueprint-layer ~ .layered-blueprint-layer {
-webkit-animation: layered-blueprint-fade-out 200ms;
-webkit-animation: layered-blueprint-fade-out 200ms;
ཐིག་ཕྲེང་659: ཐིག་ཕྲེང་645:
}
}


/* [[Template:YouTube]] */
.wikiEditor-ui-text {
.youtube-video {
background-color: var(--background-color-base);
display: block;
}
 
.wikiEditor-ui-text textarea {
background-color: transparent;
}
 
/* [[Template:Sprite]] */
.sprite {
display: inline-block;
vertical-align: text-top;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
.sprite-file {
--vertical-align: text-top;
display: inline-block;
height: 16px;
width: 16px;
}
.sprite-file img {
vertical-align: var(--vertical-align);
}
.sprite-file + a > .sprite-text,
.sprite-file + .sprite-text,
.sprite + .sprite-text {
padding-left: 0.312em;
}
.sprite-file:has(a:hover:not(.new)) + a:has(> .sprite-text),
.sprite-file:has(a:focus:not(.new)) + a:has(> .sprite-text) {
text-decoration: underline;
}
.wgl-lightmode .sprite-file:has(a:active:not(.new)) + a:has(> .sprite-text) {
    color: #faa700;
}
/* [[File:Grid Unknown.png]] */
.sprite-file a.new:first-child {
vertical-align: var(--vertical-align);
background-image: url('https://zh.minecraft.wiki/images/Grid_Unknown.png');
    background-size: 100% 100%;
display: inline-block;
text-indent: -9999px;
overflow: hidden;
height: 100%;
width: 100%;
    image-rendering: optimizeSpeed;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}
 
/* [[Template:AprilFoolsSprite]]: [[File:AprilFoolsSprite.png]] */
.af-sprite {
background-image: url('https://zh.minecraft.wiki/images/AprilFoolsSprite.png');
}
 
/* [[Template:BlockLegacySprite]]: [[File:BlockLegacyCSS.png]] */
.blocklegacy-sprite {
background-image: url('https://zh.minecraft.wiki/images/BlockLegacyCSS.png');
}
 
/* [[Template:Schematic]]: [[File:SchematicSprite.png]] */
.schematic-sprite {
background-image: url('https://zh.minecraft.wiki/images/SchematicSprite.png');
background-size: 32em auto;
width: 1em;
height: 1em;
}
 
/* [[Template:TintSprite]]: [[File:TintSprite.png]] */
.tint-sprite {
background-image: url('https://zh.minecraft.wiki/images/TintSprite.png');
}
.tint-sprite-mask {
-webkit-mask-image: url('https://zh.minecraft.wiki/images/TintSprite.png');
mask-image: url('https://zh.minecraft.wiki/images/TintSprite.png');
}
}


ཐིག་ཕྲེང་669: ཐིག་ཕྲེང་734:
overflow: hidden;
overflow: hidden;
}
}
.client-js .mw-editform > #wpTextbox1 {
.client-js .mw-editform > #wpTextbox1 {
     margin-top: 73px;
     margin-top: 73px;
}
}
 
.mw-editform .wikiEditor-ui-top {
/*.wikiEditor-ui-toolbar .tabs span.tab a:before {*/
min-height: 72px;
/* filter: invert(1);*/
/*}*/
 
.wikiEditor-ui-text {
background-color: var(--background-color-base);
}
 
.wikiEditor-ui-text textarea {
background-color: transparent;
}
}


/* Alternating cell background */
/* Alternating cell background */
.alternatecells:nth-child(odd) {
.alternatecells:nth-child(odd) {
background-color: var(--background-color-neutral);
background-color: var(--custom-table-alternate-background);
}
}
body.wgl-theme-dark .alternatecells:nth-child(odd) {
body.wgl-theme-dark .alternatecells:nth-child(odd) {
ཐིག་ཕྲེང་697: ཐིག་ཕྲེང་752:
.alternaterows tr:nth-child(even),
.alternaterows tr:nth-child(even),
.infobox-rows tr:nth-child(odd) {
.infobox-rows tr:nth-child(odd) {
background-color: var(--background-color-neutral);
background-color: var(--custom-table-alternate-background);
}
}


ཐིག་ཕྲེང་707: ཐིག་ཕྲེང་762:
max-width: 100%;
max-width: 100%;
height: auto;
height: auto;
}
/* Fix bad codex default styles */
.cdx-message__content {
hyphens: manual !important;
}
}


ཐིག་ཕྲེང་724: ཐིག་ཕྲེང་774:
}
}


/* Adjust styles for small screens */
/* Turn a list into a tree view style (See [[.minecraft]]) */
@media (max-width: 500px) {
.treeview {
#content div.thumb {
margin-top: 0.3em;
float: none;
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,
.treeview .treeview-condition:not(:last-child)::before {
content: none;
}
.treeview .treeview-header:last-child::before {
border-bottom: 0;
}
.treeview .treeview-condition {
font-weight: bold;
}
 
.treeview ul,
.treeview li {
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none;
}
 
.treeview-identblock {
position: relative;
padding-left: 13px;
margin-left: 7px;
}
.treeview li li,
.treeview-block {
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;
}
 
.treeview dl,
.treeview dt {
margin-bottom: 0;
}
 
.nbttree-inherited {
background-color: var(--custom-nbt-inherit-color);
}
}


/* Simulate link styling for JS only links */
/* Simulate link styling for JS only links */
.jslink {
.jslink {
color: #0645AD;
color: var(--link-color);
-webkit-user-select: none;
/*-webkit-user-select: none;
-moz-user-select: none;
  -moz-user-select: none;
-ms-user-select: none;
    -ms-user-select: none;
user-select: none;
        user-select: none;*/
}
}
.jslink:hover {
.jslink:hover {
text-decoration: underline;
text-decoration: underline;
cursor: pointer;
cursor: pointer;
}
}
.jslink:active {
.jslink:active {
color: #FAA700;
color: var(--link-color-active);
}
}


ཐིག་ཕྲེང་756: ཐིག་ཕྲེང་869:
.pixel-image,
.pixel-image,
.invslot-item-image,
.invslot-item-image,
.msgbox img,
.spriteedit-new-image,
.sprite {
.sprite {
image-rendering: optimizeSpeed;
image-rendering: optimizeSpeed;
ཐིག་ཕྲེང་767: ཐིག་ཕྲེང་882:
}
}


/* Make external links the same colour as internal links, the icon is enough to differentiate them */
/* Mark internal links as plain */
.mw-body a.external {
#mw-content-text a.external[href^="https://zh.minecraft.wiki/w/"],
color: #0645ad;
#mw-content-text a.external[href^="//zh.minecraft.wiki/w/"] {
}
background: none;
 
padding-right: 0;
.mw-body a.external:visited {
color: #0b0080;
}
 
.mw-body a.external:active {
color: #faa700;
}
 
/* Download icon
* [[File:Download-minimalistic-icon.svg]] [[File:Dark-download-minimalistic-icon.svg]]
*/
.mw-body a:is(.external, .extiw):is([href$=".jar"], [href$=".exe"]) {
background-image: url(filepath://Download-minimalistic-icon.svg);
background-position: center right;
    background-repeat: no-repeat;
    background-size: 0.857em;
    padding-right: 1em;
}
 
body.wgl-theme-dark .mw-body a:is(.external, .extiw):is([href$=".jar"], [href$=".exe"]) {
background-image: url(filepath://Dark-download-minimalistic-icon.svg);
}
}


ཐིག་ཕྲེང་798: ཐིག་ཕྲེང་892:
body {
body {
-moz-tab-size: 4;
-moz-tab-size: 4;
-o-tab-size: 4;
  -o-tab-size: 4;
tab-size: 4;
    tab-size: 4;
}
}


ཐིག་ཕྲེང་805: ཐིག་ཕྲེང་899:
.format-0 {
.format-0 {
color: #000;
color: #000;
text-shadow: 0.125em 0.125em 0 #000;
--mcfont-shadow-color: #000;
}
}
.format-1 {
.format-1 {
color: #0000A8;
color: #0000A8;
text-shadow: 0.125em 0.125em 0 #00002A;
--mcfont-shadow-color: #00002A;
}
}
.format-2 {
.format-2 {
color: #00A800;
color: #00A800;
text-shadow: 0.125em 0.125em 0 #002A00;
--mcfont-shadow-color: #002A00;
}
}
.format-3 {
.format-3 {
color: #00A8A8;
color: #00A8A8;
text-shadow: 0.125em 0.125em 0 #002A2A;
--mcfont-shadow-color: #002A2A;
}
}
.format-4 {
.format-4 {
color: #A80000;
color: #A80000;
text-shadow: 0.125em 0.125em 0 #2A0000;
--mcfont-shadow-color: #2A0000;
}
}
.format-5 {
.format-5 {
color: #A800A8;
color: #A800A8;
text-shadow: 0.125em 0.125em 0 #2A002A;
--mcfont-shadow-color: #2A002A;
}
}
.format-6 {
.format-6 {
color: #FBA800;
color: #FBA800;
text-shadow: 0.125em 0.125em 0 #3E2A00;
--mcfont-shadow-color: #3E2A00;
}
}
.format-7 {
.format-7 {
color: #A8A8A8;
color: #A8A8A8;
text-shadow: 0.125em 0.125em 0 #2A2A2A;
--mcfont-shadow-color: #2A2A2A;
}
}
.format-8 {
.format-8 {
color: #545454;
color: #545454;
text-shadow: 0.125em 0.125em 0 #151515;
--mcfont-shadow-color: #151515;
}
}
.format-9 {
.format-9 {
color: #5454FB;
color: #5454FB;
text-shadow: 0.125em 0.125em 0 #15153E;
--mcfont-shadow-color: #15153E;
}
}
.format-a {
.format-a {
color: #54FB54;
color: #54FB54;
text-shadow: 0.125em 0.125em 0 #153E15;
--mcfont-shadow-color: #153E15;
}
}
.format-b {
.format-b {
color: #54FBFB;
color: #54FBFB;
text-shadow: 0.125em 0.125em 0 #153E3E;
--mcfont-shadow-color: #153E3E;
}
}
.format-c {
.format-c {
color: #FB5454;
color: #FB5454;
text-shadow: 0.125em 0.125em 0 #3E1515;
--mcfont-shadow-color: #3E1515;
}
}
.format-d {
.format-d {
color: #FB54FB;
color: #FB54FB;
text-shadow: 0.125em 0.125em 0 #3E153E;
--mcfont-shadow-color: #3E153E;
}
}
.format-e {
.format-e {
color: #FBFB54;
color: #FBFB54;
text-shadow: 0.125em 0.125em 0 #3E3E15;
--mcfont-shadow-color: #3E3E15;
}
}
.format-f,
.format-f,
#minetip-tooltip {
#minetip-tooltip {
color: #FBFBFB;
color: #FBFBFB;
text-shadow: 0.125em 0.125em 0 #3E3E3E;
--mcfont-shadow-color: #3E3E3E;
}
}
.format-g {
.format-g {
color: #DDD605;
color: #DDD605;
text-shadow: 0.125em 0.125em 0 #373501;
--mcfont-shadow-color: #373501;
}
}
.format-h {
.format-h {
color: #E3D4D1;
color: #E3D4D1;
text-shadow: 0.125em 0.125em 0 #383534;
--mcfont-shadow-color: #383534;
}
}
.format-i {
.format-i {
color: #CECACA;
color: #CECACA;
text-shadow: 0.125em 0.125em 0 #333232;
--mcfont-shadow-color: #333232;
}
}
.format-j {
.format-j {
color: #443A3B;
color: #443A3B;
text-shadow: 0.125em 0.125em 0 #110E0E;
--mcfont-shadow-color: #110E0E;
}
}
.format-l {
.format-l {
ཐིག་ཕྲེང་899: ཐིག་ཕྲེང་993:
.format-p {
.format-p {
color: #DEB12D;
color: #DEB12D;
text-shadow: 0.125em 0.125em 0 #372C0B;
--mcfont-shadow-color: #372C0B;
}
}
.format-q {
.format-q {
color: #47A036;
color: #47A036;
text-shadow: 0.125em 0.125em 0 #04280D;
--mcfont-shadow-color: #04280D;
}
}
.format-s {
.format-s {
color: #2CBAA8;
color: #2CBAA8;
text-shadow: 0.125em 0.125em 0 #0B2E2A;
--mcfont-shadow-color: #0B2E2A;
}
}
.format-t {
.format-t {
color: #21497B;
color: #21497B;
text-shadow: 0.125em 0.125em 0 #08121E;
--mcfont-shadow-color: #08121E;
}
}
.format-u {
.format-u {
color: #9A5CC6;
color: #9A5CC6;
text-shadow: 0.125em 0.125em 0 #261731;
--mcfont-shadow-color: #261731;
}
}
.format-v {
.format-v {
color: #EB7114;
color: #EB7114;
text-shadow: 0.125em 0.125em 0 #3B1D05;
--mcfont-shadow-color: #3B1D05;
}
}
/* Custom color codes because §m and §n are used twice. */
/* Custom color codes because §m and §n are used twice. */
.format-y {
.format-y {
color: #971607;
color: #971607;
text-shadow: 0.125em 0.125em 0 #250501;
--mcfont-shadow-color: #250501;
}
}
.format-z {
.format-z {
color: #B4684D;
color: #B4684D;
text-shadow: 0.125em 0.125em 0 #2D1A13;
--mcfont-shadow-color: #2D1A13;
}
}
/* Class for &#123456 and &$123 adding custom hex colors. */
/* Class for &#123456 and &$123 adding custom hex colors. */
.format-custom {
.format-custom {
text-shadow: 0.125em 0.125em 0 color-mix(in srgb, currentColor 25%, #000 75%);
--mcfont-shadow-color: color-mix(in srgb, currentColor 25%, #000 75%);
}
 
.mcfont-shadow,
.mcfont-shadow span {
text-shadow: 0.0625em 0.125em 0 var(--mcfont-shadow-color, transparent);
}
.unifont-shadow {
text-shadow: 0.0625em 0.0625em 0 var(--mcfont-shadow-color, transparent);
}
.mojangles-shadow {
text-shadow: 0.125em 0.125em 0 var(--mcfont-shadow-color, transparent);
}
 
/* Styling for tooltip */
.explain {
border-bottom: 0;
text-decoration: underline dotted;
cursor: help;
}
 
.explain.noline {
text-decoration: none;
}
 
/* Show help cursor when an abbr element has a title attribute */
abbr[title] {
cursor: help;
}
}


/* Styling for minecraft style tooltip */
#minetip-tooltip {
#minetip-tooltip {
position: fixed;
position: fixed;
ཐིག་ཕྲེང་943: ཐིག་ཕྲེང་1,063:
background-color: rgba(16, 0, 16, 0.94);
background-color: rgba(16, 0, 16, 0.94);
padding: 0.375em;
padding: 0.375em;
font-family: Minecraft, sans-serif;
/*font-family: Minecraft, "Arial Black", Unifont, "WenQuanYi Bitmap Song", SimSun, MingLiU, "GB18030 Bitmap", Beijing, sans-serif;*/
font-family: Minecraft, "Arial Black", Unifont, "WenQuanYi Bitmap Song", SimSun, MingLiU, Beijing, sans-serif;
font-size: 16px;
font-size: 16px;
word-spacing: 4px;
word-spacing: 4px;
ཐིག་ཕྲེང་952: ཐིག་ཕྲེང་1,073:
z-index: 9999;
z-index: 9999;
}
}
#minetip-tooltip::before {
#minetip-tooltip::before {
content: "";
content: "";
ཐིག་ཕྲེང་964: ཐིག་ཕྲེང་1,084:
border-color: rgba(16, 0, 16, 0.94);
border-color: rgba(16, 0, 16, 0.94);
}
}
#minetip-tooltip::after {
#minetip-tooltip::after {
content: "";
content: "";
ཐིག་ཕྲེང་983: ཐིག་ཕྲེང་1,102:
}
}


/* For adding alt text to icons for accessibility purposes */
.invslot-stacksize {
.hidden-alt-text {
font-family: Minecraft, "Arial Black", sans-serif !important;
font-size: 0;
}
}


ཐིག་ཕྲེང་993: ཐིག་ཕྲེང་1,111:
}
}


/* Prevent code from overflowing */
/* history table wrapping issue */
code {
td > code {
    overflow-wrap: break-word;
display: inline-block;
line-height: 1.2;
}
}


/* Style code, pre and similar elements/classes with one common styling */
/* Style pre and similar elements/classes with one common styling */
@media screen {
@media screen {
pre, code, .mw-code {
pre, .mw-code {
    background-color: var(--background-color-neutral-subtle);
    background-color: var(--background-color-neutral-subtle);
    color: var(--color-emphasized);
    color: var(--color-emphasized);
ཐིག་ཕྲེང་1,010: ཐིག་ཕྲེང་1,129:
}
}


kbd, .kbd-color {
kbd {
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;
}
kbd {
text-shadow: 0 1px 0 var(--background-color-base);
text-shadow: 0 1px 0 var(--background-color-base);
background-color: var(--background-color-neutral-subtle);
background-color: var(--background-color-neutral-subtle);
ཐིག་ཕྲེང་1,019: ཐིག་ཕྲེང་1,150:
}
}


/* Fixes for small screens */
/* Show abusefilter error footer only once at the end */
@media screen and (max-width: 720px) {
.errorbox li:not(:last-child) .abusefilter-message-footer {
#mw-head {
    display: none;
top: 13px;
}
}
 
/* CUSTOMIZED RULES */


div#mw-navigation div#mw-panel {
#siteNotice #localNotice, #siteNotice .globalNotice {
position: static !important; /* position: relative may be added to inline styles by built-in JS after page load; it needs an !important to override */
background-color: transparent;  
}
border: none;
}
}


@media screen and (max-width: 500px) {
#localNotice .globalNoticeDismiss {
/* TOC fix */
display: none;
#mw-content-text > .mw-parser-output > div[style*="float"] {
float: none !important;
margin: 0 !important;
}
}
}


/* presumable Discord link on comportal */
/* Hide some Chinese variants */
.CPDiscord {
.ca-variants-zh-Hans, .ca-variants-zh-Hant, .ca-variants-zh-Hant-MO,
float: right;
.language-searcher .site-link-list .zh-Hans, .language-searcher .site-link-list .zh-Hant {
margin-left: 1em;
display: none;
clear: right;
}
}


/* Styling for tooltip */
pre, tt, samp, .mw-code {
.explain {
font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace, Courier;
border-bottom: 0;
text-decoration: underline dotted;
cursor: help;
}
}


/* Show help cursor when an abbr element has a title attribute */
code {
abbr[title] {
display: inline-block;
cursor: help;
}
}


/* [[Template:History]] */
.load-page-button {
.historytable-experiment {
    background-color: var(--custom-load-page-button-color);
border-top: 1px solid;
border-color: inherit;
margin-top: 0.5em;
padding: 0 1em;
font-size: smaller;
line-height: 1;
background-color: inherit;
}
}
.historytable-experiment > div {
 
margin: -0.5em auto 0;
@media screen and (max-width: 720px) {
padding: 0 0.5em;
    div#mw-navigation div#mw-panel {
width: min-content;
position: static !important;
background-color: inherit;
}
 
    body.page-Minecraft_Wiki.action-view img.banner-image {
display: none;
}
}
}
.historytable-experiment + span {
 
font-size: small;
div.footer-post {
line-height: 1.3;
    padding-bottom: 0;
}
}


/* Machine-readable extra template information */
/* search on small screens */
.history-json, .chest-json, .chestcontents-json, .sound-json, .spawntable-json, .advancements-json, .achievements-json {
@media screen and (max-width: 720px) {
display: none;
#mw-head {
top: 13px;
}
div#p-search form {
background: none;
border: none;
margin: 0;
}
div#p-search form::before,
div#p-search form::after {
border: none;
}
div#simpleSearch::before {
border-left-color: transparent;
}
div#simpleSearch::after {
border-top-color: transparent;
}
}
}


.mw-references-columns {
/* math symbol fix */
overflow-wrap: break-word;
.mwe-math-fallback-image-inline {
  padding: 0;
  margin: 2px;
  vertical-align: middle !important;
}
}


#mw-imagepage-section-filehistory {
/* RC overflow */
overflow: auto;
.mw-enhanced-rc span.changedby {
line-break: loose;
}
}


/* Enhance contrast for search highlight since we use a blue background */
/* mobile font size */
.mw-prefs-search-highlight {
body {
    background: var(--background-color-notice-subtle) !important; /* default style contains !important */
        text-size-adjust: none;
    outline-color: var(--border-color-interactive) !important
    -ms-text-size-adjust: none;
  -moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
}
}


/* [[Template:Colorlink]] */
/* Hide calculator parameters in nojs environment */
.colored-links a {
.mcw-calc-parameter {
  color: inherit !important;
display: none;
}
}


body.skin-vector.ns-10008 #ca-talk,
/* Enhance contrast for search highlight since we use a blue background */
body.skin-minerva.ns-10008 #p-associated-pages {
body.wgl-theme-light .mw-prefs-search-highlight {
display: none;
    background: #c9dffd !important; /* default style contains !important */
    outline: 3px solid #c9dffd !important;
}
}


/* DiscussionTools dark mode fix */
/* DiscussionTools */
body.wgl-theme-dark .ext-discussiontools-init-highlight {
body.wgl-theme-dark .ext-discussiontools-init-highlight {
     mix-blend-mode: lighten;
     mix-blend-mode: lighten;
ཐིག་ཕྲེང་1,113: ཐིག་ཕྲེང་1,261:


body.wgl-theme-dark .ext-discussiontools-init-publishedcomment {
body.wgl-theme-dark .ext-discussiontools-init-publishedcomment {
    background-color: #6b5f29;
background-color: #6b5f29;
}
}


body.wgl-theme-dark .ext-discussiontools-init-targetcomment {
body.wgl-theme-dark .ext-discussiontools-init-targetcomment {
    background-color: #1b1f29;
background-color: #1b1f29;
}
 
body.wgl-theme-dark .ext-discussiontools-ui-replyWidget-preview {
    background: #222;
}
}


.sr-only:not(:focus):not(:active) {
/* 缩短关闭按钮与公告正文之间的距离 */
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}


/* [[Template:Archive box]] */
#siteNotice .mw-dismissable-notice-body {
.archive-box {
    margin-right: 4em !important;
background: var(--archive-box-background-color, #FFF);
    padding-right: 4em !important;
text-align: left;
border: 1px solid var(--archive-box-border-color, #CCC);
margin-top: 3px;
width: 16em;
font-size: 90%;
padding: 2px;
}
}
 
body.wgl-theme-dark .ext-discussiontools-ui-replyWidget-preview {
/* Center archive box on small screen */
background: #222;
@media (max-width: 500px) {
    .archive-box {
        float: none !important;
        margin-left: auto !important;
        margin-right: auto;
        clear: both;
    }
}
}


ཐིག་ཕྲེང་1,169: ཐིག་ཕྲེང་1,292:
}
}


/* Fix for visual editor adding whitespace around the <onlyinclude> at the top of version pages */
/* sticky cdx-message fixes, use the default spacing value between adjacent instances ( .cdx-message + .cdx-message ) */
.infobox + p > br:first-child, /*desktop*/
.mw-contributions-blocked-notice + .cdx-message.mw-warning-with-logexcerpt, /* Special:Contributions local block cdx-message <-> global block cdx-message */
.mf-section-0 > p:first-child > br:first-child /*mobile*/
.cdx-message.mw-undelete-revision + textarea { /* Special:Undelete cdx-message <-> the readonly textarea */
{
margin-top: 8px;
display: none;
}
 
/* Use black bullet points, instead of blue circles: [[File:List bullet.svg]] */
ul {
list-style-image: var(--list-bullet);
}
 
/* Checkerboard pattern for transparent background of images on file pages */
#bodyContent #file img {
--mcw-file-img-background-dark: #6661;
--mcw-file-img-background-light: #aaa1;
background: repeating-conic-gradient(var(--mcw-file-img-background-dark) 0 25%, var(--mcw-file-img-background-light) 0 50%) 50% / 16px 16px;
}
 
#bodyContent #file img:hover {
--mcw-file-img-background-dark: #6668;
--mcw-file-img-background-light: #aaa8;
}
 
table.mw-datatable.mw-blocklist td.TablePager_col_target,
table.mw-datatable.mw-blocklist td.TablePager_col_by,
table.mw-datatable.mw-blocklist td.TablePager_col_bl_reason {
word-wrap: break-word;
overflow-wrap: break-word;
word-break: break-word;
}
 
/* Extension:Bucket boolean theming, works in light and dark mode */
.bucket__value-boolean.bucket__value-boolean-true {
background-color: var(--background-color-success-subtle);
}
 
.bucket__value-boolean.bucket__value-boolean-false {
    background-color: var(--background-color-error-subtle);
}
}


ཐིག་ཕྲེང་1,217: ཐིག་ཕྲེང་1,305:
#mw-indicator-protection-autoconfirmed .mw-protection-indicator-icon--lock {
#mw-indicator-protection-autoconfirmed .mw-protection-indicator-icon--lock {
     mask: none;
     mask: none;
     background: url("https://minecraft.wiki/images/Semi-protected_page_lock.svg?e2a22");
     background: url("https://zh.minecraft.wiki/images/Semi-protected page lock.svg");
}
}
 
#mw-indicator-protection-sysop-cascade .mw-protection-indicator-icon--lock,
#mw-indicator-protection-sysop-cascade .mw-protection-indicator-icon--lock,
#mw-indicator-protection-sysop .mw-protection-indicator-icon--lock {
#mw-indicator-protection-sysop .mw-protection-indicator-icon--lock {
     mask: none;
     mask: none;
     background: url("https://minecraft.wiki/images/Fully-protected_page_lock.svg?afc7f");
     background: url("https://zh.minecraft.wiki/images/Fully-protected page lock.svg");
}
}


#mw-indicator-protection-directoreditprotected-cascade .mw-protection-indicator-icon--lock,
body:not(.wgl-theme-dark) .dark-only {
#mw-indicator-protection-directoreditprotected .mw-protection-indicator-icon--lock {
display: none;
    mask: none;
    background: url("filepath://Director-protected page lock.svg");
}
}


.mw-changeslist-user-newcomer .mw-thanks-thank-link {
body.wgl-theme-dark .light-only {
    font-weight: bold;
display: none;
}
}