MediaWiki:Common.css — различия между версиями
Материал из Hilarious Wiki
MailGik (обсуждение | вклад) (Новая страница: «→Размещённый здесь CSS будет применяться ко всем темам оформления: body.page-Заглавная_стра…») |
MailGik (обсуждение | вклад) |
||
Строка 2: | Строка 2: | ||
body.page-Заглавная_страница.action-view h1.firstHeading, body.page-Заглавная_страница.action-submit h1.firstHeading, body.page-Заглавная_страница #contentSub { display: none; } | body.page-Заглавная_страница.action-view h1.firstHeading, body.page-Заглавная_страница.action-submit h1.firstHeading, body.page-Заглавная_страница #contentSub { display: none; } | ||
+ | |||
+ | /* [[Шаблон:Сетка/Ячейка]] */ | ||
+ | .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.hidden { | ||
+ | background-color: transparent; | ||
+ | padding: 0px; | ||
+ | z-index: 10; | ||
+ | } | ||
+ | .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; | ||
+ | } | ||
+ | .grid.output .image { | ||
+ | top: 10px; | ||
+ | left: 10px; | ||
+ | } | ||
+ | .grid.hidden .image { | ||
+ | top: 0; | ||
+ | } | ||
+ | .grid .image > a.new, | ||
+ | |||
+ | .gridsprite > a.new { | ||
+ | background-image: url("//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 { | ||
+ | display: block; | ||
+ | margin: -12px -4px 0 0; | ||
+ | text-align: right; | ||
+ | font-family: Minecraft; | ||
+ | font-size: 16px; | ||
+ | pointer-events: none; | ||
+ | } | ||
+ | .grid .number .selflink, | ||
+ | .grid .number a { | ||
+ | color: #3F3F3F; | ||
+ | text-decoration: none; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | .grid .image a.new + .number, | ||
+ | .sprite a.new + .number { | ||
+ | display: none; | ||
+ | } | ||
+ | .grid .number span { | ||
+ | position: absolute; | ||
+ | right: -2px; | ||
+ | bottom: 2px; | ||
+ | color: #FFFFFF; | ||
+ | } | ||
+ | |||
+ | .gridsprite { | ||
+ | display:inline-block; | ||
+ | position: relative; | ||
+ | text-align: left !important; | ||
+ | height: 32px; | ||
+ | width: 32px; | ||
+ | vertical-align: bottom; | ||
+ | background-color: transparent; | ||
+ | padding: 0; | ||
+ | z-index: 10; | ||
+ | line-height: 16px; | ||
+ | } | ||
+ | |||
+ | .gridsprite .number { | ||
+ | display: block; | ||
+ | margin: -12px -4px 0 0; | ||
+ | text-align: right; | ||
+ | font-family: Minecraft; | ||
+ | font-size: 16px; | ||
+ | pointer-events: none; | ||
+ | } | ||
+ | |||
+ | .gridsprite .number a { | ||
+ | color: #3F3F3F; | ||
+ | text-decoration: none; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | .gridsprite .number span { | ||
+ | position: absolute; | ||
+ | right: -2px; | ||
+ | bottom: -2px; | ||
+ | color: #FFFFFF; | ||
+ | } | ||
+ | |||
+ | .grid-Crafting_Table, | ||
+ | .grid-Furnace, | ||
+ | .grid-Brewing_Stand table, | ||
+ | .grid-generic { | ||
+ | background: #C6C6C6; | ||
+ | border: outset 2px #999; | ||
+ | padding: 6px; | ||
+ | text-align: left !important; | ||
+ | } | ||
+ | .grid-Crafting_Table td, | ||
+ | .grid-Furnace td, | ||
+ | .grid-Brewing_Stand td, | ||
+ | .grid-generic td { | ||
+ | border: none; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:Сетка/Крафт]] */ | ||
+ | .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; | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:Сетка/Печка]] */ | ||
+ | .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; | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:Сетка/Варка]] */ | ||
+ | .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; | ||
+ | } | ||
+ | |||
+ | /* Для [[Модуль:Инвентарный слот]] (из [[en:MediaWiki:Common.css]]) */ | ||
+ | .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(//hydra-media.cursecdn.com/minecraft.gamepedia.com/4/44/InvSprite.png) no-repeat content-box; | ||
+ | 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; | ||
+ | } | ||
+ | |||
+ | .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; | ||
+ | } | ||
+ | |||
+ | /* Для [[Модуль:Окно интерфейса]] (из [[en:MediaWiki:Common.css]]) */ | ||
+ | |||
+ | .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; | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:Крафт]]: | ||
+ | [[Файл:Grid layout Arrow (small).png]], [[Файл:Grid layout Shapeless.png]], [[Файл:Grid layout Fixed.png]] */ | ||
+ | .mcui-Crafting_Table .mcui-row { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .mcui-Crafting_Table > .mcui-arrow { | ||
+ | background: url(//hydra-media.cursecdn.com/minecraft-ru.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(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/a/a9/Grid_layout_Shapeless.png); | ||
+ | } | ||
+ | .mcui-Crafting_Table .mcui-fixed { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/b/b8/Grid_layout_Fixed.png); | ||
+ | } | ||
+ | |||
+ | |||
+ | /* [[Шаблон:Печка]]: | ||
+ | [[Файл:Grid layout Fire.png]], [[Файл:Grid layout Fire (in-active).png]] | ||
+ | [[Файл:Grid layout Furnace Progress.png]], [[Файл:Grid layout Furnace Progress (in-active).png]] */ | ||
+ | .mcui-Furnace .mcui-fuel { | ||
+ | display: block; | ||
+ | background: url(//hydra-media.cursecdn.com/minecraft-ru.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-ru.gamepedia.com/a/ab/Grid_layout_Fire_%28in-active%29.png); | ||
+ | } | ||
+ | |||
+ | .mcui-Furnace > .mcui-arrow { | ||
+ | background: url(//hydra-media.cursecdn.com/minecraft-ru.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-ru.gamepedia.com/d/dc/Grid_layout_Furnace_Progress_%28in-active%29.png); | ||
+ | } | ||
+ | |||
+ | .mcui-Furnace > .mcui-output { | ||
+ | margin-top: 28px; | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:Варка]]: | ||
+ | [[Файл:Grid layout Brewing Bubbles.gif]], [[Файл:Grid layout Brewing Bubbles (In-active).png]], | ||
+ | [[Файл:Grid layout Brewing Arrow.png]], [[Файл:Grid layout Brewing Arrow (In-active).png]], | ||
+ | [[Файл:Grid layout Brewing Paths.png]], [[Файл: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(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/6/65/Grid_layout_Brewing_Bubbles.gif); | ||
+ | } | ||
+ | .mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-bubbling { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/d/db/Grid_layout_Brewing_Bubbles_%28In-active%29.png); | ||
+ | } | ||
+ | |||
+ | .mcui-Brewing_Stand .mcui-arrow { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/4/4b/Grid_layout_Brewing_Arrow.png); | ||
+ | } | ||
+ | .mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-arrow { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/5/59/Grid_layout_Brewing_Arrow_%28In-active%29.png); | ||
+ | } | ||
+ | |||
+ | .mcui-Brewing_Stand > .mcui-paths { | ||
+ | position: relative; | ||
+ | background: url(//hydra-media.cursecdn.com/minecraft-ru.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(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/5/59/Grid_layout_Brewing_Empty.png); | ||
+ | } | ||
+ | .mcui-Brewing_Stand .mcui-output2 { | ||
+ | margin: 14px 10px 0; | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:Горячая строка]] */ | ||
+ | /* | ||
+ | .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; | ||
+ | } | ||
+ | */ | ||
+ | |||
+ | /* [[Шаблон:Карточка]] */ | ||
+ | .notaninfobox { | ||
+ | clear: right; | ||
+ | margin: 3px 0px 3px 3px; | ||
+ | width: 300px; | ||
+ | font-size: 90%; | ||
+ | background: #FFFFFF; | ||
+ | float: right; | ||
+ | border: 1px solid #CCCCCC; | ||
+ | padding: 2px; | ||
+ | overflow: auto; | ||
+ | } | ||
+ | |||
+ | .infobox-title { | ||
+ | font-weight: bold; | ||
+ | text-align: center; | ||
+ | font-size: 120% | ||
+ | } | ||
+ | |||
+ | .infobox-title > .editsection { | ||
+ | float: right; | ||
+ | font-weight: normal; | ||
+ | text-align: right; | ||
+ | font-size: 93.3%; | ||
+ | margin: 0; | ||
+ | min-width: 35px; | ||
+ | } | ||
+ | |||
+ | .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; | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:Карточка ряд]] */ | ||
+ | .infobox-row { | ||
+ | white-space: nowrap; | ||
+ | font-weight: bold | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:Navbox]] */ | ||
+ | .navbox { | ||
+ | background: #FFF; | ||
+ | border: 1px solid #CCC; | ||
+ | margin: 1em auto 0; | ||
+ | clear: both; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .navbox table { | ||
+ | background: #FFF; | ||
+ | margin-left: -4px; | ||
+ | margin-right: -2px; | ||
+ | } | ||
+ | .navbox table:first-child { | ||
+ | margin-top: -2px; | ||
+ | } | ||
+ | .navbox table:last-child { | ||
+ | margin-bottom: -2px; | ||
+ | } | ||
+ | |||
+ | .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 { | ||
+ | background-color: #EEE; | ||
+ | padding: 0 10px; | ||
+ | white-space: nowrap; | ||
+ | text-align: right; | ||
+ | } | ||
+ | |||
+ | .navbox td { | ||
+ | width: 100%; | ||
+ | padding: 0 0 0 2px; | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:ЗагрузкаБлок]] 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 .navbox { | ||
+ | margin: 0 -2px -2px; | ||
+ | border: 0; | ||
+ | } | ||
+ | .loadbox-navbox .navbox > tbody > tr:first-child { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:История]] */ | ||
+ | .history td > pre, | ||
+ | .history td > ol { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .history ul { | ||
+ | margin-top: 0; | ||
+ | } | ||
+ | |||
+ | .history .toggleHistDetails { | ||
+ | float: right; | ||
+ | text-align: right; | ||
+ | width: 150px; | ||
+ | } | ||
+ | .history > tbody > tr:first-child > th { | ||
+ | padding-left: 152px; | ||
+ | } | ||
+ | |||
+ | /* Minor fix to 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-Заглавная_страница.action-view * h1#firstHeading { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /* Collapsible Tables ([[MediaWiki:Common.js]]) */ | ||
+ | table.collapsed tr.collapsible { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .collapsible-button { | ||
+ | float: right; | ||
+ | font-weight: normal; | ||
+ | text-align: right; | ||
+ | |||
+ | /* Other languages: Change this to a bit wider (~4px) than your collapse/expand button text */ | ||
+ | width: 6.5em; | ||
+ | } | ||
+ | |||
+ | .collapsible.collapse-button-left > tr > th .collapsible-button, | ||
+ | .collapsible.collapse-button-left > * > tr > th .collapsible-button { | ||
+ | float: left; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | .collapsible.collapse-button-none > tr > th .collapsible-button, | ||
+ | .collapsible.collapse-button-none > * > tr > th .collapsible-button { | ||
+ | float: none; | ||
+ | } | ||
+ | |||
+ | /* Alternating table rows */ | ||
+ | .alternatecells:nth-child(odd) { | ||
+ | background-color: #F9F9F9 | ||
+ | } | ||
+ | |||
+ | .alternaterows 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; | ||
+ | } | ||
+ | |||
+ | /* Style the sitenotice and fix up its awful spacing (why is it even a table!?) */ | ||
+ | #siteNotice #localNotice, | ||
+ | .page-MediaWiki_Sitenotice .mw-content-ltr > div | ||
+ | { | ||
+ | background-color: #FFFFFF; | ||
+ | border: 1px solid #D3D3D3; | ||
+ | margin-bottom: 12px; | ||
+ | text-align: center | ||
+ | } | ||
+ | #siteNotice #mw-dismissable-notice #localNotice { | ||
+ | /* Note to other languages: Change this to the same width as the "dismiss" button in your language, this makes the sitenotice centred better */ | ||
+ | margin-left: 55px | ||
+ | } | ||
+ | |||
+ | #siteNotice td:first-child { | ||
+ | width: 100% | ||
+ | } | ||
+ | |||
+ | #localNotice div p { | ||
+ | padding: 0.4em 0 0.5em; | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | /* Minecraft font */ | ||
+ | @font-face { | ||
+ | font-family: Minecraft; | ||
+ | src: url("//hydra-media.cursecdn.com/hydra/fonts/minecraft.eot?#iefix"), | ||
+ | url("//hydra-media.cursecdn.com/hydra/fonts/minecraft.woff") format('woff'), | ||
+ | url("//hydra-media.cursecdn.com/hydra/fonts/minecraft.ttf") format('truetype') | ||
+ | } | ||
+ | |||
+ | /* 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; | ||
+ | } | ||
+ | |||
+ | /* Move suggestions back into place (netbar moved them) */ | ||
+ | .suggestions { | ||
+ | margin-top: -29px !important; | ||
+ | } | ||
+ | |||
+ | /* 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 */ | ||
+ | .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; | ||
+ | } | ||
+ | |||
+ | /* Generic styling for animation class */ | ||
+ | .animated > *:not(.active):not(.skip), | ||
+ | .paused > *:not(.active):not(.skip) { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .nowrap { | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | |||
+ | /* Hide noscript only elements */ | ||
+ | .noscript { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /* Make tabs the correct size */ | ||
+ | * { | ||
+ | -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; | ||
+ | } | ||
+ | |||
+ | .dablink { | ||
+ | padding-left: 2em; | ||
+ | padding-bottom: 0.5em; | ||
+ | margin-bottom: 0.5em; | ||
+ | font-style: italic; | ||
+ | } | ||
+ | |||
+ | /* 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 { | ||
+ | display: table; | ||
+ | } | ||
+ | |||
+ | .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; | ||
+ | } | ||
+ | |||
+ | /* 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; | ||
+ | } | ||
+ | |||
+ | /* Hide step-by-step publishing as it's broken */ | ||
+ | .wikiEditor-ui-buttons { | ||
+ | display: none !important; | ||
+ | } | ||
+ | |||
+ | /* Fix wikiEditor spacing */ | ||
+ | #upload_container { | ||
+ | margin-top: -1px; | ||
+ | } | ||
+ | #upload_div { | ||
+ | margin: 0; | ||
+ | width: auto; | ||
+ | border-width: 1px 0; | ||
+ | box-shadow: none; | ||
+ | } | ||
+ | |||
+ | .wikiEditor-ui-top { | ||
+ | border: 0 !important; | ||
+ | } | ||
+ | .wikiEditor-ui-toolbar { | ||
+ | border-bottom: 1px solid silver; | ||
+ | } | ||
+ | |||
+ | /* Move the logo and the portlets up */ | ||
+ | #p-logo { | ||
+ | margin-bottom: 0; | ||
+ | } | ||
+ | |||
+ | /* Mark internal links as plain */ | ||
+ | #content a.external[href^="//minecraft-ru.gamepedia.com"], | ||
+ | #content a.external[href^="//minecraft-ru.gamepedia.com"] { | ||
+ | background: none; | ||
+ | padding-right: 0; | ||
+ | } | ||
+ | |||
+ | /** 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; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /* Стили для Панели быстрой вставки */ | ||
+ | |||
+ | #userButtons { | ||
+ | background-color: transparent; | ||
+ | border: 1px solid #76FF76; | ||
+ | font-size: 95%; | ||
+ | width: 100%; | ||
+ | border-collapse: collapse; | ||
+ | color: black; | ||
+ | margin: 1px 0px 1em; | ||
+ | } | ||
+ | |||
+ | #userButtons tr th, table#userButtons * tr th { | ||
+ | background-color: #BBFFBB; | ||
+ | border: 1px solid #76FF76; | ||
+ | font-size: 95%; | ||
+ | padding: 2px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | #userButtons tr td, table#userButtons * tr td { | ||
+ | border: 1px solid #76FF76; | ||
+ | padding: 5px; | ||
+ | } | ||
+ | |||
+ | #userButtons tr td p, table#userButtons * tr td p { | ||
+ | margin-top:0; | ||
+ | margin-bottom:0; | ||
+ | } | ||
+ | |||
+ | #userButtons.collapsible tr th, table#userButtons.collapsible * tr th { | ||
+ | padding-left: 6.5em; | ||
+ | } | ||
+ | |||
+ | .userButtonsAddons { | ||
+ | border:1px dotted #aaaaaa !important; | ||
+ | padding:2px; | ||
+ | font-size:95%; | ||
+ | background-color:transparent !important; | ||
+ | width:49%; | ||
+ | border-collapse: collapse; | ||
+ | color: black; | ||
+ | margin-bottom: 1em; | ||
+ | margin-left: 0px; | ||
+ | margin-right: 0px; | ||
+ | margin-top: 1em; | ||
+ | } | ||
+ | |||
+ | .userButtonsAddons * th, .userButtonsAddons * td { | ||
+ | border:1px dotted #aaaaaa !important; | ||
+ | padding:2px; | ||
+ | background-color:transparent !important; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | |||
+ | .userButtonsAddons * th { | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | /* [[Template:Sprite]] */ | ||
+ | .sprite { | ||
+ | display: inline-block; | ||
+ | vertical-align: text-top; | ||
+ | height: 16px; | ||
+ | width: 16px; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | .sprite + .sprite-text { | ||
+ | padding-left: 0.312em; | ||
+ | } | ||
+ | |||
+ | /* [[Template:CommentSprite]] */ | ||
+ | .comment-sprite { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/9/9c/CommentCSS.png); | ||
+ | } | ||
+ | |||
+ | /* [[Template:BlockSprite]] */ | ||
+ | .block-sprite { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/d/df/BlockCSS.png); | ||
+ | } | ||
+ | |||
+ | /* [[Template:EntitySprite]] */ | ||
+ | .entity-sprite { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/4/40/EntityCSS.png); | ||
+ | } | ||
+ | |||
+ | /* [[Template:ItemSprite]] */ | ||
+ | .item-sprite { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/f/f5/ItemCSS.png); | ||
+ | } | ||
+ | |||
+ | /* [[Template:BCSprite]] */ | ||
+ | .bc-sprite { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/9/9e/BCCSS.png); | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:ЭффектСпрайт]]: [[Файл:EffectsCSS.png]] */ | ||
+ | .effects-sprite { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/b/b7/EffectsCSS.png); | ||
+ | width: 18px; | ||
+ | height: 18px; | ||
+ | } | ||
+ | |||
+ | /* [[Template:Schematic]] */ | ||
+ | .schematic-sprite { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/1/18/SchematicCSS.png); | ||
+ | background-size: 32em auto; | ||
+ | width: 1em; | ||
+ | height: 1em; | ||
+ | } | ||
+ | |||
+ | /* Инвентарные спрайты */ | ||
+ | .inv-sprite { | ||
+ | background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/0/07/InvCSS.png); | ||
+ | width: 32px; | ||
+ | height: 32px; | ||
+ | } | ||
+ | |||
+ | /* [[Шаблон:Схема]] */ | ||
+ | .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; | ||
+ | } |
Версия 08:44, 3 августа 2016
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
body.page-Заглавная_страница.action-view h1.firstHeading, body.page-Заглавная_страница.action-submit h1.firstHeading, body.page-Заглавная_страница #contentSub { display: none; }
/* [[Шаблон:Сетка/Ячейка]] */
.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.hidden {
background-color: transparent;
padding: 0px;
z-index: 10;
}
.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;
}
.grid.output .image {
top: 10px;
left: 10px;
}
.grid.hidden .image {
top: 0;
}
.grid .image > a.new,
.gridsprite > a.new {
background-image: url("//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 {
display: block;
margin: -12px -4px 0 0;
text-align: right;
font-family: Minecraft;
font-size: 16px;
pointer-events: none;
}
.grid .number .selflink,
.grid .number a {
color: #3F3F3F;
text-decoration: none;
font-weight: normal;
}
.grid .image a.new + .number,
.sprite a.new + .number {
display: none;
}
.grid .number span {
position: absolute;
right: -2px;
bottom: 2px;
color: #FFFFFF;
}
.gridsprite {
display:inline-block;
position: relative;
text-align: left !important;
height: 32px;
width: 32px;
vertical-align: bottom;
background-color: transparent;
padding: 0;
z-index: 10;
line-height: 16px;
}
.gridsprite .number {
display: block;
margin: -12px -4px 0 0;
text-align: right;
font-family: Minecraft;
font-size: 16px;
pointer-events: none;
}
.gridsprite .number a {
color: #3F3F3F;
text-decoration: none;
font-weight: normal;
}
.gridsprite .number span {
position: absolute;
right: -2px;
bottom: -2px;
color: #FFFFFF;
}
.grid-Crafting_Table,
.grid-Furnace,
.grid-Brewing_Stand table,
.grid-generic {
background: #C6C6C6;
border: outset 2px #999;
padding: 6px;
text-align: left !important;
}
.grid-Crafting_Table td,
.grid-Furnace td,
.grid-Brewing_Stand td,
.grid-generic td {
border: none;
padding: 0;
}
/* [[Шаблон:Сетка/Крафт]] */
.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;
}
/* [[Шаблон:Сетка/Печка]] */
.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;
}
/* [[Шаблон:Сетка/Варка]] */
.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;
}
/* Для [[Модуль:Инвентарный слот]] (из [[en:MediaWiki:Common.css]]) */
.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(//hydra-media.cursecdn.com/minecraft.gamepedia.com/4/44/InvSprite.png) no-repeat content-box;
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;
}
.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;
}
/* Для [[Модуль:Окно интерфейса]] (из [[en:MediaWiki:Common.css]]) */
.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;
}
/* [[Шаблон:Крафт]]:
[[Файл:Grid layout Arrow (small).png]], [[Файл:Grid layout Shapeless.png]], [[Файл:Grid layout Fixed.png]] */
.mcui-Crafting_Table .mcui-row {
display: block;
}
.mcui-Crafting_Table > .mcui-arrow {
background: url(//hydra-media.cursecdn.com/minecraft-ru.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(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/a/a9/Grid_layout_Shapeless.png);
}
.mcui-Crafting_Table .mcui-fixed {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/b/b8/Grid_layout_Fixed.png);
}
/* [[Шаблон:Печка]]:
[[Файл:Grid layout Fire.png]], [[Файл:Grid layout Fire (in-active).png]]
[[Файл:Grid layout Furnace Progress.png]], [[Файл:Grid layout Furnace Progress (in-active).png]] */
.mcui-Furnace .mcui-fuel {
display: block;
background: url(//hydra-media.cursecdn.com/minecraft-ru.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-ru.gamepedia.com/a/ab/Grid_layout_Fire_%28in-active%29.png);
}
.mcui-Furnace > .mcui-arrow {
background: url(//hydra-media.cursecdn.com/minecraft-ru.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-ru.gamepedia.com/d/dc/Grid_layout_Furnace_Progress_%28in-active%29.png);
}
.mcui-Furnace > .mcui-output {
margin-top: 28px;
}
/* [[Шаблон:Варка]]:
[[Файл:Grid layout Brewing Bubbles.gif]], [[Файл:Grid layout Brewing Bubbles (In-active).png]],
[[Файл:Grid layout Brewing Arrow.png]], [[Файл:Grid layout Brewing Arrow (In-active).png]],
[[Файл:Grid layout Brewing Paths.png]], [[Файл: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(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/6/65/Grid_layout_Brewing_Bubbles.gif);
}
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-bubbling {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/d/db/Grid_layout_Brewing_Bubbles_%28In-active%29.png);
}
.mcui-Brewing_Stand .mcui-arrow {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/4/4b/Grid_layout_Brewing_Arrow.png);
}
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-arrow {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/5/59/Grid_layout_Brewing_Arrow_%28In-active%29.png);
}
.mcui-Brewing_Stand > .mcui-paths {
position: relative;
background: url(//hydra-media.cursecdn.com/minecraft-ru.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(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/5/59/Grid_layout_Brewing_Empty.png);
}
.mcui-Brewing_Stand .mcui-output2 {
margin: 14px 10px 0;
}
/* [[Шаблон:Горячая строка]] */
/*
.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;
}
*/
/* [[Шаблон:Карточка]] */
.notaninfobox {
clear: right;
margin: 3px 0px 3px 3px;
width: 300px;
font-size: 90%;
background: #FFFFFF;
float: right;
border: 1px solid #CCCCCC;
padding: 2px;
overflow: auto;
}
.infobox-title {
font-weight: bold;
text-align: center;
font-size: 120%
}
.infobox-title > .editsection {
float: right;
font-weight: normal;
text-align: right;
font-size: 93.3%;
margin: 0;
min-width: 35px;
}
.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;
}
/* [[Шаблон:Карточка ряд]] */
.infobox-row {
white-space: nowrap;
font-weight: bold
}
/* [[Шаблон:Navbox]] */
.navbox {
background: #FFF;
border: 1px solid #CCC;
margin: 1em auto 0;
clear: both;
width: 100%;
}
.navbox table {
background: #FFF;
margin-left: -4px;
margin-right: -2px;
}
.navbox table:first-child {
margin-top: -2px;
}
.navbox table:last-child {
margin-bottom: -2px;
}
.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 {
background-color: #EEE;
padding: 0 10px;
white-space: nowrap;
text-align: right;
}
.navbox td {
width: 100%;
padding: 0 0 0 2px;
}
/* [[Шаблон:ЗагрузкаБлок]] 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 .navbox {
margin: 0 -2px -2px;
border: 0;
}
.loadbox-navbox .navbox > tbody > tr:first-child {
display: none;
}
/* [[Шаблон:История]] */
.history td > pre,
.history td > ol {
display: none;
}
.history ul {
margin-top: 0;
}
.history .toggleHistDetails {
float: right;
text-align: right;
width: 150px;
}
.history > tbody > tr:first-child > th {
padding-left: 152px;
}
/* Minor fix to 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-Заглавная_страница.action-view * h1#firstHeading {
display: none;
}
/* Collapsible Tables ([[MediaWiki:Common.js]]) */
table.collapsed tr.collapsible {
display: none;
}
.collapsible-button {
float: right;
font-weight: normal;
text-align: right;
/* Other languages: Change this to a bit wider (~4px) than your collapse/expand button text */
width: 6.5em;
}
.collapsible.collapse-button-left > tr > th .collapsible-button,
.collapsible.collapse-button-left > * > tr > th .collapsible-button {
float: left;
text-align: left;
}
.collapsible.collapse-button-none > tr > th .collapsible-button,
.collapsible.collapse-button-none > * > tr > th .collapsible-button {
float: none;
}
/* Alternating table rows */
.alternatecells:nth-child(odd) {
background-color: #F9F9F9
}
.alternaterows 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;
}
/* Style the sitenotice and fix up its awful spacing (why is it even a table!?) */
#siteNotice #localNotice,
.page-MediaWiki_Sitenotice .mw-content-ltr > div
{
background-color: #FFFFFF;
border: 1px solid #D3D3D3;
margin-bottom: 12px;
text-align: center
}
#siteNotice #mw-dismissable-notice #localNotice {
/* Note to other languages: Change this to the same width as the "dismiss" button in your language, this makes the sitenotice centred better */
margin-left: 55px
}
#siteNotice td:first-child {
width: 100%
}
#localNotice div p {
padding: 0.4em 0 0.5em;
margin: 0;
}
/* Minecraft font */
@font-face {
font-family: Minecraft;
src: url("//hydra-media.cursecdn.com/hydra/fonts/minecraft.eot?#iefix"),
url("//hydra-media.cursecdn.com/hydra/fonts/minecraft.woff") format('woff'),
url("//hydra-media.cursecdn.com/hydra/fonts/minecraft.ttf") format('truetype')
}
/* 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;
}
/* Move suggestions back into place (netbar moved them) */
.suggestions {
margin-top: -29px !important;
}
/* 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 */
.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;
}
/* Generic styling for animation class */
.animated > *:not(.active):not(.skip),
.paused > *:not(.active):not(.skip) {
display: none;
}
.nowrap {
white-space: nowrap;
}
/* Hide noscript only elements */
.noscript {
display: none;
}
/* Make tabs the correct size */
* {
-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;
}
.dablink {
padding-left: 2em;
padding-bottom: 0.5em;
margin-bottom: 0.5em;
font-style: italic;
}
/* 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 {
display: table;
}
.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;
}
/* 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;
}
/* Hide step-by-step publishing as it's broken */
.wikiEditor-ui-buttons {
display: none !important;
}
/* Fix wikiEditor spacing */
#upload_container {
margin-top: -1px;
}
#upload_div {
margin: 0;
width: auto;
border-width: 1px 0;
box-shadow: none;
}
.wikiEditor-ui-top {
border: 0 !important;
}
.wikiEditor-ui-toolbar {
border-bottom: 1px solid silver;
}
/* Move the logo and the portlets up */
#p-logo {
margin-bottom: 0;
}
/* Mark internal links as plain */
#content a.external[href^="//minecraft-ru.gamepedia.com"],
#content a.external[href^="//minecraft-ru.gamepedia.com"] {
background: none;
padding-right: 0;
}
/** 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;
}
}
/* Стили для Панели быстрой вставки */
#userButtons {
background-color: transparent;
border: 1px solid #76FF76;
font-size: 95%;
width: 100%;
border-collapse: collapse;
color: black;
margin: 1px 0px 1em;
}
#userButtons tr th, table#userButtons * tr th {
background-color: #BBFFBB;
border: 1px solid #76FF76;
font-size: 95%;
padding: 2px;
text-align: center;
}
#userButtons tr td, table#userButtons * tr td {
border: 1px solid #76FF76;
padding: 5px;
}
#userButtons tr td p, table#userButtons * tr td p {
margin-top:0;
margin-bottom:0;
}
#userButtons.collapsible tr th, table#userButtons.collapsible * tr th {
padding-left: 6.5em;
}
.userButtonsAddons {
border:1px dotted #aaaaaa !important;
padding:2px;
font-size:95%;
background-color:transparent !important;
width:49%;
border-collapse: collapse;
color: black;
margin-bottom: 1em;
margin-left: 0px;
margin-right: 0px;
margin-top: 1em;
}
.userButtonsAddons * th, .userButtonsAddons * td {
border:1px dotted #aaaaaa !important;
padding:2px;
background-color:transparent !important;
padding: 0.2em;
}
.userButtonsAddons * th {
text-align:center;
}
/* [[Template:Sprite]] */
.sprite {
display: inline-block;
vertical-align: text-top;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
.sprite + .sprite-text {
padding-left: 0.312em;
}
/* [[Template:CommentSprite]] */
.comment-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/9/9c/CommentCSS.png);
}
/* [[Template:BlockSprite]] */
.block-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/d/df/BlockCSS.png);
}
/* [[Template:EntitySprite]] */
.entity-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/4/40/EntityCSS.png);
}
/* [[Template:ItemSprite]] */
.item-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/f/f5/ItemCSS.png);
}
/* [[Template:BCSprite]] */
.bc-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/9/9e/BCCSS.png);
}
/* [[Шаблон:ЭффектСпрайт]]: [[Файл:EffectsCSS.png]] */
.effects-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/b/b7/EffectsCSS.png);
width: 18px;
height: 18px;
}
/* [[Template:Schematic]] */
.schematic-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/1/18/SchematicCSS.png);
background-size: 32em auto;
width: 1em;
height: 1em;
}
/* Инвентарные спрайты */
.inv-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-ru.gamepedia.com/0/07/InvCSS.png);
width: 32px;
height: 32px;
}
/* [[Шаблон:Схема]] */
.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;
}