Изменения

MediaWiki:Mobile.css

8843 байта убрано, 11:08, 21 августа 2016
Нет описания правки
/** Minecraft skin **/
/* Minecraft font Give the background the stone and grass texture */@font-face body { fontbackground-familycolor: Minecraft#202020; srcbackground-image: url(http://hydra-media.cursecdn.com/hydraminecraft-ru.gamepedia.com/2/fonts29/minecraftMobile-header-background.woff) format('woff'png), url(http://hydra-media.cursecdn.com/hydraminecraft-ru.gamepedia.com/2/fonts26/minecraftBackground.ttf) format('truetype'png); background-repeat: repeat-x, repeat;
}
/* Give the background the stone and grass texture: [[File:Mobile-background.png]] [[File:Background HiDPI.png]] 3D search box */.header #searchbox { margin-top: 0; borderbackground-topcolor: none#FFF;
}
#mw-mf-page-center,.overlay-header-container search_bar { background-colorimage: url(http: #202020 !important; background//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/8/8a/Mobile-search-image: start.png), url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/60/6a05/Mobile-headersearch-end.png), url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/d7/de7d/Background_HiDPIMobile-search-background.png) !important; background-sizeposition: 48px auto !importantleft top, right top, left top; background-repeat: no-repeat, no-xrepeat, repeat !important-x; color: #3C3B3B; borderheight: none !important26px;
}
.overlay-header-container #sq { padding-bottom: 26px; topborder: 0 !important;
}
.overlay-content #search { paddingbackground-topcolor: transparent; width: 26px100% !important;
}
.search#searchbox #goButton { background: url(http://hydra-overlay media.overlay-header,cursecdn.searchcom/minecraft-overlay ru.results,gamepedia.com/3/3f/Mobile-search-overlay button.searchpng) no-feedback { background: none !importantrepeat 5px 5px / 18px;
}
input.search {/* Let nav go over the top of other things, instead of pushing them down */ background: none !important;}input.search::-webkit-input-placeholder #nav { colorposition: #6D6D6Dabsolute;}input.search:-ms-input-placeholder { color: #6D6D6D;}input.search::-ms-inputz-placeholder { colorindex: #6D6D6D100;
}
/* Give the main content area its healthy blue glow */
#content {
marginbackground: #E6EFF4 !important; border-top: 26px6px solid #B4BEC3;}.heading border-holder {left: 6px solid #171717; paddingmargin-top: 10px18px;
}
/* Give the main content area its healthy blue glow Fake 3D corners */body,#content,.search-overlay { backgroundmargin: -6px 0 -6px -color: #E6EFF4 !important6px; borderpadding: none18px;} background-image: url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/a/af/Vector-tabs-background.png), url(http://hydra-media.cursecdn.searchcom/minecraft-overlay {ru.gamepedia.com/4/4f/Content-background.png); background-position: 0 3.35em !importanttop right, bottom left; background-repeat: no-repeat;
}
#bodyContent:first-child firstHeading { paddingmargin-top: 10px0;
}
#footer,#footer a:active copyright {
color: #FFF;
}
#footer copyright a { color: #BFBFBF;
}
/* Fix dumb default styling Clear floats */.content visualClear {
clear: both;
}
.content .navbox {
display: table !important;
}
.content code,
.content pre {
background-color: #f9f9f9;
border: 1px solid #ddd;
color: black;
}
.content code {
border-radius: 2px;
}
@media all and (max-width: 768px) {
.gallerybox .thumb > div {
margin: 15px !important;
width: auto !important;
}
}
 
/* Use black bullet points, instead of blue circles: [[File:List bullet.svg]] */
.content ul {
list-style-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/3/39/List_bullet.svg);
}
/** Template stylings **/
/* [[Template:Inventory slot]]: [[File:InvSprite.pngGrid]] */.invslot grid { display: inline-block;
position: relative;
displaytext-align: inline-blockleft !important; background-color: #8B8B8B no-repeat center center / 32px 32px; borderheight: 2px solid; border-color: #373737 #FFF #FFF #37373732px;
width: 32px;
heightpadding: 32px; font-size: 16px; line-height: 1; text-align: left2px;
vertical-align: bottom;
}
.invslotgrid.output { height:before48px; width: 48px;} .grid img,.invslotpixel-image img { image-rendering:after {-moz-crisp-edges; contentimage-rendering: ""-o-crisp-edges; positionimage-rendering: absolute-webkit-optimize-contrast; background-colorms-interpolation-mode: nearest-neighbor;} .grid .border { display: #8B8B8Bblock; heightmargin: -2px 0 0 -2px; border-style: solid none none solid; border-width: 2px; pointerborder-eventscolor: #373737; height: none100%;
}
.invslotgrid .border > span { display:before {block; bottommargin-right: -2px; leftborder-style: none solid solid none; border-width: 2px; border-color: #FFFFFF; height: 100%;
}
.grid .image,.invslotgrid .default-image { position:after {absolute; line-height: 16px; top: -2px; rightwidth: -2px32px; height: 32px;
}
.invslot-large grid.output .image { paddingtop: 8px10px; left: 10px;
}
 .invslot-item,grid .invslot-item image > a:first-child .new { positionbackground-image: url("http: relative//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/3/35/Grid_Unknown.png");
display: block;
margin: -2px;
padding: 2px;
}
 
.invslot-item-image > a.new:first-child {
background: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/4/44/InvSprite.png) no-repeat content-box;
width: 32px;
height: 32px;
outline: none; text-indent: -9999px; overflow: hidden99999px;
}
.invslot-stacksize grid .number {
position: absolute;
right: 0-2px; bottom: 0-2px; text-align: right; font-family: Minecraft, sans-serif !important; font-weightsize: normal !important16px; color: #FFF !important; pointer-events: none; z-index: 6; text-shadow: 2px 2px 0 0px #3F3F3F;
filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
z-index: 2;
}
 /* Plain slot with no border or background */.invslot-plain grid .number a { background-color: transparent#FFF; bordertext-decoration: 0none;
}
.invslot-plain:before,grid .number .invslot-plain:after selflink { contentfont-weight: nonenormal;
}
.invslot-plain > grid .invslot-item,image a.invslot-plain > new + .invslot-item > a:first-child number { margin: 0; paddingdisplay: 0none;
}
/* Generic Minecraft interface styling: [[Module:UI]] */.grid .animated .image,.mcui grid .paused .image { 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: bottomnone;
}
 .mcui-Crafting_Table > *grid .animated .image.active,.mcui-Furnace > * grid .paused .image.active { display: inline-block; vertical-align: top;
}
/* [[Template:Crafting Table]]:.animated > span, [[File:Grid layout Arrow (small).png]]animated > div, [[File:Grid layout Shapeless.png]]paused > span, [[File:Grid layout Fixed.png]] */.mcui-Crafting_Table .mcui-row paused > div { display: blocknone;
}
.mcui-Crafting_Table animated > span.mcui-arrow {active, background: url(//hydra-media.cursecdnpaused > span.com/minecraft.gamepedia.com/8/86/Grid_layout_Arrow_%28small%29.png) no-repeat; width: 32px; height: 26px;active { margin display: 40px 4px 0inline;
}
.mcui-Crafting_Table animated > div.mcui-output active,.paused > div.active { margin-top display: 28pxblock;
}
.mcuigrid-Crafting_Table > ,.mcuigrid-icons Furnace,.grid-Brewing_Stand table,.grid-generic { positionbackground: absolute#C6C6C6; topborder: outset 2px #999; padding: 6px; righttext-align: left !important; width: 6px32px;
}
.mcuigrid-Crafting_Table td,.mcuigrid-shapelessFurnace td,.mcuigrid-Crafting_Table .mcui-fixed { display: inline-block; background-repeat: no-repeat; width: 19px; height: 15px; cursor: help;}Brewing_Stand td,.mcuigrid-Crafting_Table .mcui-shapeless generic td { background-imageborder: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/a/a9/Grid_layout_Shapeless.png)none;}.mcui-Crafting_Table .mcui-fixed { background-imagepadding: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/b/b8/Grid_layout_Fixed.png)0;
}
 /* [[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/Crafting Table]] */.mcuigrid-Furnace Crafting_Table .mcui-fuel { display: block; background: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/d/d8/Grid_layout_Fire.png) no-repeat; width: 36px; height: 36px;}.mcui-Furnace .mcui-fuel.mcui-inactive {arrow, background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/a/ab/Grid_layout_Fire_%28ingrid-active%29Crafting_Table .png);} .mcui-Furnace > .mcui-arrow shapeless { background: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/8/8e/Grid_layout_Furnace_Progress.png) notext-repeat; widthalign: 44pxcenter; height: 32px; margin: 36px 18px 0 14px;}.mcuivertical-Furnace > .mcui-arrow.mcui-inactive { background-imagealign: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/d/dc/Grid_layout_Furnace_Progress_%28in-active%29.png)bottom;
}
.mcuigrid-Furnace > Crafting_Table .mcui-output arrow { marginwidth: 40px; padding-topbottom: 28px5px;
}
/* [[Template:Brewing Stand]]: [[File:Grid layout Brewing Bubbles.gif]], [[File:Grid layout Brewing Bubbles (Ingrid-active)Crafting_Table .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 > * shapeless span { displaycursor: blockhelp;
}
/* [[Template:Grid/Furnace]] */.mcuigrid-Brewing_Stand .invslot Furnace { verticalpadding-left: 24px; padding-alignright: top24px;
}
.mcuigrid-Brewing_Stand > Furnace .mcuiarrow,.grid-input Furnace .output {
text-align: center;
vertical-align: middle;
}
.mcuigrid-Brewing_Stand > Furnace .mcuiarrow { padding-input > .invslot {right: 18px !important; marginpadding-topleft: 3px14px !important;
}
.mcui-Brewing_Stand .mcui-bubbling,/* [[Template:Grid/Brewing Stand]] */.mcuigrid-Brewing_Stand .mcui-arrow { displayposition: inline-block; background-repeat: no-repeatrelative; width: 24px; height: 57px144px;
}
.mcuigrid-Brewing_Stand .mcui-bubbling bubbles { backgroundtext-imagealign: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/6/65/Grid_layout_Brewing_Bubbles.gif)right;
}
 .mcuigrid-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-bubbling { backgroundpadding: 3px 0 !important; vertical-imagealign: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/d/db/Grid_layout_Brewing_Bubbles_%28In-active%29.png)top;
}
 .mcuigrid-Brewing_Stand .mcui-arrow output1 { background-imagepadding: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/4/4b/Grid_layout_Brewing_Arrow.png)4px 10px 14px 0 !important;
}
.mcuigrid-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-arrow output2 { backgroundpadding-imagetop: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/5/59/Grid_layout_Brewing_Arrow_%28In-active%29.png)18px !important;
}
 .mcuigrid-Brewing_Stand > .mcui-paths output3 { position: relative; background: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/8/82/Grid_layout_Brewing_Paths.png) no-repeat; width: 60px; height: 40px; margin: -20px auto -16px; z-indexpadding: 14px 0 14px 10px !important;
}
.mcuigrid-Brewing_Stand .mcui-output .invslot paths { background-imageposition: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/5/59/Grid_layout_Brewing_Empty.png)absolute;} bottom: 42px;.mcui-Brewing_Stand .mcui-output2 { left: 42px; marginz-index: 14px 10px 05;
}
/* [[Template:Grid/Hotbar]] */.mcuigrid-Hotbar {
display: inline-block;
position: relative;
border: 0;
padding: 0;
background-color: transparent;
}
.mcuigrid-Hotbar > .mcui-selector {
position: absolute;
top: -2px;
margin-left: -2px;
}
.mcuigrid-Hotbar > .mcui-slots {
position: absolute;
top: 0;
margin: 2px;
}
.mcuigrid-Hotbar .invslot grid { margin: 4px2px; background-color: transparent;}.grid-Hotbar .grid > .border,.grid-Hotbar .grid > .border > span { border: 0; margin: 0;
}
/* [[Template:Infobox]], [[Template:Infobox rowcommon]] */
.notaninfobox {
clear: right;
margin: 0 0 1em 1em3px 0px 3px 3px; max-width: 300px;
font-size: 90%;
background: #FFFFFFFFF;
float: right;
border: 1px solid #CCCCCCCCC;
padding: 2px;
overflow: auto;
}
@media all and (max-width: 511px) {.notaninfobox table, .notaninfobox td { float: none; margin-left border: 0; max-width: none; }
}
@media all and (max-width: 337px) { .notaninfobox p { margin-left: -16px0; margin-right: -16px; border-left: none; border-right: none; }
}
text-align: center;
padding: 4px;
}
.infobox-imagearea > div:not(:first-child) {
padding-top: 1em;
}
 
.infobox-rows {
margin: 0 !important;
width: 100%;
border: 0;
border-collapse: separate !important;
border-spacing: 2px !important;
}
.infobox-rows > tbody > tr > th {
text-align: left;
white-space: nowrap;
}
.infobox-rows p {
margin: 0;
}
.infobox-rows * {
border: 0;
}
.infobox-rows audio {
width: 184px;
}
 
.infobox-footer {
text-align: center;
}
/* [[Template:Navbox]] */
.navbox {
background: #FFF;
border: 1px solid #CCC;
margin: 1em auto 0;
clear: both;
width: 100%;
}
.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 th -group {
background-color: #EEE;
paddingwhite-space: 0 10px !importantnowrap;
text-align: right;
}
.navbox td -list {
width: 100%;
padding: 0 0 0 2px !important;
}
 
.navbox table {
margin: -1px -1px -1px -3px !important;
width: auto;
}
.navbox table td,
.navbox table th {
border: 1px solid #CCC;
}
.sprite {
display: inline-block;
vertical-alignposition: text-toprelative; heightoverflow: 16pxhidden; width: 16px; backgroundvertical-repeatalign: no-repeat;}.sprite + .sprite-text { padding-left: 0.312em;} /* [[Template:CommentSprite]]: [[File:CommentCSS.png]] */.comment-sprite { background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/9/9c/CommentCSS.png);} /* [[Template:BlockSprite]]: [[File:BlockCSS.png]] */.block-sprite { background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/d/df/BlockCSS.png);} /* [[Template:EntitySprite]]: [[File:EntityCSS.png]] */.entity-sprite { background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/4/40/EntityCSS.png);} /* [[Template:ItemSprite]]: [[File:ItemCSS.png]] */.item-sprite { background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/f/f5/ItemCSS.png);} /* [[Template:Schematic]]: [[File:SchematicSprite.png]] */.schematic-sprite { background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/c/c2/SchematicSprite.png); background-size: 32em auto; width: 1emmiddle; height: 1em;} /* [[Template:InvSprite]]: [[File:InvSprite.png]] */.inv-sprite { background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/4/44/InvSprite.png)32px;
width: 32px;
height: 32px;
vertical-align: middle;
}
.sprite > span {/* [[Template position:Nbt/sprite]]: [[Fileabsolute; height:Nbtsheet.png]] */.nbt-sprite {256px; background-imagewidth: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/d/d0/Nbtsheet.png)256px;
}
/* The blue header used throughout the wiki */.thumb .schematic mcwiki-header { marginborder: auto1px solid #ccc;}table.schematic { border-collapsebottom: collapse4px groove #999999; fontborder-sizeright: 32px4px groove #999999; width: auto;}span.schematic { display: inline-block; font-sizepadding: 32px5px;
}
table.schematic td { vertical-align: top;}table.schematic td,/* Horizontal list */span.schematic hlist ul { background-colordisplay: #FFFinline; bordermargin: 1px solid #CCC0;
padding: 0;
width: 1em;
height: 1em;
overflow: hidden;
}
table.schematic td > div,
span.schematic {
position: relative;
}
table.schematic td > div > span,
span.schematic > span {
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;
}
 
/* [[Template:Layered blueprint]] */
.layered-blueprint {
position: relative;
}
.layered-blueprint-radio { display: none;} .layered-blueprint-tab hlist li {
display: inline-block;
cursor: pointer;
margin-left: 100%;
border-left: 4px solid #252525;
padding: 0.2em 0.5em;
white-space: nowrap;
transitionmargin: color 200ms, border-color 200ms; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none0;
}
.layered-blueprint-tabhlist li:hover after { colorcontent: #80b640" •";
}
.layeredhlist li:last-blueprint-radiochild:checked + after,.hlist li.layeredlast-blueprint-tab child:after { color: #80b640; border-left-colorcontent: #80b640"";
}
@.hlist li > ul li:first-webkit-keyframes layered-blueprint-fade-in { 0% child:before { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibilitycontent: visible"("; }
}
@keyframes layered-blueprint-fade-in { 0% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; }}.layered-blueprint-layer { position: absolute; tophlist li > ul li: 0; backgroundlast-colorchild: rgba(230after, 239, 244, 0.hlist li > ul li.6); width: 100%; height: 100%; last-webkit-animationchild: layered-blueprint-fade-in 200ms;after { animationcontent: 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;} /* Alternating table rows, primarily used with [[Template:Infobox row]] */.alternaterows tr:nth-child(even),.infobox-rows tr:nth-child(even) hlist li li li { backgroundfont-colorsize: #F9F9F9;} /* The blue header used throughout the wiki */.mcwikix-header { background: #729FCF; border: 1px solid #ccc; border-bottom: 4px groove #999999; border-right: 4px groove #999999; padding: 5pxsmall;
}
.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;
}
position: absolute;
top: 0;
left: -1px0;
width: 11px;
height: 11px;
}
.treeview li li.first:lastbefore { border-color: #636363; border-style: solid; border-width: 1px 0 0 1px; height: 100%; margin-childtop: 11px; width:not(10px;}.treeview li li.first,.treeviewli li:last-continue) child { border: 0; padding-colorleft: transparent14px;
}
.treeview li li:last-child:not(.treeview-continue):before {
border-left: 1px solid #636363;
width: 10px;
}
.nbttree-inherited { background-color: #E6E6FA;} /* Simulate link styling for JS only links Generic nowrap class */.jslink nowrap { 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;} /* Horizontal list */.content .hlist ul { display: inline; padding: 0;}.content .hlist li { display: inline-block; margin: 0;
white-space: nowrap;
}
.content .hlist li:not(:last-child) {
padding-right: 0.313em;
}
.content .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;
}
.content .hlist li > ul li:first-child:before {
content: "(";
}
.content .hlist li > ul li:last-child:after {
content: ")";
margin-right: -0.313em;
}
.content .hlist li li li {
font-size: x-small;
}
/* Generic styling for animation class */.content .animated > *:not(.active):not(.skip),.content .paused > *:not(.active):not(.skip) footer { displayclear: noneboth;
}
/* Generic nowrap class Fix gallery */ul.nowrap gallery li.gallerybox div.thumb { whitetext-spacealign: nowrapcenter;
}
/* Hide noscript only elements */ul.gallery li.noscript gallerybox { display: noneinline-block; vertical-align: top;
}
/* 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;} /* Remove bullets/numbers from a list */.list-style-none ul,.list-style-none ol gallery { list-style: none; margin-leftpadding: 02px;
}
.wikitable {
background: #F9F9F9;
}
 
/* Hide things on mobile (the extension is meant to do this automatically, but it doesn't work) */
.nomobile {
display: none;
}
 
/* Make sure the logo fits */
#mcw-logo img {
max-width: 100%;
height: auto;
}