Warning.png

Поддержка Wiki прекращена, она доступна в режиме архива. Информация в ней устарела и может быть неактуальной.

MediaWiki:Mobile.css — различия между версиями

Материал из Hilarious Wiki
Перейти к: навигация, поиск
Строка 2: Строка 2:
  
 
/** Minecraft skin **/
 
/** Minecraft skin **/
−
/* Minecraft font */
+
/* Give the background the stone and grass texture */
−
@font-face {
+
body {
−
font-family: Minecraft;
+
background-color: #202020;
−
src: url(//hydra-media.cursecdn.com/hydra/fonts/minecraft.woff) format('woff'),
+
background-image: url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/2/29/Mobile-header-background.png), url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/2/26/Background.png);
−
    url(//hydra-media.cursecdn.com/hydra/fonts/minecraft.ttf) format('truetype');
+
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;
+
background-color: #FFF;
−
border-top: none;
 
 
}
 
}
−
#mw-mf-page-center,
+
 
−
.overlay-header-container {
+
.search_bar {
−
background-color: #202020 !important;
+
background-image: url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/8/8a/Mobile-search-start.png), url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/0/05/Mobile-search-end.png), url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/7/7d/Mobile-search-background.png);
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/6/6a/Mobile-header.png), url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/d/de/Background_HiDPI.png) !important;
+
background-position: left top, right top, left top;
−
background-size: 48px auto !important;
+
background-repeat: no-repeat, no-repeat, repeat-x;
−
background-repeat: repeat-x, repeat !important;
+
color: #3C3B3B;
−
border: none !important;
+
height: 26px;
 
}
 
}
−
.overlay-header-container {
+
 
−
padding-bottom: 26px;
+
#sq {
−
top: 0 !important;
+
border: 0;
 
}
 
}
−
.overlay-content {
+
 
−
padding-top: 26px;
+
#search {
 +
background-color: transparent;
 +
width: 100% !important;
 
}
 
}
  
−
.search-overlay .overlay-header,
+
#searchbox #goButton {
−
.search-overlay .results,
+
background: url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/3/3f/Mobile-search-button.png) no-repeat 5px 5px / 18px;
−
.search-overlay .search-feedback {
 
−
background: none !important;
 
 
}
 
}
  
−
input.search {
+
/* Let nav go over the top of other things, instead of pushing them down */
−
background: none !important;
+
#nav {
−
}
+
position: absolute;
−
input.search::-webkit-input-placeholder {
+
z-index: 100;
−
color: #6D6D6D;
 
−
}
 
−
input.search:-ms-input-placeholder {
 
−
color: #6D6D6D;
 
−
}
 
−
input.search::-ms-input-placeholder {
 
−
color: #6D6D6D;
 
 
}
 
}
  
 +
/* Give the main content area its healthy blue glow */
 
#content {
 
#content {
−
margin-top: 26px;
+
background: #E6EFF4 !important;
−
}
+
border-top: 6px solid #B4BEC3;
−
.heading-holder {
+
border-left: 6px solid #171717;
−
padding-top: 10px;
+
margin-top: 18px;
 
}
 
}
  
−
/* Give the main content area its healthy blue glow */
+
/* Fake 3D corners */
−
body,
+
#content {
−
#content,
+
margin: -6px 0 -6px -6px;
−
.search-overlay {
+
padding: 18px;
−
background-color: #E6EFF4 !important;
+
background-image: url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/a/af/Vector-tabs-background.png), url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/4/4f/Content-background.png);
−
border: none;
+
background-position: top right, bottom left;
−
}
+
background-repeat: no-repeat;
−
.search-overlay {
 
−
background-position: 0 3.35em !important;
 
 
}
 
}
  
−
#bodyContent:first-child {
+
#firstHeading {
−
padding-top: 10px;
+
margin-top: 0;
 
}
 
}
  
−
#footer,
+
#copyright {
−
#footer a:active {
 
 
color: #FFF;
 
color: #FFF;
 
}
 
}
−
#footer a {
+
#copyright a {
−
    color: #BFBFBF;
+
color: #BFBFBF;
 
}
 
}
  
−
/* Fix dumb default styling */
+
/* Clear floats */
−
.content {
+
.visualClear {
 
clear: both;
 
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 stylings **/
−
/* [[Template:Inventory slot]]: [[File:InvSprite.png]] */
+
/* [[Template:Grid]] */
−
.invslot {
+
.grid {
 +
display: inline-block;
 
position: relative;
 
position: relative;
−
display: inline-block;
+
text-align: left !important;
−
background: #8B8B8B no-repeat center center / 32px 32px;
+
background-color: #8B8B8B;
−
border: 2px solid;
+
height: 32px;
−
border-color: #373737 #FFF #FFF #373737;
 
 
width: 32px;
 
width: 32px;
−
height: 32px;
+
padding: 2px;
−
font-size: 16px;
 
−
line-height: 1;
 
−
text-align: left;
 
 
vertical-align: bottom;
 
vertical-align: bottom;
 
}
 
}
−
.invslot:before,
+
.grid.output {
−
.invslot:after {
+
height: 48px;
−
content: "";
+
width: 48px;
−
position: absolute;
+
}
−
background-color: #8B8B8B;
+
 
−
height: 2px;
+
.grid img,
−
width: 2px;
+
.pixel-image img {
−
pointer-events: none;
+
image-rendering: -moz-crisp-edges;
 +
image-rendering: -o-crisp-edges;
 +
image-rendering: -webkit-optimize-contrast;
 +
-ms-interpolation-mode: nearest-neighbor;
 +
}
 +
 +
.grid .border {
 +
display: block;
 +
margin: -2px 0 0 -2px;
 +
border-style: solid none none solid;
 +
border-width: 2px;
 +
border-color: #373737;
 +
height: 100%;
 
}
 
}
−
.invslot:before {
+
.grid .border > span {
−
bottom: -2px;
+
display: block;
−
left: -2px;
+
margin-right: -2px;
 +
border-style: none solid solid none;
 +
border-width: 2px;
 +
border-color: #FFFFFF;
 +
height: 100%;
 
}
 
}
−
.invslot:after {
+
−
top: -2px;
+
.grid .image,
−
right: -2px;
+
.grid .default-image {
 +
position: absolute;
 +
line-height: 16px;
 +
top: 2px;
 +
width: 32px;
 +
height: 32px;
 
}
 
}
−
.invslot-large {
+
.grid.output .image {
−
padding: 8px;
+
top: 10px;
 +
left: 10px;
 
}
 
}
−
 
+
.grid .image > a.new {
−
.invslot-item,
+
background-image: url("http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/3/35/Grid_Unknown.png");
−
.invslot-item > a:first-child {
 
−
position: relative;
 
 
display: block;
 
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;
 
width: 32px;
 
height: 32px;
 
height: 32px;
−
text-indent: -9999px;
+
outline: none;
−
overflow: hidden;
+
text-indent: -99999px;
 
}
 
}
−
 
+
−
.invslot-stacksize {
+
.grid .number {
 
position: absolute;
 
position: absolute;
−
right: 0;
+
right: -2px;
−
bottom: 0;
+
bottom: -2px;
−
font-family: Minecraft, sans-serif !important;
+
text-align: right;
−
font-weight: normal !important;
+
font-family: Minecraft;
−
color: #FFF !important;
+
font-size: 16px;
−
text-shadow: 2px 2px 0 #3F3F3F;
+
color: #FFF;
 +
pointer-events: none;
 +
z-index: 6;
 +
text-shadow: 2px 2px 0px #3F3F3F;
 
filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
 
filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
−
z-index: 2;
 
 
}
 
}
−
 
+
.grid .number a {
−
/* Plain slot with no border or background */
+
color: #FFF;
−
.invslot-plain {
+
text-decoration: none;
−
background-color: transparent;
 
−
border: 0;
 
 
}
 
}
−
.invslot-plain:before,
+
.grid .number .selflink {
−
.invslot-plain:after {
+
font-weight: normal;
−
content: none;
 
 
}
 
}
−
.invslot-plain > .invslot-item,
+
.grid .image a.new + .number {
−
.invslot-plain > .invslot-item > a:first-child {
+
display: none;
−
margin: 0;
 
−
padding: 0;
 
 
}
 
}
  
−
/* Generic Minecraft interface styling: [[Module:UI]] */
+
.grid .animated .image,
−
.mcui {
+
.grid .paused .image {
−
display: inline-block;
+
display: none;
−
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;
 
 
}
 
}
−
 
+
.grid .animated .image.active,
−
.mcui-Crafting_Table > *,
+
.grid .paused .image.active {
−
.mcui-Furnace > * {
+
display: block;
−
display: inline-block;
 
−
vertical-align: top;
 
 
}
 
}
  
−
/* [[Template:Crafting Table]]:
+
.animated > span,
−
  [[File:Grid layout Arrow (small).png]], [[File:Grid layout Shapeless.png]], [[File:Grid layout Fixed.png]] */
+
.animated > div,
−
.mcui-Crafting_Table .mcui-row {
+
.paused > span,
−
display: block;
+
.paused > div {
 +
    display: none;
 
}
 
}
  
−
.mcui-Crafting_Table > .mcui-arrow {
+
.animated > span.active,
−
background: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/8/86/Grid_layout_Arrow_%28small%29.png) no-repeat;
+
.paused > span.active {
−
width: 32px;
+
    display: inline;
−
height: 26px;
 
−
margin: 40px 4px 0;
 
 
}
 
}
  
−
.mcui-Crafting_Table > .mcui-output {
+
.animated > div.active,
−
margin-top: 28px;
+
.paused > div.active {
 +
    display: block;
 
}
 
}
  
−
.mcui-Crafting_Table > .mcui-icons {
+
.grid-Crafting_Table,
−
position: absolute;
+
.grid-Furnace,
−
top: 6px;
+
.grid-Brewing_Stand table,
−
right: 6px;
+
.grid-generic {
 +
background: #C6C6C6;
 +
border: outset 2px #999;
 +
padding: 6px;
 +
text-align: left !important;
 +
width: 32px;
 
}
 
}
−
.mcui-Crafting_Table .mcui-shapeless,
+
.grid-Crafting_Table td,
−
.mcui-Crafting_Table .mcui-fixed {
+
.grid-Furnace td,
−
display: inline-block;
+
.grid-Brewing_Stand td,
−
background-repeat: no-repeat;
+
.grid-generic td {
−
width: 19px;
+
border: none;
−
height: 15px;
+
padding: 0;
−
cursor: help;
 
−
}
 
−
.mcui-Crafting_Table .mcui-shapeless {
 
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/a/a9/Grid_layout_Shapeless.png);
 
−
}
 
−
.mcui-Crafting_Table .mcui-fixed {
 
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/b/b8/Grid_layout_Fixed.png);
 
 
}
 
}
  
−
 
+
/* [[Template:Grid/Crafting Table]] */
−
/* [[Template:Furnace]]:
+
.grid-Crafting_Table .arrow,
−
  [[File:Grid layout Fire.png]], [[File:Grid layout Fire (in-active).png]]
+
.grid-Crafting_Table .shapeless {
−
  [[File:Grid layout Furnace Progress.png]], [[File:Grid layout Furnace Progress (in-active).png]] */
+
text-align: center;
−
.mcui-Furnace .mcui-fuel {
+
vertical-align: bottom;
−
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 {
 
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/a/ab/Grid_layout_Fire_%28in-active%29.png);
 
−
}
 
−
 
−
.mcui-Furnace > .mcui-arrow {
 
−
background: url(//hydra-media.cursecdn.com/minecraft.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(//hydra-media.cursecdn.com/minecraft.gamepedia.com/d/dc/Grid_layout_Furnace_Progress_%28in-active%29.png);
 
 
}
 
}
  
−
.mcui-Furnace > .mcui-output {
+
.grid-Crafting_Table .arrow {
−
margin-top: 28px;
+
width: 40px;
 +
padding-bottom: 5px;
 
}
 
}
  
−
/* [[Template:Brewing Stand]]:
+
.grid-Crafting_Table .shapeless span {
−
  [[File:Grid layout Brewing Bubbles.gif]], [[File:Grid layout Brewing Bubbles (In-active).png]],
+
cursor: help;
−
  [[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 {
+
/* [[Template:Grid/Furnace]] */
−
vertical-align: top;
+
.grid-Furnace {
 +
padding-left: 24px;
 +
padding-right: 24px;
 
}
 
}
  
−
.mcui-Brewing_Stand > .mcui-input {
+
.grid-Furnace .arrow,
 +
.grid-Furnace .output {
 
text-align: center;
 
text-align: center;
 +
vertical-align: middle;
 
}
 
}
  
−
.mcui-Brewing_Stand > .mcui-input > .invslot {
+
.grid-Furnace .arrow {
−
margin-top: 3px;
+
padding-right: 18px !important;
 +
padding-left: 14px !important;
 
}
 
}
  
−
.mcui-Brewing_Stand .mcui-bubbling,
+
/* [[Template:Grid/Brewing Stand]] */
−
.mcui-Brewing_Stand .mcui-arrow {
+
.grid-Brewing_Stand {
−
display: inline-block;
+
position: relative;
−
background-repeat: no-repeat;
+
width: 144px;
−
width: 24px;
 
−
height: 57px;
 
 
}
 
}
  
−
.mcui-Brewing_Stand .mcui-bubbling {
+
.grid-Brewing_Stand .bubbles {
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/6/65/Grid_layout_Brewing_Bubbles.gif);
+
text-align: right;
 
}
 
}
−
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-bubbling {
+
 
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/d/db/Grid_layout_Brewing_Bubbles_%28In-active%29.png);
+
.grid-Brewing_Stand .input {
 +
padding: 3px 0 !important;
 +
vertical-align: top;
 
}
 
}
−
 
+
.grid-Brewing_Stand .output1 {
−
.mcui-Brewing_Stand .mcui-arrow {
+
padding: 4px 10px 14px 0 !important;
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/4/4b/Grid_layout_Brewing_Arrow.png);
 
 
}
 
}
−
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-arrow {
+
.grid-Brewing_Stand .output2 {
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/5/59/Grid_layout_Brewing_Arrow_%28In-active%29.png);
+
padding-top: 18px !important;
 
}
 
}
−
 
+
.grid-Brewing_Stand .output3 {
−
.mcui-Brewing_Stand > .mcui-paths {
+
padding: 4px 0 14px 10px !important;
−
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-index: 1;
 
 
}
 
}
  
−
.mcui-Brewing_Stand .mcui-output .invslot {
+
.grid-Brewing_Stand .paths {
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/5/59/Grid_layout_Brewing_Empty.png);
+
position: absolute;
−
}
+
bottom: 42px;
−
.mcui-Brewing_Stand .mcui-output2 {
+
left: 42px;
−
margin: 14px 10px 0;
+
z-index: 5;
 
}
 
}
  
−
/* [[Template:Hotbar]] */
+
/* [[Template:Grid/Hotbar]] */
−
.mcui-Hotbar {
+
.grid-Hotbar {
 
display: inline-block;
 
display: inline-block;
 
position: relative;
 
position: relative;
−
border: 0;
 
−
padding: 0;
 
−
background-color: transparent;
 
 
}
 
}
−
.mcui-Hotbar > .mcui-selector {
+
.grid-Hotbar > .selector {
 
position: absolute;
 
position: absolute;
 
top: -2px;
 
top: -2px;
 
margin-left: -2px;
 
margin-left: -2px;
 
}
 
}
−
.mcui-Hotbar > .mcui-slots {
+
.grid-Hotbar > .slots {
 
position: absolute;
 
position: absolute;
 
top: 0;
 
top: 0;
Строка 347: Строка 285:
 
margin: 2px;
 
margin: 2px;
 
}
 
}
−
.mcui-Hotbar .invslot {
+
.grid-Hotbar .grid {
−
margin: 4px;
+
margin: 2px;
 +
background-color: transparent;
 +
}
 +
.grid-Hotbar .grid > .border,
 +
.grid-Hotbar .grid > .border > span {
 +
border: 0;
 +
margin: 0;
 
}
 
}
  
−
/* [[Template:Infobox]], [[Template:Infobox row]] */
+
/* [[Template:Infobox common]] */
 
.notaninfobox {
 
.notaninfobox {
 
clear: right;
 
clear: right;
−
margin: 0 0 1em 1em;
+
margin: 3px 0px 3px 3px;
−
max-width: 300px;
+
width: 300px;
 
font-size: 90%;
 
font-size: 90%;
−
background: #FFF;
+
background: #FFFFFF;
 
float: right;
 
float: right;
−
border: 1px solid #CCC;
+
border: 1px solid #CCCCCC;
 
padding: 2px;
 
padding: 2px;
−
overflow: auto;
 
 
}
 
}
−
@media all and (max-width: 511px) {
+
.notaninfobox table,
−
.notaninfobox {
+
.notaninfobox td {
−
float: none;
+
border: 0;
−
margin-left: 0;
 
−
max-width: none;
 
−
}
 
 
}
 
}
−
@media all and (max-width: 337px) {
+
.notaninfobox p {
−
.notaninfobox {
+
margin: 0;
−
margin-left: -16px;
 
−
margin-right: -16px;
 
−
border-left: none;
 
−
border-right: none;
 
−
}
 
 
}
 
}
  
Строка 388: Строка 323:
 
text-align: center;
 
text-align: center;
 
padding: 4px;
 
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]] */
 
/* [[Template:Navbox]] */
 
.navbox {
 
.navbox {
−
background: #FFF;
 
 
border: 1px solid #CCC;
 
border: 1px solid #CCC;
 
margin: 1em auto 0;
 
margin: 1em auto 0;
 
clear: both;
 
clear: both;
−
width: 100%;
 
 
}
 
}
  
−
.navbox .navbox-top {
+
.navbox-top {
 
white-space: nowrap;
 
white-space: nowrap;
 
background-color: #CCC;
 
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 {
+
.navbox-group {
 
background-color: #EEE;
 
background-color: #EEE;
−
padding: 0 10px !important;
+
white-space: nowrap;
 
text-align: right;
 
text-align: right;
 
}
 
}
  
−
.navbox td {
+
.navbox-list {
 
width: 100%;
 
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;
 
 
}
 
}
  
Строка 468: Строка 350:
 
.sprite {
 
.sprite {
 
display: inline-block;
 
display: inline-block;
−
vertical-align: text-top;
+
position: relative;
−
height: 16px;
+
overflow: hidden;
−
width: 16px;
+
vertical-align: middle;
−
background-repeat: no-repeat;
+
height: 32px;
−
}
 
−
.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: 1em;
 
−
height: 1em;
 
−
}
 
−
 
 
−
/* [[Template:InvSprite]]: [[File:InvSprite.png]] */
 
−
.inv-sprite {
 
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/4/44/InvSprite.png);
 
 
width: 32px;
 
width: 32px;
−
height: 32px;
 
−
vertical-align: middle;
 
 
}
 
}
−
 
+
.sprite > span {
−
/* [[Template:Nbt/sprite]]: [[File:Nbtsheet.png]] */
+
position: absolute;
−
.nbt-sprite {
+
height: 256px;
−
background-image: url(//hydra-media.cursecdn.com/minecraft.gamepedia.com/d/d0/Nbtsheet.png);
+
width: 256px;
 
}
 
}
  
−
.thumb .schematic {
+
/* The blue header used throughout the wiki */
−
margin: auto;
+
.mcwiki-header {
−
}
+
border: 1px solid #ccc;
−
table.schematic {
+
border-bottom: 4px groove #999999;
−
border-collapse: collapse;
+
border-right: 4px groove #999999;
−
font-size: 32px;
+
padding: 5px;
−
width: auto;
 
−
}
 
−
span.schematic {
 
−
display: inline-block;
 
−
font-size: 32px;
 
 
}
 
}
  
−
table.schematic td {
+
/* Horizontal list */
−
vertical-align: top;
+
.hlist ul {
−
}
+
display: inline;
−
table.schematic td,
+
margin: 0;
−
span.schematic {
 
−
background-color: #FFF;
 
−
border: 1px solid #CCC;
 
 
padding: 0;
 
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 {
+
.hlist li {
−
display: none;
 
−
}
 
−
 
 
−
.layered-blueprint-tab {
 
 
display: inline-block;
 
display: inline-block;
−
cursor: pointer;
 
−
margin-left: 100%;
 
−
border-left: 4px solid #252525;
 
−
padding: 0.2em 0.5em;
 
 
white-space: nowrap;
 
white-space: nowrap;
−
transition: color 200ms, border-color 200ms;
+
margin: 0;
−
-webkit-user-select: none;
 
−
  -moz-user-select: none;
 
−
    -ms-user-select: none;
 
−
        user-select: none;
 
 
}
 
}
−
.layered-blueprint-tab:hover {
+
.hlist li:after {
−
color: #80b640;
+
content: " •";
 
}
 
}
−
.layered-blueprint-radio:checked + .layered-blueprint-tab {
+
.hlist li:last-child:after,
−
color: #80b640;
+
.hlist li.last-child:after {
−
border-left-color: #80b640;
+
content: "";
 
}
 
}
  
−
@-webkit-keyframes layered-blueprint-fade-in {
+
.hlist li > ul li:first-child:before {
−
0% {
+
content: "(";
−
opacity: 0;
 
−
visibility: hidden;
 
−
}
 
−
100% {
 
−
opacity: 1;
 
−
visibility: visible;
 
−
}
 
 
}
 
}
−
@keyframes layered-blueprint-fade-in {
+
.hlist li > ul li:last-child:after,
−
0% {
+
.hlist li > ul li.last-child:after {
−
opacity: 0;
+
content: ")";
−
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 {
+
.hlist li li li {
−
0% {
+
font-size: x-small;
−
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) {
 
−
background-color: #F9F9F9;
 
−
}
 
−
 
 
−
/* The blue header used throughout the wiki */
 
−
.mcwiki-header {
 
−
background: #729FCF;
 
−
border: 1px solid #ccc;
 
−
border-bottom: 4px groove #999999;
 
−
border-right: 4px groove #999999;
 
−
padding: 5px;
 
 
}
 
}
  
Строка 667: Строка 405:
 
.treeview {
 
.treeview {
 
margin-top: 0.3em;
 
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;
 
 
}
 
}
  
Строка 702: Строка 425:
 
position: absolute;
 
position: absolute;
 
top: 0;
 
top: 0;
−
left: -1px;
+
left: 0;
 
width: 11px;
 
width: 11px;
 
height: 11px;
 
height: 11px;
Строка 708: Строка 431:
 
}
 
}
  
−
.treeview li li:last-child:not(.treeview-continue) {
+
.treeview li li.first:before {
−
border-color: transparent;
+
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:not(.treeview-continue):before {
+
.treeview li li:last-child:before {
 
border-left: 1px solid #636363;
 
border-left: 1px solid #636363;
 
width: 10px;
 
width: 10px;
 
}
 
}
  
−
.nbttree-inherited {
+
/* Generic nowrap class */
−
background-color: #E6E6FA;
+
.nowrap {
−
}
 
−
 
 
−
/* 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;
 
−
}
 
−
 
 
−
/* Horizontal list */
 
−
.content .hlist ul {
 
−
display: inline;
 
−
padding: 0;
 
−
}
 
−
.content .hlist li {
 
−
display: inline-block;
 
−
margin: 0;
 
 
white-space: nowrap;
 
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 */
+
.footer {
−
.content .animated > *:not(.active):not(.skip),
+
clear:both;
−
.content .paused > *:not(.active):not(.skip) {
 
−
display: none;
 
 
}
 
}
  
−
/* Generic nowrap class */
+
/* Fix gallery */
−
.nowrap {
+
ul.gallery li.gallerybox div.thumb {
−
white-space: nowrap;
+
text-align: center;
 
}
 
}
  
−
/* Hide noscript only elements */
+
ul.gallery li.gallerybox {
−
.noscript {
+
display: inline-block;
−
display: none;
+
vertical-align: top;
 
}
 
}
  
−
/* Try to use nearest neighbour scaling for pixelated images */
+
ul.gallery {
−
.pixel-image,
+
padding: 2px;
−
.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 {
 
−
list-style: none;
 
−
margin-left: 0;
 
 
}
 
}
  
Строка 809: Строка 475:
 
.wikitable {
 
.wikitable {
 
background: #F9F9F9;
 
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;
 
 
}
 
}

Версия 11:08, 21 августа 2016

/* CSS placed here will affect users of the mobile site */

/** Minecraft skin **/
/* Give the background the stone and grass texture */
body {
	background-color: #202020;
	background-image: url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/2/29/Mobile-header-background.png), url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/2/26/Background.png);
	background-repeat: repeat-x, repeat;
}

/* 3D search box */
#searchbox {
	background-color: #FFF;
}

.search_bar {
	background-image: url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/8/8a/Mobile-search-start.png), url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/0/05/Mobile-search-end.png), url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/7/7d/Mobile-search-background.png);
	background-position: left top, right top, left top;
	background-repeat: no-repeat, no-repeat, repeat-x;
	color: #3C3B3B;
	height: 26px;
}

#sq {
	border: 0;
}

#search {
	background-color: transparent;
	width: 100% !important;
}

#searchbox #goButton {
	background: url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/3/3f/Mobile-search-button.png) no-repeat 5px 5px / 18px;
}

/* Let nav go over the top of other things, instead of pushing them down */
#nav {
	position: absolute;
	z-index: 100;
}

/* Give the main content area its healthy blue glow */
#content {
	background: #E6EFF4 !important;
	border-top: 6px solid #B4BEC3;
	border-left: 6px solid #171717;
	margin-top: 18px;
}

/* Fake 3D corners */
#content {
	margin: -6px 0 -6px -6px;
	padding: 18px;
	background-image: url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/a/af/Vector-tabs-background.png), url(http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/4/4f/Content-background.png);
	background-position: top right, bottom left;
	background-repeat: no-repeat;
}

#firstHeading {
	margin-top: 0;
}

#copyright {
	color: #FFF;
}
#copyright a {
	color: #BFBFBF;
}

/* Clear floats */
.visualClear {
	clear: both;
}

/** 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 img,
.pixel-image img {
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
}
 
.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("http://hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/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 .animated .image,
.grid .paused .image {
	display: none;
}
.grid .animated .image.active,
.grid .paused .image.active {
	display: block;
}

.animated > span,
.animated > div,
.paused > span,
.paused > div {
    display: none;
}

.animated > span.active,
.paused > span.active {
    display: inline;
}

.animated > div.active,
.paused > div.active {
    display: block;
}

.grid-Crafting_Table,
.grid-Furnace,
.grid-Brewing_Stand table,
.grid-generic {
	background: #C6C6C6;
	border: outset 2px #999;
	padding: 6px;
	text-align: left !important;
	width: 32px;
}
.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]] */
.notaninfobox {
	clear: right;
	margin: 3px 0px 3px 3px;
	width: 300px;
	font-size: 90%;
	background: #FFFFFF;
	float: right;
	border: 1px solid #CCCCCC;
	padding: 2px;
}
.notaninfobox table,
.notaninfobox td {
	border: 0;
}
.notaninfobox p {
	margin: 0;
}

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

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

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

.navbox-top {
	white-space: nowrap;
	background-color: #CCC;
}

.navbox-group {
	background-color: #EEE;
	white-space: nowrap;
	text-align: right;
}

.navbox-list {
	width: 100%;
}

/* [[Template:Sprite]] */
.sprite {
	display: inline-block;
	position: relative;
	overflow: hidden;
	vertical-align: middle;
	height: 32px;
	width: 32px;
}
.sprite > span {
	position: absolute;
	height: 256px;
	width: 256px;
}

/* The blue header used throughout the wiki */
.mcwiki-header {
	border: 1px solid #ccc;
	border-bottom: 4px groove #999999;
	border-right: 4px groove #999999;
	padding: 5px;
}

/* Horizontal list */
.hlist ul {
	display: inline;
	margin: 0;
	padding: 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;
}

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

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

.footer {
	clear:both;
}

/* Fix gallery */
ul.gallery li.gallerybox div.thumb {
	text-align: center;
}

ul.gallery li.gallerybox {
	display: inline-block;
	vertical-align: top;
}

ul.gallery {
	padding: 2px;
}

/* Set wikitable background to its intended color */
.wikitable {
	background: #F9F9F9;
}