k (test alleen gadget-CSS) |
k (Versie 90884 van DarkShadowTNT (overleg) ongedaan gemaakt. Toch maar even niet) Label: Ongedaan maken |
||
Regel 52: | Regel 52: | ||
/** Template stylings **/ |
/** Template stylings **/ |
||
/* [[Template:Inventory slot]]: [[File:InvCSS.png]] */ |
/* [[Template:Inventory slot]]: [[File:InvCSS.png]] */ |
||
− | + | .invslot { |
|
position: relative; |
position: relative; |
||
display: inline-block; |
display: inline-block; |
||
Regel 112: | Regel 112: | ||
filter: dropshadow(color=#3F3F3F, offx=2, offy=2); |
filter: dropshadow(color=#3F3F3F, offx=2, offy=2); |
||
z-index: 2; |
z-index: 2; |
||
− | } |
+ | } |
/* Plain slot with no border or background */ |
/* Plain slot with no border or background */ |
||
− | + | .invslot-plain { |
|
background-color: transparent; |
background-color: transparent; |
||
border: 0; |
border: 0; |
||
Regel 127: | Regel 127: | ||
margin: 0; |
margin: 0; |
||
padding: 0; |
padding: 0; |
||
− | } |
+ | } |
/* Generic Minecraft interface styling: [[Module:UI]] */ |
/* Generic Minecraft interface styling: [[Module:UI]] */ |
Versie van 7 apr 2020 15:57
/* CSS for the Minecraft-style skin is in [[MediaWiki:Hydra.css]] */
/* Try to keep font style and width consistent across platforms */
body {
font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif;
}
/* Minecraft font */
@font-face {
font-family: Minecraft;
src: url(/media/hydra/fonts/minecraft.eot?#iefix),
url(/media/hydra/fonts/minecraft.woff) format('woff'),
url(/media/hydra/fonts/minecraft.ttf) format('truetype');
}
/** Main page stylings **/
.edition-boxes p {
margin: 0 !important;
}
.edition-boxes > div {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.edition-box {
-ms-flex: 50%;
flex: 50%;
}
.edition-box > p {
display: block;
font-weight: bold;
border-bottom: inherit;
}
.edition-box > table,
.edition-box > div {
margin: 0.4em auto;
}
.edition-box > table th,
.edition-box > table tr {
padding: 0;
}
/* Old Firefox supports flexbox, but not flex-wrap */
@supports not (flex-wrap: wrap) {
.edition-boxes > div {
display: block;
}
}
/** Template stylings **/
/* [[Template:Inventory slot]]: [[File:InvCSS.png]] */
.invslot {
position: relative;
display: inline-block;
background: #8B8B8B no-repeat center center / 32px 32px;
border: 2px solid;
border-color: #373737 #FFF #FFF #373737;
width: 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://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/0/07/InvCSS.png) no-repeat content-box !important;
width: 32px;
height: 32px;
text-indent: -9999px;
overflow: hidden;
}
.invslot-stacksize {
position: absolute;
right: 0;
bottom: 0;
font-family: Minecraft, sans-serif !important;
font-weight: normal !important;
color: #FFF !important;
text-shadow: 2px 2px 0 #3F3F3F;
filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
z-index: 2;
}
/* Plain slot with no border or background */
.invslot-plain {
background-color: transparent;
border: 0;
}
.invslot-plain:before,
.invslot-plain:after {
content: none;
}
.invslot-plain > .invslot-item,
.invslot-plain > .invslot-item > a:first-child {
margin: 0;
padding: 0;
}
/* Generic Minecraft interface styling: [[Module:UI]] */
.mcui {
display: inline-block;
position: relative;
background-color: #C6C6C6;
border: 2px solid;
border-color: #DBDBDB #5B5B5B #5B5B5B #DBDBDB;
padding: 6px;
text-align: left;
white-space: nowrap;
vertical-align: bottom;
}
.mcui-Crafting_Table > *,
.mcui-Furnace > * {
display: inline-block;
vertical-align: top;
}
/* [[Template:Crafting Table]]:
[[File:Grid layout Arrow (small).png]], [[File:Grid layout Shapeless.png]], [[File:Grid layout Fixed.png]] */
.mcui-Crafting_Table .mcui-row {
display: block;
}
.mcui-Crafting_Table > .mcui-arrow {
background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/8/86/Grid_layout_Arrow_%28small%29.png) no-repeat;
width: 32px;
height: 26px;
margin: 40px 4px 0;
}
.mcui-Crafting_Table > .mcui-output {
margin-top: 28px;
}
.mcui-Crafting_Table > .mcui-icons {
position: absolute;
top: 6px;
right: 6px;
}
.mcui-Crafting_Table .mcui-shapeless,
.mcui-Crafting_Table .mcui-fixed {
display: inline-block;
background-repeat: no-repeat;
width: 19px;
height: 15px;
cursor: help;
}
.mcui-Crafting_Table .mcui-shapeless {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/a/a9/Grid_layout_Shapeless.png);
}
.mcui-Crafting_Table .mcui-fixed {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/b/b8/Grid_layout_Fixed.png);
}
/* [[Template:Furnace]]:
[[File:Grid layout Fire.png]], [[File:Grid layout Fire (in-active).png]]
[[File:Grid layout Furnace Progress.png]], [[File:Grid layout Furnace Progress (in-active).png]] */
.mcui-Furnace .mcui-fuel {
display: block;
background: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/d/d8/Grid_layout_Fire.png) no-repeat;
width: 36px;
height: 36px;
}
.mcui-Furnace .mcui-fuel.mcui-inactive {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/a/ab/Grid_layout_Fire_%28in-active%29.png);
}
.mcui-Furnace > .mcui-arrow {
background: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/8/8e/Grid_layout_Furnace_Progress.png) no-repeat;
width: 44px;
height: 32px;
margin: 36px 18px 0 14px;
}
.mcui-Furnace > .mcui-arrow.mcui-inactive {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/d/dc/Grid_layout_Furnace_Progress_%28in-active%29.png);
}
.mcui-Furnace > .mcui-output {
margin-top: 28px;
}
/* [[Template:Brewing Stand]]:
[[File:Grid layout Brewing Bubbles.gif]], [[File:Grid layout Brewing Bubbles (In-active).png]],
[[File:Grid layout Brewing Arrow.png]], [[File:Grid layout Brewing Arrow (In-active).png]],
[[File:Grid layout Brewing Paths.png]], [[File:Grid layout Brewing Empty.png]] */
.mcui-Brewing_Stand > * {
display: block;
}
.mcui-Brewing_Stand .invslot {
vertical-align: top;
}
.mcui-Brewing_Stand > .mcui-input {
text-align: center;
}
.mcui-Brewing_Stand > .mcui-input > .invslot {
margin-top: 3px;
}
.mcui-Brewing_Stand .mcui-bubbling,
.mcui-Brewing_Stand .mcui-arrow {
display: inline-block;
background-repeat: no-repeat;
width: 24px;
height: 57px;
}
.mcui-Brewing_Stand .mcui-bubbling {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/6/65/Grid_layout_Brewing_Bubbles.gif);
}
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-bubbling {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/d/db/Grid_layout_Brewing_Bubbles_%28In-active%29.png);
}
.mcui-Brewing_Stand .mcui-arrow {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/4/4b/Grid_layout_Brewing_Arrow.png);
}
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-arrow {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/5/59/Grid_layout_Brewing_Arrow_%28In-active%29.png);
}
.mcui-Brewing_Stand > .mcui-paths {
position: relative;
background: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/8/82/Grid_layout_Brewing_Paths.png) no-repeat;
width: 60px;
height: 40px;
margin: -20px auto -16px;
z-index: 1;
}
.mcui-Brewing_Stand .mcui-output .invslot {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/5/59/Grid_layout_Brewing_Empty.png);
}
.mcui-Brewing_Stand .mcui-output2 {
margin: 14px 10px 0;
}
/* [[Template:Hotbar]] */
.mcui-Hotbar {
display: inline-block;
position: relative;
border: 0;
padding: 0;
background-color: transparent;
}
.mcui-Hotbar > .mcui-selector {
position: absolute;
top: -2px;
margin-left: -2px;
}
.mcui-Hotbar > .mcui-slots {
position: absolute;
top: 0;
left: 0;
margin: 2px;
}
.mcui-Hotbar .invslot {
margin: 4px;
}
/* [[Sjabloon:Infobox]], [[Sjabloon:Infobox row]] */
.notaninfobox {
clear: right;
margin: 0 0 1em 1em;
width: 300px;
font-size: 90%;
background: #FFF;
float: right;
border: 1px solid #CCC;
padding: 2px;
overflow: auto;
}
.notaninfobox > .infobox-title {
font-weight: bold;
text-align: center;
font-size: 120%;
}
.infobox-imagearea {
text-align: center;
padding: 4px;
}
.infobox-imagearea > div:not(:first-child) {
padding-top: 1em;
}
.infobox-rows {
width: 100%;
}
.infobox-rows > tbody > tr > th {
text-align: left;
white-space: nowrap;
}
#content .infobox-rows p {
margin: 0;
}
.infobox-rows audio {
width: 184px;
}
/* Merge adjacent dls in the infobox (since they're usually supposed to be one, but the wiki screws up sometimes) */
.infobox-rows dl + dl {
margin-top: -0.4em;
}
.infobox-rows dl:last-child {
margin-bottom: 0.2em;
}
.infobox-footer {
text-align: center;
}
/* [[Sjabloon:Navbox]] */
.notanavbox {
background: #FFF;
border: 1px solid #CCC;
margin: 1em auto 0;
clear: both;
width: 100%;
}
.notanavbox table {
background: #FFF;
margin-left: -4px;
margin-right: -2px;
}
.notanavbox table:first-child {
margin-top: -2px;
}
.notanavbox table:last-child {
margin-bottom: -2px;
}
.notanavbox .notanavbox-top {
white-space: nowrap;
background-color: #CCC;
padding: 0 3px;
text-align: center;
}
.notanavbox-navbar,
.notanavbox-navbar-mini {
float: left;
font-size: 80%;
}
.notanavbox-title {
padding: 0 10px;
font-size: 110%;
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/c/cc/Navbox_achtergrond.png);
}
.notanavbox th {
background-color: #EEE;
padding: 0 10px;
white-space: nowrap;
text-align: right;
}
.notanavbox td {
width: 100%;
padding: 0 0 0 2px;
}
/* [[Sjabloon:LoadBox]] with navbox */
.loadbox-navbox {
padding: 2px !important;
margin: 1em 0 0 !important;
clear: both;
}
#content .loadbox-navbox > p {
background-color: #CCC;
text-align: center;
margin: 0;
padding: 0 3px;
}
.loadbox-navbox > p > b {
font-size: 110%;
}
.loadbox-navbox .notanavbox {
margin: 0 -2px -2px;
border: 0;
}
.loadbox-navbox .notanavbox > tbody > tr:first-child {
display: none;
}
/* [[Sjabloon:Sprite]] */
.sprite {
display: inline-block;
vertical-align: text-top;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
.sprite + .sprite-text {
padding-left: 0.312em;
}
/* [[Sjabloon:EffectSprite]]: [[File:EffectsCSS]] */
.effect-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/b/b7/EffectsCSS.png);
width: 18px;
height: 18px;
}
/* [[Sjabloon:CommentSprite]]: [[File:CommentCSS.png]] */
.comment-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/9/9c/CommentCSS.png);
}
/* [[Sjabloon:BlockSprite]]: [[File:BlockCSS.png]] */
.block-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/d/df/BlockCSS.png);
}
/* [[Sjabloon:EntitySprite]]: [[File:EntityCSS.png]] */
.entity-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/4/40/EntityCSS.png);
}
/* [[Sjabloon:ItemSprite]]: [[File:ItemCSS.png]] */
.item-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/f/f5/ItemCSS.png);
}
/* [[Sjabloon:EnvSprite]]: [[File:EnvCSS.png]] */
.env-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/5/54/EnvCSS.png);
}
/* [[Sjabloon:Schematic]]: [[File:SchematicSprite.png]] */
.schematic-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/c/c2/SchematicSprite.png);
background-size: 32em auto;
width: 1em;
height: 1em;
}
/* [[Sjabloon:InvSprite]]: [[File:InvCSS.png]] */
.inv-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/0/07/InvCSS.png);
width: 32px;
height: 32px;
}
/* [[Sjabloon:EditionSprite]]: [[File:EditionCSS.png]] */
.edition-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/7/7c/EditionCSS.png);
}
/* [[Template:Nbt/sprite]]: [[File:Nbtsheet.png]] */
.nbt-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/d/d0/Nbtsheet.png);
}
/* [[Sjabloon:PrestatieSprite]]: [[Bestand:PrestatieSprite.png]] */
.prestatie-sprite {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft_nl_gamepedia/2/2c/PrestatieSprite.png);
width: 94px;
height: 94px;
}
/* [[Sjabloon:VakSprite]]: [[Bestand:VakSprite.png]] */
.vak-sprite {
background-image: url(https://gamepedia.cursecdn.com/minecraft_nl_gamepedia/b/bd/VakSprite.png);
width: 32px;
height: 32px;
}
/* [[Sjabloon:Sprite/Preview]] */
.sprite-preview:hover div {
opacity: 0.7 !important;
}
/* [[Sjabloon:Schematic]] */
.thumb .schematic {
margin: auto;
}
table.schematic {
border-collapse: collapse;
font-size: 32px;
}
span.schematic {
display: inline-block;
font-size: 32px;
}
table.schematic td {
vertical-align: top;
}
table.schematic td,
span.schematic {
background-color: #FFF;
border: 1px solid #CCC;
padding: 0;
width: 1em;
height: 1em;
overflow: hidden;
}
table.schematic td > div,
span.schematic {
position: relative;
}
table.schematic td > div .sprite,
table.schematic td > div .text,
span.schematic .sprite,
span.schematic .text {
position: absolute;
left: 0;
}
.schematic .text {
line-height: 1.5em;
font-size: 75%;
width: 100%;
color: black;
font-weight: bold;
text-align: center;
text-shadow: 0 0 2px #FFF;
}
/* [[Sjabloon:Blauwdruk met lagen]] */
.layered-blueprint {
position: relative;
}
.layered-blueprint-radio {
display: none;
}
.layered-blueprint-tab {
display: inline-block;
cursor: default;
margin-left: 100%;
border-left: 4px solid #252525;
padding: 0.2em 0.5em;
white-space: nowrap;
transition: color 200ms, border-color 200ms;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.layered-blueprint-tab:hover {
color: #80b640;
}
.layered-blueprint-radio:checked + .layered-blueprint-tab {
color: #249a0a;
border-left-color: #249a0a;
}
@-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 {
position: absolute;
top: 0;
background-color: rgba(230, 239, 244, 0.6);
width: 100%;
height: 100%;
-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 {
visibility: hidden;
-webkit-animation: layered-blueprint-fade-out 200ms;
animation: layered-blueprint-fade-out 200ms;
}
/** Misc stuff **/
/* Prevent page jump from the toolbar loading, doesn't affect people with the toolbar disabled */
#toolbar {
height: 22px;
}
/* Remove the header from the main page */
body.page-Minecraft_Wiki.action-view h1.firstHeading,
body.page-Minecraft_Wiki.action-view #contentSub {
display: none;
}
/* Fix floating bodyContent getting caught on something, and displaying too low */
#bodyWrapper {
display: inline-block;
width: 100%;
}
/* Remove sidead from main page editcopy since it
breaks the page and isn't on the real main page */
body.page-Minecraft_Wiki_editcopy .atfmrec {
display: none;
}
/* Collapsible elements ([[MediaWiki:Common.js]]) */
.collapsible.collapsed > tr:not(:first-child),
.collapsible.collapsed > tbody > tr:not(:first-child),
.collapsible.collapsed > thead + tbody > tr:first-child,
.collapsible.collapsed > tbody + tbody > tr:first-child,
.collapsible.collapsed > tfoot > tr,
.collapsible.collapsed > .collapsible-content {
display: none;
}
.collapsetoggle {
display: inline-block;
font-weight: normal;
font-style: normal;
float: right;
text-align: right;
margin-left: 0.8em;
}
.collapsetoggle-left > tr > * > .collapsetoggle,
.collapsetoggle-left > * > tr > * > .collapsetoggle,
.collapsetoggle-left > * > .collapsetoggle {
float: left;
text-align: left;
margin-right: 0.8em;
margin-left: 0;
}
.collapse-button-none > * > tr > * > .collapsetoggle,
.collapsetoggle-inline > tr > * > .collapsetoggle,
.collapsetoggle-inline > * > tr > * > .collapsetoggle,
.collapsetoggle-inline > * > .collapsetoggle {
float: none;
text-align:left;
}
.collapsetoggle-custom {
visibility: hidden;
}
/* Alternating cell background */
.alternatecells:nth-child(odd) {
background-color: #F9F9F9;
}
/* Alternating table rows, primarily used with [[Sjabloon:Infobox row]] */
.alternaterows tr:nth-child(even),
.infobox-rows tr:nth-child(even) {
background-color: #F9F9F9;
}
/* The grass block background used throughout the wiki. Also for search background. */
.mcwiki-header {
color:white;
background: #000000 url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/d/da/Grasachtergrond_infobox.png);
border: 1px solid #CCC;
padding: 5px;
}
.search-bar-simple {
background-color: transparent; /* Just render a blue background if image cannot be loaded */
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/d/da/Grasachtergrond_infobox.png);
padding: 15px 0;
}
/* 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 with that fancy sign texture, imported from Korean Wiki */
#siteNotice #localNotice,
.page-MediaWiki_Sitenotice .mw-content-ltr > div {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/7/7b/MC_Sitenotice.png);
border: 1px solid #CCC;
margin-bottom: 12px;
text-align: center;
}
/* 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 .treeview-header {
padding-left: 3px;
font-weight: bold;
}
.treeview .treeview-header:last-child {
border-color: #636363 !important;
border-left-style: dotted;
}
.treeview .treeview-header:not(:last-child)::before {
content: none;
}
.treeview .treeview-header:last-child::before {
border-bottom: 0;
}
.treeview ul,
.treeview li {
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none;
}
.treeview li li {
position: relative;
padding-left: 13px;
margin-left: 7px;
border-left: 1px solid #636363;
}
.treeview li li::before {
content: "";
position: absolute;
top: 0;
left: -1px;
width: 11px;
height: 11px;
border-bottom: 1px solid #636363;
}
.treeview li li:last-child:not(.treeview-continue) {
border-color: transparent;
}
.treeview li li:last-child:not(.treeview-continue)::before {
border-left: 1px solid #636363;
width: 10px;
}
.nbttree-inherited {
background-color: #E6E6FA;
}
/* Fix treeview overlapping floating content */
div.thumb {
position: relative;
z-index: 1;
}
/* Simulate link styling for JS only links */
.jslink {
color: #0645AD;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.jslink:hover {
text-decoration: underline;
cursor: pointer;
}
.jslink:active {
color: #FAA700;
}
/* Improve styling of sub-categories */
#mw-subcategories ul {
list-style-type: none;
margin-left: 10px;
}
/* Centre recent changes arrows */
.mw-enhancedchanges-arrow.mw-collapsible-toggle-expanded,
.mw-enhancedchanges-arrow.mw-collapsible-toggle-collapsed {
background-position: center center;
}
/* Horizontal list */
.hlist ul {
display: inline;
margin: 0;
}
.hlist li {
display: inline-block;
margin: 0;
white-space: nowrap;
}
.hlist li:not(:last-child) {
padding-right: 0.313em;
}
.hlist li:not(:last-child)::after {
content: "";
display: inline-block;
position: relative;
left: 0.313em;
bottom: 0.234em;
background-color: #000;
height: 3px;
width: 3px;
}
.hlist li > ul li:first-child::before {
content: "(";
}
.hlist li > ul li:last-child::after {
content: ")";
margin-left: 0.313em;
}
.hlist li li li {
font-size: x-small;
}
/* Element animator */
.animated > *:not(.animated-active),
.animated-paused > *:not(.animated-active),
.animated > .animated-subframe > *:not(.animated-active),
.animated-paused > .animated-subframe > *:not(.animated-active) {
display: none;
}
/* Generic nowrap class */
.nowrap {
white-space: nowrap;
}
/* Hide noscript only elements */
.noscript {
display: none;
}
/* Try to use nearest neighbour scaling for pixelated images */
.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;
}
/* Cite text needs to be a block element, but should display inline */
.references > li {
white-space: normal;
}
div.cite-reference-text {
display: inline;
vertical-align: top;
white-space: normal;
}
/* Add [[File:Mojang logo.svg]] to known Mojang employee userlinks */
.mw-userlink[title="Gebruiker:C418bla"],
.mw-userlink[title="Gebruiker:Dinnerbone"],
.mw-userlink[title="Gebruiker:ExcitedZe"],
.mw-userlink[title="Gebruiker:Jeb"],
.mw-userlink[title="Gebruiker:Jeb mojang"],
.mw-userlink[title="Gebruiker:Johanaronson"],
.mw-userlink[title="Gebruiker:Jonkagstrom47437"],
.mw-userlink[title="Gebruiker:MarcWatson"],
.mw-userlink[title="Gebruiker:MidnightEnforcer"],
.mw-userlink[title="Gebruiker:Minecraft Staff"],
.mw-userlink[title="Gebruiker:Mojang tommo"],
.mw-userlink[title="Gebruiker:Neon Master"],
.mw-userlink[title="Gebruiker:ProfMobius"],
.mw-userlink[title="Gebruiker:Shoghicp"] {
padding-left: 17px;
background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/thumb/a/ad/Mojang_logo.svg/14px-Mojang_logo.svg.png) no-repeat left center;
}
/* Add [[File:Grass.png]] to known Minecraft/Mojang-related contractor employee userlinks */
.mw-userlink[title="Gebruiker:HelenAngel"],
.mw-userlink[title="Gebruiker:Jocopa3"],
.mw-userlink[title="Gebruiker:Themogminer"] {
padding-left: 17px;
background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/thumb/c/c5/Grass.png/14px-Grass.png) no-repeat left center;
}
/* Add [[File:Gray Mojang Thing.png]] to known ex-Mojang employee userlinks */
.mw-userlink[title="Gebruiker:EvilSeph"],
.mw-userlink[title="Gebruiker:Neon Master"],
.mw-userlink[title="Gebruiker:RazzleberryFox"],
.mw-userlink[title="Gebruiker:Tahg"] {
padding-left: 17px;
background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/d/df/Gray_Mojang_Thing.png) no-repeat left center;
}
/* Add [[File:CurseFlame.png]] to Curse staff userlinks */
.mw-userlink[title="Gebruiker:Alianin"],
.mw-userlink[title="Gebruiker:Azxiana"],
.mw-userlink[title="Gebruiker:Brilovely"],
.mw-userlink[title="Gebruiker:Cbradberry"],
.mw-userlink[title="Gebruiker:Cchunn"],
.mw-userlink[title="Gebruiker:CrsBenjamin"],
.mw-userlink[title="Gebruiker:Ctipton"],
.mw-userlink[title="Gebruiker:DashStar1"],
.mw-userlink[title="Gebruiker:DBTeamWiki"]
.mw-userlink[title="Gebruiker:Encredechine"],
.mw-userlink[title="Gebruiker:Equazcion"],
.mw-userlink[title="Gebruiker:Furl"],
.mw-userlink[title="Gebruiker:Game widow"],
.mw-userlink[title="Gebruiker:HydraGPEBot"],
.mw-userlink[title="Gebruiker:Leenephi"],
.mw-userlink[title="Gebruiker:Majr"],
.mw-userlink[title="Gebruiker:Malvodion"],
.mw-userlink[title="Gebruiker:Norrissium"],
.mw-userlink[title="Gebruiker:OOeyes"],
.mw-userlink[title="Gebruiker:SandovalCurse"],
.mw-userlink[title="Gebruiker:Smokie"],
.mw-userlink[title="User:Tagaziel"],
.mw-userlink[title="Gebruiker:Truckboat"],
.mw-userlink[title="Gebruiker:Wagnike2"] {
padding-left: 12px;
background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/6/6b/CurseFlame.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;
}
/* Mark internal links as plain */
#content a.external[href^="https://minecraft-nl.gamepedia.com"],
#content a.external[href^="//minecraft-nl.gamepedia.com"] {
background: none;
padding-right: 0;
}
/* Make tabs the correct size */
body {
background-color: #202020;
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/2/26/Background.png);
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}
/* Remove bullets/numbers from a list */
.list-style-none ul,
.list-style-none ol {
list-style: none;
margin-left: 0;
}
/* Classes corresponding to Minecraft formatting codes */
.format-0 {
color: #000;
text-shadow: 0.125em 0.125em 0 #000;
}
.format-1 {
color: #00A;
text-shadow: 0.125em 0.125em 0 #00002A;
}
.format-2 {
color: #0A0;
text-shadow: 0.125em 0.125em 0 #002A00;
}
.format-3 {
color: #0AA;
text-shadow: 0.125em 0.125em 0 #002A2A;
}
.format-4 {
color: #A00;
text-shadow: 0.125em 0.125em 0 #2A0000;
}
.format-5 {
color: #A0A;
text-shadow: 0.125em 0.125em 0 #A200A2;
}
.format-6 {
color: #FA0;
text-shadow: 0.125em 0.125em 0 #2A2A00;
}
.format-7 {
color: #AAA;
text-shadow: 0.125em 0.125em 0 #2A2A2A;
}
.format-8 {
color: #555;
text-shadow: 0.125em 0.125em 0 #151515;
}
.format-9 {
color: #55F;
text-shadow: 0.125em 0.125em 0 #15153F;
}
.format-a {
color: #5F5;
text-shadow: 0.125em 0.125em 0 #153F15;
}
.format-b {
color: #5FF;
text-shadow: 0.125em 0.125em 0 #153F3F;
}
.format-c {
color: #F55;
text-shadow: 0.125em 0.125em 0 #3F1515;
}
.format-d {
color: #F5F;
text-shadow: 0.125em 0.125em 0 #3F153F;
}
.format-e {
color: #FF5;
text-shadow: 0.125em 0.125em 0 #3F3F15;
}
.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;
}
/* 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;
}
/** Wiki editor stuff **/
/* Hide step-by-step publishing as it's broken */
.wikiEditor-ui-buttons {
display: none !important;
}
/* Fix side-by-side editor background colour */
.wikiEditor-ui-controls {
background-color: #E6EFF4;
border-right: 1px solid #E6EFF4;
}
/* Move the portlets up */
#p-logo {
margin-bottom: 0;
}
/* Keep promo images within the sidebar */
#mw-panel .promoSidebar img {
width: 140px;
}
/* Fix enhanced RC spacing */
.mw-enhancedchanges-arrow-space {
vertical-align: top;
}
/* Fix diff spacing */
td.diff-marker {
line-height: 1.2;
}
td.diff-addedline,
td.diff-deletedline,
td.diff-context {
vertical-align: inherit;
}
/* Fix float bug with adblocked side ad... block */
.atfmrec {
margin: 0;
}
#cdm-zone-02:not(:empty) {
margin: 15px 0 2em 1em;
}
/* Fix double underline in spec compliant browsers */
@supports( text-decoration: underline dotted ) {
abbr[title],
.explain[title] {
text-decoration: underline dotted;
border-bottom: none;
}
}
/* Fix diff spacing */
td.diff-marker {
line-height: 1.2;
}
td.diff-addedline,
td.diff-deletedline,
td.diff-context {
vertical-align: inherit;
}
/* Style the sign */
.sign {
background-image: url(https://minecraft-nl.gamepedia.com/media/minecraft-nl.gamepedia.com/7/7b/MC_Sitenotice.png);
padding-left: 9px;
padding-right: 9px;
padding-top: 5px;
padding-bottom: 5px;
font-family: Minecraft, sans-serif !important;
}
/* Prevent 'sluiten' to appear above message */
.globalNoticeDismiss {
float: right;
}
#ca-cargo-purge {
display: none;
}
/* Styling of elements on pages [[Datawaarden/*]] */
.datawaarden {
background-color: #FFF;
border: 1px solid silver;
width: 100%;
text-align: center;
}
/* Custom styling of references. Also allows list style types to be something different than decimals */
ol.references,
div.reflist {
margin-bottom: 0.5em;
}
div.reflist ol.references {
font-size: 100%; /* Reset font-size when nested in div.reflist */
margin-bottom: 0; /* Avoid double margin when nested in div.reflist */
list-style-type: inherit; /* Enable custom list style types */
}
/* 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;
}
}