MediaWiki:Common.css: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
Anulowanie wersji 61676. Powinienem był to zaktualizować po podmianie istniejących navboksów, ewentualnie dodać nowe klasy, idę aktualizować navboxy.
usunięcie belki tytułowej na rzecz umieszczenia jej implementacji w vectorze i minervie
 
(Nie pokazano 121 wersji utworzonych przez 16 użytkowników)
Linia 1: Linia 1:
/*** Temp fixing any images missing from CDN ***/
@font-face {
/* Redirect arrow */
font-family: 'Minecraft';
.redirectMsg {
src: url('https://minewiki.pl/images/1/1a/Minecraft.woff') format('woff'), url('https://minewiki.pl/images/2/21/Minecraft.woff2') format('woff2');
padding-left: 40px;
background: url("http://hydra-media.cursecdn.com/minecraft-pl.gamepedia.com/b/b5/Redirectltr.png") no-repeat left center;
}
.redirectMsg img {
display: none;
}
}


Linia 24: Linia 19:
height: 48px;
height: 48px;
width: 48px;
width: 48px;
}
.grid img,
.pixel-image img {
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: -webkit-optimize-contrast;
-ms-interpolation-mode: nearest-neighbor;
}
}
   
   
Linia 64: Linia 51:
}
}
.grid .image > a.new {
.grid .image > a.new {
background-image: url("http://hydra-media.cursecdn.com/minecraft-pl.gamepedia.com/3/35/Grid_Unknown.png");
background-image: url("https://minewiki.pl/images/3/35/Grid_Unknown.png");
display: block;
display: block;
width: 32px;
width: 32px;
Linia 94: Linia 81:
.grid .image a.new + .number {
.grid .image a.new + .number {
display: none;
display: none;
}
.grid .animated .image,
.grid .paused .image {
display: none;
}
.grid .animated .image.active,
.grid .paused .image.active {
display: block;
}
}


Linia 222: Linia 200:
border: 1px solid #CCCCCC;
border: 1px solid #CCCCCC;
padding: 2px;
padding: 2px;
overflow: auto;
}
}


Linia 228: Linia 207:
text-align: center;
text-align: center;
font-size: 120%;
font-size: 120%;
    color: #fff;
}
}


Linia 292: Linia 272:
}
}


.navbox-top {
.navbox .navbox-top {
white-space: nowrap;
white-space: nowrap;
background-color: #CCC;
background-color: #CCC;
padding: 0 3px;
padding: 0 3px;
text-align: center;
}
}


Linia 309: Linia 290:
}
}


.navbox-group {
.navbox-group,
.navbox th {
background-color: #EEE;
background-color: #EEE;
padding: 0 10px;
padding: 0 10px;
white-space: nowrap;
white-space: nowrap;
text-align: right;
text-align: right;
}
.new-navbox.navbox-group,
.new-navbox.navbox th {
text-align: center !important;
}
}


.navbox-list {
.navbox-list,
.navbox td {
width: 100%;
width: 100%;
padding: 0 0 0 2px;
padding: 0 0 0 2px;
}
.new-navbox.navbox-list,
.new-navbox.navbox td {
width: auto !important;
}
}


/* [[Template:LoadBox]] with navbox */
/* [[Template:LoadBox]] with navbox */
Linia 370: Linia 362:
overflow: hidden;
overflow: hidden;
vertical-align: middle;
vertical-align: middle;
}
.sprite:not(:is(#foreign *)) {
height: 16px;
height: 16px;
width: 16px;
width: 16px;
Linia 386: Linia 380:


/* [[Template:Schematic]] */
/* [[Template:Schematic]] */
.schematic img {
  image-rendering: crisp-edges;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
}
table.schematic {
table.schematic {
   background-color: white;
   background-color: white;
Linia 427: Linia 414:
}
}


/* Remove the header from the main page */
/* proper list without any bullets */
body.page-Minecraft_Wiki.action-view h1.firstHeading {
.list-style-none ul,.list-style-none ol {
display: none;
list-style:none;
margin-left:0
}
}


/* Collapsible Tables ([[MediaWiki:Common.js]]) */
/* Collapsible Tables ([[MediaWiki:Common.js]]) */
table.collapsed tr.collapsible {
.collapsible.collapsed > tbody > tr:not(:first-child),
.collapsible.collapsed > thead + tbody > tr:first-child,
.collapsible.collapsed > tbody + tbody > tr:first-child,
.collapsible.collapsed > tfoot > tr,
.collapsible.collapsed > .collapsible-content {
display: none;
display: none;
}
}
 
.collapsetoggle,
.collapsible-button {
.collapsible-button {
display: inline-block;
font-weight: normal;
font-style: normal;
float: right;
float: right;
font-weight: normal;
text-align: right;
text-align: right;
 
margin-left: 0.8em;
/* Other languages: Change this to a bit wider (~4px) than your collapse/expand button text */
width: 3.5em;
}
}
.collapsible.collapse-button-left > tr > th .collapsible-button,
.collapsible.collapse-button-left > tr > th .collapsible-button,
.collapsible.collapse-button-left > * > tr > th .collapsible-button {
.collapsible.collapse-button-left > * > tr > th .collapsible-button,
.collapsetoggle-left > tr > * > .collapsetoggle,
.collapsetoggle-left > * > tr > * > .collapsetoggle,
.collapsetoggle-left > * > .collapsetoggle {
float: left;
float: left;
text-align: left;
text-align: left;
margin-right: 0.8em;
margin-left: 0;
}
}
.collapsible.collapse-button-none > tr > th .collapsible-button,
.collapsible.collapse-button-none > tr > th .collapsible-button,
.collapsible.collapse-button-none > * > tr > th .collapsible-button {
.collapsible.collapse-button-none > * > tr > th .collapsible-button,
.collapse-button-none > * > tr > * > .collapsetoggle,
.collapsetoggle-inline > tr > * > .collapsetoggle,
.collapsetoggle-inline > * > tr > * > .collapsetoggle,
.collapsetoggle-inline > * > .collapsetoggle {
float: none;
float: none;
text-align:left;
}
.collapsetoggle-custom {
visibility: hidden;
}
}


Linia 464: Linia 469:
.alternaterows tr:nth-child(even) {
.alternaterows tr:nth-child(even) {
background-color: #F9F9F9;
background-color: #F9F9F9;
}
/* The blue header used throughout the wiki */
.mcwiki-header,
#curse-panel .block_header {
background: #729FCF;
border: 1px solid #ccc;
border-bottom: 4px groove #999999;
border-right: 4px groove #999999;
padding: 5px;
}
}


Linia 479: Linia 474:
.filehistory a img,
.filehistory a img,
#file img:hover {
#file img:hover {
background: url("http://hydra-media.cursecdn.com/minecraft=pl.gamepedia.com/5/5d/Checker-16x16.png");
background: url("https://minewiki.pl/images/8/8c/Transparent.png") repeat;
}
}
#file button img {
#file button img {
Linia 507: Linia 502:
.page-MediaWiki_Sitenotice .mw-content-ltr > div
.page-MediaWiki_Sitenotice .mw-content-ltr > div
  {
  {
background-color: #FFFFFF;
  background-color: transparent !important;
border: 1px solid #D3D3D3;
/* border: 1px solid #D3D3D3;*/
margin-bottom: 12px;
margin-bottom: 12px;
text-align: center;
text-align: center;
    border: none;
}
}
#siteNotice #mw-dismissable-notice #localNotice {
#siteNotice #mw-dismissable-notice #localNotice {
Linia 524: Linia 520:
padding: 0.4em 0 0.5em;
padding: 0.4em 0 0.5em;
margin: 0;
margin: 0;
}
/* Minecraft font */
@font-face {
font-family: Minecraft;
src: url("http://hydra-media.cursecdn.com/minecraft.gamepedia.com/fonts/minecraft.eot?#iefix"),
url("http://hydra-media.cursecdn.com/minecraft.gamepedia.com/fonts/minecraft.woff") format('woff'),
url("http://hydra-media.cursecdn.com/minecraft.gamepedia.com/fonts/minecraft.ttf")  format('truetype');
}
/* Pre-style sidebar portlets before JS loads, so sidebar is less jumpy (reset in [[MediaWiki:Noscript.css]] when JS is off) */
div#mw-panel div.portal {
margin: -11px 9px 10px 11px;
padding: 0.25em 0;
background-image: url(http://hydra-media.cursecdn.com/minecraft-pl.gamepedia.com/b/bf/Panel-divider.png);
background-position: left top;
background-repeat: no-repeat;
}
div#mw-panel div.portal div.body {
background-image: none;
padding: 0;
margin: 0 0 0 1.25em;
}
div#mw-panel div.portal h5 {
padding: 4px 0 3px 1.5em;
margin-bottom: 0;
}
div#mw-panel div.portal div.body ul li {
padding: 0.25em 0;
}
#mw-panel #p-Minecraft_Wiki {
background-image: none;
margin-top: 0;
}
#p-Minecraft_Wiki h5 {
display: none;
}
#mw-panel #p-Minecraft_Wiki div.body {
margin-left: 0.5em;
}
#p-Useful_pages div.body,
#p-tb div.body {
display: none;
}
}


Linia 592: Linia 543:
.collapsible.collapsed > thead + tbody > tr:first-child {
.collapsible.collapsed > thead + tbody > tr:first-child {
display: none;
display: none;
}
/* Improve ASIRRA styling */
#asirra_InstructionsTextId {
display: none;
}
#AsirraDiv {
margin-bottom: 10px;
}
/**
* Remove on upgrade to 1.19
*
* Reverts wikitable styling to default table, then re-applies it
* correctly, so it does not affect child tables
*/
table.wikitable th,
table.wikitable td {
border: none;
padding: 0;
}
table.wikitable th {
background-color: transparent;
}
table.wikitable caption {
font-weight: normal;
}
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
border: 1px #AAA solid;
padding: 0.2em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background-color: #F2F2F2;
text-align: center;
}
table.wikitable > caption {
font-weight: bold;
}
}


Linia 685: Linia 594:
border-left: 1px solid #636363;
border-left: 1px solid #636363;
width: 10px;
width: 10px;
}
/* Move suggestions back into place (netbar moved them) */
.suggestions {
margin-top: -29px !important;
}
}


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


Linia 769: Linia 668:


/* Generic styling for animation class */
/* Generic styling for animation class */
.animated > span,
.animated > *:not(.active):not(.skip),
.animated > div {
.paused > *:not(.active):not(.skip) {
display: none;
        display: none;
}
 
.animated > span.active {
display: inline;
}
 
.animated > div.active {
display: block;
}
}


.nowrap {
.nowrap {
Linia 793: Linia 683:


/* Cite text needs to be a block element, but should display inline */
/* Cite text needs to be a block element, but should display inline */
.references > li {
 
white-space: nowrap;
}
div.cite-reference-text {
div.cite-reference-text {
display: inline-block;
display: inline-block;
vertical-align: top;
vertical-align: top;
white-space: normal;
white-space: normal;
}
/* Add icon to known MC dev userlinks */
.mw-userlink[title="User:Jeb"],
.mw-userlink[title="User:Dinnerbone"],
.mw-userlink[title="User:EvilSeph"],
.mw-userlink[title="User:MarcWatson"],
.mw-userlink[title="User:Tahg"] {
padding-left: 17px;
background: url("http://hydra-media.cursecdn.com/minecraft.gamepedia.com/thumb/a/ad/Mojang_logo.svg/14px-Mojang_logo.svg.png") no-repeat left center;
}
}


/* Mark internal links as plain */
/* Mark internal links as plain */
#content a.external[href^="http://minecraft.gamepedia.com"] {
/*
background: none;
#content a.external[href^="//minewiki.pl"],
padding-right: 0;
#content a.external[href^="http://minewiki.pl"],
}
#content a.external[href^="https://minewiki.pl"] {
#content a.external[href^="http://minecraft-pl.gamepedia.com"] {
background: none;
background: none;
padding-right: 0;
padding-right: 0;
}
}
*/
/* Make tabs the correct size */
/* Make tabs the correct size */
* {
* {
Linia 853: Linia 733:
content: " •  ";
content: " •  ";
}
}
.animated>span {display:none}
 
.animated>span.active {display:block}
/* 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;
}
}


/*  START NOTIFICATIONS */
/*  START NOTIFICATIONS */
Linia 881: Linia 778:
display: block;
display: block;
float: left;
float: left;
background-image: url('/images/a/a6/NoticeIcon.png');
background-image: url('https://minewiki.pl/images/a/a6/NoticeIcon.png');
width: 30px;
width: 30px;
height: 25px;
height: 25px;
Linia 914: Linia 811:
background-position: -128px -8px;
background-position: -128px -8px;
}
}
/* END NOTIFICATIONS */


/* linki zewnętrzne do wewnątrz jako plaintext */
/* linki zewnętrzne do wewnątrz jako plaintext */
Linia 929: Linia 828:
}
}


/* tooltips*/
/* Styling for minecraft style tooltip */
/* Add this attribute to the element that needs a tooltip */
#minetip-tooltip {
[data-tooltip] {
position: fixed;
top: 0;
left: 0;
background-color: #100010;
background-color: rgba(16, 0, 16, 0.94);
color: #FFF;
padding: 0.375em;
    font-family: Minecraft, sans-serif;
font-size: 16px;
word-spacing: 4px;
white-space: nowrap;
line-height: 1.25em;
text-shadow: 0.125em 0.125em 0 #3F3F3F;
margin: 0.125em 0.25em;
pointer-events: none;
z-index: 99;
}
#minetip-tooltip:before {
content: "";
position: absolute;
top: 0.125em;
right: -0.125em;
bottom: 0.125em;
left: -0.125em;
border: 0.125em 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 [[Nodule:Inventory slot]] */
.invslot {
position: relative;
position: relative;
display: inline-block;
background: #8B8B8B no-repeat center center / 32px 32px;
border: 2px solid;
border-color: #373737 #FFF #FFF #373737;
width: 32px;
height: 32px;
font-size: 16px;
line-height: 1;
text-align: left;
vertical-align: bottom;
}
.invslot:before,
.invslot:after {
content: "";
position: absolute;
background-color: #8B8B8B;
height: 2px;
width: 2px;
pointer-events: none;
}
.invslot:before {
bottom: -2px;
left: -2px;
}
.invslot:after {
top: -2px;
right: -2px;
}
.invslot-large {
padding: 8px;
}
.invslot-item,
.invslot-item > a:first-child {
position: relative;
display: block;
margin: -2px;
padding: 2px;
}
.invslot-item-image > a.new:first-child {
background: url('https://minewiki.pl/images/0/07/InvCSS.png') no-repeat content-box;
width: 32px;
height: 32px;
text-indent: -9999px;
overflow: hidden;
}
.invslot-stacksize {
position: absolute;
right: 0;
bottom: 0;
font-family: Minecraft, sans-serif !important;
font-weight: normal !important;
color: #FFF !important;
text-shadow: 2px 2px 0 #3F3F3F;
filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
z-index: 2;
z-index: 2;
cursor: pointer;
}
}


/* Hide the tooltip content by default */
.invslot-plain,
[data-tooltip]:before,
.invslot-plain * .invslot {
[data-tooltip]:after {
background-color: transparent;
  visibility: hidden;
border: 0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
.invslot-plain:before,
opacity: 0;
.invslot-plain:after,
pointer-events: none;
.invslot-plain * .invslot:before,
.invslot-plain * .invslot:after {
content: none;
}
.invslot-plain > .invslot-item,
.invslot-plain > .invslot-item,
.invslot-plain * .invslot > .invslot-item,
.invslot-plain * .invslot > .invslot-item > a:first-child {
margin: 0;
padding: 0;
}
 
.inv-sprite {
width: 32px;
height: 32px;
vertical-align: middle;
}
 
/* Try to use nearest neighbour scaling for pixelated images */
.pixel-image,
.invslot-item-image,
.sprite,
#sprite,
.schematic img,
.grid img{
    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;
}
 
/* Style for [[Moduł:Dokumentacja]] */
.doc-image {
float:left;
margin-right:10px;
}
 
/* Стиль для кнопки «следить за страницей» */
.menu * #ca-unwatch * a:focus,
.menu * #ca-watch * a:focus,
.menu * #ca-unwatch * a,
.menu * #ca-watch * a
{
background-image: none !important;
padding: 0.5em !important;
height: 16px !important;
width: auto !important;
}
 
/* Taken from https://minecraft.gamepedia.com/MediaWiki:Gadget-site-styles.css */
 
@supports ((object-fit: contain) or (-o-object-fit: contain)) {
.edition-box img {
min-height: 50px;
-o-object-fit: contain;
object-fit: contain;
}
}
}


/* Position tooltip above the element */
/* Style the sitenotice */
[data-tooltip]:before {
#siteNotice .globalNotice {
position: absolute;
background-color: #FFF;
bottom: 150%;
border: 1px solid #D3D3D3;
left: 50%;
margin-bottom: 12px;
margin-bottom: 5px;
margin-left: -80px;
padding: 7px;
min-width: 160px;
max-width: 300px;
-webkit-border-radius: 3px;
-moz-border-radius:    3px;
border-radius:        3px;
background-color: #000;
background-color: hsla(0, 0%, 20%, 0.9);
color: #fff;
content: attr(data-tooltip);
text-align: center;
text-align: center;
font-size: 14px;
line-height: 1.2;
}
}


/* Triangle hack to make tooltip look like a speech bubble */
.edition-group {
[data-tooltip]:after {
    display: flex;
position: absolute;
    flex-wrap: wrap;
bottom: 150%;
}
left: 50%;
 
margin-left: -5px;
.edition-group .edition-box {
width: 0;
    flex: 17.4em;
border-top: 5px solid #000;
}
border-top: 5px solid hsla(0, 0%, 20%, 0.9);
 
border-right: 5px solid transparent;
#main-page.main-page {
border-left: 5px solid transparent;
display: -ms-grid;
content: " ";
-ms-grid-template-areas: "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k";
font-size: 0;
-ms-grid-template-columns: 100%;
display: grid;
grid-template-areas: "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k";
grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
#main-page.main-page {
-ms-grid-template-areas: "a a a" "b b b" "c c d" "e f g" "h i j" "k k k";
-ms-grid-template-columns: 33% 33% 34%;
grid-template-areas: "a a a" "b b b" "c c d" "e f g" "h i j" "k k k";
grid-template-columns: 33% 33% 34%;
}
}
 
#main-page.main-page {
margin: -1px;
}
 
.fp-section {
background-color: #FCFCFC;
border: 1px solid #ccc;
vertical-align: top;
margin: 1px;
width: calc(100% - 4px);
}
 
#fp-1 {
-ms-grid-area: a;
grid-area: a;
}
 
#fp-2 {
-ms-grid-area: b;
grid-area: b;
}
 
#fp-3 {
-ms-grid-area: c;
grid-area: c;
}
 
#fp-4 {
-ms-grid-area: d;
grid-area: d;
}
 
#fp-5 {
-ms-grid-area: e;
grid-area: e;
}
 
#fp-6 {
-ms-grid-area: f;
grid-area: f;
}
 
#fp-7 {
-ms-grid-area: g;
grid-area: g;
}
 
#fp-8 {
-ms-grid-area: h;
grid-area: h;
}
 
#fp-9 {
-ms-grid-area: i;
grid-area: i;
}
 
#fp-10 {
-ms-grid-area: j;
grid-area: j;
}
 
#fp-11 {
-ms-grid-area: k;
grid-area: k;
}
@media screen and (min-width:990px) {
#fp-11 {
width: 75%;
margin: 0 auto;
}
}
 
#fp-header.fp-header {
display: -ms-grid;
-ms-grid-template-areas: "aa" "ac" "ab";
-ms-grid-template-columns: 100%;
display: grid;
grid-template-areas: "aa" "ac" "ab";
grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
#fp-header.fp-header {
-ms-grid-template-areas: "aa ab" "ac ac";
-ms-grid-template-columns: 335px 1fr;
grid-template-areas: "aa ab" "ac ac";
grid-template-columns: 335px 1fr;
}
}
@media screen and (min-width:1350px) {
#fp-header.fp-header {
-ms-grid-template-columns: 25% 75%;
grid-template-columns: 25% 75%;
}
}
 
#fp-header-file {
-ms-grid-area: aa;
grid-area: aa;
}
 
#fp-header-links {
-ms-grid-area: ab;
grid-area: ab;
}
 
#fp-header-text {
-ms-grid-area: ac;
grid-area: ac;
}
 
#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 {
    display: grid;
    grid-auto-rows: min-content;
    margin-top: 0;
    grid-template-columns: repeat(auto-fit, minmax(max(160px, 33.333%), 1fr));
}
 
/* search on small screens */
@media screen and (max-width: 720px) {
#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;
}
}
 
/* UCP zepsuło flaggedrevs */
 
.flaggedrevs-pending a, .flaggedrevs-pending a:visited {
  color: #0b0080;
}
.flaggedrevs-pending a, .flaggedrevs-pending a {
  color: #0645ad;
}
div.flaggedrevs_preview {
background-color: #eaf3ff;
color: var(--themed-text-color);
}
.wgl-theme-dark .flaggedrevs-color-1 {
background-color: #323e4d;
}
.flaggedrevs-color-1 {
background-color: #d4e7ff;
padding: 3px;
}
/* https://minewiki.pl/Szablon:InvSprite */
#spritedoc .spritedoc-boxes {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 0 0 1px 1px;
margin: 0.5em 0;
}
.spritedoc-box {
position: relative;
display: inline-block;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
padding: 0.5em;
background: #F9F9F9;
border: 1px solid #CCC;
margin: 0 0 -1px -1px;
}
.spritedoc-image {
display: inline-block;
vertical-align: middle;
margin-right: 0.5em;
line-height: 0;
line-height: 0;
}
#spritedoc .spritedoc-names {
display: inline-block;
vertical-align: middle;
width: 14em;
margin: 0;
list-style: none;
}
}


/* Show tooltip content on hover */
.osoba {
[data-tooltip]:hover:before,
background-color: #CCCCCC;
[data-tooltip]:hover:after {
}
visibility: visible;
.blockrow {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
background-color: #FFFFFF;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
}
opacity: 1;
.blockrow2 {
background-color: #F9F9F9;
}
 
/* Szalon:Przypisy */
p.refSection-intro {
font-style: italic;
color: var(--lt-color-gray-600);
margin-bottom: 5px
}
.wgl-theme-dark p.refSection-intro {
color: var(--lt-color-gray-500)
}
.refSection.columns-2 ol.references {
column-count: 2
}
.refSection.columns-3 ol.references {
column-count: 3
}
.refSection.columns-4 ol.references {
column-count: 4
}
 
.sprite:not(:is(#foreign *)),
.inv-sprite {
background-image: url('https://minewiki.pl/images/0/07/InvCSS.png');
}
 
#iubenda-iframe a.iub-iframe-brand-button, div.iubenda-cs-brand-badge-outer a.iubenda-cs-brand-badge, div.iub__us-widget, div.iubenda-tp-btn-container
{
display: none !important;
}
button.iubenda-tp-btn.iubenda-cs-preferences-link
{
visibility: hidden !important;
}
 
table.special-archives
{
width: 100%;
table-layout: fixed;
}
 
div.foreign
{
background-color: #C3C3C3;
border: 1px solid #7F7F7F;
text-align: center;
padding: 5px;
margin: 15px;
}
 
.mw-body-content #iframeframe > iframe#iframe-discord
{
width: 300px;
height: 500px;
}
 
/* https://minecraft.wiki/w/MediaWiki:Common.css#L-463--L-479  */
.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;
}
 
/* https://minecraft.wiki/w/MediaWiki:Common.css#L-1012--L-1015 */
.history-json,
.chest-json,
.chestcontents-json,
.sound-json,
.spawntable-json,
.advancements-json,
.achievements-json
{
display: none;
}
 
/* https://minecraft.wiki/w/MediaWiki:Common.css#L-991--L-1010 */
.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;
}
}
/* END NOTIFICATIONS */

Aktualna wersja na dzień 17:22, 1 sie 2026

@font-face {
	font-family: 'Minecraft';
	src: url('https://minewiki.pl/images/1/1a/Minecraft.woff') format('woff'), url('https://minewiki.pl/images/2/21/Minecraft.woff2') format('woff2');
}

/** Template stylings **/
/* [[Template:Grid]] */
.grid {
	display: inline-block;
	position: relative;
	text-align: left !important;
	background-color: #8B8B8B;
	height: 32px;
	width: 32px;
	padding: 2px;
	vertical-align: bottom;
}
.grid.output {
	height: 48px;
	width: 48px;
}
 
.grid .border {
	display: block;
	margin: -2px 0 0 -2px;
	border-style: solid none none solid;
	border-width: 2px;
	border-color: #373737;
	height: 100%;
}
.grid .border > span {
	display: block;
	margin-right: -2px;
	border-style: none solid solid none;
	border-width: 2px;
	border-color: #FFFFFF;
	height: 100%;
}
 
.grid .image,
.grid .default-image {
	position: absolute;
	line-height: 16px;
	top: 2px;
	width: 32px;
	height: 32px;
}
.grid.output .image {
	top: 10px;
	left: 10px;
}
.grid .image > a.new {
	background-image: url("https://minewiki.pl/images/3/35/Grid_Unknown.png");
	display: block;
	width: 32px;
	height: 32px;
	outline: none;
	text-indent: -99999px;
}
 
.grid .number {
	position: absolute;
	right: -2px;
	bottom: -2px;
	text-align: right;
	font-family: Minecraft;
	font-size: 16px;
	color: #FFF;
	pointer-events: none;
	z-index: 6;
	text-shadow: 2px 2px 0px #3F3F3F;
	filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
}
.grid .number a {
	color: #FFF;
	text-decoration: none;
}
.grid .number .selflink {
	font-weight: normal;
}
.grid .image a.new + .number {
	display: none;
}

.grid-Crafting_Table,
.grid-Furnace,
.grid-Brewing_Stand table,
.grid-generic {
	background: #C6C6C6;
	border: outset 2px #999;
	padding: 6px;
	text-align: left !important;
}
.grid-Crafting_Table td,
.grid-Furnace td,
.grid-Brewing_Stand td,
.grid-generic td {
	border: none;
	padding: 0;
}

/* [[Template:Grid/Crafting Table]] */
.grid-Crafting_Table .arrow,
.grid-Crafting_Table .shapeless {
	text-align: center;
	vertical-align: bottom;
}

.grid-Crafting_Table .arrow {
	width: 40px;
	padding-bottom: 5px;
}

.grid-Crafting_Table .shapeless span {
	cursor: help;
}

/* [[Template:Grid/Furnace]] */
.grid-Furnace {
	padding-left: 24px;
	padding-right: 24px;
}

.grid-Furnace .arrow,
.grid-Furnace .output {
	text-align: center;
	vertical-align: middle;
}

.grid-Furnace .arrow {
	padding-right: 18px !important;
	padding-left: 14px !important;
}

/* [[Template:Grid/Brewing Stand]] */
.grid-Brewing_Stand {
	position: relative;
	width: 144px;
}

.grid-Brewing_Stand .bubbles {
	text-align: right;
}

.grid-Brewing_Stand .input {
	padding: 3px 0 !important;
	vertical-align: top;
}
.grid-Brewing_Stand .output1 {
	padding: 4px 10px 14px 0 !important;
}
.grid-Brewing_Stand .output2 {
	padding-top: 18px !important;
}
.grid-Brewing_Stand .output3 {
	padding: 4px 0 14px 10px !important;
}

.grid-Brewing_Stand .paths {
	position: absolute;
	bottom: 42px;
	left: 42px;
	z-index: 5;
}

/* [[Template:Grid/Hotbar]] */
.grid-Hotbar {
	display: inline-block;
	position: relative;
}
.grid-Hotbar > .selector {
	position: absolute;
	top: -2px;
	margin-left: -2px;
}
.grid-Hotbar > .slots {
	position: absolute;
	top: 0;
	left: 0;
	margin: 2px;
}
.grid-Hotbar .grid {
	margin: 2px;
	background-color: transparent;
}
.grid-Hotbar .grid > .border,
.grid-Hotbar .grid > .border > span {
	border: 0;
	margin: 0;
}

/* [[Template:Infobox common]] */
.infobox {
	clear: right;
	margin: 3px 0px 3px 3px;
	width: 300px;
	font-size: 90%;
	background: #FFFFFF;
	float: right;
	border: 1px solid #CCCCCC;
	padding: 2px;
	overflow: auto;
}

.infobox-title {
	font-weight: bold;
	text-align: center;
	font-size: 120%;
    color: #fff;
}

.infobox-imagearea {
	text-align: center;
	padding: 4px;
}

.infobox table {
	width: 100%;
}

.infobox p {
	margin: 0;
}

.infobox audio {
	width: 184px;
}

.infobox dl:last-child {
	margin-bottom: 0.2em;
}

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

/* Merge adjacent dls in the infobox (since they're usually supposed to be one, but the wiki screws up sometimes) */
.infobox dl + dl {
	margin-top: -0.4em;
}

/* What is this? */
.infobox.atfmrec {
	border: none !important;
}

/* [[Template:Infobox row]] */
.infobox-row {
	white-space: nowrap;
	font-weight: bold;
}

/* [[Template:Navbox]] */
.navbox {
	background: #FFF;
	border: 1px solid #CCC;
	margin: 1em auto 0;
	clear: both;
	width: 100%;
}

.navbox table {
	background: #FFF;
	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: #CCC;
	padding: 0 3px;
	text-align: center;
}

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

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

.navbox-group,
.navbox th {
	background-color: #EEE;
	padding: 0 10px;
	white-space: nowrap;
	text-align: right;
}
.new-navbox.navbox-group,
.new-navbox.navbox th {
	text-align: center !important;
}

.navbox-list,
.navbox td {
	width: 100%;
	padding: 0 0 0 2px;
}
.new-navbox.navbox-list,
.new-navbox.navbox td {
	width: auto !important;
}


/* [[Template:LoadBox]] with navbox */
.loadbox-navbox {
	padding: 2px !important;
	margin: 1em 0 0 !important;
	clear: both;
}
.loadbox-navbox > p {
	background-color: #CCC;
	text-align: center;
	margin: 0;
	padding: 0 3px;
}
.loadbox-navbox > p > b {
	font-size: 110%;
}

.loadbox-navbox .navbox {
	margin: 0 -2px -2px;
	border: 0;
}
.loadbox-navbox .navbox > tbody > tr:first-child {
	display: none;
}

/* [[Template:History2]] */
.history2 td > pre,
.history2 td > ol {
	display: none;
}

.history2 ul {
	margin-top: 0;
}

.history2 .toggleHistDetails {
	float: right;
	text-align: right;
	width: 150px;
}
.history2 > tbody > tr:first-child > th {
    padding-left: 152px;
}

/* [[Template:Sprite]] */
.sprite {
	display: inline-block;
	position: relative;
	overflow: hidden;
	vertical-align: middle;
}
.sprite:not(:is(#foreign *)) {
	height: 16px;
	width: 16px;
}
.sprite > span {
	position: absolute;
	height: 256px;
	width: 256px;
}

/* [[Template:Sprite/Preview]] */
.sprite-preview:hover div {
	opacity: 0.7 !important;
}


/* [[Template:Schematic]] */
table.schematic {
  background-color: white;
  border-collapse: collapse;
  line-height: 0;
}
table.schematic td,
span.schematic {
  border: 1px solid #AAAAAA !important;
  padding: 0;
}
table.schematic span,
span.schematic {
  display: inline-block;
  overflow: hidden;
  position: relative;
}
table.schematic span span,
span.schematic span {
  color: black;
  font-weight: bold;
  left: 0;
  line-height: 1.5em;
  position: absolute;
  text-align: center;
  text-shadow: 0 0 2px #FFF;
  top: 0;
}

/** Misc stuff **/
/* Prevent page jump from the toolbar loading, doesn't affect people with the toolbar disabled */
#toolbar {
	height: 22px;
}

/* proper list without any bullets */
.list-style-none ul,.list-style-none ol {
 list-style:none;
 margin-left:0
}

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

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

.collapsetoggle-custom {
	visibility: hidden;
}

/* Alternating cell background, primarily used with [[Template:Infobox row]] */
.alternatecells:nth-child(odd) {
	background-color: #F9F9F9;
}
/* Alternating table rows */
.alternaterows tr:nth-child(even) {
	background-color: #F9F9F9;
}

/* Make transparency visible on image pages */
.filehistory a img,
#file img:hover {
	background: url("https://minewiki.pl/images/8/8c/Transparent.png") repeat;
}
#file button img {
	background: none !important;
}

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

/* Remove margin from file page table */
#mw-imagepage-section-filehistory .filehistory {
	margin-right: 0;
}

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

/* Style the sitenotice and fix up its awful spacing (why is it even a table!?) */
#siteNotice #localNotice,
.page-MediaWiki_Sitenotice .mw-content-ltr > div
 {
  	background-color: transparent !important;
/*	border: 1px solid #D3D3D3;*/
	margin-bottom: 12px;
	text-align: center;
    border: none;
}
#siteNotice #mw-dismissable-notice #localNotice {
	/* Note to other languages: Change this to the same width as the "dismiss" button in your language, this makes the sitenotice centred better */
	margin-left: 55px;
}

#siteNotice td:first-child {
	width: 100%;
}

#localNotice div p {
	padding: 0.4em 0 0.5em;
	margin: 0;
}

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

/* Pre-collapse collapsed tables, so there is no page jump when JS kicks in */
.collapsible.collapsed > tr,
.collapsible.collapsed > tbody > tr {
	display: none;
}
.collapsible.collapsed > tr:first-child,
.collapsible.collapsed > tbody > tr:first-child {
	display: table-row;
}
.collapsible.collapsed > thead + tbody > tr:first-child {
	display: none;
}

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

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

.treeview li {
	display: table;
}

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

.treeview li li.first:before {
	border-color: #636363;
	border-style: solid;
	border-width: 1px 0 0 1px;
	height: 100%;
	margin-top: 11px;
	width: 10px;
}
.treeview li li.first,
.treeview li li:last-child {
	border: 0;
	padding-left: 14px;
}
.treeview li li:last-child:before {
	border-left: 1px solid #636363;
	width: 10px;
}

/* Simulate link styling for JS only links */
.jslink {
	color: var(--theme-link-color);
}
.jslink:hover {
	color: var(--theme-link-color--hover);
	cursor: pointer;
	text-decoration: underline;
}

/* Improve styling of sub-categories */
#mw-subcategories ul {
	list-style-type: none;
	margin-left: 10px;
}

/* Use text arrows for enhanced rc instead of outdated (and broken) images */
td.mw-enhanced-rc {
	padding-left: 13px !important;
}
td + td.mw-enhanced-rc {
	padding-left: 0 !important;
}

.mw-enhanced-rc img {
	display: none;
}

.mw-rc-openarrow:after {
	content: "►";
}
.mw-rc-closearrow:after {
	content: "▼";
}

table.mw-enhanced-rc .mw-collapsible-toggle {
	cursor: pointer;
	color: #0645AD;
}

/* Horizontal list */
.hlist ul {
	display: inline;
	margin: 0;
}

.hlist li {
	display: inline-block;
	white-space: nowrap;
	margin: 0;
}
.hlist li:after {
	content: " •";
}
.hlist li:last-child:after,
.hlist li.last-child:after {
	content: "";
}

.hlist li > ul li:first-child:before {
	content: "(";
}
.hlist li > ul li:last-child:after,
.hlist li > ul li.last-child:after {
	content: ")";
}

.hlist li li li {
	font-size: x-small;
}

/* Generic styling for animation class */
.animated > *:not(.active):not(.skip),
.paused > *:not(.active):not(.skip) {
        display: none;
}

.nowrap {
	white-space: nowrap;
}

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

/* Cite text needs to be a block element, but should display inline */

div.cite-reference-text {
	display: inline-block;
	vertical-align: top;
	white-space: normal;
}

/* Mark internal links as plain */
/*
#content a.external[href^="//minewiki.pl"], 
#content a.external[href^="http://minewiki.pl"],
#content a.external[href^="https://minewiki.pl"] {
	background: none;
	padding-right: 0;
}
*/


/* Make tabs the correct size */
* {
	-moz-tab-size: 4;
	  -o-tab-size: 4;
	     tab-size: 4;
}
.new-navbox tr td li { 
display: inline-block;
padding-right: 5px;
}
.new-navbox tr td li:last-child { 
padding-right: 0px;
}
.new-navbox tr td li:last-child::after { 
content: "";
}
.new-navbox tr td ul { 
display: inline-block;
margin: 0px;
}
.new-navbox tr td li ul { 
font-size: 90%;
}
.new-navbox tr td li ul::before { 
content: " (";
}
.new-navbox tr td li ul::after { 
content: ") ";
}
.new-navbox tr td li::after { 
content: " •  ";
}

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

/*  START NOTIFICATIONS */
div.alert-message {
	display: block;
	padding: 13px 12px 12px;
	font-weight: bold !important;
	font-size: 14px;
	color: white;
	background-color: #2ba6cb;
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 12px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
	position: relative;
}
div.alert-message a {
	color: white !important;
	text-decoration: underline !important;
}
div.alert-message .box-icon {
	display: block;
	float: left;
	background-image: url('https://minewiki.pl/images/a/a6/NoticeIcon.png');
	width: 30px;
	height: 25px;
	margin-top: -2px;
	background-position: -8px -8px;
}
div.alert-message p {
	margin: 0px !important;
}
div.alert-message.success {
	background-color: #5da423;
	color: #fff;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
}
div.alert-message.success .box-icon {
	background-position: -48px -8px;
}
div.alert-message.warning {
	background-color: #e3b000;
	color: #fff;
	text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.61);
}
div.alert-message.warning .box-icon {
	background-position: -88px -8px;
}
div.alert-message.error {
	background-color: #c60f13;
	color: #fff;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
}
div.alert-message.error .box-icon {
	background-position: -128px -8px;
}

/* END NOTIFICATIONS */

/* linki zewnętrzne do wewnątrz jako plaintext */
#content a.external[href^="http://prisonwiki.pl"] {
	background: none;
	padding-right: 0;
}
#content a.external[href^="http://devwiki.introversion.co.uk"] {
	background: none;
	padding-right: 0;
}
.plainlink a {
	background: none !important;
	padding-right: 0 !important;
}

/* Styling for minecraft style tooltip */
#minetip-tooltip {
	position: fixed;
	top: 0;
	left: 0;
	background-color: #100010;
	background-color: rgba(16, 0, 16, 0.94);
	color: #FFF;
	padding: 0.375em;
    font-family: Minecraft, sans-serif;
	font-size: 16px;
	word-spacing: 4px;
	white-space: nowrap;
	line-height: 1.25em;
	text-shadow: 0.125em 0.125em 0 #3F3F3F;
	margin: 0.125em 0.25em;
	pointer-events: none;
	z-index: 99;
}
#minetip-tooltip:before {
	content: "";
	position: absolute;
	top: 0.125em;
	right: -0.125em;
	bottom: 0.125em;
	left: -0.125em;
	border: 0.125em 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 [[Nodule:Inventory slot]] */
.invslot {
	position: relative;
	display: inline-block;
	background: #8B8B8B no-repeat center center / 32px 32px;
	border: 2px solid;
	border-color: #373737 #FFF #FFF #373737;
	width: 32px;
	height: 32px;
	font-size: 16px;
	line-height: 1;
	text-align: left;
	vertical-align: bottom;
}
.invslot:before,
.invslot:after {
	content: "";
	position: absolute;
	background-color: #8B8B8B;
	height: 2px;
	width: 2px;
	pointer-events: none;
}
.invslot:before {
	bottom: -2px;
	left: -2px;
}
.invslot:after {
	top: -2px;
	right: -2px;
}
.invslot-large {
	padding: 8px;
}

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

.invslot-item-image > a.new:first-child {
	background: url('https://minewiki.pl/images/0/07/InvCSS.png') no-repeat content-box;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	overflow: hidden;
}

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

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

.inv-sprite {
	width: 32px;
	height: 32px;
	vertical-align: middle;
}

/* Try to use nearest neighbour scaling for pixelated images */
.pixel-image,
.invslot-item-image,
.sprite,
#sprite,
.schematic img,
.grid img{
    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;
}

/* Style for [[Moduł:Dokumentacja]] */
.doc-image		{
				float:left;
				margin-right:10px;
				}

/* Стиль для кнопки «следить за страницей» */
.menu * #ca-unwatch * a:focus,
.menu * #ca-watch * a:focus,
.menu * #ca-unwatch * a,
.menu * #ca-watch * a
	{
	background-image: none !important;
	padding: 0.5em !important;
	height: 16px !important;
	width: auto !important;
	}

/* Taken from https://minecraft.gamepedia.com/MediaWiki:Gadget-site-styles.css */

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

/* Style the sitenotice */
#siteNotice .globalNotice {
	background-color: #FFF;
	border: 1px solid #D3D3D3;
	margin-bottom: 12px;
	text-align: center;
}

.edition-group {
    display: flex;
    flex-wrap: wrap;
}

.edition-group .edition-box {
    flex: 17.4em;
}

#main-page.main-page {
	display: -ms-grid;
	-ms-grid-template-areas: "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k";
	-ms-grid-template-columns: 100%;
	display: grid;
	grid-template-areas: "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k";
	grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
	#main-page.main-page {
		-ms-grid-template-areas: "a a a" "b b b" "c c d" "e f g" "h i j" "k k k";
		-ms-grid-template-columns: 33% 33% 34%;
		grid-template-areas: "a a a" "b b b" "c c d" "e f g" "h i j" "k k k";
		grid-template-columns: 33% 33% 34%;
	}
}

#main-page.main-page {
	margin: -1px;
}

.fp-section {
	background-color: #FCFCFC;
	border: 1px solid #ccc;
	vertical-align: top;
	margin: 1px;
	width: calc(100% - 4px);
}

#fp-1 {
	-ms-grid-area: a;
	grid-area: a;
}

#fp-2 {
	-ms-grid-area: b;
	grid-area: b;
}

#fp-3 {
	-ms-grid-area: c;
	grid-area: c;
}

#fp-4 {
	-ms-grid-area: d;
	grid-area: d;
}

#fp-5 {
	-ms-grid-area: e;
	grid-area: e;
}

#fp-6 {
	-ms-grid-area: f;
	grid-area: f;
}

#fp-7 {
	-ms-grid-area: g;
	grid-area: g;
}

#fp-8 {
	-ms-grid-area: h;
	grid-area: h;
}

#fp-9 {
	-ms-grid-area: i;
	grid-area: i;
}

#fp-10 {
	-ms-grid-area: j;
	grid-area: j;
}

#fp-11 {
	-ms-grid-area: k;
	grid-area: k;
}
@media screen and (min-width:990px) {
	#fp-11 {
		width: 75%;
		margin: 0 auto;
	}
}

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

#fp-header-file {
	-ms-grid-area: aa;
	grid-area: aa;
}

#fp-header-links {
	-ms-grid-area: ab;
	grid-area: ab;
}

#fp-header-text {
	-ms-grid-area: ac;
	grid-area: ac;
}

#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 {
    display: grid;
    grid-auto-rows: min-content;
    margin-top: 0;
    grid-template-columns: repeat(auto-fit, minmax(max(160px, 33.333%), 1fr));
}

/* search on small screens */
@media screen and (max-width: 720px) {
	#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;
	}
}

/* UCP zepsuło flaggedrevs */

.flaggedrevs-pending a, .flaggedrevs-pending a:visited {
	   color: #0b0080;
}
.flaggedrevs-pending a, .flaggedrevs-pending a {
	   color: #0645ad;
}
div.flaggedrevs_preview {
	background-color: #eaf3ff;
	color: var(--themed-text-color);
}
.wgl-theme-dark .flaggedrevs-color-1 {
	background-color: #323e4d;
}
.flaggedrevs-color-1 {
	background-color: #d4e7ff;
	padding: 3px;
}
/* https://minewiki.pl/Szablon:InvSprite */
#spritedoc .spritedoc-boxes {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	padding: 0 0 1px 1px;
	margin: 0.5em 0;
}
.spritedoc-box {
	position: relative;
	display: inline-block;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	padding: 0.5em;
	background: #F9F9F9;
	border: 1px solid #CCC;
	margin: 0 0 -1px -1px;
}
.spritedoc-image {
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.5em;
	line-height: 0;
}
#spritedoc .spritedoc-names {
	display: inline-block;
	vertical-align: middle;
	width: 14em;
	margin: 0;
	list-style: none;
}

.osoba {
	background-color: #CCCCCC;
}
.blockrow {
	background-color: #FFFFFF;
}
.blockrow2 {
	background-color: #F9F9F9;
}

/* Szalon:Przypisy */
p.refSection-intro {
	font-style: italic;
	color: var(--lt-color-gray-600);
	margin-bottom: 5px
}
.wgl-theme-dark p.refSection-intro {
	color: var(--lt-color-gray-500)
}
.refSection.columns-2 ol.references {
	column-count: 2
}
.refSection.columns-3 ol.references {
	column-count: 3
}
.refSection.columns-4 ol.references {
	column-count: 4
}

.sprite:not(:is(#foreign *)),
.inv-sprite {
	background-image: url('https://minewiki.pl/images/0/07/InvCSS.png');
}

#iubenda-iframe a.iub-iframe-brand-button, div.iubenda-cs-brand-badge-outer a.iubenda-cs-brand-badge, div.iub__us-widget, div.iubenda-tp-btn-container
{
	display: none !important;
}
button.iubenda-tp-btn.iubenda-cs-preferences-link
{
	visibility: hidden !important;
}

table.special-archives
{
	width: 100%;
	table-layout: fixed;
}

div.foreign
{
	background-color: #C3C3C3;
	border: 1px solid #7F7F7F;
	text-align: center;
	padding: 5px;
	margin: 15px;
}

.mw-body-content #iframeframe > iframe#iframe-discord
{
	width: 300px;
	height: 500px;
}

/* https://minecraft.wiki/w/MediaWiki:Common.css#L-463--L-479  */
.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;
}

/* https://minecraft.wiki/w/MediaWiki:Common.css#L-1012--L-1015 */
.history-json,
.chest-json,
.chestcontents-json,
.sound-json,
.spawntable-json,
.advancements-json,
.achievements-json
{
	display: none;
}

/* https://minecraft.wiki/w/MediaWiki:Common.css#L-991--L-1010 */
.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;
}