No edit summary
 
Line 1: Line 1:
/* Copied from https://minecraft.wiki/w/Minecraft_Wiki/styles.css for testing */
/* Copied from https://minecraft.wiki/w/MediaWiki:Common.css for testing */


.mp-wrapper {
/* CSS placed here will be applied to all skins */
display: flex;
 
flex-wrap: wrap;
/**
width: 100%;
* See [[MediaWiki:Vector.css]] for desktop theme related styles.
gap: 6px;
* See [[MediaWiki:Vector-theme-dark.css]] for desktop dark theme related styles.
*
* See [[MediaWiki:Minerva.css]] for mobile theme related styles.
* See [[MediaWiki:Minerva-theme-dark.css]] for mobile dark theme related styles.
*/
 
/* Minecraft font
* [[File:Minecraft.woff2]] [[File:Minecraft.woff]]
*/
@font-face {
font-family: Minecraft;
src: url('filepath://Minecraft.woff2') format('woff2'),
    url('filepath://Minecraft.woff') format('woff');
}
}


.mp-wrapper *, .mp-wrapper *::before, .mp-wrapper *::after {
body {
box-sizing: border-box;
font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif;
}
}


.mp-wrapper > .mp-section {
/** Color variables for tweaking by different themes **/
width: 100%;
:root {
--navbox-background-color: #FFF;
--navbox-border-color: #CCC;
--navbox-header-color: #CCC;
--navbox-secondary-header-color: #DDD;
--navbox-tertiary-header-color: #EEE;
--navbox-section-color: #EEE;
}
}


.mp-wrapper h2 {
body.wgl-theme-dark {
font-family: revert;
--navbox-background-color: #333;
font-weight: bold;
--navbox-border-color: #444;
font-size: 1.2em;
--navbox-header-color: #111;
--navbox-secondary-header-color: #181818;
--navbox-tertiary-header-color: #222;
--navbox-section-color: #222;
}
}


.mp-left, .mp-right {
/* Page display title */
display: flex;
.mw-page-title-separator {
flex-direction: column;
margin-right: 0.25em;
gap: 6px;
}
}


.mp-inline-sections {
.ns-10000 .mw-page-title-namespace,
display: grid;
.ns-10002 .mw-page-title-namespace,
grid-template-columns: 1fr;
.ns-10004 .mw-page-title-namespace,
grid-template-areas: "site" "left" "right";
.ns-10006 .mw-page-title-namespace,
gap: 6px;
.ns-10012 .mw-page-title-namespace {
width: 100%;
font-style: italic;
margin-right: 1px;
}
}


#mp-section-site {
/** Main page stylings **/
grid-area: site;
/** Only used for styling of elements, main page layout is defined at [[Minecraft_Wiki/styles.css]] **/
.fp-section {
background-color: #FCFCFC;
border: 1px solid #ccc;
vertical-align: top;
margin: 1px;
}
}
.mp-left {
 
grid-area: left;
.fp-banner-image {
margin: 0 auto;
}
}
.mp-right {
 
grid-area: right;
.fp-banner-content {
}
display: flex;
.mp-sticky {
gap: 10px;
position: sticky;
margin: 10px 0;
top: 20px;
flex-wrap: wrap;
    align-items: center;
}
}


@media screen and (min-width: 990px) {
@media screen and (min-width: 480px) {
.mp-inline-sections {
.fp-banner-content {
grid-template-columns: 2fr 1fr;
flex-wrap: nowrap;
grid-template-rows: auto 1fr;
}
grid-template-areas: "left site" "left right";
.fp-banner-image {
margin: 0;
}
}
}
}


.mp-section-center {
#fp-header-file {
text-align: center;
margin: auto;
}
}
 
@media screen and (min-width:990px) {
.mp-section {
#fp-header-file {
border: 2px solid #bbb;
margin: auto 0;
background-color: #fcfcfcb8;
}
box-shadow: inset -2px -2px #0000000f,
inset 2px 2px #ffffff0d;
padding: 12px;
}
}


body.wgl-theme-dark .mp-section  {
#fp-header-links {
border-color: #202125;
margin: auto 0;
background-color: #4c4e522e;
}
}


.mp-section.mp-section-full {
#fp-header-links ul {
width: 100%;
-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;
}
}


.mp-title {
border: none;
margin: 0;
padding: 0 !important;
}


.mp-wrapper .collapsible-content {
/** Main page stylings **/
display: grid !important;
.mcw-mainpage-icons {
grid-template-rows: 1fr;
padding: 10px;
transition: grid-template-rows 300ms;
display: flex;
flex-wrap: wrap;
row-gap: 20px;
justify-content: center;
}
}


.mp-wrapper .collapsible.collapsed .collapsible-content {
@media screen and (min-width:1400px) and (max-width:2400px) {
grid-template-rows: 0fr;
#fp-2 .mcw-mainpage-icons {
max-width: 750px;
margin: auto;
}
}
}


.mp-wrapper .collapsible-content > * {
.mcw-mainpage-icon {
overflow: hidden;
flex: 0 0 auto;
width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
}


.mp-title .collapsetoggle {
.mcw-mainpage-icon-img {
min-width: revert !important;
height: 60px;
color: transparent;
width: 60px;
user-select: none;
/* Make sure icon is correctly centered */
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
}
}


.mp-title .collapsetoggle .jslink {
.mcw-mainpage-icon a {
position: absolute;
    word-wrap: normal;
left: 0;
right: 0;
top: 0;
bottom: 0;
color: transparent;
}
}


.mp-title .collapsetoggle::after {
.mcw-mainpage-platforms {
clip-path: polygon(0% 0%, 0% 25%, 14.286% 25%, 14.286% 50%, 28.572% 50%, 28.572% 75%, 42.858% 75%, 42.858% 100%, 57.142% 100%, 57.142% 75%, 71.428% 75%, 71.428% 50%, 85.714% 50%, 85.714% 25%, 100% 25%, 100% 0%, 85.714% 0%, 85.714% 25%, 71.428% 25%, 71.428% 50%, 57.142% 50%, 57.142% 75%, 42.858% 75%, 42.858% 50%, 28.572% 50%, 28.572% 25%, 14.286% 25%, 14.286% 0%);
display: flex;
display: block;
gap: 10px;
content: "";
flex-wrap: wrap;
width: 15px;
justify-content: center;
height: 9px;
margin-top: 5px;
background-color: var(--content-text-color);
margin-left: 6px;
transform: rotate(0);
transition: 300ms transform;
pointer-events: none;
}
}


.collapsible:not(.collapsed) .mp-title .collapsetoggle::after {
.mcw-mainpage-platform {
transform: rotate(180deg);
display: flex;
gap: 5px;
flex-direction: column;
padding: 5px;
}
}


body.wgl-theme-light .mp-wrapper,
@media screen and (max-width:989px) {
body.wgl-theme-light .mp-portal-minecraft {
.mcw-mainpage-platform {
--button-color: #ebebeb;
    flex: 1 1 200px;
--button-color-progressive: #3a971e;
}
--button-text-color: var(--content-text-color);
 
--button-border-color: rgba(0,0,0,0.4);
.mcw-mainpage-platform {
    flex-direction: row;
    flex-wrap: wrap;
}
}
}


body.wgl-theme-dark .mp-wrapper,
/** Template stylings **/
body.wgl-theme-dark .mp-portal-minecraft {
/* [[Template:Navbox]] */
--button-color: #48494a;
.navbox {
--button-color-progressive: #137342;
background: var(--navbox-background-color);
--button-text-color: #fff;
border: 1px solid var(--navbox-border-color);
--button-border-color: #242424;
margin: 1em auto 0;
width: 100%;
}
}


body.wgl-theme-light.page-Dungeons_Wiki .mp-wrapper,
.navbox table {
body.wgl-theme-light .mp-portal-dungeons {
background: var(--navbox-background-color);
--button-color-progressive: #ff791a;
margin-left: -4px;
margin-right: -2px;
}
}
body.wgl-theme-dark.page-Dungeons_Wiki .mp-wrapper,
 
body.wgl-theme-dark .mp-portal-dungeons {
.navbox table:first-child {
--button-color-progressive: #894425;
margin-top: -2px;
}
}


body.wgl-theme-light.page-Legends_Wiki .mp-wrapper,
.navbox table:last-child {
body.wgl-theme-light .mp-portal-legends {
margin-bottom: -2px;
--button-color-progressive: #0eb9a9;
}
}
body.wgl-theme-dark.page-Legends_Wiki .mp-wrapper,
 
body.wgl-theme-dark .mp-portal-legends {
.navbox .navbox-top {
--button-color-progressive: #166a64;
white-space: nowrap;
background-color: var(--navbox-header-color);
padding: 0 3px;
text-align: center;
}
}


body.wgl-theme-light.page-Movie_Wiki .mp-wrapper,
.navbox tr:not(:first-child) .navbox-top,
body.wgl-theme-light .mp-portal-movie {
.navbox .navbox .navbox-top {
--button-color-progressive: #805539;
background-color: var(--navbox-secondary-header-color);
}
}
body.wgl-theme-dark.page-Movie_Wiki .mp-wrapper,
 
body.wgl-theme-dark .mp-portal-movie {
.navbox .navbox tr:not(:first-child) .navbox-top {
--button-color-progressive: #5a361e;
background-color: var(--navbox-tertiary-header-color);
}
}


body.wgl-theme-light.page-Earth_Wiki .mp-wrapper,
.navbox-navbar,
body.wgl-theme-light .mp-portal-earth {
.navbox-navbar-mini {
--button-color-progressive: #2eb06d;
float: left;
font-size: 80%;
position: absolute;
}
}
body.wgl-theme-dark.page-Earth_Wiki .mp-wrapper,
 
body.wgl-theme-dark .mp-portal-earth {
.navbox-title {
--button-color-progressive: #15673c;
padding: 0 10px;
font-size: 110%;
}
}


body.wgl-theme-light.page-Story_Mode_Wiki .mp-wrapper,
.navbox th {
body.wgl-theme-light .mp-portal-story-mode {
background-color: var(--navbox-section-color);
--button-color-progressive: #aa8a34;
padding: 0 10px;
}
white-space: nowrap;
body.wgl-theme-dark.page-Story_Mode_Wiki .mp-wrapper,
text-align: right;
body.wgl-theme-dark .mp-portal-story-mode {
--button-color-progressive: #6e5726;
}
}


.mp-button {
.navbox td {
width: 100%;
width: 100%;
gap: 6px;
padding: 0 0 0 2px;
cursor: pointer;
}
position: relative;
text-align: center;


background-color: var(--button-color);
/* Clear before navboxes and their section */
color: var(--button-text-color, #000);
h2:has(#Navigation):has(+ table.navbox) {
border: 2px solid var(--button-border-color);
    clear: both;
}


font-size: 1em;
/* [[Template:LoadBox]]*/
font-weight: bold;
.load-page {
background-color: rgba(255, 255, 255, .5);
transition-property: background-color, color, border-color, box-shadow, opacity, padding, margin;
border: 1px solid #CCC;
transition-duration: .1s;
margin-bottom: 0.5em;
padding: 0 0.5em;
}
body.wgl-theme-dark .load-page {
background-color: #222;
border-color: #111;
}
}
 
body.wgl-theme-dark .load-page .mw-spinner {
.mp-button.mp-button-progressive {
filter: invert(1);
background-color: var(--button-color-progressive);
--button-text-color: #FFF;
--button-text-shadow-color: #00000020;
}
}


body.mediawiki .mp-button > * {
/* Hatnotes and disambiguation notices */
width: calc(100% + 4px);
.hatnote {
height: calc(100% + 4px);
font-style: italic;
margin: -2px;
color: var(--button-text-color, #000) !important;
text-decoration: none;
text-shadow: 2px 2px 0 var(--button-text-shadow-color);
display: flex;
gap: 6px;
padding: 8px 10px 14px !important;
text-align: center;
align-items: center;
justify-content: center;
transition-property: padding, margin;
transition-duration: .1s;
}
}


body.wgl-theme-dark .mp-button > * {
.hatnote i {
--content-text-color: #fff;
font-style: normal;
}
}


.mp-button.mp-button-has-image > *::before {
div.hatnote {
content: '';
padding-left: 1.6em;
display: inline-block;
margin-bottom: 0.5em;
height: 24px;
width: 24px;
border: 2px solid #242424;
background-image: var(--button-image);
background-repeat: repeat-x;
background-size: contain;
image-rendering: pixelated;
}
}


.mp-button.mp-button-image-no-border > *::before {
div.hatnote + div.hatnote {
border: none;
margin-top: -0.5em;
}
}


.mp-button::after {
/* [[Template:Layered blueprint]] */
display: block;
@-webkit-keyframes layered-blueprint-fade-in {
content: '';
0% {
position: absolute;
opacity: 0;
top: 0;
visibility: hidden;
left: 0;
}
width: 100%;
100% {
height: 100%;
opacity: 1;
z-index: 1;
visibility: visible;
box-shadow: 0 -6px 0 0 rgb(104, 104, 104) inset,
}
2px 2px 0 0 rgba(178, 178, 178, 0.5) inset,
-2px -8px 0 0 rgba(153, 153, 153, 0.5) inset;
mix-blend-mode: hard-light;
transition: .1s background-color, box-shadow;
pointer-events: none;
}
}


.mp-button:not(.mp-portal-active):active::after,
@keyframes layered-blueprint-fade-in {
.mp-portal-active::after,
0% {
.mp-icon:active .mp-button::after {
opacity: 0;
box-shadow: 2px 2px 0 0 rgba(178, 178, 178, 0.5) inset,
visibility: hidden;
-2px -2px 0 0 rgba(153, 153, 153, 0.5) inset;
}
background-color: #0000001a;
100% {
opacity: 1;
visibility: visible;
}
}
}


.mp-button:not(.mp-portal-active):hover:not(:active)::after,
.layered-blueprint-layer {
.mp-icon:hover:not(:active) .mp-button::after {
-webkit-animation: layered-blueprint-fade-in 200ms;
background-color: #ffffff1a;
animation: layered-blueprint-fade-in 200ms;
}
}


body.mediawiki .mp-button:active > *,
@-webkit-keyframes layered-blueprint-fade-out {
body.mediawiki .mp-portal-active > *,
0% {
body.mediawiki .mp-icon:active .mp-button > * {
opacity: 1;
padding: 14px 10px 8px !important;
visibility: visible;
margin-top: -8px;
}
height: calc(100% + 10px);
100% {
opacity: 0;
visibility: hidden;
}
}
}


.mp-button:not(.mp-icon-link):active,
@keyframes layered-blueprint-fade-out {
.mp-portal-active {
0% {
margin-top: 6px;
opacity: 1;
visibility: visible;
}
100% {
opacity: 0;
visibility: hidden;
}
}
}


.mp-icon:active .mp-icon-img {
.layered-blueprint-radio:checked + .layered-blueprint-tab + .layered-blueprint-layer ~ .layered-blueprint-layer {
padding-bottom: 6px;
-webkit-animation: layered-blueprint-fade-out 200ms;
animation: layered-blueprint-fade-out 200ms;
}
}


.mp-portal-active > *::after {
/* [[Template:YouTube]] */
content: '';
.youtube-video {
display: block;
display: block;
position: absolute;
bottom: 0;
width: 20%;
height: 2px;
background-color: #fff;
}
}


.mp-portal-wrapper {
/* Prevent page jump from the toolbar loading */
display: flex;
.client-js #editform {
flex-wrap: wrap;
/* To disable margin collapsing */
width: 100%;
overflow: hidden;
margin: 1px;
}
}


.mp-portal-wrapper .mp-button {
.client-js .mw-editform > #wpTextbox1 {
flex: 1 1 0;
    margin-top: 73px;
min-width: max-content;
margin-left: -1px;
}
}


.mp-portal-wrapper .mp-button.mp-portal-active,
.wikiEditor-ui-toolbar .tabs span.tab a:before {
.mp-portal-wrapper .mp-button.mp-portal:hover,
filter: invert(1);
.mp-portal-wrapper .mp-button.mp-portal:active {
--button-color: var(--button-color-progressive);
--button-text-color: #FFF;
--button-text-shadow-color: #00000020;
}
}


/* [[File:TinyVuFace.png]] */
/* Alternating cell background */
.mp-button-vu {
.alternatecells:nth-child(odd) {
--button-image: url(https://minecraft.wiki/images/TinyVuFace.png);
background-color: #F9F9F9;
}
body.wgl-theme-dark .alternatecells:nth-child(odd) {
background-color: #222;
}
}


/* [[File:Icon_Minecraft.png]] */
/* Alternating table rows, primarily used with [[Template:Infobox row]] */
.mp-portal-minecraft {
.alternaterows tr:nth-child(even),
--button-image: url(https://minecraft.wiki/images/Icon_Minecraft.png);
.infobox-rows tr:nth-child(even) {
background-color: #F9F9F9;
}
}
 
body.wgl-theme-dark .alternaterows tr:nth-child(even),
/* [[File:Dungeons.png]] */
body.wgl-theme-dark .infobox-rows tr:nth-child(even) {
.mp-portal-dungeons {
background-color: #222;
--button-image: url(https://minecraft.wiki/images/Dungeons.png);
}
}


/* [[File:Icon_Legends.png]] */
/* Scale file page image to the width of the page */
.mp-portal-legends {
.dynamic-video video,
--button-image: url(https://minecraft.wiki/images/Icon_Legends.png);
.dynamic-image img,
#file video,
#file img {
max-width: 100%;
height: auto;
}
}


/* [[File:Icon_Movie.png]] */
/* Fix bad codex default styles */
.mp-portal-movie {
.cdx-message__content {
--button-image: url(https://minecraft.wiki/images/Icon_Movie.png);
hyphens: manual !important;
}
}


/* [[File:Icon_Earth.png]] */
/* Highlight clicked reference in blue to help navigation */
.mp-portal-earth {
ol.references li:target,
--button-image: url(https://minecraft.wiki/images/Icon_Earth.png);
sup.reference:target,
span.citation:target {  
background-color: #C1DAF2;
}
}


/* [[File:Icon_Story_Mode.png]] */
/* Allow parts of toc to be hidden */
.mp-portal-story-mode {
/* Section levels */
--button-image: url(https://minecraft.wiki/images/Icon_Story_Mode.png);
.toc-hidelevel2 .toclevel-1 ul,
.toc-hidelevel3 .toclevel-2 ul,
.toc-hidelevel4 .toclevel-3 ul,
/* Numbers */
.toc-nonumbers .tocnumber {
display: none;
}
}


/* portal buttons - responsive */
/* Adjust styles for small screens */
@media screen and (max-width: 950px) {
@media (max-width: 500px) {
body.mediawiki .mp-portal-wrapper .mp-button:not(.mp-portal-active) > * {
#content div.thumb {
font-size: 0;
float: none;
gap: 0;
}
}
}
}


@media screen and (max-width: 500px) {
/* Simulate link styling for JS only links */
body.mediawiki .mp-portal-wrapper .mp-button.mp-portal-active > * {
.jslink {
font-size: 0.8em;
color: #0645AD;
padding-left: 8px !important;
-webkit-user-select: none;
padding-right: 8px !important;
-moz-user-select: none;
}
-ms-user-select: none;
user-select: none;
}


body.mediawiki .mp-portal-story-mode.mp-portal-active > a > span {
.jslink:hover {
max-width: 45px;
text-decoration: underline;
line-break: normal;
cursor: pointer;
        line-height: 1.1em;
}
}
}


.mp-social-wrapper {
.jslink:active {
display: flex; /** fallback when grid is not supported */
color: #FAA700;
display: grid;
grid-auto-columns: minmax(0, 1fr);
grid-auto-flow: column;
gap: 4px;
width: 100%;
}
}


.mp-social-wrapper img {
/* Try to use nearest neighbour scaling for pixelated images */
margin: 2px 0;
.mcwiki-header-grass,
.ns-special .gallerybox img,
.ns-14 .gallerybox img,
.filehistory a img,
.pixel-image,
.invslot-item-image,
.sprite {
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;
}
}


.mp-button.mp-social-discord {
/* User link icons */
--button-color: #5865f2;
 
/* Weird Gloop */
/* [[File:Weird Gloop.png]] light mode */
.mw-userlink[href="/w/User:Jayden"], .mw-userlink[href="/w/User:Jayden?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Cook_Me_Plox"], .mw-userlink[href="/w/User:Cook_Me_Plox?action=edit&redlink=1"],
.mw-userlink[href="/w/User:TehKittyCat"], .mw-userlink[href="/w/User:TehKittyCat?action=edit&redlink=1"],
.mw-userlink[href="/w/User:BigDiesel2m"], .mw-userlink[href="/w/User:BigDiesel2m?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Gaz_Lloyd"], .mw-userlink[href="/w/User:Gaz_Lloyd?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Weird_Gloop"], .mw-userlink[href="/w/User:Weird_Gloop?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Isobel"], .mw-userlink[href="/w/User:Isobel?action=edit&redlink=1"] {
padding-left: 17px;
background: url('filepath://Weird_Gloop.png') no-repeat left center;
background-size: 14px 14px;
}
}
.mp-button.mp-social-zulip {
 
background: linear-gradient(to bottom, #50adff, #7877fc);
/* [[File:Weird Gloop dark.png]] dark mode */
}
.wgl-theme-dark .mw-userlink[href="/w/User:Jayden"], .wgl-theme-dark .mw-userlink[href="/w/User:Jayden?action=edit&redlink=1"],
.mp-button.mp-social-twitter {
.wgl-theme-dark .mw-userlink[href="/w/User:Cook_Me_Plox"], .wgl-theme-dark .mw-userlink[href="/w/User:Cook_Me_Plox?action=edit&redlink=1"],
--button-color: #1da1f2;
.wgl-theme-dark .mw-userlink[href="/w/User:TehKittyCat"], .wgl-theme-dark .mw-userlink[href="/w/User:TehKittyCat?action=edit&redlink=1"],
}
.wgl-theme-dark .mw-userlink[href="/w/User:BigDiesel2m"], .wgl-theme-dark .mw-userlink[href="/w/User:BigDiesel2m?action=edit&redlink=1"],
.mp-button.mp-social-mastodon {
.wgl-theme-dark .mw-userlink[href="/w/User:Gaz_Lloyd"], .wgl-theme-dark .mw-userlink[href="/w/User:Gaz_Lloyd?action=edit&redlink=1"],
background: linear-gradient(to bottom, #6364ff, #563acc);
.wgl-theme-dark .mw-userlink[href="/w/User:Weird_Gloop"], .wgl-theme-dark .mw-userlink[href="/w/User:Weird_Gloop?action=edit&redlink=1"],
}
.wgl-theme-dark .mw-userlink[href="/w/User:Isobel"], .wgl-theme-dark .mw-userlink[href="/w/User:Isobel?action=edit&redlink=1"] {
.mp-button.mp-social-bluesky {
background-image: url('filepath://Weird_Gloop_dark.png');
--button-color: #1185fe;
}
}


.mp-icon-wrapper {
/* Mojang */
display: flex;
/* Add [[File:Mojang logo.svg]] to known Mojang employee userlinks */
flex-wrap: wrap;
.mw-userlink[href="/w/User:Dinnerbone-gpuser"], .mw-userlink[href="/w/User:Dinnerbone-gpuser?action=edit&redlink=1"],
justify-content: center;
.mw-userlink[href="/w/User:Jeb_mojang"], .mw-userlink[href="/w/User:Jeb_mojang?action=edit&redlink=1"],
gap: 8px;
.mw-userlink[href="/w/User:MidnightEnforcer"], .mw-userlink[href="/w/User:MidnightEnforcer?action=edit&redlink=1"],
margin: auto;
.mw-userlink[href="/w/User:Minecraft_Staff"], .mw-userlink[href="/w/User:Minecraft_Staff?action=edit&redlink=1"],
--icon-base-width: 90px;
.mw-userlink[href="/w/User:Mojang_tommo"], .mw-userlink[href="/w/User:Mojang_tommo?action=edit&redlink=1"],
--icon-max-width: 200px;
.mw-userlink[href="/w/User:Slicedlime"], .mw-userlink[href="/w/User:Slicedlime?action=edit&redlink=1"],
}
.mw-userlink[href="/w/User:IP_Justice"], .mw-userlink[href="/w/User:IP_Justice?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Cornerhard"], .mw-userlink[href="/w/User:Cornerhard?action=edit&redlink=1"],
.mw-userlink[href="/w/User:CornerHard"], .mw-userlink[href="/w/User:CornerHard?action=edit&redlink=1"],


.mp-icon {
/* legacy/deleted */
flex: 1 auto;
.mw-userlink[href="/w/User:MidnightEnforcer43458@legacy41488102"], .mw-userlink[href="/w/User:MidnightEnforcer43458@legacy41488102?action=edit&redlink=1"],
width: var(--icon-base-width);
/* previously User:Jonkagstrom47437 */
max-width: var(--icon-max-width);
.mw-userlink[href="/w/User:@DeletedUser40286849"], .mw-userlink[href="/w/User:@DeletedUser40286849?action=edit&redlink=1"],
display: flex;
/* previously User:shoghicp */
flex-direction: column;
.mw-userlink[href="/w/User:@DeletedUser40317681"], .mw-userlink[href="/w/User:@DeletedUser40317681?action=edit&redlink=1"] {
transition-property: padding,margin;
padding-left: 17px;
transition-duration: .1s;
background: url('filepath://Mojang_logo.svg') no-repeat left center;
background-size: 14px 14px;
}
}


/* responsive icon size */
/* Add [[File:Grass Block JE7 BE6.png]] to known Minecraft/Mojang-related contractor employee userlinks */
@media screen and (min-width: 1500px) and (max-width: 2600px) {
.mw-userlink[href="/w/User:C418bla"], .mw-userlink[href="/w/User:C418bla?action=edit&redlink=1"],
.mp-main-icons {
.mw-userlink[href="/w/User:Jocopa3"], .mw-userlink[href="/w/User:Jocopa3?action=edit&redlink=1"] {
--icon-base-width: 6vw;
padding-left: 17px;
}
background: url('filepath://Grass_Block_JE7_BE6.png') no-repeat left center;
}
background-size: 14px 14px;
@media screen and (max-width: 950px) {
.mp-icon-wrapper.mp-main-icons {
--icon-base-width: 70px;
--icon-max-width: 100px;
}
}
}


.mp-icon-link {
/* Add [[File:Gray Mojang Thing.png]] to known ex-Mojang employee userlinks */
flex: 1;
.mw-userlink[href="/w/User:EvilSeph"], .mw-userlink[href="/w/User:EvilSeph?action=edit&redlink=1"],
margin: -2px 0 0;
.mw-userlink[href="/w/User:ExcitedZe"], .mw-userlink[href="/w/User:ExcitedZe?action=edit&redlink=1"],
font-size: 14px;
.mw-userlink[href="/w/User:Neon_Master"], .mw-userlink[href="/w/User:Neon_Master?action=edit&redlink=1"],
padding-left: 2px;
.mw-userlink[href="/w/User:RazzleberryFox"], .mw-userlink[href="/w/User:RazzleberryFox?action=edit&redlink=1"],
padding-right: 2px;
.mw-userlink[href="/w/User:Tahg"], .mw-userlink[href="/w/User:Tahg?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Tamerjeison"], .mw-userlink[href="/w/User:Tamerjeison?action=edit&redlink=1"],
.mw-userlink[href="/w/User:HelenAngel"], .mw-userlink[href="/w/User:HelenAngel?action=edit&redlink=1"],
/* previously User:ProfMobius */
.mw-userlink[href="/w/User:@DeletedUser40549330"], .mw-userlink[href="/w/User:@DeletedUser40549330?action=edit&redlink=1"] {
padding-left: 17px;
background: url('filepath://Gray_Mojang_Thing.png') no-repeat left center;
}
}


.mp-icon-img {
/* Make external links the same colour as internal links, the icon is enough to differentiate them */
display: flex;
.mw-body a.external {
align-items: center;
color: #0645ad;
justify-content: center;
background-color: #00000030;
box-shadow: inset 0 4px #00000030, inset 0 -4px #ffffff40;
border: 2px solid rgba(0, 0, 0, 0.4);
transition-property: background-color, color, border-color, box-shadow, opacity, padding, margin;
transition-duration: .1s;
}
}


body.wgl-theme-dark .mp-icon-img {
.mw-body a.external:visited {
background-color: #ffffff10;
color: #0b0080;
box-shadow: inset 0 4px #00000030, inset 0 -4px #ffffff20;
}
}


.mp-icon:hover .mp-icon-img {
.mw-body a.external:active {
background-color: #00000040;
color: #faa700;
}
}


body.wgl-theme-dark .mp-icon:hover .mp-icon-img {
/* Make tabs the correct size */
background-color: #ffffff20;
body {
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}
}


body.wgl-theme-dark .mp-icon-img {
/* Classes corresponding to Minecraft formatting codes */
background-color: #ffffff10;
.format-0 {
border-color: #242424;
color: #000;
box-shadow: inset 0 4px #00000030, inset 0 -4px #ffffff20;
text-shadow: 0.125em 0.125em 0 #000;
}
}
 
.format-1 {
.mp-icon-img a {
color: #0000A8;
padding: 12px;
text-shadow: 0.125em 0.125em 0 #00002A;
}
}
 
.format-2 {
.mp-icon-img a, .mp-icon-img span {
color: #00A800;
display: block;
text-shadow: 0.125em 0.125em 0 #002A00;
width: 100%;
height: 100%;
text-align: center;
}
}
 
.format-3 {
.mp-icon-img img {
color: #00A8A8;
max-width: unset !important;
text-shadow: 0.125em 0.125em 0 #002A2A;
width: 60px !important;
height: 60px !important;
filter: drop-shadow(2px 2px 1px #00000030);
object-fit: contain;
}
}
 
.format-4 {
 
color: #A80000;
@media screen and (max-width: 950px) {
text-shadow: 0.125em 0.125em 0 #2A0000;
.mp-icon-link {
font-size: 12px;
}
 
.mp-icon-img a {
padding: 6px;
}
 
.mp-icon-img img {
width: 40px !important;
height: 40px !important;
}
}
}
 
.format-5 {
#mp-section-site {
color: #A800A8;
display: flex;
text-shadow: 0.125em 0.125em 0 #2A002A;
flex-direction: column;
gap: 8px;
align-items: center;
}
}
 
.format-6 {
/* Highlights panel */
color: #FBA800;
.mp-highlight-wrapper {
text-shadow: 0.125em 0.125em 0 #3E2A00;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
}
 
.format-7 {
.mp-highlight {
color: #A8A8A8;
max-height: 300px;
text-shadow: 0.125em 0.125em 0 #2A2A2A;
}
}
 
.format-8 {
.mp-highlight-image img,
color: #545454;
.mp-highlight-image {
text-shadow: 0.125em 0.125em 0 #151515;
object-fit: cover;
width: 100%;
height: 100%;
max-height: 300px;
}
}
 
.format-9 {
.mp-highlight-top-description,
color: #5454FB;
.mp-highlight-bottom-description {
text-shadow: 0.125em 0.125em 0 #15153E;
width: 100%;
}
}
 
.format-a {
.mp-highlight-top-description {
color: #54FB54;
background: linear-gradient(180deg, #0008 24px, transparent);
text-shadow: 0.125em 0.125em 0 #153E15;
padding: 12px;
position: absolute;
top: 0;
}
}
 
.format-b {
.mp-highlight-bottom-description {
color: #54FBFB;
background: linear-gradient(0deg, #0008 40px, transparent);
text-shadow: 0.125em 0.125em 0 #153E3E;
padding: 0 12px;
position: absolute;
bottom: 0;
}
}
 
.format-c {
.mp-highlight-version {
color: #FB5454;
font-size: 0.95rem;
text-shadow: 0.125em 0.125em 0 #3E1515;
}
}
 
.format-d {
.mp-highlight {
color: #FB54FB;
background-size: cover;
text-shadow: 0.125em 0.125em 0 #3E153E;
background-position: center;
background-repeat: no-repeat;
 
box-shadow: inset -4px -4px #0000003d,
inset 4px 4px #fff2;
 
flex: 1 1 0;
min-width: 300px;
min-height: calc(150px + 5vh);
position: relative;
padding: 0;
color: #fff !important;
font-size: small;
    text-shadow: 1px 1px 8px #333,
    -1px -1px 8px #333;
}
}
 
.format-e {
.mp-section.mp-highlight::after {
color: #FBFB54;
position: absolute;
text-shadow: 0.125em 0.125em 0 #3E3E15;
content: '';
top: 0;
bottom: 0;
left: 0;
right: 0;
box-shadow: inset -4px -4px #0000003d,
inset 4px 4px #fff2;
pointer-events: none;
}
}
.format-f,
.mp-highlight *:not(a):not(.sprite-text) {
#minetip-tooltip {
    color: #fff !important;
color: #FBFBFB;
text-shadow: 0.125em 0.125em 0 #3E3E3E;
}
}
.mp-highlight a {
.format-g {
color: #bed9ff !important;
color: #DDD605;
text-shadow: 0.125em 0.125em 0 #373501;
}
}
.mp-highlight .hlist li:after {
.format-h {
background-color: #fff !important;
color: #E3D4D1;
text-shadow: 0.125em 0.125em 0 #383534;
}
}
.mp-highlight .mp-title {
.format-i {
line-height: 1.2;
color: #CECACA;
margin-bottom: 6px;
text-shadow: 0.125em 0.125em 0 #333232;
}
}
 
.format-j {
.mp-highlight .sprite-file img {
color: #443A3B;
  filter: drop-shadow(1px 1px 1px #333)
text-shadow: 0.125em 0.125em 0 #110E0E;
          drop-shadow(-1px -1px 1px #333);
}
}
 
.format-l {
.mp-highlight-wrapper {
font-weight: bold;
flex: 0 7 0;
letter-spacing: 0.125em;
}
}
 
.format-m {
.mp-left-row {
text-decoration: line-through;
flex: 10 10 0;
}
}
 
.format-n {
body.wgl-theme-light .mp-highlight-image.mp-dark-only {
text-decoration: underline;
display: none;
}
}
body.wgl-theme-dark .mp-highlight-image.mp-light-only {
.format-o {
display: none;
font-style: italic;
}
}
 
.format-p {
.mp-button-wrapper {
color: #DEB12D;
display: flex;
text-shadow: 0.125em 0.125em 0 #372C0B;
flex-direction: row;
flex-wrap: wrap;
gap: 4px;
}
}
 
.format-q {
.mp-button-wrapper-vertical {
color: #47A036;
flex-direction: column;
text-shadow: 0.125em 0.125em 0 #04280D;
}
}
 
.format-s {
.mp-button-wrapper .mp-button {
color: #2CBAA8;
flex: 1 0 0;
text-shadow: 0.125em 0.125em 0 #0B2E2A;
min-width: max-content;
white-space: nowrap;
}
}
 
.format-t {
.mp-language-wrapper {
color: #21497B;
display: flex;
text-shadow: 0.125em 0.125em 0 #08121E;
flex-wrap: wrap;
justify-content: center;
gap: 4px;
}
}
 
.format-u {
.mp-language-wrapper .mp-button {
color: #9A5CC6;
flex: 1 1 90px;
text-shadow: 0.125em 0.125em 0 #261731;
max-width: 180px;
}
}
 
.format-v {
.mp-language-wrapper .mp-button:last-child {
color: #EB7114;
flex: 0 0 180px;
text-shadow: 0.125em 0.125em 0 #3B1D05;
}
}
 
/* Custom color codes because §m and §n are used twice. */
.mp-language-wrapper .mp-portal-active {
.format-y {
pointer-events: none;
color: #971607;
text-shadow: 0.125em 0.125em 0 #250501;
}
}
 
.format-z {
.mp-timeline {
color: #B4684D;
display: flex;
text-shadow: 0.125em 0.125em 0 #2D1A13;
flex-direction: column;
/*column-width: 200px;*/
margin-left: 10px;
}
}
 
/* Class for &#123456 and &$123 adding custom hex colors. */
.mp-timeline dl {
.format-custom {
padding-left: 15px;
text-shadow: 0.125em 0.125em 0 color-mix(in srgb, currentColor 25%, #000 75%);
border-left: 2px solid #bbb;
}
}


.mp-timeline dt {
/* Styling for minecraft style tooltip */
position: relative;
#minetip-tooltip {
position: fixed;
top: 0;
left: 0;
background-color: #100010;
background-color: rgba(16, 0, 16, 0.94);
padding: 0.375em;
font-family: Minecraft, sans-serif;
font-size: 16px;
word-spacing: 4px;
white-space: nowrap;
line-height: 1.25em;
margin: 0.125em 0.25em;
pointer-events: none;
z-index: 9999;
}
}


.mp-timeline dl:not(:last-child) {
#minetip-tooltip::before {
padding-bottom: 8px;
content: "";
position: absolute;
top: 0.125em;
right: -0.125em;
bottom: 0.125em;
left: -0.125em;
border: 0.15em solid #100010;
border-style: none solid;
border-color: rgba(16, 0, 16, 0.94);
}
}


.mp-timeline dl > dt::before {
#minetip-tooltip::after {
content: "";
content: "";
position: absolute;
position: absolute;
left: -23px;
top: 0.125em;
top: 4px;
right: 0;
width: 14px;
bottom: 0.125em;
height: 14px;
left: 0;
background-color: var(--button-color-progressive);
border: 0.125em solid #2D0A63;
border: 2px solid var(--content-text-color);
border-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
border-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
}
}


.mp-timeline dl, .mp-timeline dt, .mp-timeline dd {
#minetip-tooltip > .description,
margin: 0;
#minetip-tooltip > .minetip-description {
position: relative;
display: block;
margin-top: 0.25em;
}
}


/* put month/date in same row as update name */
/* For adding alt text to icons for accessibility purposes */
.mp-timeline dl {
.hidden-alt-text {
display: flex;
font-size: 0;
gap: 0 .5em;
flex-wrap: wrap;
flex: 1;
align-content: center;
max-height: 60px;
}
}


.mp-timeline dd {
/* prevent sitenotice show/hide toggle from moving page contents down after pageload */
opacity: 0.8;
.globalNotice .globalNoticeDismiss {
float: right;
}
}
.mp-timeline dd:before {
 
content: "– ";
/* Prevent code from overflowing */
code {
    overflow-wrap: break-word;
}
}


.mp-featured-img {
/* Style code, pre and similar elements/classes with one common styling */
flex: 0 0 0;
@media screen {
margin: auto;
pre, code, .mw-code {
margin-top: 0;
background-color: #F8F9FA;
max-width: 100%;
color: #000;
border: 1px solid #BBC2C6;
}
}
}


.mp-featured-img img {
kbd, .kbd-color {
max-width: 270px;
text-shadow: 0 1px 0 #FFF;
height: auto;
background-color: #F8F9FA;
color: #222;
box-shadow: 0 1px rgba(0,0,0,0.2), 0 0 0 2px #FFF inset;
border-color: #BBC2C6;
font-size: smaller;
}
}


.mp-platform-wrapper {
/* Fixes for small screens */
display: flex;
@media screen and (max-width: 720px) {
flex-wrap: wrap;
#mw-head {
justify-content: center;
top: 13px;
gap: 6px;
}
margin-top: 5px;
div#mw-navigation div#mw-panel {
position: static !important; /* position: relative may be added to inline styles by built-in JS after page load; it needs an !important to override */
}
}
}


.mp-platform {
@media screen and (max-width: 500px) {
min-width: 300px;
/* TOC fix */
display: flex;
#mw-content-text > .mw-parser-output > div[style*="float"] {
gap: 5px;
float: none !important;
flex-direction: row;
margin: 0 !important;
align-items: center;
}
}
}


.mp-platform .mp-title .mw-headline {
/* presumable Discord link on comportal */
display: flex;
.CPDiscord {
flex-direction: column;
float: right;
gap: 5px;
margin-left: 1em;
line-height: 24px;
clear: right;
}
}


@media screen and (max-width: 989px) {
/* Styling for tooltip */
.mp-platform {
.explain {
flex-direction: row;
border-bottom: 0;
flex-wrap: wrap;
text-decoration: underline dotted;
}
cursor: help;
}
}


#mp-dyk-fact {
/* Show help cursor when an abbr element has a title attribute */
transition: height 0.2s, opacity 0.2s;
abbr[title] {
opacity: 1.0;
cursor: help;
overflow-y: hidden;
}
}


#mp-dyk-fact.loading {
/* [[Template:History]] */
opacity: 0;
.historytable-experiment {
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;
padding: 0 0.5em;
width: min-content;
background-color: inherit;
}
.historytable-experiment + span {
font-size: small;
line-height: 1.3;
}
}


#mp-dyk-fact > * {
/* Machine-readable extra template information */
padding-bottom: 0.1em;
.history-json, .chest-json, .chestcontents-json, .sound-json, .spawntable-json, .advancements-json, .achievements-json {
display: none;
}
}


html.client-nojs #mp-dyk-button {
.mw-references-columns {
display: none;
overflow-wrap: break-word;
}
}


/* grow last tile in right column if left column is larger */
#mw-imagepage-section-filehistory {
.mp-right > :last-child {
overflow: auto;
flex: 1;
}
}


.mp-banner {
/* Enhance contrast for search highlight since we use a blue background */
display: flex;
.mw-prefs-search-highlight {
flex-wrap: wrap;
     background: #c9dffd !important; /* default style contains !important */
gap: 8px;
    outline: 3px solid #c9dffd !important;
justify-content: space-between;
     align-items: flex-end;
position: relative;
}
}


.mp-banner-image {
/* [[Template:Colorlink]] */
margin: 0 auto;
.colored-links a {
  color: inherit !important;
}
}


.mp-banner-content {
body.ns-10008 #ca-talk,
display: flex;
body.ns-10008 .minerva__tab[data-event-name="tabs.talk"] {
gap: 10px;
display: none;
flex-wrap: wrap;
    align-items: center;
    flex: 1 1 400px;
}
}


.mp-banner-content p:last-of-type {
/* DiscussionTools dark mode fix */
margin-bottom: 0;
body.wgl-theme-dark .ext-discussiontools-init-highlight {
    mix-blend-mode: lighten;
}
}


.mp-banner .dismissible-alert-dismiss {
body.wgl-theme-dark .ext-discussiontools-init-publishedcomment {
position: absolute;
    background-color: #6b5f29;
top: 8px;
right: 8px;
}
}


.mp-banner .dismissible-alert-dismiss::after {
body.wgl-theme-dark .ext-discussiontools-init-targetcomment {
clip-path: polygon(0% 14.28%, 14.28% 14.28%, 14.28% 28.57%, 28.57% 28.57%, 28.57% 42.85%, 42.85% 42.85%, 42.85% 57.13%, 28.57% 57.13%, 28.57% 71.41%, 14.28% 71.41%, 14.28% 85.69%, 0% 85.69%, 0 99.97%, 14.28% 99.97%, 14.28% 85.69%, 28.57% 85.69%, 28.57% 71.41%, 42.85% 71.41%, 42.85% 57.13%, 57.13% 57.13%, 57.13% 71.41%, 71.41% 71.41%, 71.41% 85.69%, 85.69% 85.69%, 85.69% 99.97%, 99.97% 99.97%, 99.97% 85.69%, 85.69% 85.69%, 85.69% 71.41%, 71.41% 71.41%, 71.41% 57.13%, 57.13% 57.13%, 57.13% 42.85%, 71.41% 42.85%, 71.41% 28.57%, 85.69% 28.57%, 85.69% 14.28%, 99.97% 14.28%, 99.97% 0%, 85.69% 0%, 85.69% 14.28%, 71.41% 14.28%, 71.41% 28.56%, 57.13% 28.56%, 57.13% 42.85%, 42.85% 42.85%, 42.85% 28.57%, 28.57% 28.57%, 28.57% 14.28%, 14.28% 14.28%, 14.28% 0%, 0% 0%);
    background-color: #1b1f29;
display: block;
content: "";
width: 15px;
height: 15px;
background-color: var(--content-text-color);
}
}


@media screen and (min-width: 480px) {
body.wgl-theme-dark .ext-discussiontools-ui-replyWidget-preview {
.mp-banner-content {
    background: #222;
flex-wrap: nowrap;
}
.mp-banner-image {
margin: 0;
}
}
}


/* [[Category:Template styles]] */
.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;
}

Latest revision as of 21:23, 31 March 2025

/* Copied from https://minecraft.wiki/w/MediaWiki:Common.css for testing */

/* CSS placed here will be applied to all skins */

/**
 * See [[MediaWiki:Vector.css]] for desktop theme related styles.
 * See [[MediaWiki:Vector-theme-dark.css]] for desktop dark theme related styles.
 *
 * See [[MediaWiki:Minerva.css]] for mobile theme related styles.
 * See [[MediaWiki:Minerva-theme-dark.css]] for mobile dark theme related styles.
 */

/* Minecraft font
 * [[File:Minecraft.woff2]] [[File:Minecraft.woff]]
 */
@font-face {
	font-family: Minecraft;
	src: url('filepath://Minecraft.woff2') format('woff2'),
	     url('filepath://Minecraft.woff') format('woff');
}

body {
	font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif;
}

/** Color variables for tweaking by different themes **/
:root {
	--navbox-background-color: #FFF;
	--navbox-border-color: #CCC;
	--navbox-header-color: #CCC;
	--navbox-secondary-header-color: #DDD;
	--navbox-tertiary-header-color: #EEE;
	--navbox-section-color: #EEE;
}

body.wgl-theme-dark {
	--navbox-background-color: #333;
	--navbox-border-color: #444;
	--navbox-header-color: #111;
	--navbox-secondary-header-color: #181818;
	--navbox-tertiary-header-color: #222;
	--navbox-section-color: #222;
}

/* Page display title */
.mw-page-title-separator {
	margin-right: 0.25em;
}

.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 {
	font-style: italic;
	margin-right: 1px;
}

/** Main page stylings **/
/** Only used for styling of elements, main page layout is defined at [[Minecraft_Wiki/styles.css]] **/
.fp-section {
	background-color: #FCFCFC;
	border: 1px solid #ccc;
	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;
	}
	
	.fp-banner-image {
		margin: 0;
	}
}

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

#fp-header-links {
	margin: auto 0;
}

#fp-header-links ul {
	-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;
}


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

/** Template stylings **/
/* [[Template:Navbox]] */
.navbox {
	background: var(--navbox-background-color);
	border: 1px solid var(--navbox-border-color);
	margin: 1em auto 0;
	width: 100%;
}

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

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

.navbox table:last-child {
	margin-bottom: -2px;
}

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

.navbox tr:not(:first-child) .navbox-top,
.navbox .navbox .navbox-top {
	background-color: var(--navbox-secondary-header-color);
}

.navbox .navbox tr:not(:first-child) .navbox-top {
	background-color: var(--navbox-tertiary-header-color);
}

.navbox-navbar,
.navbox-navbar-mini {
	float: left;
	font-size: 80%;
	position: absolute;
}

.navbox-title {
	padding: 0 10px;
	font-size: 110%;
}

.navbox th {
	background-color: var(--navbox-section-color);
	padding: 0 10px;
	white-space: nowrap;
	text-align: right;
}

.navbox td {
	width: 100%;
	padding: 0 0 0 2px;
}

/* Clear before navboxes and their section */
h2:has(#Navigation):has(+ table.navbox) {
    clear: both;
}

/* [[Template:LoadBox]]*/
.load-page {
	background-color: rgba(255, 255, 255, .5);
	border: 1px solid #CCC;
	margin-bottom: 0.5em;
	padding: 0 0.5em;
}
body.wgl-theme-dark .load-page {
	background-color: #222;
	border-color: #111;
}
body.wgl-theme-dark .load-page .mw-spinner {
	filter: invert(1);
}

/* Hatnotes and disambiguation notices */
.hatnote {
	font-style: italic;
}

.hatnote i {
	font-style: normal;
}

div.hatnote {
	padding-left: 1.6em;
	margin-bottom: 0.5em;
}

div.hatnote + div.hatnote {
	margin-top: -0.5em;
}

/* [[Template:Layered blueprint]] */
@-webkit-keyframes layered-blueprint-fade-in {
	0% {
		opacity: 0;
		visibility: hidden;
	}
	100% {
		opacity: 1;
		visibility: visible;
	}
}

@keyframes layered-blueprint-fade-in {
	0% {
		opacity: 0;
		visibility: hidden;
	}
	100% {
		opacity: 1;
		visibility: visible;
	}
}

.layered-blueprint-layer {
	-webkit-animation: layered-blueprint-fade-in 200ms;
	animation: layered-blueprint-fade-in 200ms;
}

@-webkit-keyframes layered-blueprint-fade-out {
	0% {
		opacity: 1;
		visibility: visible;
	}
	100% {
		opacity: 0;
		visibility: hidden;
	}
}

@keyframes layered-blueprint-fade-out {
	0% {
		opacity: 1;
		visibility: visible;
	}
	100% {
		opacity: 0;
		visibility: hidden;
	}
}

.layered-blueprint-radio:checked + .layered-blueprint-tab + .layered-blueprint-layer ~ .layered-blueprint-layer {
	-webkit-animation: layered-blueprint-fade-out 200ms;
	animation: layered-blueprint-fade-out 200ms;
}

/* [[Template:YouTube]] */
.youtube-video {
	display: block;
}

/* Prevent page jump from the toolbar loading */
.client-js #editform {
	/* To disable margin collapsing */
	overflow: hidden;
}

.client-js .mw-editform > #wpTextbox1 {
    margin-top: 73px;
}

.wikiEditor-ui-toolbar .tabs span.tab a:before {
	filter: invert(1);
}

/* Alternating cell background */
.alternatecells:nth-child(odd) {
	background-color: #F9F9F9;
}
body.wgl-theme-dark .alternatecells:nth-child(odd) {
	background-color: #222;
}

/* Alternating table rows, primarily used with [[Template:Infobox row]] */
.alternaterows tr:nth-child(even),
.infobox-rows tr:nth-child(even) {
	background-color: #F9F9F9;
}
body.wgl-theme-dark .alternaterows tr:nth-child(even),
body.wgl-theme-dark .infobox-rows tr:nth-child(even) {
	background-color: #222;
}

/* Scale file page image to the width of the page */
.dynamic-video video,
.dynamic-image img,
#file video,
#file img {
	max-width: 100%;
	height: auto;
}

/* Fix bad codex default styles */
.cdx-message__content {
	hyphens: manual !important;
}

/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target { 
	background-color: #C1DAF2;
}

/* Allow parts of toc to be hidden */
/* Section levels */
.toc-hidelevel2 .toclevel-1 ul,
.toc-hidelevel3 .toclevel-2 ul,
.toc-hidelevel4 .toclevel-3 ul,
/* Numbers */
.toc-nonumbers .tocnumber {
	display: none;
}

/* Adjust styles for small screens */
@media (max-width: 500px) {
	#content div.thumb {
		float: none;
	}
}

/* Simulate link styling for JS only links */
.jslink {
	color: #0645AD;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.jslink:hover {
	text-decoration: underline;
	cursor: pointer;
}

.jslink:active {
	color: #FAA700;
}

/* Try to use nearest neighbour scaling for pixelated images */
.mcwiki-header-grass,
.ns-special .gallerybox img,
.ns-14 .gallerybox img,
.filehistory a img,
.pixel-image,
.invslot-item-image,
.sprite {
	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;
}

/* User link icons */

/* Weird Gloop */
/* [[File:Weird Gloop.png]] light mode */
.mw-userlink[href="/w/User:Jayden"], .mw-userlink[href="/w/User:Jayden?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Cook_Me_Plox"], .mw-userlink[href="/w/User:Cook_Me_Plox?action=edit&redlink=1"],
.mw-userlink[href="/w/User:TehKittyCat"], .mw-userlink[href="/w/User:TehKittyCat?action=edit&redlink=1"],
.mw-userlink[href="/w/User:BigDiesel2m"], .mw-userlink[href="/w/User:BigDiesel2m?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Gaz_Lloyd"], .mw-userlink[href="/w/User:Gaz_Lloyd?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Weird_Gloop"], .mw-userlink[href="/w/User:Weird_Gloop?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Isobel"], .mw-userlink[href="/w/User:Isobel?action=edit&redlink=1"] {
	padding-left: 17px;
	background: url('filepath://Weird_Gloop.png') no-repeat left center;
	background-size: 14px 14px;
}

/* [[File:Weird Gloop dark.png]] dark mode */
.wgl-theme-dark .mw-userlink[href="/w/User:Jayden"], .wgl-theme-dark .mw-userlink[href="/w/User:Jayden?action=edit&redlink=1"],
.wgl-theme-dark .mw-userlink[href="/w/User:Cook_Me_Plox"], .wgl-theme-dark .mw-userlink[href="/w/User:Cook_Me_Plox?action=edit&redlink=1"],
.wgl-theme-dark .mw-userlink[href="/w/User:TehKittyCat"], .wgl-theme-dark .mw-userlink[href="/w/User:TehKittyCat?action=edit&redlink=1"],
.wgl-theme-dark .mw-userlink[href="/w/User:BigDiesel2m"], .wgl-theme-dark .mw-userlink[href="/w/User:BigDiesel2m?action=edit&redlink=1"],
.wgl-theme-dark .mw-userlink[href="/w/User:Gaz_Lloyd"], .wgl-theme-dark .mw-userlink[href="/w/User:Gaz_Lloyd?action=edit&redlink=1"],
.wgl-theme-dark .mw-userlink[href="/w/User:Weird_Gloop"], .wgl-theme-dark .mw-userlink[href="/w/User:Weird_Gloop?action=edit&redlink=1"],
.wgl-theme-dark .mw-userlink[href="/w/User:Isobel"], .wgl-theme-dark .mw-userlink[href="/w/User:Isobel?action=edit&redlink=1"] {
	background-image: url('filepath://Weird_Gloop_dark.png');
}

/* Mojang */
/* Add [[File:Mojang logo.svg]] to known Mojang employee userlinks */
.mw-userlink[href="/w/User:Dinnerbone-gpuser"], .mw-userlink[href="/w/User:Dinnerbone-gpuser?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Jeb_mojang"], .mw-userlink[href="/w/User:Jeb_mojang?action=edit&redlink=1"],
.mw-userlink[href="/w/User:MidnightEnforcer"], .mw-userlink[href="/w/User:MidnightEnforcer?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Minecraft_Staff"], .mw-userlink[href="/w/User:Minecraft_Staff?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Mojang_tommo"], .mw-userlink[href="/w/User:Mojang_tommo?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Slicedlime"], .mw-userlink[href="/w/User:Slicedlime?action=edit&redlink=1"],
.mw-userlink[href="/w/User:IP_Justice"], .mw-userlink[href="/w/User:IP_Justice?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Cornerhard"], .mw-userlink[href="/w/User:Cornerhard?action=edit&redlink=1"],
.mw-userlink[href="/w/User:CornerHard"], .mw-userlink[href="/w/User:CornerHard?action=edit&redlink=1"],

/* legacy/deleted */
.mw-userlink[href="/w/User:MidnightEnforcer43458@legacy41488102"], .mw-userlink[href="/w/User:MidnightEnforcer43458@legacy41488102?action=edit&redlink=1"],
/* previously User:Jonkagstrom47437 */
.mw-userlink[href="/w/User:@DeletedUser40286849"], .mw-userlink[href="/w/User:@DeletedUser40286849?action=edit&redlink=1"],
/* previously User:shoghicp */
.mw-userlink[href="/w/User:@DeletedUser40317681"], .mw-userlink[href="/w/User:@DeletedUser40317681?action=edit&redlink=1"] {
	padding-left: 17px;
	background: url('filepath://Mojang_logo.svg') no-repeat left center;
	background-size: 14px 14px;
}

/* Add [[File:Grass Block JE7 BE6.png]] to known Minecraft/Mojang-related contractor employee userlinks */
.mw-userlink[href="/w/User:C418bla"], .mw-userlink[href="/w/User:C418bla?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Jocopa3"], .mw-userlink[href="/w/User:Jocopa3?action=edit&redlink=1"] {
	padding-left: 17px;
	background: url('filepath://Grass_Block_JE7_BE6.png') no-repeat left center;
	background-size: 14px 14px;
}

/* Add [[File:Gray Mojang Thing.png]] to known ex-Mojang employee userlinks */
.mw-userlink[href="/w/User:EvilSeph"], .mw-userlink[href="/w/User:EvilSeph?action=edit&redlink=1"],
.mw-userlink[href="/w/User:ExcitedZe"], .mw-userlink[href="/w/User:ExcitedZe?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Neon_Master"], .mw-userlink[href="/w/User:Neon_Master?action=edit&redlink=1"],
.mw-userlink[href="/w/User:RazzleberryFox"], .mw-userlink[href="/w/User:RazzleberryFox?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Tahg"], .mw-userlink[href="/w/User:Tahg?action=edit&redlink=1"],
.mw-userlink[href="/w/User:Tamerjeison"], .mw-userlink[href="/w/User:Tamerjeison?action=edit&redlink=1"],
.mw-userlink[href="/w/User:HelenAngel"], .mw-userlink[href="/w/User:HelenAngel?action=edit&redlink=1"],
/* previously User:ProfMobius */
.mw-userlink[href="/w/User:@DeletedUser40549330"], .mw-userlink[href="/w/User:@DeletedUser40549330?action=edit&redlink=1"] {
	padding-left: 17px;
	background: url('filepath://Gray_Mojang_Thing.png') no-repeat left center;
}

/* Make external links the same colour as internal links, the icon is enough to differentiate them */
.mw-body a.external {
	color: #0645ad;
}

.mw-body a.external:visited {
	color: #0b0080;
}

.mw-body a.external:active {
	color: #faa700;
}

/* Make tabs the correct size */
body {
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
}

/* Classes corresponding to Minecraft formatting codes */
.format-0 {
	color: #000;
	text-shadow: 0.125em 0.125em 0 #000;
}
.format-1 {
	color: #0000A8;
	text-shadow: 0.125em 0.125em 0 #00002A;
}
.format-2 {
	color: #00A800;
	text-shadow: 0.125em 0.125em 0 #002A00;
}
.format-3 {
	color: #00A8A8;
	text-shadow: 0.125em 0.125em 0 #002A2A;
}
.format-4 {
	color: #A80000;
	text-shadow: 0.125em 0.125em 0 #2A0000;
}
.format-5 {
	color: #A800A8;
	text-shadow: 0.125em 0.125em 0 #2A002A;
}
.format-6 {
	color: #FBA800;
	text-shadow: 0.125em 0.125em 0 #3E2A00;
}
.format-7 {
	color: #A8A8A8;
	text-shadow: 0.125em 0.125em 0 #2A2A2A;
}
.format-8 {
	color: #545454;
	text-shadow: 0.125em 0.125em 0 #151515;
}
.format-9 {
	color: #5454FB;
	text-shadow: 0.125em 0.125em 0 #15153E;
}
.format-a {
	color: #54FB54;
	text-shadow: 0.125em 0.125em 0 #153E15;
}
.format-b {
	color: #54FBFB;
	text-shadow: 0.125em 0.125em 0 #153E3E;
}
.format-c {
	color: #FB5454;
	text-shadow: 0.125em 0.125em 0 #3E1515;
}
.format-d {
	color: #FB54FB;
	text-shadow: 0.125em 0.125em 0 #3E153E;
}
.format-e {
	color: #FBFB54;
	text-shadow: 0.125em 0.125em 0 #3E3E15;
}
.format-f,
#minetip-tooltip {
	color: #FBFBFB;
	text-shadow: 0.125em 0.125em 0 #3E3E3E;
}
.format-g {
	color: #DDD605;
	text-shadow: 0.125em 0.125em 0 #373501;
}
.format-h {
	color: #E3D4D1;
	text-shadow: 0.125em 0.125em 0 #383534;
}
.format-i {
	color: #CECACA;
	text-shadow: 0.125em 0.125em 0 #333232;
}
.format-j {
	color: #443A3B;
	text-shadow: 0.125em 0.125em 0 #110E0E;
}
.format-l {
	font-weight: bold;
	letter-spacing: 0.125em;
}
.format-m {
	text-decoration: line-through;
}
.format-n {
	text-decoration: underline;
}
.format-o {
	font-style: italic;
}
.format-p {
	color: #DEB12D;
	text-shadow: 0.125em 0.125em 0 #372C0B;
}
.format-q {
	color: #47A036;
	text-shadow: 0.125em 0.125em 0 #04280D;
}
.format-s {
	color: #2CBAA8;
	text-shadow: 0.125em 0.125em 0 #0B2E2A;
}
.format-t {
	color: #21497B;
	text-shadow: 0.125em 0.125em 0 #08121E;
}
.format-u {
	color: #9A5CC6;
	text-shadow: 0.125em 0.125em 0 #261731;
}
.format-v {
	color: #EB7114;
	text-shadow: 0.125em 0.125em 0 #3B1D05;
}
/* Custom color codes because §m and §n are used twice. */
.format-y {
	color: #971607;
	text-shadow: 0.125em 0.125em 0 #250501;
}
.format-z {
	color: #B4684D;
	text-shadow: 0.125em 0.125em 0 #2D1A13;
}
/* Class for &#123456 and &$123 adding custom hex colors. */
.format-custom {
	text-shadow: 0.125em 0.125em 0 color-mix(in srgb, currentColor 25%, #000 75%);
}

/* Styling for minecraft style tooltip */
#minetip-tooltip {
	position: fixed;
	top: 0;
	left: 0;
	background-color: #100010;
	background-color: rgba(16, 0, 16, 0.94);
	padding: 0.375em;
	font-family: Minecraft, sans-serif;
	font-size: 16px;
	word-spacing: 4px;
	white-space: nowrap;
	line-height: 1.25em;
	margin: 0.125em 0.25em;
	pointer-events: none;
	z-index: 9999;
}

#minetip-tooltip::before {
	content: "";
	position: absolute;
	top: 0.125em;
	right: -0.125em;
	bottom: 0.125em;
	left: -0.125em;
	border: 0.15em solid #100010;
	border-style: none solid;
	border-color: rgba(16, 0, 16, 0.94);
}

#minetip-tooltip::after {
	content: "";
	position: absolute;
	top: 0.125em;
	right: 0;
	bottom: 0.125em;
	left: 0;
	border: 0.125em solid #2D0A63;
	border-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
	border-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
}

#minetip-tooltip > .description,
#minetip-tooltip > .minetip-description {
	display: block;
	margin-top: 0.25em;
}

/* For adding alt text to icons for accessibility purposes */
.hidden-alt-text {
	font-size: 0;
}

/* prevent sitenotice show/hide toggle from moving page contents down after pageload */
.globalNotice .globalNoticeDismiss {
	float: right;
}

/* Prevent code from overflowing */
code {
    overflow-wrap: break-word;
}

/* Style code, pre and similar elements/classes with one common styling */
@media screen {
	pre, code, .mw-code {
		background-color: #F8F9FA;
		color: #000;
		border: 1px solid #BBC2C6;
	}
}

kbd, .kbd-color {
	text-shadow: 0 1px 0 #FFF;
	background-color: #F8F9FA;
	color: #222;
	box-shadow: 0 1px rgba(0,0,0,0.2), 0 0 0 2px #FFF inset;
	border-color: #BBC2C6;
	font-size: smaller;
}

/* Fixes for small screens */
@media screen and (max-width: 720px) {
	#mw-head {
		top: 13px;
	}
	
	div#mw-navigation div#mw-panel {
		position: static !important; /* position: relative may be added to inline styles by built-in JS after page load; it needs an !important to override */
	}
}

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

/* presumable Discord link on comportal */
.CPDiscord {
	float: right;
	margin-left: 1em;
	clear: right;
}

/* Styling for tooltip */
.explain {
	border-bottom: 0;
	text-decoration: underline dotted;
	cursor: help;
}

/* Show help cursor when an abbr element has a title attribute */
abbr[title] {
	cursor: help;
}

/* [[Template:History]] */
.historytable-experiment {
	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;
	padding: 0 0.5em;
	width: min-content;
	background-color: inherit;
}
.historytable-experiment + span {
	font-size: small;
	line-height: 1.3;
}

/* Machine-readable extra template information */
.history-json, .chest-json, .chestcontents-json, .sound-json, .spawntable-json, .advancements-json, .achievements-json {
	display: none;
}

.mw-references-columns {
	overflow-wrap: break-word;
}

#mw-imagepage-section-filehistory {
	overflow: auto;
}

/* Enhance contrast for search highlight since we use a blue background */
.mw-prefs-search-highlight {
    background: #c9dffd !important; /* default style contains !important */
    outline: 3px solid #c9dffd !important;
}

/* [[Template:Colorlink]] */
.colored-links a {
  color: inherit !important;
}

body.ns-10008 #ca-talk,
body.ns-10008 .minerva__tab[data-event-name="tabs.talk"] {
	display: none;
}

/* DiscussionTools dark mode fix */
body.wgl-theme-dark .ext-discussiontools-init-highlight {
    mix-blend-mode: lighten;
}

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

body.wgl-theme-dark .ext-discussiontools-init-targetcomment {
    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;
}