MediaWiki:Common.css

/***** CSS placed here will be applied to all skins on the entire site. *****/

/* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .allpagesredirect:after { color: #808080; content: " (redirect)" }

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

/* This attempts to disable antialiasing for all images. Instead, nearest neighbor sampling will be used. Images wrapped in containers with the */
 * not(.smooth) .image > img,
 * not(.smooth) .image > link {

image-rendering: optimizeLegibility; 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; } /* Try to use nearest neighbour scaling for pixelated images. For this to work, add the sprite class to the 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; }

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

/* The caramel header used throughout the wiki */ .mcwiki-header { background: #1F5D04; border: 1px solid #CCC; border-bottom: 4px groove #999; border-right: 4px groove #999; padding: 5px; }

/** Template stylings **/ /* Template:Slot */ .invslot { text-rendering: geometricPrecision !important; 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://static.wikia.nocookie.net/minecraft_gamepedia/images/4/44/InvSprite.png/revision/latest) no-repeat content-box; width: 32px; height: 32px; text-indent: -9999px; text-rendering: geometricPrecision !important; overflow: hidden; text-decoration: none; }

.invslot-stacksize { position: absolute; text-rendering: geometricPrecision !important; variant-ligatures: none !important; right: 0; bottom: 0; font-family: Minecraft,monospace !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-sugar { position: relative; display: inline-block; background: url(/media/0/09/Grid_layout_Slot_%28Sugar_Furnace%29.png) no-repeat; font-size: 16px; width: 36px; height: 36px; line-height: 220%; text-align: center; vertical-align:middle; } .invslot-sugar-large { background: url(/media/3/33/Grid_layout_Sugar_Slot_%28Large%29.png) no-repeat; width: 52px; height: 52px; line-height:320%; }

.invslot-sugar-stacksize { position: absolute; display:block; right: 0; line-height:110%; bottom: 0px; display:block; text-align:left; padding-right:2px; font-family: Minecraft !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-sugar-furnace { display: inline-block; position: relative; background-color: #201f21; border: 2px solid; border-color: #b0aeb0 #565456 #565456 #b0aeb0; padding: 6px; text-align: left; white-space: nowrap; vertical-align: bottom; }

.mcui-Crafting_Table > *, .mcui-Inventory_Table> *, .mcui-Sugar_Factory> *, .mcui-Advanced_Sugar_Factory> *, .mcui-Grindstone > *, .mcui-Sugar_Furnace> *, .mcui-Furnace > * { display: inline-block; vertical-align: top; }

.mcui-Crafting_Table > *, .mcui-Inventory_Table> *, .mcui-Sugar_Factory> *, .mcui-Advanced_Sugar_Factory> *, .mcui-Grindstone > *, .mcui-Sugar_Furnace> *, .mcui-Furnace > * { display: inline-block; vertical-align: top; }

/* Template:Crafting: Files from Official Minecraft Wiki */ .mcui-Crafting_Table .mcui-row { display: block; }

.mcui-Crafting_Table > .mcui-arrow { background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/8/86/Grid_layout_Arrow_%28small%29.png/revision/latest) 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://static.wikia.nocookie.net/minecraft_gamepedia/images/a/a9/Grid_layout_Shapeless.png/revision/latest); } .mcui-Crafting_Table .mcui-fixed { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/b/b8/Grid_layout_Fixed.png/revision/latest); }

/* Template:Inventory Crafting: Files from Official Minecraft Wiki */ .mcui-Inventory_Table .mcui-row { display: block; }

.mcui-Inventory_Table > .mcui-arrow { background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/8/86/Grid_layout_Arrow_%28small%29.png/revision/latest) no-repeat; width: 32px; height: 26px; margin: 24px 4px 0; }

.mcui-Inventory_Table > .mcui-output { margin-top: 20px; }

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

.mcui-Inventory_Table .mcui-fixed { background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/b/b8/Grid_layout_Fixed.png/revision/latest); }

/* Template:Sugaring: */ .mcui-Sugar_Factory .mcui-row { display: block; }

.mcui-Sugar_Factory > .mcui-swiggle { background: url(/media/0/01/Grid_layout_Swiggle_%28normal%29.png) no-repeat; width: 73px; height: 16px; margin: 10px 2px 0; }

.mcui-Sugar_Factory > .mcui-output { top: 4px; }

.mcui-Sugar_Factory > .mcui-icons { position: absolute; top: 10px; right: 6px; }

/* Template:Advanced Sugaring: */ .mcui-Advanced_Sugar_Factory .mcui-row { display: block; }

.mcui-Advanced_Sugar_Factory > .mcui-advancedswiggle { background: url(/media/9/9e/Grid_layout_Swiggle_%28advanced%29.png) no-repeat; width: 73px; height: 16px; margin: 10px 2px 0; }

.mcui-Advanced_Sugar_Factory > .mcui-output { top: 4px; }

.mcui-Advanced_Sugar_Factory > .mcui-icons { position: absolute; top: 10px; right: 6px; }

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

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

/* Template:Grindstone: Files from Official Minecraft Wiki */ .mcui-Grindstone .mcui-row { display: block; }

.mcui-Grindstone > .mcui-arrow { background: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/8/86/Grid_layout_Arrow_%28small%29.png/revision/latest) no-repeat; width: 32px; height: 26px; margin: 24px 4px 0; }

.mcui-Grindstone > .mcui-output { margin-top: 20px; }

.mcui-Grindstone > .mcui-icons { position: absolute; top: 6px; right: 6px; }

/* Template:Sugar_Smelting: ,  ,  */ .mcui-Sugar_Furnace .mcui-fuel { display: block; background: url(/media/4/42/Grid_layout_Sugar_Fire.png) no-repeat; width: 36px; height: 36px; } .mcui-Sugar_Furnace .mcui-fuel.mcui-inactive { background-image: url(/media/9/97/Grid_layout_Sugar_Fire_%28in-active%29.png); } .mcui-Sugar_Furnace > .mcui-arrow { background: url(/media/6/6f/Grid_layout_Sugar_Furnace_Progress.png) no-repeat; width: 44px; height: 32px; margin: 36px 18px 0 14px; } .mcui-Sugar_Furnace > .mcui-arrow.mcui-inactive { background-image: url(/media/6/66/Grid_layout_Sugar_Furnace_Progress_%28in-active%29.png); }

.mcui-Sugar_Furnace > .mcui-output { margin-top: 28px; }

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

/* Template:Infobox, Template:Infobox row */ .notaninfobox { position: relative; clear: right; margin: 0 0 1em 1em; width: 300px; font-size: 90%; background: #e4eef2; float: right; border: 1px solid #CCC; padding: 2px; overflow: auto; z-index: 1; }

.notaninfobox > .infobox-title { font-weight: bold; text-align: center; color: #FFFFFF; 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; }	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; }
 * 1) content .infobox-rows p {

.infobox-footer { text-align: center; } /* Alternating table rows, primarily used with Template:Infobox row */ .alternaterows tr:nth-child(even), .infobox-rows tr:nth-child(even) { background-color: #dae7ed; } /* 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; } /* Element animator 2.0 */ .animated2 > *:not(.animated2-active), .animated2-paused > *:not(.animated2-active), .animated2 > .animated2-subframe > *:not(.animated2-active), .animated2-paused > .animated2-subframe > *:not(.animated2-active) { display: none; }

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

/* Hide noscript only elements */ .noscript { display: none; } /* 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 #2A002A; } .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-p { color: #F7B2DF; text-shadow: 0.125em 0.125em 0 #722472; } .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 */ position: fixed; top: 0; left: 0; text-rendering: geometricPrecision !important; 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; }	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); }	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; }
 * 1) minetip-tooltip {
 * 1) minetip-tooltip:before {
 * 1) minetip-tooltip:after {

display: block; margin-top: 0.25em; }
 * 1) minetip-tooltip > .description,
 * 2) minetip-tooltip > .minetip-description {

/* Allow setting the text alignment of particular table columns */ .col-1-left td:nth-child(1), .col-2-left td:nth-child(2), .col-3-left td:nth-child(3), .col-4-left td:nth-child(4), .col-5-left td:nth-child(5), .col-6-left td:nth-child(6), .col-7-left td:nth-child(7), .col-8-left td:nth-child(8), .col-9-left td:nth-child(9) { text-align: left; } .col-1-center td:nth-child(1), .col-2-center td:nth-child(2), .col-3-center td:nth-child(3), .col-4-center td:nth-child(4), .col-5-center td:nth-child(5), .col-6-center td:nth-child(6), .col-7-center td:nth-child(7), .col-8-center td:nth-child(8), .col-9-center td:nth-child(9) { text-align: center; } .col-1-right td:nth-child(1), .col-2-right td:nth-child(2), .col-3-right td:nth-child(3), .col-4-right td:nth-child(4), .col-5-right td:nth-child(5), .col-6-right td:nth-child(6), .col-7-right td:nth-child(7), .col-8-right td:nth-child(8), .col-9-right td:nth-child(9) { text-align: right; } .watchlistredir { font-style: italic; } /* Import AvanteTitleCps */ @font-face { font-family: 'a_AvanteTitlerCpsUpC Light'; font-style: normal; font-weight: 400; src: local('a_AvanteTitlerCpsUpC Light'), local('a_AvanteTitlerCpsUpC-Light'), url(http://allfont.ru/cache/fonts/a_avantetitlercpsupc-light_8be58eb007596f46c4e78dd7bc4837dd.woff) format('woff'), url(http://allfont.ru/cache/fonts/a_avantetitlercpsupc-light_8be58eb007596f46c4e78dd7bc4837dd.ttf) format('truetype'); } /* Import DPix_8pt */ @font-face { font-family: 'DPix_8pt'; font-style: normal; font-weight: 400; src: local('DPix_8pt'), local('DPix_8pt-Regular'), url(http://allfont.ru/cache/fonts/dpix_8pt_eb40fe33fb07fbe5868ba002b9f19e89.woff) format('woff'), url(http://allfont.ru/cache/fonts/dpix_8pt_eb40fe33fb07fbe5868ba002b9f19e89.ttf) format('truetype'); }

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

/* CSS placed here will be applied to all skins */ /* 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; }

/* Template documentation styles */ /* If modifying these styles, be sure to update the mobile skin! */ .doc { margin: 0em auto 1em; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

.doc-header { padding-bottom: 3px; border-bottom: 1px solid #BDCAC3; margin-bottom: 1ex; }

.doc-footer { margin: 0; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */ /* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */ .desktopleft {   text-align: left; }

.desktopcenter { text-align: center; }

.desktopright { text-align: right; }

/* Front page structure */ .fpmain { width: 100%; overflow: hidden; }

.fpbox { margin: 5px; padding: 5px; overflow: auto; }

.fpbox.plain { background: transparent; border: none; box-shadow: none; }

.fpbox .heading, .fpbox .mainheading, .fpbox .welcome { margin: 0 0 10px; padding: 0 0 5px; overflow: auto; }

.fpbox .mainheading, .fpbox .welcome { font-size: 150%; font-weight: bold; }

.fpbox .heading { text-align: center; font-size: 132%; }

.linkslabel { margin: 15px 5px 5px; padding: 0 0 5px; }

/* Template:FP links styles */ .fplinks { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch; text-align: center; }

.fplink-outer { padding: 5px; flex-basis: calc(25% - 10px); width: calc(25% - 15px); min-width: 115px; display: inline-block; vertical-align: middle; }

.fplink-wide { flex-basis: calc(33% - 10px); width: calc(33% - 15px); }

.fplink-fullwidth { flex-basis: 100%; width: calc(100% - 15px); font-weight: bold; }

.fplink { padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; }

.fplink-plain { background: transparent; border-radius: 0; border: 0; box-shadow: none; }

.fplink-inner { display: table-row; }

.fplink a { display: table-cell; vertical-align: middle; }

.fplink img { max-width: 150px; width: 100%; height: auto; } /* Auto-resize front page video to fit smaller columns */ .fpbox .embedvideowrap { width: 100%!important; max-width: 480px; margin: 0 auto; }

.fpbox .embedvideowrap iframe { width: 100%!important; }