У этой таблицы стилей нет документации. Если вы знаете, как использовать эту таблицу стилей, пожалуйста, добавьте соответствующую информацию.
Замечание. Возможно, после сохранения вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl-F5 или Ctrl-R (⌘-R на Mac)
- Google Chrome: Нажмите Ctrl-Shift-R (⌘-Shift-R на Mac)
- Internet Explorer: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl-F5
- Opera: Выберите очистку кэша в меню Инструменты → Настройки
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
@import "https://minecraft.fandom.com/ru/index.php?title=MediaWiki:Common-all.css&action=raw&ctype=text/css";
/* Переменные из FandomDesktop в светлой теме для поддержки цветов, заданных ими, на Hydra */
:root {
--custom-background-blue: hsl(215, 75%, 90%);
--custom-background-blue-highlight: hsl(215, 75%, 92%);
--custom-background-green: hsl(120, 75%, 90%);
--custom-background-green-highlight: hsl(120, 75%, 92%);
--custom-background-grey: hsl(0, 0%, 90%);
--custom-background-magenta: hsl(310, 75%, 90%);
--custom-background-magenta-highlight: hsl(310, 75%, 92%);
--custom-background-orange: hsl(40, 75%, 90%);
--custom-background-orange-highlight: hsl(40, 75%, 92%);
--custom-background-purple: hsl(260, 75%, 90%);
--custom-background-purple-highlight: hsl(260, 75%, 92%);
--custom-background-red: hsl(0, 75%, 90%);
--custom-background-red-highlight: hsl(0, 75%, 92%);
--custom-background-yellow: hsl(60, 75%, 90%);
--custom-background-yellow-highlight: hsl(60, 75%, 92%);
--custom-border-blue: hsl(215, 25%, 65%);
--custom-border-blue-highlight: hsl(215, 50%, 68%);
--custom-border-green: hsl(120, 25%, 65%);
--custom-border-green-highlight: hsl(120, 50%, 68%);
--custom-border-grey: hsl(0, 0%, 65%);
--custom-border-magenta: hsl(310, 25%, 65%);
--custom-border-magenta-highlight: hsl(310, 50%, 68%);
--custom-border-orange: hsl(40, 25%, 65%);
--custom-border-orange-highlight: hsl(40, 50%, 68%);
--custom-border-purple: hsl(260, 25%, 65%);
--custom-border-purple-highlight: hsl(260, 50%, 68%);
--custom-border-red: hsl(0, 25%, 65%);
--custom-border-red-highlight: hsl(0, 50%, 68%);
--custom-border-yellow: hsl(60, 25%, 65%);
--custom-border-yellow-highlight: hsl(60, 50%, 68%);
--custom-main-page-background: #fcfcfc;
--custom-main-page-border: #ccc;
--custom-main-page-edition-subheader: #333;
--custom-table-background: #f8f9fa;
--custom-table-alternate-background: #f0f1f2;
--custom-table-header-background: #eaecf0;
/* Override default color that causes some contrast issues. */
--theme-alert-color: #ba1231;
/* Theme Designer: Community background color (choose lighter color) */
--theme-body-text-color: #242424;
--theme-body-text-color--hover: #3a3a3a;
/* Theme Designer: Sticky nav background color */
--theme-sticky-nav-background-color: #1e1e1e;
--theme-sticky-nav-text-color: #f6f6f6;
--theme-sticky-nav-text-color--hover: #c5dfe2;
/* Theme Designer: Accent color */
--theme-accent-color: #36c;
--theme-accent-color--rgb: 51, 102, 204;
--theme-accent-color--hover: #447ff5;
--theme-accent-label-color: #fff;
/* Manually set here */
--theme-page-background-color--secondary: #f8f9fa;
/* Wiki theme variables */
--mcw-sky-base: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/1/17/Light_background_clouds_distance2.png/revision/latest?format=original);
--mcw-grass-base: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/4/42/Light_background_grass.png/revision/latest?format=original);
--mcw-snow-base: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/6/64/Light_background_snowy_grass.png/revision/latest?format=original);
--mcw-snowfall: url(/media/8/84/Winter-snow-background.gif);
--mcw-header-background:
linear-gradient(0deg, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 0.1) 158px, rgba(255, 255, 255, 0) 0),
var(--mcw-grass-base),
linear-gradient(0deg, rgba(255, 255, 255, 0) 168px, rgb(227, 227, 227) 168px, rgb(203, 217, 231) 210px, rgb(141, 189, 233) 268px);
--mcw-deepslate: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/b/bc/Light_background_deepslate.png/revision/latest?format=original);
--mcw-deepslate-transition: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/b/b8/Light_background_deepslate_transition.png/revision/latest?format=original);
}
/* Для [[Модуль:Окно интерфейса]] (из [[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 > *{
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(https://static.wikia.nocookie.net/minecraft_ru_gamepedia/images/8/86/Grid_layout_Arrow_%28small%29.png/revision/latest) no-repeat;
width: 32px;
height: 26px;
margin: 40px 4px 0;
}
.mcui-Crafting_Table > .mcui-output {
margin-top: 28px;
}
.mcui-Crafting_Table > .mcui-icons {
position: absolute;
top: 6px;
right: 6px;
}
.mcui-Crafting_Table .mcui-shapeless,
.mcui-Crafting_Table .mcui-fixed {
display: inline-block;
background-repeat: no-repeat;
width: 19px;
height: 15px;
cursor: help;
}
.mcui-Crafting_Table .mcui-shapeless {
background-image: url(https://static.wikia.nocookie.net/minecraft_ru_gamepedia/images/a/a9/Grid_layout_Shapeless.png/revision/latest);
}
.mcui-Crafting_Table .mcui-fixed {
background-image: url(https://static.wikia.nocookie.net/minecraft_ru_gamepedia/images/b/b8/Grid_layout_Fixed.png/revision/latest);
}
/* [[Шаблон:Варка]]:
[[Файл: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]],
[[Файл:Grid layout Brewing Blaze.png]], [[Файд:Grid layout Brewing Blaze (In-active).png]] */
.mcui-Brewing_Stand > * {
display: block;
}
.mcui-Brewing_Stand .invslot {
vertical-align: top;
}
.mcui-Brewing_Stand > .mcui-input > .invslot {
margin-top: 3px;
}
.mcui-Brewing_Stand .mcui-blaze {
background-image: url(https://static.wikia.nocookie.net/minecraft_ru_gamepedia/images/b/b0/Grid_layout_Brewing_Blaze.png/revision/latest);
width: 92px;
height: 69px;
position: relative;
z-index: 1;
margin-left: -2px;
display: inline-block;
background-repeat: no-repeat;
}
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-blaze
{
background-image: url(https://minecraft-ru.gamepedia.com/media/minecraft-ru.gamepedia.com/2/26/Grid_layout_Brewing_Blaze_%28In-active%29.png);
}
.mcui-Brewing_Stand .mcui-bubbling,
.mcui-Brewing_Stand .mcui-arrow {
display: inline-block;
background-repeat: no-repeat;
width: 24px;
}
.mcui-Brewing_Stand .mcui-bubbling {
background-image: url(https://static.wikia.nocookie.net/minecraft_ru_gamepedia/images/6/65/Grid_layout_Brewing_Bubbles.gif/revision/latest);
height: 57px;
margin-left: -30px;
margin-right: 4px;
}
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-bubbling {
background-image: url(https://static.wikia.nocookie.net/minecraft_ru_gamepedia/images/d/db/Grid_layout_Brewing_Bubbles_%28In-active%29.png/revision/latest);
}
.mcui-Brewing_Stand .mcui-arrow {
background-image: url(https://static.wikia.nocookie.net/minecraft_ru_gamepedia/images/4/4b/Grid_layout_Brewing_Arrow.png/revision/latest);
margin-right: 22px;
height: 59px;
}
.mcui-Brewing_Stand > .mcui-input.mcui-inactive > .mcui-arrow {
background-image: url(https://static.wikia.nocookie.net/minecraft_ru_gamepedia/images/5/59/Grid_layout_Brewing_Arrow_%28In-active%29.png/revision/latest);
}
.mcui-Brewing_Stand > .mcui-paths {
background: url(https://static.wikia.nocookie.net/minecraft_ru_gamepedia/images/8/82/Grid_layout_Brewing_Paths.png/revision/latest) no-repeat;
position: relative;
width: 60px;
height: 50px;
margin: -32px 0 -16px 112px;
z-index: 1;
}
.mcui-Brewing_Stand .mcui-output {
margin-left: 78px;
}
.mcui-Brewing_Stand .mcui-output .invslot {
background-image: url(https://static.wikia.nocookie.net/minecraft_ru_gamepedia/images/5/59/Grid_layout_Brewing_Empty.png/revision/latest);
}
.mcui-Brewing_Stand .mcui-output2 {
margin: 14px 10px 0;
}
/* [[Шаблон: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 > .load-page-content > .mw-parser-output > .navbox > tbody > tr:first-child {
display: none;
}
/* Hatnotes and disambiguation notices */
.hatnote {
font-style: italic;
}
.hatnote i {
font-style: normal;
}
div.hatnote {
padding-left: 1.6em;
margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
margin-top: -0.5em;
}
/* Prevent page jump from the toolbar loading */
.client-js #editform {
/* To disable margin collapsing */
overflow: hidden;
}
.client-js .mw-editform > #wpTextbox1 {
margin-top: 73px;
}
.mw-editform .wikiEditor-ui-top {
min-height: 72px;
}
/* Collapsible elements ([[MediaWiki:Common.js]]) */
.collapsible.collapsed > tr:not(:first-child),
.collapsible.collapsed > tbody > tr:not(:first-child),
.collapsible.collapsed > thead + tbody > tr:first-child,
.collapsible.collapsed > tbody + tbody > tr:first-child,
.collapsible.collapsed > tfoot > tr,
.collapsible.collapsed > .collapsible-content {
display: none;
}
.collapsetoggle {
display: inline-block;
font-weight: normal;
font-style: normal;
float: right;
text-align: right;
margin-left: 0.8em;
}
.collapsetoggle-left > tr > * > .collapsetoggle,
.collapsetoggle-left > * > tr > * > .collapsetoggle,
.collapsetoggle-left > * > .collapsetoggle {
float: left;
text-align: left;
margin-right: 0.8em;
margin-left: 0;
}
.collapse-button-none > * > tr > * > .collapsetoggle,
.collapsetoggle-inline > tr > * > .collapsetoggle,
.collapsetoggle-inline > * > tr > * > .collapsetoggle,
.collapsetoggle-inline > * > .collapsetoggle {
float: none;
text-align:left;
}
.collapsetoggle-custom {
visibility: hidden;
}
/* Alternating table rows */
.alternatecells:nth-child(odd) {
background-color: #F9F9F9
}
.alternaterows tr:nth-child(even),
.infobox-rows tr:nth-child(even) {
background-color: #F9F9F9
}
/* Синий заголовок используемый в карточках по всей вики */
.mcwiki-header {
background: #729FCF;
border: 1px solid #ccc;
border-bottom: 4px groove #999999;
border-right: 4px groove #999999;
padding: 5px;
}
/* Оформление общесайтовых объявлений */
#siteNotice #localNotice,
#siteNotice .globalNotice,
.mw-body-content#siteNotice,
.page-MediaWiki_Sitenotice .mw-content-ltr > p
{
background-color: #FFFFFF;
border: 1px solid #D3D3D3;
margin-bottom: 12px;
text-align: center
}
#siteNotice .mw-dismissable-notice .mw-dismissable-notice-close {
margin-right: 8px
}
/* Minecraft font */
@font-face {
font-family: Minecraft;
src: url("/media/hydra/fonts/minecraft.eot?#iefix"),
url("/media/hydra/fonts/minecraft.woff") format('woff'),
url("/media/hydra/fonts/minecraft.ttf") format('truetype')
}
@font-face {
font-family: 'Minecraft-ru';
src: local('Minecraft-ru'), local('Minecraft-ru'), url(/media/hydra/fonts/minecraft-ru.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;
outline: none;
}
.jslink:hover {
text-decoration: underline;
cursor: pointer;
}
.jslink:active {
color: #FAA700;
}
/* Horizontal list */
#mw-content-text .hlist ul {
display: inline;
margin: 0;
padding: 0;
}
#mw-content-text .hlist li {
display: inline;
}
#mw-content-text .hlist li:not(:last-child) {
padding-right: 0.286em;
}
#mw-content-text .hlist li:not(:last-child)::after {
content: "";
display: inline-block;
position: relative;
left: 0.286em;
bottom: 0.214em;
background-color: #000;
height: 3px;
width: 3px;
}
#mw-content-text .hlist li li:first-child::before {
content: "(";
font-weight: normal;
}
#mw-content-text .hlist li li:last-child::after {
content: ")";
font-weight: normal;
}
#mw-content-text .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-3 ul,
/* Numbers */
.toc-nonumbers .tocnumber {
display: none;
}
/* Move the logo and the portlets up */
#p-logo {
margin-bottom: 0;
}
/* Mark internal links as plain */
#content a.external[href^="http://minecraft.fandom.com/ru"],
#content a.external[href^="https://minecraft.fandom.com/ru"],
#content a.external[href^="//minecraft.fandom.com/ru"] {
background: none;
padding-right: 0;
}
/** Main page stylings **/
@supports (flex-wrap: wrap) {
.edition-group {
display: flex;
flex-wrap: wrap;
}
.edition-group .edition-box {
flex: 17.4em;
}
}
.edition-boxes p {
margin: 0 !important;
}
.edition-box > div {
margin: 0.4em auto;
}
@supports ((object-fit: contain) or (-o-object-fit: contain)) {
.edition-box img {
min-height: 50px;
-o-object-fit: contain;
object-fit: contain;
}
}
/* [[Шаблон:Схема]] */
.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;
}
/* Styling for minecraft style tooltip */
#minetip-tooltip {
position: fixed;
top: 0;
left: 0;
background-color: #100010;
background-color: rgba(16, 0, 16, 0.94);
color: #FFF;
padding: 0.375em;
font-family: Minecraft-ru, sans-serif;
font-size: 16px;
word-spacing: 4px;
white-space: nowrap;
line-height: 1em;
text-shadow: 0.125em 0.125em 0 #3F3F3F;
margin: 0.125em 0.25em;
pointer-events: none;
z-index: 9999;
}
#minetip-tooltip::before {
content: "";
position: absolute;
top: 0.125em;
right: -0.125em;
bottom: 0.125em;
left: -0.125em;
border: 0.125em solid #100010;
border-style: none solid;
border-color: rgba(16, 0, 16, 0.94);
}
#minetip-tooltip::after {
content: "";
position: absolute;
top: 0.125em;
right: 0;
bottom: 0.125em;
left: 0;
border: 0.125em solid #2D0A63;
border-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
border-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
}
#minetip-tooltip > .minetip-title > .minetip-lowtitle {
color: #AAA;
text-shadow: 0.125em 0.125em 0 #2A2A2A;
font-style: italic;
font-size:12px;
}
#minetip-tooltip > .description,
#minetip-tooltip > .minetip-description {
display: block;
margin-top: 0.25em;
}
#minetip-tooltip > .minetip-description > .minetip-modinfo {
color: #55F;
text-shadow: 0.125em 0.125em 0 #15153F;
font-style: italic;
font-size:12px;
}
/* Classes corresponding to Minecraft formatting codes */
.format-0 {
color: #000;
text-shadow: 0.125em 0.125em 0 #000;
}
.format-1 {
color: #00A;
text-shadow: 0.125em 0.125em 0 #00002A;
}
.format-2 {
color: #0A0;
text-shadow: 0.125em 0.125em 0 #002A00;
}
.format-3 {
color: #0AA;
text-shadow: 0.125em 0.125em 0 #002A2A;
}
.format-4 {
color: #A00;
text-shadow: 0.125em 0.125em 0 #2A0000;
}
.format-5 {
color: #A0A;
text-shadow: 0.125em 0.125em 0 #2A002A;
}
.format-6 {
color: #FA0;
text-shadow: 0.125em 0.125em 0 #2A2A00;
}
.format-7 {
color: #AAA;
text-shadow: 0.125em 0.125em 0 #2A2A2A;
}
.format-8 {
color: #555;
text-shadow: 0.125em 0.125em 0 #151515;
}
.format-9 {
color: #55F;
text-shadow: 0.125em 0.125em 0 #15153F;
}
.format-a {
color: #5F5;
text-shadow: 0.125em 0.125em 0 #153F15;
}
.format-b {
color: #5FF;
text-shadow: 0.125em 0.125em 0 #153F3F;
}
.format-c {
color: #F55;
text-shadow: 0.125em 0.125em 0 #3F1515;
}
.format-d {
color: #F5F;
text-shadow: 0.125em 0.125em 0 #3F153F;
}
.format-e {
color: #FF5;
text-shadow: 0.125em 0.125em 0 #3F3F15;
}
.format-l {
font-weight: bold;
letter-spacing: 0.125em;
}
.format-m {
text-decoration: line-through;
}
.format-n {
text-decoration: underline;
}
.format-o {
font-style: italic;
}
/* [[Template:Layered blueprint]] */
.layered-blueprint {
position: relative;
}
.layered-blueprint-radio {
display: none;
}
.layered-blueprint-tab {
display: inline-block;
cursor: pointer;
margin-left: 100%;
border-left: 4px solid #252525;
padding: 0.2em 0.5em;
white-space: nowrap;
transition: color 200ms, border-color 200ms;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.layered-blueprint-tab:hover {
color: #80b640;
}
.layered-blueprint-radio:checked + .layered-blueprint-tab {
color: #80b640;
border-left-color: #80b640;
}
@-webkit-keyframes layered-blueprint-fade-in {
0% {
opacity: 0;
visibility: hidden;
}
100% {
opacity: 1;
visibility: visible;
}
}
@keyframes layered-blueprint-fade-in {
0% {
opacity: 0;
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 {
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;
}
/* Стили для Панели быстрой вставки */
#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;
}
/* Отступ перед ПБВ */
.editOptions {
padding-bottom:0px;
margin-bottom:0px;
}
/* Стиль разделителей ПБВ */
#userButtons * hr {
background-color: #76FF76;
width: 100%;
float: left; /* без этого разделители начинались примерно в центре страницы */
}
.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;
}
/* Скрытие блоков в панеле быстрой вставки. Блоки предназначенные для обсуждений не отображаются на обычных страницах, и наоборот. */
.ns-talk * .userButtons-subject {
display: none;
}
.ns-subject * .userButtons-talk,
.ns-subject * #userButtonsSignature {
display: none;
}
/* Страница Запросов к администраторам используется как страница обсуждения */
.page-Minecraft_Wiki_Запросы_к_администраторам * .userButtons-subject {
display: none !important;
}
.page-Minecraft_Wiki_Запросы_к_администраторам * .userButtons-talk,
.page-Minecraft_Wiki_Запросы_к_администраторам * #userButtonsSignature {
display: block !important;
}
/* Верхняя полоса не должна скрывать полноэкранную песочницу API */
.mw-apisandbox-fullscreen #mw-apisandbox-ui {
z-index: 1002;
}
/* Стиль для кнопки «следить за страницей» */
.menu * #ca-unwatch * a:focus,
.menu * #ca-watch * a:focus,
.menu * #ca-unwatch * a,
.menu * #ca-watch * a
{
background-image: none !important;
padding: 0.5em !important;
height: 16px !important;
width: auto !important;
}
/* На заглавной не показываются категории, дата последней правки, кнопки удалить, переименовать; ссылка на саму себя */
body.page-Заглавная_страница #catlinks,
body.page-Заглавная_страница #ca-delete,
body.page-Заглавная_страница #n-mainpage-description,
body.page-Заглавная_страница #ca-move,
body.page-Заглавная_страница #footer-info-lastmod {
display: none !important;
}
/* Файл не вылезает за границы страницы при масштабировании. В мобильной версии эти стили уже применяются. */
.ns-6 #file img {
max-width: 100%;
height: auto;
}
/* Прокрутка таблицы звука при большой ширине. В мобильной версии эти стили уже применяются. */
.soundsTable {
overflow-x: auto;
display: block;
}
/* Все костыли держите в самом низу */
/* 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;
}
/* search on small screens */
@media screen and (max-width: 720px) {
#mw-head {
top: 13px;
}
div#p-search form {
background: none;
border: none;
margin: 0;
}
div#p-search form::before,
div#p-search form::after {
border: none;
}
div#simpleSearch::before {
border-left-color: transparent;
}
div#simpleSearch::after {
border-top-color: transparent;
}
}
/* Оформление небольшого класса для таблиц */
.col-1-left td:nth-child(1), .col-2-left td:nth-child(2), .col-3-left td:nth-child(3), .col-4-left td:nth-child(4), .col-5-left td:nth-child(5), .col-6-left td:nth-child(6), .col-7-left td:nth-child(7), .col-8-left td:nth-child(8), .col-9-left td:nth-child(9) {
text-align: left;
}
/* Уменьшение интервала после мини-заголовка, созданного через апострофы */
.page-content p, .page-content section {
margin: 0px 0px 8px;
}
/* Исправление отображения элементов управления в шаблоне навигации */
div.load-page.loadbox-navbox > p > span.mw-editsection-like {
margin-left: 12px;
}
div.load-page.loadbox-navbox > p > span.mw-editsection {
margin-left: 2px;
}
div.load-page.loadbox-navbox > p > span.mw-editsection > span.mw-editsection-divider {
display: inline;
}
/* ПОРТАЛ СООБЩЕСТВА */
/* Базовый контейнер */
#portal-base {
/* Grid-макет портала */
display: grid;
/* Последовательная конфигурация указывается в качестве базовой */
grid-template-areas: "header"
"participate"
"users"
"discord"
"discussions"
"news";
grid-template-columns: 100%;
/* Стили базового контейнера */
background-color: var(--custom-main-page-background);
border: 1px solid var(--custom-main-page-border);
width: 100%;
padding: 4px;
}
/* Табличная конфигурация используется для широких экранов */
@media screen and (min-width: 990px) {
#portal-base {
grid-template-areas: "header header"
"participate discord"
"users discord"
"discussions news";
grid-template-columns: auto minmax(38%, min-content);
}
}
/* Шапка портала */
#portal-header {
grid-area: header;
margin: 4px;
background-color: var(--custom-background-blue);
text-align: center;
}
/* Строка "Добро пожаловать!" */
#portal-header-welcome {
font-size: 125%;
font-weight: bold;
}
/* Блок портала */
.portal-block {
margin: 4px;
padding: 4px 4px;
vertical-align: top;
border: 1px solid var(--custom-main-page-border);
}
/* Заголовок блока */
.portal-block-header {
font-size: 120%;
font-weight: bold;
margin: 5px 0;
text-align: center;
}
/* Временные параметры стилей для заголовков внешнего содержимого */
.portal-block h2 {
border-bottom: none;
font-size: 120%;
font-weight: bold;
margin: 5px 0;
text-align: center;
}
/* Блок с внешним содержимым */
.portal-block-transclusion {
flex-grow: 1;
}
/* Строка ссылок на редактирование блока с внешним содержимым */
.portal-block-tlinks {
font-style: italic;
text-align: right;
margin-bottom: 0;
margin-top: auto;
flex-shrink: 0;
}
/* Разметка блоков портала */
/* Блок "Участникам" */
#portal-participate {
grid-area: participate;
}
/* Контейнер для подблоков раздела "Участникам" */
#portal-participate-units {
display: flex;
flex-wrap: wrap;
}
/* Подблоки в разделе "Участникам" */
.portal-participate-unit {
flex-grow: 1;
}
/* Заголовок подблока */
.portal-participate-unit-header {
font-weight: bold;
text-align: center;
}
/* Блок "Мы в Discord" */
#portal-discord {
grid-area: discord;
text-align: center;
}
/* Блок "Участники" */
#portal-users {
grid-area: users;
text-align: center;
}
/* Блок "Обсуждения" (включает внешнее содержимое) */
#portal-discussions {
grid-area: discussions;
display: flex;
flex-direction: column;
}
/* Блок "Новости" (включает внешнее содержимое) */
#portal-news {
grid-area: news;
display: flex;
flex-direction: column;
}
/* СТРАНИЦЫ, ТРЕБУЮЩИЕ ВНИМАНИЯ */
/* Страница создаётся в рамках проекта обновления портала сообщества для *
* "выгрузки" оттуда ссылок на различные категории, в которых находятся *
* страницы, где необходимо исправить недочёты либо по крупному действию *
* над которым (переименование, слияние, разъединение, удаление) требуется *
* обсуждение. *
* См. [[Участник:BabylonAS/Песочница/Альфа/Страницы, требующие внимания]] */
/* Группа блоков */
.attention-required-group {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
/* Базовое оформление блока со списком категорий */
.attention-required-block {
padding: 0.5em 1em;
margin: 3px;
text-align: center;
border: 1px solid var(--custom-main-page-border);
background-color: var(--custom-main-page-background);
}
/* Оформление области с изображением */
.attention-required-image {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
height: 72px;
}
/* Оформление заглавия мультиблока */
.attention-required-multi-caption {
font-weight: bold;
}
/* Оформление списка категорий в мультиблоке */
.attention-required-multi-list {
text-align: left;
margin: 6px 36px 18px;
}
/* Цветовая дифференциация ~~штанов~~ блоков. Используются стандартные цвета,
адаптирующиеся под светлую или тёмную тему; для блоков "К..." подобраны
близкие с соответствующим шаблонам-плашкам. */
/* Светлый красный */
.attention-required-red-highlight {
border-color: var(--custom-border-red-highlight);
background-color: var(--custom-background-red-highlight);
}
/* Светлый пурпурный */
.attention-required-purple-highlight {
border-color: var(--custom-border-purple-highlight);
background-color: var(--custom-background-purple-highlight);
}
/* Светлый голубой */
.attention-required-blue-highlight {
border-color: var(--custom-border-blue-highlight);
background-color: var(--custom-background-blue-highlight);
}
/* Светлый оранжевый */
.attention-required-orange-highlight {
border-color: var(--custom-border-orange-highlight);
background-color: var(--custom-background-orange-highlight);
}
/* Жёлтый */
.attention-required-yellow {
border-color: var(--custom-border-yellow);
background-color: var(--custom-background-yellow);
}
/* Лиловый ~~шар~~ */
.attention-required-magenta {
border-color: var(--custom-border-magenta);
background-color: var(--custom-background-magenta);
}
/* Красный */
.attention-required-red {
border-color: var(--custom-border-red);
background-color: var(--custom-background-red);
}
/* Голубой */
.attention-required-blue {
border-color: var(--custom-border-blue);
background-color: var(--custom-background-blue);
}