MediaWiki:Common.css

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

div.documentation{ background-color: #000; }

/* INFOBOXES */

.infoboxtable { background:#000000; background-image:-moz-linear-gradient(center top, #1A1D20 60%, #0A0B0C 100%); background-image:-webkit-gradient(linear, center top, left bottom, color-stop(60%,#1A1D20), color-stop(100%,#0A0B0C)); background-image:-webkit-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); background-image:-o-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); background-image:-ms-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); background-image: linear-gradient(to bottom, #1A1D20 60%, #0A0B0C 100%); border:1px solid #323232; float:right; font-size:89%; color:white; margin-bottom:0.5em; margin-left:1em; padding:0.2em; width:300px; }

.infoboxtable td { vertical-align:top; }

.infoboxtable td > div { background-color: rgba(98, 98, 98, 0.2); background-color: rgb(41, 43, 46); border: 2px solid inherit; border-radius: 5px; text-align:right; font-weight:bold; padding:0.5px 7px; }

.infoboxname { font-size:110%; font-weight:bold; padding:0.5em; }

.infoboxdetails, .infoboxdescription { padding:0em; }

.infoboxname, .infoboxdetails, .infoboxdescription { background: #1e2125; /* Old browsers */ background: -moz-linear-gradient(top, #1e2125 0%, #141618 61%, #000000 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e2125), color-stop(61%,#141618), color-stop(100%,#000000)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #1e2125 0%,#141618 61%,#000000 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #1e2125 0%,#141618 61%,#000000 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #1e2125 0%,#141618 61%,#000000 100%); /* IE10+ */ background: linear-gradient(to bottom, #1e2125 0%,#141618 61%,#000000 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e2125', endColorstr='#000000',GradientType=0 ); /* IE6-9 */ }

/* custom header */ div.header { background: #1e2125; /* Old browsers */ background: -moz-linear-gradient(top, #1e2125 0%, #141618 61%, #000000 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e2125), color-stop(61%,#141618), color-stop(100%,#000000)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #1e2125 0%,#141618 61%,#000000 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #1e2125 0%,#141618 61%,#000000 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #1e2125 0%,#141618 61%,#000000 100%); /* IE10+ */ background: linear-gradient(to bottom, #1e2125 0%,#141618 61%,#000000 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e2125', endColorstr='#000000',GradientType=0 ); /* IE6-9 */ border: 1px solid #323232; box-shadow: rgba(132, 141, 95, 1) 0 0.1em 0.5em; text-align: center; color: #ffffff; font-size: 130%; padding: 4px; }

.toccolours { background-color: #000000; border: 1px solid #676767; }

.portal h5{ background: linear-gradient(top, #080808 0%, #404040 100%); background: -moz-linear-gradient(top, #080808 0%, #404040 100%); background: -webkit-linear-gradient(top, #080808 0%, #404040 100%); }

/* Minecraft wiki templates */

/** Template stylings **/ /* Template:Grid: */ .grid { position: relative; display: inline-block; background-color: #8B8B8B; border: 2px solid #373737; border-right-color: #FFF; border-bottom-color: #FFF; width: 32px; height: 32px; font-size: 16px; line-height: 1; text-align: left; vertical-align: bottom; } .grid-large { padding: 8px; }

.grid:before, .grid:after { content: ""; position: absolute; background-color: #8B8B8B; height: 2px; width: 2px; pointer-events: none; } .grid:before { bottom: -2px; left: -2px; } .grid:after { top: -2px; right: -2px; }

.grid img, .grid .sprite { margin: 2px; vertical-align: top; } .grid-item, .grid-default-item { position: absolute; margin: -2px; } .grid-item > a { display: block; } .grid-item-image > a.new:first-child { background: url(https://static.wikia.nocookie.net/moreblocksmod_gamepedia/images/3/35/Grid_Unknown.png/revision/latest) no-repeat 2px; width: 36px; height: 36px; text-indent: -9999px; overflow: hidden; } .grid-number { position: absolute; right: 0; bottom: 0; font-family: Minecraft, sans-serif; font-weight: normal; color: #FFF; text-shadow: 2px 2px 0 #3F3F3F; filter: dropshadow(color=#3F3F3F, offx=2, offy=2); z-index: 2; }

/* Plain grid with no border or background */ .grid-plain { background-color: transparent; border: 0; } .grid-plain:before, .grid-plain:after { content: none; }

/* Generic grid interface styling */ .grid-Crafting_Table, .grid-Furnace, .grid-Brewing_Stand, .grid-interface { display: inline-block; position: relative; background: #C6C6C6; border: 2px solid #DBDBDB; border-right-color: #5B5B5B; border-bottom-color: #5B5B5B; padding: 6px; text-align: left; white-space: nowrap; vertical-align: bottom; }

.grid-Crafting_Table > *, .grid-Furnace > * { display: inline-block; vertical-align: top; }

/* Template:Grid/Crafting Table * *  *  *  *  *  */ .grid-Crafting_Table .grid-row { display: block; }

.grid-Crafting_Table > .grid-arrow { background: url(/media/8/86/Grid_layout_Arrow_%28small%29.png) no-repeat center top; width: 40px; height: 26px; margin-top: 40px; }

.grid-Crafting_Table > .grid-output { margin-top: 28px; }

.grid-Crafting_Table > .grid-icons { position: absolute; top: 6px; right: 6px; } .grid-Crafting_Table .grid-shapeless { display: inline-block; background: url(https://static.wikia.nocookie.net/moreblocksmod_gamepedia/images/a/a9/Grid_layout_Shapeless.png/revision/latest) no-repeat; width: 19px; height: 15px; cursor: help; }

/* Template:Grid/Furnace */ .grid-Furnace .grid-fuel { display: block; background: url(https://static.wikia.nocookie.net/moreblocksmod_gamepedia/images/d/d8/Grid_layout_Fire.png/revision/latest) no-repeat; width: 36px; height: 36px; } .grid-Furnace .grid-fuel.grid-inactive { background-image: url(/media/a/ab/Grid_layout_Fire_%28in-active%29.png); } .grid-Furnace > .grid-arrow { background: url(https://static.wikia.nocookie.net/moreblocksmod_gamepedia/images/8/8e/Grid_layout_Furnace_Progress.png/revision/latest) no-repeat center top; width: 44px; height: 32px; margin: 36px 18px 0 14px; } .grid-Furnace > .grid-arrow.grid-inactive { background-image: url(/media/d/dc/Grid_layout_Furnace_Progress_%28in-active%29.png); }

.grid-Furnace > .grid-output { margin-top: 28px; }

/* Template:Grid/Brewing Stand * *  *  *  *  */ .grid-Brewing_Stand > * { display: block; }

.grid-Brewing_Stand .grid { vertical-align: top; }

.grid-Brewing_Stand > .grid-input { text-align: center; }

.grid-Brewing_Stand > .grid-input > .grid { margin-top: 3px; }

.grid-Brewing_Stand .grid-bubbling, .grid-Brewing_Stand .grid-arrow { display: inline-block; background-repeat: no-repeat; width: 24px; height: 57px; }

.grid-Brewing_Stand .grid-bubbling { background-image: url(https://static.wikia.nocookie.net/moreblocksmod_gamepedia/images/6/65/Grid_layout_Brewing_Bubbles.gif/revision/latest); } .grid-Brewing_Stand > .grid-input.grid-inactive > .grid-bubbling { background-image: url(/media/d/db/Grid_layout_Brewing_Bubbles_%28In-active%29.png); }

.grid-Brewing_Stand .grid-arrow { background-image: url(https://static.wikia.nocookie.net/moreblocksmod_gamepedia/images/4/4b/Grid_layout_Brewing_Arrow.png/revision/latest); } .grid-Brewing_Stand > .grid-input.grid-inactive > .grid-arrow { background-image: url(/media/5/59/Grid_layout_Brewing_Arrow_%28In-active%29.png); }

.grid-Brewing_Stand > .grid-paths { position: relative; background: url(https://static.wikia.nocookie.net/moreblocksmod_gamepedia/images/8/82/Grid_layout_Brewing_Paths.png/revision/latest) no-repeat center; width: 60px; height: 40px; margin: -20px auto -16px; z-index: 1; }

.grid-Brewing_Stand .grid-output2 { margin: 14px 10px 0; }

/* Try to use nearest neighbour scaling for pixelated images */ .pixel-image, .grid, .sprite { image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; -ms-interpolation-mode: nearest-neighbor; }

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

/* Generic nowrap class */ .nowrap { white-space: nowrap; }

/* Template:Sprite */ .sprite { display: inline-block; vertical-align: -2px; width: 16px; height: 16px; } .sprite + .sprite-text { padding-left: 0.312em; }

/* Template:BlockSprite: */ .block-sprite { background-image: url(https://static.wikia.nocookie.net/moreblocksmod_gamepedia/images/d/df/BlockCSS.png/revision/latest); }

/* Template:ItemSprite: */ .item-sprite { background-image: url(https://static.wikia.nocookie.net/moreblocksmod_gamepedia/images/f/f5/ItemCSS.png/revision/latest); }

/* Template:Grid: */ .minecraft-grid-sprite { background-image: url(https://static.wikia.nocookie.net/moreblocksmod_gamepedia/images/9/98/GridMinecraftSprite.png/revision/latest); width: 32px; height: 32px; }

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

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

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

.notaninfobox table { width: 100%; }

.notaninfobox p { margin: 0; }

.notaninfobox audio { width: 184px; }

.notaninfobox 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) */ .notaninfobox dl + dl { margin-top: -0.4em; }

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

/* Template:Navbox */ .navbox { background: #1d1d1d; border: 1px solid #323232; clear: both; color: #ffffff; margin: 1em auto 0; width: 100%; }

.navbox table { background: transparent; margin-left: -4px; margin-right: -2px; }

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

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

.navbox-top { background:#000000; background: linear-gradient(top, #080808 0%, #404040 100%); background: -moz-linear-gradient(top, #080808 0%, #404040 100%); background: -webkit-linear-gradient(top, #080808 0%, #404040 100%); //background-image:-moz-linear-gradient(center top, #1A1D20 60%, #0A0B0C 100%); //background-image:-webkit-gradient(linear, center top, left bottom, color-stop(60%,#1A1D20), color-stop(100%,#0A0B0C)); //background-image:-webkit-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); //background-image:-o-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); //background-image:-ms-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); //background-image: linear-gradient(to bottom, #1A1D20 60%, #0A0B0C 100%); border:1px solid #323232; color: #ffffff; padding: 0 3px; white-space: nowrap; }

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

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

.navbox-group { background-color: #000000; color: #ffffff; padding: 0 10px; text-align: right; white-space: nowrap; }

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

-moz-tab-size: 4; }

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

/** Misc stuff **/ /* Collapsible Tables (MediaWiki:Common.js) */ .collapsible-button { float: right; font-weight: normal; margin-left: 0.8em; }

.collapsible.collapse-button-left > tr > th .collapsible-button, .collapsible.collapse-button-left > * > tr > th .collapsible-button { float: left; margin-right: 0.8em; margin-left: 0; }

.collapsible.collapse-button-none > tr > th .collapsible-button, .collapsible.collapse-button-none > * > tr > th .collapsible-button { float: none; }

.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; }

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

/* This governs the sections on the Community portal */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

.cpbox #admins { box-sizing: border-box; width: calc(33% - 10px); margin: 5px; flex-grow: 1; min-width: 300px; }

.cpbox #help { box-sizing: border-box; width: calc(67% - 10px); margin: 5px; flex-grow: 1; }