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

Материал из Буквицы
Перейти к навигации Перейти к поиску
 
мНет описания правки
 
(не показано 5 промежуточных версий 2 участников)
Строка 1: Строка 1:
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
/**
*  [Содержание]
*
*  1. Интерфейс
*  1.1 Теги
*  1.2 Классы
*  1.3 Расширения
*  1.4 Редакторы
*  2. Служебные классы
*  3. Общие классы
*  3.1 Списки
*  3.2 Примечания
*  3.3 Колонки
*  3.4 Таблицы
*  4. Шаблоны
*  5. Страницы
*
*  При добавлении правил, которые должны также действовать в мобильной версии,
*  не забудьте добавить аналогичные правила в [[MediaWiki:Mobile.css]].
*/


  /************************/
/* ================================================
  /* CommonsTicker styles */
  ИНТЕРФЕЙС
  /************************/
  ================================================ */
  /* links */
  .tickerDiffLink { } /* diff links in ticker */
  .tickerMiscLink { } /* misc links in ticker */
  /* remove list bullets */
  .tickerList ul,    .tickerList ul li    { list-style: none; text-indent:-2em; margin-left:2em;  text-align:left; }
  .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0;    margin-left:1.5em; text-align:left; }


  /* per-type styles */
/* ТЕГИ ------------------------------------------- */
  .tickerEntry_deleted    { }  /* entry for image deletion */
  .tickerEntry_restored    { }  /* entry for restored image */
  .tickerEntry_replaced    { }  /* entry for image replacement */
  .tickerEntry_tagged      { }  /* entry for adding/removing problem tags */
  .tickerEntry_redir      { }  /* entry for critical redirection (fot tag redirects) */
  .tickerEntry_recat      { }  /* entry for critical re-categorization (for tag categories) */
  .tickerEntry_notify      { }  /* entry for global notifications */
  .tickerEntry_changed    { }  /* entry for generic change */


  /* per-status styles */
/* Избавляемся от дважды жирного шрифта (2019-09-08) */
  .tickerStatus_done    { text-decoration:line-through; } /* strike through when entry has been handeled */
b {
font-weight: 700;
}
 
/* Сбрасываем курсивное оформление, применяемое браузером */
cite, dfn {
font-style: inherit;
}
 
/* Добавление горизонтального скролла для <pre>,
  для избежания бага с очень длинными строками */
pre {
overflow-x: auto;
overflow-y: hidden;
}
 
/* Размер таба для обычного редактора и для тега <code> */
pre,
textarea {
tab-size: 4;
}
 
/* Consistent size for <small>, <sub> and <sup> */
small {
font-size: 85%;
}
.mw-body-content sub,
.mw-body-content sup,
span.reference /* for Parsoid */ {
font-size: 80%;
}
 
/* fix for line-breaking references */
sub,
sup {
line-height: 1em;
}
 
blockquote {
background: #f8f9fa;
overflow: hidden;
}
 
/* КЛАССЫ ----------------------------------------- */
 
/* Уточнение ширины логотипа на экранах с большей плотностью пикселей (сами
  изображения задаются в файле стилей, не изменяемом локально; помогает
  избежать сглаживания? 136 = 204 / 1,5; 204px — ширина картинки) */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
#p-logo a {
background-size: 136px auto;
}
}


  /* per-action styles */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .tickerAction_deleted:before    { content:" GONE "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; } 
#p-logo a {
  .tickerAction_restored:before    { content:" BACK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } 
background-size: 135px auto;
  .tickerAction_deletedRev:before  { content:" -OLD "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; } 
}
  .tickerAction_replaced:before    { content:" REPL "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; } 
}
  .tickerAction_replacedOwn:before { content:" UPDT "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; } 
  .tickerAction_addedBad:before    { content:" +VfD "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; } 
  .tickerAction_removedBad:before  { content:" -VfD "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%;
  .tickerAction_addedGood:before  { content:" +OK  "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
  .tickerAction_removedGood:before { content:" -OK  "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }


  /* ticker usage list */
.filehistory a img,
  .tickerUsage  { font-size:80%; }
#file img {
background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}


  /* entry applies to a template used by multiple images */
/* Remove "external" icon from links to WP */
  .tickerTemplateEntry    { font-weight: bold; }  
body.ns-talk a.external[href*="//ru.wikipedia.org/"],
body.ns-4 a.external[href*="//ru.wikipedia.org/"],
body.ns-104 a.external[href*="//ru.wikipedia.org/"],
body.ns-106 a.external[href*="//ru.wikipedia.org/"] {
background: none !important;
padding-right: 0 !important;
}


  /* entry applies to sub-entries, i.e. images that use a specific template */
/* PDF icon next to external PDF link for Mozilla and Opera and for {PDFlink} template */
  .tickerSubEntry        { }                      
a[href$=".pdf"].external,
a[href*=".pdf?"].external,
a[href*=".pdf#"].external,
a[href$=".PDF"].external,
a[href*=".PDF?"].external,
a[href*=".PDF#"].external,
span.PDFlink a {
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important;
padding-right: 18px !important;
}


  /* minor entry styles */
.hatnote {
  .tickerMinorEntry  { color:#666; }    /* minor entry */
font-style: italic;
  .tickerMinorEntry a,
padding-left: 1.6em;
  .tickerMinorEntry a:link,
}
  .tickerMinorEntry a:visited { color:#669; }
  #bodyContent .tickerMinorEntry a.extiw,
  #bodyContent .tickerMinorEntry a.extiw:link,
  #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }


/* International Phonetic Alphabet */
.allpagesredirect,
.IPA {
span.redirect-in-category a {
  font-family: Arial Unicode MS, Lucida Sans Unicode, MS Mincho, Arial, sans-serif;
font-style: italic;
  text-decoration: none;
  font-size: 130%;
}
}


/* Class for links with loudspeaker icon next to them */
/* Clickable speaker in {Audio} ... */
.audiolink a {
.audiolink a {
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/16px-Loudspeaker.svg.png") center left no-repeat !important;
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png) center left no-repeat !important;
    padding-left: 20px !important;
padding-left: 16px !important;
     padding-right: 0 !important;
padding-right: 0 !important;
}
 
.clickable-image a:hover {
text-decoration: none;
}
 
#mw-subcategories,
#mw-pages {
clear: both;
}
 
/* Лечим растягивание СН, страниц истории и вклада, если текст описания правки
  негде перенести. Удалить при добавлении этого правила на глобальном уровне. */
.comment {
overflow-wrap: break-word;
word-break: break-word;
}
 
/* Не отображать множественные уведомления о запрете редактирования списком */
.permissions-errors {
list-style: none;
margin: 0;
}
 
.sitedir-ltr .mw-dismissable-notice-body {
margin-right: 5em !important; /* was 20% */
}
 
/* Fix of default <maplink> display */
.mw-kartographer-maplink {
margin-left: 0 !important;
padding: 2px 0 2px 20px !important;
}
 
/* Временный фикс [[Обсуждение MediaWiki:Common.css#Для чего .catlinks li параметр margin: 0.125em 0;?]],
  пока не исправят в нативных стилях */
.mediawiki .catlinks li {
margin: 2px 0;
}
 
.mw-tag-markers {
font: italic 90% sans-serif;
}
 
.printonly {
display: none;
}
 
/* Фикс выравнивания галереи при заданном параметре perrow (2019-10-03) */
.mw-gallery-traditional.center,
.mw-gallery-nolines.center {
margin-left: auto;
margin-right: auto;
}
 
/* Блок «Это старая/текущая версия этой страницы». Надо предложить это в движок */
.mw-revision,
#mw-revision-nav {
margin-top: 0.5em;
}
 
/* Кнопки [показать]/[скрыть], создаваемые mw-collapsible */
.mw-collapsible-toggle {
font-weight: normal;
}
 
/* Кнопки [показать]/[скрыть], создаваемые динамически функцией collapsibleTables()
  в [[MediaWiki:Common.js]] */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
 
/* Collapsible elements. Toggle-link moved to left.
/* Margin around it adjusted. */
 
.mw-collapsible span.mw-collapsible-toggle {
    float:left;
    margin-left:0;
    margin-right:1em;
}
 
/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .collapsible.collapsed > tbody > tr:not(:first-child),
.client-js .NavFrame.collapsed > .NavContent,
.client-js .tochidden-wrapper > .toc > ul {
display: none;
}
 
.noautonum .tocnumber,
.nonumtoc .tocnumber {
     display: none;
}
 
/* РАСШИРЕНИЯ ------------------------------------- */
 
/* Стили для расширения [[mw:Extension:Babel]] (03-09-17) */
/* Скрытие буквы N у родных языков, по аналогии со стандарными шаблонами */
.mw-babel-box-level-N {
display: none;
}
 
/* FlaggedRevs */
/* Скрываем верхнюю таблицу для анонимов и показываем
для зарегистрированных с помощью [[MediaWiki:Group-user.css]] */
#mw-fr-revisiontag {
display: none;
}
.mw-fr-reviewlink,
.fr-hist-basic-user,
.fr-hist-basic-auto {
font-weight: normal;
font-size: 85%;
}
.flaggedrevs-pending {
background: #ffc;
}
.sitedir-ltr div.flaggedrevs_short {
float: none;
margin-left: 0;
padding: 1px;
}
.sitedir-ltr div.flaggedrevs_short_details {
width: 95%;
display: none;
}
/* Лишний отступ */
div.flaggedrevs_notice {
    margin-right: 0;
}
}
.audiolink .ogg-player-options {
 
  border: none;
/* Remove popup from Content translation tool, if not opted in */
  white-space: pre;
.cx-callout:not(.cx-campaign-contributionsmenu):not(.cx-entrypoint-dialog) { display: none !important; }
 
/* Покрасить "неприоритетные" ссылки в библиографических ссылках в черный цвет (касается только ссылок, генерируемых Lua) */
.wef_low_priority_links a,
.wef_low_priority_links a.extiw,
.wef_low_priority_links a.external,
.wef_low_priority_links a:visited,
.wef_low_priority_links a.extiw:visited,
.wef_low_priority_links a.external:visited {
color: #202122;
}
}


.audiofile{
/* РЕДАКТОРЫ -------------------------------------- */
  padding:0px;
 
/* Visual editor related */
.mw-ve-editNotice .mbox-image,
.ve-active .ve-hide,
.ve-show {
display: none;
}
}


.audiofile button{
.ve-active div.ve-show,
  cursor:pointer;
.ve-active p.ve-show {
   border-width:0px;
display: block;
   margin:0px;
}
  padding:0px;
 
  background-color:white;
.ve-active span.ve-show,
  width: 22px !important; // temporary
.ve-active small.ve-show {
display: inline;
}
 
.ve-active li.ve-show {
display: list-item;
}
 
/* Костыль исправляющий дублирование иконки в сообщениях об ошибках (Editnotice)
при сохранении правки в визуальном редакторе */
.ve-ui-mwSaveDialog .oo-ui-flaggedElement-error.oo-ui-iconElement table.fmbox {
margin-top: 0;
}
.ve-ui-mwSaveDialog .oo-ui-flaggedElement-error.oo-ui-iconElement .mbox-image {
display: none;
}
 
/* ================================================
   СЛУЖЕБНЫЕ КЛАССЫ
  ================================================ */
 
/* Классы для показа сообщений отдельным группам пользователей */
.group-checkuser-show,
.group-bureaucrat-show,
.group-sysop-show,
.group-engineer-show,
.group-closer-show,
.group-filemover-show,
.group-editor-show,
.group-autoreview-show,
.group-user-show {
display: none;
}
 
/* ================================================
  ОБЩИЕ КЛАССЫ
   ================================================ */
 
/* СПИСКИ ----------------------------------------- */
 
/* Style for horizontal lists (separator following item).
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
  @revision 9 (2016-08-10)
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
display: none;
}
/* Generate bullets */
.hlist dt:after {
content: ": ";
}
.hlist dd:after,
.hlist li:after {
content: "\00a0• ";
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ")";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
}
}


.client-js .audiometa {
/* Немаркированные списки */
  display: none;
.plainlist ol:not(.references),
.plainlist dl,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ol:not(.references) li,
.plainlist dl dt,
.plainlist dl dd,
.plainlist ul li {
margin: 0;
}
.plainlist dl dt:after {
content: ": ";
}
}


.client-nojs .audiofile {
/* Неразрывные пробелы в горизонтальных списках */
    display: none;
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
white-space: nowrap;
}
}


/* Standard Navigationsleisten, aka box hiding thingy from .de.*/
/* Но где-то неразрывность надо сбросить (например, в навшаблонах в узких местах) */
.wrap,
.wraplinks a,
.wraplinks .selflink,
.hlist-items-nowrap dl dl, .hlist-items-nowrap dl ol, .hlist-items-nowrap dl ul, /* Allow nested lists to wrap anyway */
.hlist-items-nowrap ol dl, .hlist-items-nowrap ol ol, .hlist-items-nowrap ol ul,
.hlist-items-nowrap ul dl, .hlist-items-nowrap ul ol, .hlist-items-nowrap ul ul {
white-space: normal;
}


  div.Boxmerge,
/* ПРИМЕЧАНИЯ ------------------------------------- */
  div.NavFrame {
          margin: 0px;
          padding: 2px;
          border: 1px solid #aaaaaa;
          text-align: center;
          border-collapse: collapse;
          font-size: 95%;
  }
  div.Boxmerge div.NavFrame {
          border-style: none;
          border-style: hidden;
  }
  div.NavFrame + div.NavFrame {
          border-top-style: none;
          border-top-style: hidden;
  }
  div.NavPic {
          background-color: #ffffff;
          margin: 0px;
          padding: 2px;
          float: left;
  }
  div.NavFrame div.NavHead {
          height: 1.6em;
          font-weight: bold;
          font-size: 100%;
          background-color: #efefef;
          position:relative;
  }
  div.NavFrame p {
          font-size: 100%;
  }
  div.NavFrame div.NavContent {
          font-size: 100%;
  }
  div.NavFrame div.NavContent p {
          font-size: 100%;
  }
  div.NavEnd {
          margin: 0px;
          padding: 0px;
          line-height: 1px;
          clear: both;
  }
  a.NavToggle {
          position:absolute;
          top:0px;
          right:3px;
          font-weight:normal;
          font-size:smaller;
  }


/* [[Википедия:Оформление таблиц]] */
ol.references {
table.standard, table.wide
font-size: 100%;
{border:1px solid #AAAAAA; border-collapse: collapse}
}
table.standard th, table.wide th, table.wikitable th
.reflist,
{border:1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#EEEEFF}
.references-small {
table.standard td, table.wide td
font-size: 90%;
{border: 1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em}
margin-bottom: 0.5em;
table.standard caption, table.wide caption, table.tiles caption
}
{font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em}
.reflist ol.references,
table.wide {width: 100%}
.references-small ol.references {
list-style-type: inherit/* Enable custom list style types */
table.simple {border-color:#AAAAAA; border-collapse:collapse}
}
table.simple th, table.simple td {border-color:#AAAAAA; padding-left:0.2em; padding-right:0.2em}
.reflist-narrow .mw-references-columns {
   
-webkit-column-width: 20em;
table.tiles {border-collapse:separate; border-spacing:2px}
-moz-column-width: 20em;
table.tiles th {padding-left:0.2em; padding-right:0.2em; background-color: #EEEEFF}
column-width: 20em;
table.tiles td {padding-left:0.2em; padding-right:0.2em; background-color: #F0F0F0}
}
.reflist-wide .mw-references-columns {
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
-webkit-column-width: 40em;
table.graytable caption {padding:0.5em 0 0 0; background:#f0f0f0; font-size:100%; font-weight:bold}
-moz-column-width: 40em;
table.graytable caption span.subcaption {font-size:80%; font-weight:normal}
column-width: 40em;
table.graytable th, table.graytable td {font-size:80%}
}
table.wikitable, table.prettytable
{margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAAAAA; border-collapse:collapse}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td
{border:1px solid #AAAAAA; padding:0.2em}
table.wikitable caption, table.prettytable caption
{margin-left:inherit; margin-right:inherit; font-size:larger; font-weight:bold}
table.prettytable th
{background:#f2f2f2}


/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
/* highlight focused footnotes and references in some browsers */
th.mbox-text, td.mbox-text {  /* The message body cell(s) */
sup.reference:target,
    border: none;
ol.references li:target,
    /* @noflip */
.highlight-target:target,
    padding: 0.25em 0.9em;    /* 0.9em left/right */
cite:target,
    width: 100%;               /* Make all mboxes the same width regardless of text length */
span.citation:target {
background: #eaf3ff;
}
}
td.mbox-image {               /* The left image cell */
sup.reference:target {
    border: none;
font-weight: bold;
    /* @noflip */
    padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
    text-align: center;  
}
}
td.mbox-imageright {           /* The right image cell */
 
    border: none;
.ref-info {
    /* @noflip */
font-size: 85%;
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
color: #72777d;
    text-align: center;  
}
}
td.mbox-empty-cell {           /* An empty narrow cell */
 
    border: none;
/* КОЛОНКИ ---------------------------------------- */
    padding: 0px;
 
    width: 1px;
/* Авторазбиение списков на колонки. Будет работать только для однострочных списков. 35em является предварительным числом, а фактическое будет посчитано исходя из ширины элементов. Должно использоваться только для UL внутри DIV. Пример использования — шаблон {{Wikidata/SisterCities}} */
.autocolumns {
-moz-columns: 35em auto;
columns: 35em auto;
white-space: nowrap;
}
}


/* Reset top margin for lists embedded in columns */
div.columns {
margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
margin-top: 0;
}


/* Article message box styles */
/* Avoid elements from breaking between columns */
table.ambox {
.nocolbreak,
    margin: 0px 10%;                 /* 10% = Will not overlap with other elements */
div.columns li,
    border: 1px solid #aaa;  
div.columns dd dd {
    /* @noflip */
-webkit-column-break-inside: avoid;
    border-left: 10px solid #1e90ff;  /* Default "notice" blue */
page-break-inside: avoid;
    background: #fbfbfb;  
break-inside: avoid-column;
}
}
table.ambox + table.ambox {     /* Single border between stacked boxes. */
 
    margin-top: -1px;
/* ТАБЛИЦЫ ---------------------------------------- */
 
/* [[Википедия:Оформление таблиц]] */
.standard,
.wide {
/* For align=center tables dont use shorthand margin */
margin-top:1em;
margin-bottom:1em;
border: 1px solid #a2a9b1;
border-collapse: collapse;
}
}
.ambox th.mbox-text,  
 
.ambox td.mbox-text {            /* The message body cell(s) */
.standard > tr > th,
    padding: 0.25em 0.5em;       /* 0.5em left/right */
.standard > tr > td,
.standard > * > tr > th,
.standard > * > tr > td,
.wide > tr > th,
.wide > tr > td,
.wide > * > tr > th,
.wide > * > tr > td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
}
}
.ambox td.mbox-image {          /* The left image cell */
 
    /* @noflip */
.standard > tr > th,
    padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */
.standard > * > tr > th,
.wide > tr > th,
.wide > * > tr > th {
background-color: #eaf3ff;
}
}
.ambox td.mbox-imageright {     /* The right image cell */
 
    /* @noflip */
.standard > caption,
    padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
.wide > caption {
font-weight: bold;
}
}


table.ambox-notice {
.wide {
    /* @noflip */
width: 100%;
    border-left: 10px solid #1e90ff;   /* Blue */
}
}
table.ambox-speedy {
 
    /* @noflip */
table.graytable {
    border-left: 10px solid #b22222;   /* Red */
background: #f0f0f0;
    background: #fee;                   /* Pink */
padding: 1em;
width: 100%;
}
}
table.ambox-delete {
table.graytable caption {
    /* @noflip */
padding-top: 0.5em;
    border-left: 10px solid #b22222;   /* Red */
background: #f0f0f0;
font-weight: bold;
}
}
table.ambox-content {
table.graytable caption span.subcaption {
    /* @noflip */
font-size: 88.5%;
    border-left: 10px solid #f28500;   /* Orange */
font-weight: normal;
}
}
table.ambox-style {
table.graytable th,
    /* @noflip */
table.graytable td {
    border-left: 10px solid #f4c430;   /* Yellow */
font-size: 88.5%;
}
}
table.ambox-move {
 
    /* @noflip */
/* Оформление ячеек */
    border-left: 10px solid #9932cc;   /* Purple */
tr.highlight th,
table tr th.highlight {
background: #dcebff;
}
tr.highlight td,
table tr td.highlight {
background: #ffe;
font-weight: normal;
}
tr.bright th,
table tr th.bright {
background: #cfe3ff;
}
tr.bright td,
table tr td.bright {
background: #fec;
}
tr.shadow th,
tr.shadow td,
table tr th.shadow,
table tr td.shadow {
background: #f0f0f0;
}
tr.dark th,
tr.dark td,
table tr th.dark,
table tr td.dark {
background: #ccc;
}
 
/* ================================================
  ШАБЛОНЫ
  ================================================ */
 
/* ПРЕДУПРЕЖДЕНИЯ И УВЕДОМЛЕНИЯ ------------------- */
 
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
.mbox-text,
.mbox-text {   /* The message body cell(s) */
border: none;
/* @noflip */
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%;   /* Make all mboxes the same width regardless of text length */
}
.mbox-image { /* The left image cell */
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
text-align: center;
}
.mbox-imageright {   /* The right image cell */
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
text-align: center;
}
.mbox-empty-cell {   /* An empty narrow cell */
border: none;
padding: 0px;
width: 1px;
}
}
table.ambox-protection {
.mbox-text .mbox-multiply {
    /* @noflip */
display: none;
    border-left: 10px solid #bba;       /* Gray-gold */
}
}


/* Image message box styles */
/* Image message box styles */
table.imbox {
.imbox {
    margin: 4px 10%;  
margin: 4px 10%;
    border-collapse: collapse;  
border-collapse: collapse;
    border: 3px solid #1e90ff;   /* Default "notice" blue */
border: 3px solid #1e90ff; /* Default "notice" blue */
    background: #fbfbfb;
background: #fbfbfb;
}
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.       */
margin: 0 -0.5em;   /* 0.9 - 0.5 = 0.4em left/right. */
    display: block;         /* Fix for webkit to force 100% width.  */
display: block; /* Fix for webkit to force 100% width.  */
}
}
.mbox-inside .imbox {       /* For imboxes inside other templates.  */
.mbox-inside .imbox {   /* For imboxes inside other templates.  */
    margin: 4px;
margin: 4px;
}
}


table.imbox-notice {
.imbox-notice {
    border: 3px solid #1e90ff;   /* Blue */
border: 2px solid #1e90ff; /* Blue */
}
}
table.imbox-speedy {
.imbox-speedy {
    border: 3px solid #b22222;   /* Red */
border: 2px solid #b22222; /* Red */
    background: #fee;             /* Pink */
background: #fee; /* Pink */
}
}
table.imbox-delete {
.imbox-delete {
    border: 3px solid #b22222;   /* Red */
border: 2px solid #b22222; /* Red */
}
}
table.imbox-content {
.imbox-content {
    border: 3px solid #f28500;   /* Orange */
border: 2px solid #f28500; /* Orange */
}
}
table.imbox-style {
.imbox-style {
    border: 3px solid #f4c430;   /* Yellow */
border: 2px solid #f4c430; /* Yellow */
}
}
table.imbox-move {
.imbox-move {
    border: 3px solid #9932cc;   /* Purple */
border: 2px solid #9932cc; /* Purple */
}
}
table.imbox-protection {
.imbox-protection {
    border: 3px solid #bba;       /* Gray-gold */
border: 2px solid #bba;   /* Gray-gold */
}
}
table.imbox-license {
.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
border: 2px solid #88a;   /* Dark gray */
    background: #f7f8ff;         /* Light gray */
background: #f7f8ff;   /* Light gray */
}
}
table.imbox-featured {
.imbox-featured {
    border: 3px solid #cba135;   /* Brown-gold */
border: 2px solid #cba135; /* Brown-gold */
}
}


/* Category message box styles */
/* Category message box styles */
table.cmbox {
.cmbox {
    margin: 3px 10%;
margin: 3px 10%;
    border-collapse: collapse;
border-collapse: collapse;
    border: 1px solid #aaa;  
border: 1px solid #aaa;
    background: #DFE8FF;   /* Default "notice" blue */
background: #dfe8ff; /* Default "notice" blue */
}
}
 
table.cmbox-notice {
.cmbox-notice {
    background: #D8E8FF;   /* Blue */
background: #d8e8ff; /* Blue */
}
}
table.cmbox-speedy {
.cmbox-speedy {
    margin-top: 4px;
margin-top: 4px;
    margin-bottom: 4px;
margin-bottom: 4px;
    border: 4px solid #b22222;   /* Red */
border: 4px solid #b22222; /* Red */
    background: #FFDBDB;         /* Pink */
background: #ffdbdb;   /* Pink */
}
}
table.cmbox-delete {
.cmbox-delete {
    background: #FFDBDB;   /* Red */
background: #ffdbdb; /* Red */
}
}
table.cmbox-content {
.cmbox-content {
    background: #FFE7CE;   /* Orange */
background: #ffe7ce; /* Orange */
}
}
table.cmbox-style {
.cmbox-style {
    background: #FFF9DB;   /* Yellow */
background: #fff9db; /* Yellow */
}
}
table.cmbox-move {
.cmbox-move {
    background: #E4D8FF;   /* Purple */
background: #e4d8ff; /* Purple */
}
}
table.cmbox-protection {
.cmbox-protection {
    background: #EFEFE1;   /* Gray-gold */
background: #efefe1; /* Gray-gold */
}
}


/* Other pages message box styles */
/* Other pages message box styles */
table.ombox {
.ombox {
    margin: 4px 10%;  
margin: 4px 10%;
    border-collapse: collapse;  
border-collapse: collapse;
    border: 1px solid #aaa;       /* Default "notice" gray */
border: 1px solid #a2a9b1;   /* Default "notice" gray */
    background: #f9f9f9;
background: #f8f9fa;
}
}
 
table.ombox-notice {
.ombox-notice {
    border: 1px solid #aaa;       /* Gray */
border: 1px solid #a2a9b1;   /* Gray */
}
}
table.ombox-speedy {
.ombox-speedy {
    border: 2px solid #b22222;   /* Red */
border: 2px solid #b22222; /* Red */
    background: #fee;             /* Pink */
background: #fee; /* Pink */
}
}
table.ombox-delete {
.ombox-delete {
    border: 2px solid #b22222;   /* Red */
border: 2px solid #b22222; /* Red */
}
}
table.ombox-content {
.ombox-content {
    border: 1px solid #f28500;   /* Orange */
border: 1px solid #f28500; /* Orange */
}
}
table.ombox-style {
.ombox-style {
    border: 1px solid #f4c430;   /* Yellow */
border: 1px solid #f4c430; /* Yellow */
}
}
table.ombox-move {
.ombox-move {
    border: 1px solid #9932cc;   /* Purple */
border: 1px solid #9932cc; /* Purple */
}
}
table.ombox-protection {
.ombox-protection {
    border: 2px solid #bba;       /* Gray-gold */
border: 2px solid #bba;   /* Gray-gold */
}
}


/* Talk page message box styles */
/* Talk page message box styles */
table.tmbox {
.tmbox {
    margin: 4px 10%;
margin: 4px 10%;
    border-collapse: collapse;
border-collapse: collapse;
    border: 1px solid #c0c090;   /* Default "notice" gray-brown */
border: 1px solid #c0c090; /* Default "notice" gray-brown */
    background: #f8eaba;
background: #f8eaba;
}
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
    margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)  */
margin: 2px 0;   /* this declaration overrides other styles (including mbox-small above)  */
    width: 100%;                 /* For Safari and Opera */
width: 100%; /* For Safari and Opera */
}
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;         /* also "nested", so reset styles that are  */  
line-height: 1.5em;   /* also "nested", so reset styles that are  */
    font-size: 100%;             /* set in "mbox-small" above.               */
font-size: 100%; /* set in "mbox-small" above. */
}
}
 
table.tmbox-speedy {
.tmbox-speedy {
    border: 2px solid #b22222;    /* Red */
border: 2px solid #b22222; /* Red */
    background: #fee;             /* Pink */
background: #fee; /* Pink */
}
.tmbox-delete {
border: 2px solid #b22222; /* Red */
}
.tmbox-content {
border: 2px solid #f28500; /* Orange */
}
.tmbox-style {
border: 2px solid #f4c430; /* Yellow */
}
.tmbox-move {
border: 2px solid #9932cc; /* Purple */
}
.tmbox-protection,
.tmbox-notice {
border: 1px solid #c0c090; /* Gray-brown */
}
 
/* {ambox} */
.ambox {
margin: 0 10%;   /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c;  /* Default "notice" blue */
background: #fbfbfb;
}
.ambox + .ambox {   /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox .mbox-text,
.ambox .mbox-text { /* The message body cell(s) */
padding: 0 0.5em;   /* 0.5em left/right */
}
.ambox .mbox-image {   /* The left image cell */
/* @noflip */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox .mbox-imageright {   /* The right image cell */
/* @noflip */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
 
.navbox + .ambox {              /* for ambox 1em before navbox */
margin-top: 1em;
}
 
.ambox-notice {
/* @noflip */
border-left: 10px solid #36c; /* Blue */
}
.ambox-speedy {
/* @noflip */
border-left: 10px solid #b22222; /* Red */
background: #fee7e6;   /* Pink */
}
.ambox-delete,
.ambox-serious {
/* @noflip */
border-left: 10px solid #b22222; /* Red */
}
}
table.tmbox-delete {
.ambox-content {
    border: 2px solid #b22222;   /* Red */
/* @noflip */
border-left: 10px solid #f28500; /* Orange */
}
}
table.tmbox-content {
.ambox-style {
    border: 2px solid #f28500;   /* Orange */
/* @noflip */
border-left: 10px solid #f4c430; /* Yellow */
}
}
table.tmbox-style {
.ambox-good {
    border: 2px solid #f4c430;   /* Yellow */
border-left: 10px solid #66cc44;
}
}
table.tmbox-move {
.ambox-discussion {
    border: 2px solid #9932cc;   /* Purple */
border-left: 10px solid #339966;
}
}
table.tmbox-protection,
.ambox-merge {
table.tmbox-notice {
border-left: 10px solid #9932cc;
    border: 1px solid #c0c090;   /* Gray-brown */
}
}
.ambox-move {
/* Disambig and set index box styles */
/* @noflip */
table.dmbox {
border-left: 10px solid #9932cc; /* Purple */
    clear: both;
    margin: 0.9em 1em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: transparent;
}
}
.ambox-protection {
/* @noflip */
border-left: 10px solid #a2a9b1;   /* Gray-gold */
}
 
/* Footer and header message box styles */
/* Footer and header message box styles */
table.fmbox {
.fmbox {
    clear: both;
clear: both;
    margin: 0.2em 0;
margin: 0.2em 0;
    width: 100%;
width: 100%;
    border: 1px solid #aaa;
border: 1px solid #aaa;
    background: #f9f9f9;    /* Default "system" gray */
/* Default "system" gray */
background: #f9f9f9;
}
}
table.fmbox-system {
.fmbox-system {
    background: #f9f9f9;
background: #f9f9f9;
}
}
table.fmbox-warning {
.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;       /* Pink */
background: #ffdbdb; /* Pink */
}
}
table.fmbox-editnotice {
.fmbox-editnotice {
    background: transparent;
background: transparent;
}
}
/* Div based "warning" style fmbox messages. */
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-warning-with-logexcerpt,
Строка 442: Строка 879:
div.mw-cascadeprotectedwarning,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
div#mw-protect-cascadeon {
    clear: both;
clear: both;
    margin: 0.2em 0;
margin: 0.2em 0;
    border: 1px solid #bb7070;
border: 1px solid #bb7070;
    background: #ffdbdb;
background: #ffdbdb;
    padding: 0.25em 0.9em;
padding: 0.25em 0.9em;
}
}
/* Div based "system" style fmbox messages.  
/* Div based "system" style fmbox messages.
  Used in [[MediaWiki:Readonly lag]]. */
Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.mw-lag-warn-normal,
div.fmbox-system {
div.fmbox-system {
    clear: both;
clear: both;
    margin: 0.2em 0;
margin: 0.2em 0;
    border: 1px solid #aaa;
border: 1px solid #aaa;
    background: #f9f9f9;
background: #f9f9f9;
    padding: 0.25em 0.9em;
padding: 0.25em 0.9em;
}
}
 
/* These mbox-small classes must be placed after all other  
/* These mbox-small classes must be placed after all other
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so  
ambox/tmbox/ombox etc classes. "body.mediawiki" is so
  they override "table.ambox + table.ambox" above. */
they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {  /* For the "small=yes" option. */
.mediawiki .mbox-small.mbox-small {  /* For the "small=yes" option. */
    /* @noflip */
/* @noflip */
    clear: right;
clear: right;
    /* @noflip */
/* @noflip */
    float: right;
float: right;
    /* @noflip */
/* @noflip */
    margin: 4px 0 4px 1em;
margin: 4px 0 4px 1em;
    width: 238px;
width: 238px;
    font-size: 88%;
font-size: 88%;
    line-height: 1.25em;
line-height: 1.25em;
}
}
body.mediawiki table.mbox-small-left {  /* For the "small=left" option. */
.mediawiki .mbox-small.mbox-small-left {  /* For the "small=left" option. */
    /* @noflip */
/* @noflip */
    margin: 4px 1em 4px 0;
margin: 4px 1em 4px 0;
    width: 238px;
width: 238px;
    border-collapse: collapse;
border-collapse: collapse;
    font-size: 88%;
font-size: 88%;
    line-height: 1.25em;
line-height: 1.25em;
}
}


/* prevent an unwanted break within a multi-column layout */
/* Style for {{rq}} */
/* Hide the extra cells */
.ambox-multiple_issues .ambox .mbox-image,
.ambox-multiple_issues .ambox .mbox-imageright,
.ambox-multiple_issues .ambox .mbox-empty-cell,
.ambox-multiple_issues .ambox .mbox-text-div,
.ambox-multiple_issues .ambox .mbox-textsmall-div {
display: none;
}


.multicol li {
/* Remove borders, backgrounds, padding, etc. */
  overflow: hidden; /* fix for Firefox */
.ambox-multiple_issues .ambox {
  page-break-inside: avoid;
border: none;
  -webkit-column-break-inside: avoid;
border-collapse: collapse;
background: transparent;
margin: 0 0 0 1.6em;
padding: 0;
width: auto;
display: block;
}
.ambox-multiple_issues .mbox-small-left {
font-size: 100%;
width: auto;
margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.ambox-multiple_issues .ambox .mbox-text {
    padding: 0;
    margin: 0;
}
.ambox-multiple_issues .ambox .mbox-multiply {
    display: list-item;
    line-height: 1.5em;
list-style-image: url(/w/skins/Vector/resources/common/images/bullet-icon.svg);
}
.skin-monobook .ambox-multiple_issues .ambox .mbox-multiply {
    list-style-type: square;
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}
/* Allow for hiding text in compact form */
.ambox-multiple_issue .hide-when-compact {
display: none;
}
 
/* Стили нотификаций для ноутбуков */
@media (max-width: 1366px) {
.ombox,
.tmbox,
.ambox {
margin-left: 6%;
margin-right: 6%;
}
}
 
/* Стили нотификаций для мобильного устройсва */
@media (max-width: 719px) {
.ombox,
.tmbox,
.ambox {
margin-left: 0;
margin-right: 0;
}
}
}


/* To give a flexible column like structure to manual indices  */
/* Устаревший стиль, на данный момент практически везде используется
  неверно, почистить и удалить при первой возможности */
ul.index, div.index ul {
.messagebox {
  margin: 0.2em;
border: thin solid #aaa;
background: #f9f9f9;
width: 88%;
margin: 0 auto 1em auto;
padding: .4em;
vertical-align: middle;
font-size: 90%
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background: #f8eaba;
}
}
.messagebox .floatleft {
ul.index li, div.index ul li {
vertical-align: middle;
  float: left;
clear: both;
  width: 20em;
margin: 2px;
  list-style-type: none;
padding: 0;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
}
}
.messagebox .image {
div.index h2 {
margin: 0;
  clear: both;
padding: 0;
}
}


/* reverse index */
/* КАРТОЧКА --------------------------------------- */
div.reverseindex
 
{
.infobox {
  counter-reset: item 0;
border: 1px solid #a2a9b1;
  margin-right: 10px; left: 10px;  
background: #f8f9fa;
margin-bottom: .5em;
margin-left: 1em;
padding: .4em;
float: right;
clear: right;
font-size: 90%;
width: 23em;
vertical-align: middle;
text-align: left;
line-height: 1.5em;
border-collapse: separate;
border-spacing: 2px;
}
.infobox > caption {
font-size: 125%;
font-weight: bold;
padding: .2em;
}
.infobox td,
.infobox th {
vertical-align: top;
}
}


div.reverseindex ol
/* Компоненты карточки */
{  
.infobox-above {
  -moz-column-count:3;  
background: #cfe3ff;
  -moz-column-gap: 3em;
font-size: 120%;
  -webkit-column-count:3;  
text-align: center;
  -webkit-column-gap: 3em;
}
  column-count:3;  
.infobox-image {
  column-gap: 3em;
padding-left: 0;
padding-right: 0;
text-align: center;
}
.infobox-header {
background: #dcebff;
text-align: center;
}
.infobox-below {
background: #dcebff;
text-align: center;
}
.infobox-table,
.infobox-tablebox,
.infobox-medals {
padding: 0;
}
.infobox-inner-table,
.infobox-table > table,
.infobox-tablebox > table,
.infobox-medals > table {
width: 100%;
display: table;
margin: 0;
background: transparent;
}
.infobox-tablebox > table {
background: #ffffff;
border: 1px solid #a2a9b1;
}
.infobox-medals > table {
border-collapse: separate;
}
.infobox-medals .NavFrame {
padding: 0;
border: none;
font-size: 100%;
}
.infobox-medals .NavFrame .NavHead {
padding: 1px 5em;
}
.infobox-medals .NavFrame .NavToggle {
position: absolute;
top: 1px;
right: 1px;
}
.infobox-medals .NavFrame .NavContent {
font-size: 95%;
}
}


div.reverseindex li
/* Встраиваемая карточка */
{  
.infobox-child {
  display: block;
width: 100%;
  position: relative; left: 2.5em;
margin: 0;
  text-align: right;  
padding: 0;
  width: 10em;
border: none;
font-size: 100%;
}
}


div.reverseindex li:before
/* Списки в карточках */
{
.infobox th:not(.noplainlist) > ul,
  content: counter(item) ". ";
.infobox td:not(.noplainlist) > ul,
  counter-increment: item;
.infobox [data-wikidata-property-id] > ul {
  position: absolute; top: auto; left: -2.5em;
list-style-type: none;
  /*display:block;*/
list-style-image: none;
margin: 0;
}
.infobox .noplainlist > ul:first-child {
margin-top: 0;
}
.infobox th > ol,
.infobox td > ol,
.infobox [data-wikidata-property-id] > ol {
margin: 0 0 0 2em;
}
.infobox th > dl,
.infobox td > dl,
.infobox [data-wikidata-property-id] > dl {
margin: 0;
}
.infobox li,
.infobox dt,
.infobox dd {
margin-bottom: 0;
}
.infobox th > ol.references,
.infobox td > ol.references {
line-height: 1.25em;
}
.infobox th > ol.references li,
.infobox td > ol.references li {
margin-bottom: 0.1em;
}
.infobox th > ol.references li:last-child,
.infobox td > ol.references li:last-child {
margin-bottom: 0;
}
}


.infobox {border: 1px solid #aaaaaa;background-color: #f9f9f9;margin-bottom: 0.5em;margin-left: 1em;padding: .4em;float: right;clear: right;font-size: 90%;width: 18em;vertical-align:middle}
/* ToDo: temporarily fix */
.infobox.sisterproject {background-color:#f9fafd}
.infobox td p {
margin: 0 !important;
}


  /* не преломлять ссылку на заглавную страницу */
/* СКРЫТЫЙ ---------------------------------------- */


  #n-mainpage { white-space:nowrap; }
/* {Навигационная полоса}, {Hider}, ... */
div.NavFrame {
margin: 0;
padding: 2px;
overflow: hidden;
border: 1px solid #a2a9b1;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background: #fff;
margin: 0;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
text-align: center;
font-weight: bold;
font-size: 100%;
background: #eaecf0;
position: relative;
}
div.NavFrame div.NavContent {
overflow-x: auto;
overflow-y: hidden;
clear: both;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%
}
a.NavToggle {
float: right;
margin-right: 3px;
font-weight: normal;
font-size: 90%;
}


  /* цветовая маркировка изменений в байтах */
/* НАВИГАЦИОННЫЙ ШАБЛОН --------------------------- */


  .mw-plusminus-pos {color:#006400; font-weight: bold; }
/* Default style for navigation boxes */
  .mw-plusminus-neg {color:#8b0000; font-weight: bold; }
.navbox { /* Navbox container style */
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
clear: both;
font-size: 90%;
text-align: center;
padding: 3px;
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em;   /* Title, group and above/below styles */
text-align: center;
}
.navbox-title {
line-height: 1.6em;   /* Standard 1.6em for title */
}


#userSummaryButtonsA a {
/* cell spacing for navbox cells */
  white-space:nowrap;
tr + tr > .navbox-abovebelow,
  background: #C2F2FF;
tr + tr > .navbox-group,
  border: 1px solid #9BD5F5;
tr + tr > .navbox-image,
  padding: 0px 2px;
tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */
  margin: 2px;
border-top: 2px solid #fdfdfd; /* Must match background color */
  cursor: pointer;
  font-size: 80%;
  line-height: 17px;
  color: #5B5B5B
}
}
#userSummaryButtonsA a:hover {
 
  background: #B1EBFF;
th.navbox-group { /* Group style */
  border: 1px solid #64BDF0;
white-space: nowrap;
  color: black;
/* @noflip */
  text-decoration: none
text-align: right;
}
}
.navbox,
.navbox-subgroup {
background: #fdfdfd;   /* Background color */
}
.navbox-list {
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background: #cfe3ff;   /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #dcebff;   /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #eaf3ff;   /* Level 3 color */
}
.navbox-even {
background: #f5f5f5;   /* Even row striping */
}
.navbox-odd {
background: transparent;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 1px 0 0;   /* Adjust hlist padding in navboxes */
}
.navbox .navbox {
margin-top: 0; /* No top margin for nested navboxes */
}
.navbox + .navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 11px;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.mw-body-content .navbar ul {
line-height: inherit;
}
.navbar.mini {
word-spacing: -0.1em;
}
.navbar.mini span abbr[title] {
  border-bottom: none;
  text-decoration: none;
  cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 5em;
}
/* [[Шаблон:Coord]] ------------------------------- */
#mw-indicator-0-coord + .mw-indicator {
border-left: 1px solid #A7D7F9;
margin-left: 0.25em;
padding-left: 0.5em;
}
.mw-body-content .geo-services {
font-size: 82%;
}
.geo-services a > span {
margin: 0.25em;
}
.geo-services > :first-child a > span {
margin-left: 0.4em;
}
.geo-geo-dec .geo-dec,
.geo-geo-dms .geo-dms {
display: inline;
}
.geo-geo-dec .geo-dms,
.geo-geo-dms .geo-dec,
.geo-multi-punct {
display: none;
}
.geo-lat,
.geo-lon {
white-space: nowrap;
}
/* ================================================
  СТРАНИЦЫ
  ================================================ */


.clickable-image a:hover {text-decoration: none}
/* [[Заглавная страница]] ------------------------- */


/* FlaggedRevs */
body.page-Заглавная_страница #ca-current,
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {font-weight:normal; font-size:smaller}  
body.page-Заглавная_страница #ca-delete,
.flaggedrevs-pending {background:#ffc}
body.page-Заглавная_страница #t-cite,
.sitedir-ltr div.flaggedrevs_short {float:none; padding:1px}
body.page-Заглавная_страница #catlinks,
.sitedir-ltr div.flaggedrevs_short_details {width:95%; display:none}
body.page-Заглавная_страница #lastmod,
body.page-Заглавная_страница #footer-info-lastmod,
body.page-Заглавная_страница.action-view h1.firstHeading,
body.page-Заглавная_страница.action-view #siteSub,
body.page-Заглавная_страница.action-view #contentSub,
body.page-Заглавная_страница.action-view #mw-data-after-content {
display: none !important;
}
 
/*
* Костыли-префиксы для поддержки устаревших браузеров заглавной страницей
* Будут переведены на TemplateStyles, см. [[phab:T162379]]
*/
.main-top-right > ul {
display: -webkit-box;
display: -webkit-flex;
-webkit-flex-wrap: wrap;
}
 
.main-featuredLists > .main-featuredLists-item {
-webkit-box-align: stretch;
-webkit-align-items: stretch;
-webkit-column-break-inside: avoid;
display: -webkit-box;
display: -webkit-flex;
}
 
.main-featuredLists-item > img {
-webkit-box-flex: 0;
-webkit-flex: 0 auto;
}
 
.main-footer {
display: -webkit-box;
display: -webkit-flex;
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
}
 
.main-footer-actions {
-webkit-box-flex: 1;
-webkit-flex: 1;
}
 
.main-footer-actions > ul {
-webkit-box-align: center;
-webkit-align-items: center;
display: -webkit-box;
display: -webkit-flex;
}
 
.main-footer-menu {
-webkit-box-align: stretch;
-webkit-align-items: stretch;
display: -webkit-box;
display: -webkit-flex;
}
 
.main-footer-menuToggle {
-webkit-box-align: center;
-webkit-align-items: center;
display: -webkit-box;
display: -webkit-flex;
}
 
.main-wikimedia-list {
-webkit-column-count: 4;
-webkit-column-width: 15em;
}
 
.main-wikimedia-list > .main-wikimedia-listItem {
-webkit-box-align: stretch;
-webkit-align-items: stretch;
-webkit-column-break-inside: avoid;
display: -webkit-box;
display: -webkit-flex;
}
 
.main-wikimedia-listItem > img {
-webkit-box-flex: 0;
-webkit-flex: 0 auto;
}
 
.main-wikimedia-listItem > a {
-webkit-box-flex: 1;
-webkit-flex: 1;
}
 
@media (max-width: 719px) {
.main-wikimedia-list {
-webkit-column-width: 10em;
}
}
 
@media (min-width: 1000px) {
.main-wrapper {
display: -webkit-box;
display: -webkit-flex;
}
 
.main-wrapper-column {
-webkit-box-flex: 1;
-webkit-flex: 1;
}
 
.main-top {
-webkit-box-align: center;
-webkit-align-items: center;
display: -webkit-box;
display: -webkit-flex;
}
 
.main-top-left {
background-image: -webkit-linear-gradient(left, #f8f9fa 0%, #f8f9fa 70%, rgba(248, 249, 250, 0) 100%);
-webkit-box-flex: 3;
-webkit-flex: 3;
}
.main-top-right {
-webkit-box-flex: 2;
-webkit-flex: 2;
}


/* Для правильного отображения карточек в категориях */
.main-top-right > ul {
div#mw-subcategories {
-webkit-box-align: center;
    display: table;
-webkit-align-items: center;
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
-webkit-flex-direction: row-reverse;
-webkit-box-pack: left;
-webkit-justify-content: left;
}
}
}

Текущая версия от 17:04, 9 октября 2023

/**
 *  [Содержание]
 *
 *  1. Интерфейс
 *  1.1 Теги
 *  1.2 Классы
 *  1.3 Расширения
 *  1.4 Редакторы
 *  2. Служебные классы
 *  3. Общие классы
 *  3.1 Списки
 *  3.2 Примечания
 *  3.3 Колонки
 *  3.4 Таблицы
 *  4. Шаблоны
 *  5. Страницы
 *
 *  При добавлении правил, которые должны также действовать в мобильной версии,
 *  не забудьте добавить аналогичные правила в [[MediaWiki:Mobile.css]].
 */

/* ================================================
   ИНТЕРФЕЙС
   ================================================ */

/* ТЕГИ ------------------------------------------- */

/* Избавляемся от дважды жирного шрифта (2019-09-08) */
b {
	font-weight: 700;
}

/* Сбрасываем курсивное оформление, применяемое браузером */
cite, dfn {
	font-style: inherit;
}

/* Добавление горизонтального скролла для <pre>,
   для избежания бага с очень длинными строками */
pre {
	overflow-x: auto;
	overflow-y: hidden;
}

/* Размер таба для обычного редактора и для тега <code> */
pre,
textarea {
	tab-size: 4;
}

/* Consistent size for <small>, <sub> and <sup> */
small {
	font-size: 85%;
}
.mw-body-content sub,
.mw-body-content sup,
span.reference /* for Parsoid */ {
	font-size: 80%;
}

/* fix for line-breaking references */
sub,
sup {
	line-height: 1em;
}

blockquote {
	background: #f8f9fa;
	overflow: hidden;
}

/* КЛАССЫ ----------------------------------------- */

/* Уточнение ширины логотипа на экранах с большей плотностью пикселей (сами
   изображения задаются в файле стилей, не изменяемом локально; помогает
   избежать сглаживания? 136 = 204 / 1,5; 204px — ширина картинки) */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
	#p-logo a {
		background-size: 136px auto;
	}
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
	#p-logo a {
		background-size: 135px auto;
	}
}

.filehistory a img,
#file img {
	background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}

/* Remove "external" icon from links to WP */
body.ns-talk a.external[href*="//ru.wikipedia.org/"],
body.ns-4 a.external[href*="//ru.wikipedia.org/"],
body.ns-104 a.external[href*="//ru.wikipedia.org/"],
body.ns-106 a.external[href*="//ru.wikipedia.org/"] {
	background: none !important;
	padding-right: 0 !important;
}

/* PDF icon next to external PDF link for Mozilla and Opera and for {PDFlink} template */
a[href$=".pdf"].external,
a[href*=".pdf?"].external,
a[href*=".pdf#"].external,
a[href$=".PDF"].external,
a[href*=".PDF?"].external,
a[href*=".PDF#"].external,
span.PDFlink a {
	background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important;
	padding-right: 18px !important;
}

.hatnote {
	font-style: italic;
	padding-left: 1.6em;
}

.allpagesredirect,
span.redirect-in-category a {
	font-style: italic;
}

/* Clickable speaker in {Audio} ... */
.audiolink a {
	background: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png) center left no-repeat !important;
	padding-left: 16px !important;
	padding-right: 0 !important;
}

.clickable-image a:hover {
	text-decoration: none;
}

#mw-subcategories,
#mw-pages {
	clear: both;
}

/* Лечим растягивание СН, страниц истории и вклада, если текст описания правки
   негде перенести. Удалить при добавлении этого правила на глобальном уровне. */
.comment {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Не отображать множественные уведомления о запрете редактирования списком */
.permissions-errors {
	list-style: none;
	margin: 0;
}

.sitedir-ltr .mw-dismissable-notice-body {
	margin-right: 5em !important; /* was 20% */
}

/* Fix of default <maplink> display */
.mw-kartographer-maplink {
	margin-left: 0 !important;
	padding: 2px 0 2px 20px !important;
}

/* Временный фикс [[Обсуждение MediaWiki:Common.css#Для чего .catlinks li параметр margin: 0.125em 0;?]],
   пока не исправят в нативных стилях */
.mediawiki .catlinks li {
	margin: 2px 0;
}

.mw-tag-markers {
	font: italic 90% sans-serif;
}

.printonly {
	display: none;
}

/* Фикс выравнивания галереи при заданном параметре perrow (2019-10-03) */
.mw-gallery-traditional.center,
.mw-gallery-nolines.center {
	margin-left: auto;
	margin-right: auto;
}

/* Блок «Это старая/текущая версия этой страницы». Надо предложить это в движок */
.mw-revision,
#mw-revision-nav {
	margin-top: 0.5em;
}

/* Кнопки [показать]/[скрыть], создаваемые mw-collapsible */
.mw-collapsible-toggle {
	font-weight: normal;
}

/* Кнопки [показать]/[скрыть], создаваемые динамически функцией collapsibleTables()
   в [[MediaWiki:Common.js]] */
.collapseButton {
	/* @noflip */
	float: right;
	font-weight: normal;
	/* @noflip */
	margin-left: 0.5em;
	/* @noflip */
	text-align: right;
	width: auto;
}

/* Collapsible elements. Toggle-link moved to left.
/* Margin around it adjusted. */

.mw-collapsible span.mw-collapsible-toggle {
    float:left;
    margin-left:0;
    margin-right:1em;
}

/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .collapsible.collapsed > tbody > tr:not(:first-child),
.client-js .NavFrame.collapsed > .NavContent,
.client-js .tochidden-wrapper > .toc > ul {
	display: none;
}

.noautonum .tocnumber,
.nonumtoc .tocnumber { 
    display: none; 
}

/* РАСШИРЕНИЯ ------------------------------------- */

/* Стили для расширения [[mw:Extension:Babel]] (03-09-17) */
/* Скрытие буквы N у родных языков, по аналогии со стандарными шаблонами */
.mw-babel-box-level-N {
	display: none;
}

/* FlaggedRevs */
/* Скрываем верхнюю таблицу для анонимов и показываем
для зарегистрированных с помощью [[MediaWiki:Group-user.css]] */
#mw-fr-revisiontag {
	display: none;
}
.mw-fr-reviewlink,
.fr-hist-basic-user,
.fr-hist-basic-auto {
	font-weight: normal;
	font-size: 85%;
}
.flaggedrevs-pending {
	background: #ffc;
}
.sitedir-ltr div.flaggedrevs_short {
	float: none;
	margin-left: 0;
	padding: 1px;
}
.sitedir-ltr div.flaggedrevs_short_details {
	width: 95%;
	display: none;
}
/* Лишний отступ */
div.flaggedrevs_notice {
    margin-right: 0;
}

/* Remove popup from Content translation tool, if not opted in */
.cx-callout:not(.cx-campaign-contributionsmenu):not(.cx-entrypoint-dialog) { display: none !important; }

/* Покрасить "неприоритетные" ссылки в библиографических ссылках в черный цвет (касается только ссылок, генерируемых Lua) */
.wef_low_priority_links a,
.wef_low_priority_links a.extiw,
.wef_low_priority_links a.external,
.wef_low_priority_links a:visited,
.wef_low_priority_links a.extiw:visited,
.wef_low_priority_links a.external:visited {
	color: #202122;
}

/* РЕДАКТОРЫ -------------------------------------- */

/* Visual editor related */
.mw-ve-editNotice .mbox-image,
.ve-active .ve-hide,
.ve-show {
	display: none;
}

.ve-active div.ve-show,
.ve-active p.ve-show {
	display: block;
}

.ve-active span.ve-show,
.ve-active small.ve-show {
	display: inline;
}

.ve-active li.ve-show {
	display: list-item;
}

/* Костыль исправляющий дублирование иконки в сообщениях об ошибках (Editnotice) 
при сохранении правки в визуальном редакторе */
.ve-ui-mwSaveDialog .oo-ui-flaggedElement-error.oo-ui-iconElement table.fmbox {
	margin-top: 0;
}
.ve-ui-mwSaveDialog .oo-ui-flaggedElement-error.oo-ui-iconElement .mbox-image {
	display: none;
}

/* ================================================
   СЛУЖЕБНЫЕ КЛАССЫ
   ================================================ */

/* Классы для показа сообщений отдельным группам пользователей */
.group-checkuser-show,
.group-bureaucrat-show,
.group-sysop-show,
.group-engineer-show,
.group-closer-show,
.group-filemover-show,
.group-editor-show,
.group-autoreview-show,
.group-user-show {
	display: none;
}

/* ================================================
   ОБЩИЕ КЛАССЫ
   ================================================ */

/* СПИСКИ ----------------------------------------- */

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 9 (2016-08-10)
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
	margin: 0;
	padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	margin: 0;
	display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
	display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
	display: none;
}
/* Generate bullets */
.hlist dt:after {
	content: ": ";
}
.hlist dd:after,
.hlist li:after {
	content: "\00a0• ";
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
	content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}
.hlist ol > li {
	counter-increment: listitem;
}
.hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}

/* Немаркированные списки */
.plainlist ol:not(.references),
.plainlist dl,
.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}
.plainlist ol:not(.references) li,
.plainlist dl dt,
.plainlist dl dd,
.plainlist ul li {
	margin: 0;
}
.plainlist dl dt:after {
	content: ": ";
}

/* Неразрывные пробелы в горизонтальных списках */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
	white-space: nowrap;
}

/* Но где-то неразрывность надо сбросить (например, в навшаблонах в узких местах) */
.wrap,
.wraplinks a,
.wraplinks .selflink,
.hlist-items-nowrap dl dl, .hlist-items-nowrap dl ol, .hlist-items-nowrap dl ul, /* Allow nested lists to wrap anyway */
.hlist-items-nowrap ol dl, .hlist-items-nowrap ol ol, .hlist-items-nowrap ol ul,
.hlist-items-nowrap ul dl, .hlist-items-nowrap ul ol, .hlist-items-nowrap ul ul {
	white-space: normal;
}

/* ПРИМЕЧАНИЯ ------------------------------------- */

ol.references {
	font-size: 100%;
}
.reflist,
.references-small {
	font-size: 90%;
	margin-bottom: 0.5em;
}
.reflist ol.references,
.references-small ol.references {
	list-style-type: inherit;  /* Enable custom list style types */
}
.reflist-narrow .mw-references-columns {
	-webkit-column-width: 20em;
	-moz-column-width: 20em;
	column-width: 20em;
}
.reflist-wide .mw-references-columns {
	-webkit-column-width: 40em;
	-moz-column-width: 40em;
	column-width: 40em;
}

/* highlight focused footnotes and references in some browsers */
sup.reference:target,
ol.references li:target,
.highlight-target:target,
cite:target,
span.citation:target {
	background: #eaf3ff;
}
sup.reference:target {
	font-weight: bold;
}

.ref-info {
	font-size: 85%;
	color: #72777d;
}

/* КОЛОНКИ ---------------------------------------- */

/* Авторазбиение списков на колонки. Будет работать только для однострочных списков. 35em является предварительным числом, а фактическое будет посчитано исходя из ширины элементов. Должно использоваться только для UL внутри DIV. Пример использования — шаблон {{Wikidata/SisterCities}} */
.autocolumns {
	-moz-columns: 35em auto;
	columns: 35em auto;
	white-space: nowrap;
}

/* Reset top margin for lists embedded in columns */
div.columns {
	margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
	margin-top: 0;
}

/* Avoid elements from breaking between columns */
.nocolbreak,
div.columns li,
div.columns dd dd {
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid-column;
}

/* ТАБЛИЦЫ ---------------------------------------- */

/* [[Википедия:Оформление таблиц]] */
.standard,
.wide {
	/* For align=center tables dont use shorthand margin */
	margin-top:1em;
	margin-bottom:1em;
	border: 1px solid #a2a9b1;
	border-collapse: collapse;
}

.standard > tr > th,
.standard > tr > td,
.standard > * > tr > th,
.standard > * > tr > td,
.wide > tr > th,
.wide > tr > td,
.wide > * > tr > th,
.wide > * > tr > td {
	border: 1px solid #a2a9b1;
	padding: 0.2em 0.4em;
}

.standard > tr > th,
.standard > * > tr > th,
.wide > tr > th,
.wide > * > tr > th {
	background-color: #eaf3ff;
}

.standard > caption,
.wide > caption {
	font-weight: bold;
}

.wide {
	width: 100%;
}

table.graytable {
	background: #f0f0f0;
	padding: 1em;
	width: 100%;
}
table.graytable caption {
	padding-top: 0.5em;
	background: #f0f0f0;
	font-weight: bold;
}
table.graytable caption span.subcaption {
	font-size: 88.5%;
	font-weight: normal;
}
table.graytable th,
table.graytable td {
	font-size: 88.5%;
}

/* Оформление ячеек */
tr.highlight th,
table tr th.highlight {
	background: #dcebff;
}
tr.highlight td,
table tr td.highlight {
	background: #ffe;
	font-weight: normal;
}
tr.bright th,
table tr th.bright {
	background: #cfe3ff;
}
tr.bright td,
table tr td.bright {
	background: #fec;
}
tr.shadow th,
tr.shadow td,
table tr th.shadow,
table tr td.shadow {
	background: #f0f0f0;
}
tr.dark th,
tr.dark td,
table tr th.dark,
table tr td.dark {
	background: #ccc;
}

/* ================================================
   ШАБЛОНЫ
   ================================================ */

/* ПРЕДУПРЕЖДЕНИЯ И УВЕДОМЛЕНИЯ ------------------- */

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
.mbox-text,
.mbox-text {   /* The message body cell(s) */
	border: none;
	/* @noflip */
	padding: 0.25em 0.9em;	 /* 0.9em left/right */
	width: 100%;			   /* Make all mboxes the same width regardless of text length */
}
.mbox-image {				/* The left image cell */
	border: none;
	/* @noflip */
	padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
	text-align: center;
}
.mbox-imageright {		   /* The right image cell */
	border: none;
	/* @noflip */
	padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
	text-align: center;
}
.mbox-empty-cell {		   /* An empty narrow cell */
	border: none;
	padding: 0px;
	width: 1px;
}
.mbox-text .mbox-multiply {
	display: none;
}

/* Image message box styles */
.imbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 3px solid #1e90ff;	/* Default "notice" blue */
	background: #fbfbfb;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
	margin: 0 -0.5em;	   /* 0.9 - 0.5 = 0.4em left/right.		*/
	display: block;		 /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {	   /* For imboxes inside other templates.  */
	margin: 4px;
}

.imbox-notice {
	border: 2px solid #1e90ff;	/* Blue */
}
.imbox-speedy {
	border: 2px solid #b22222;	/* Red */
	background: #fee;			 /* Pink */
}
.imbox-delete {
	border: 2px solid #b22222;	/* Red */
}
.imbox-content {
	border: 2px solid #f28500;	/* Orange */
}
.imbox-style {
	border: 2px solid #f4c430;	/* Yellow */
}
.imbox-move {
	border: 2px solid #9932cc;	/* Purple */
}
.imbox-protection {
	border: 2px solid #bba;	   /* Gray-gold */
}
.imbox-license {
	border: 2px solid #88a;	   /* Dark gray */
	background: #f7f8ff;		  /* Light gray */
}
.imbox-featured {
	border: 2px solid #cba135;	/* Brown-gold */
}

/* Category message box styles */
.cmbox {
	margin: 3px 10%;
	border-collapse: collapse;
	border: 1px solid #aaa;
	background: #dfe8ff;	/* Default "notice" blue */
}

.cmbox-notice {
	background: #d8e8ff;	/* Blue */
}
.cmbox-speedy {
	margin-top: 4px;
	margin-bottom: 4px;
	border: 4px solid #b22222;	/* Red */
	background: #ffdbdb;		  /* Pink */
}
.cmbox-delete {
	background: #ffdbdb;	/* Red */
}
.cmbox-content {
	background: #ffe7ce;	/* Orange */
}
.cmbox-style {
	background: #fff9db;	/* Yellow */
}
.cmbox-move {
	background: #e4d8ff;	/* Purple */
}
.cmbox-protection {
	background: #efefe1;	/* Gray-gold */
}

/* Other pages message box styles */
.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;	   /* Default "notice" gray */
	background: #f8f9fa;
}

.ombox-notice {
	border: 1px solid #a2a9b1;	   /* Gray */
}
.ombox-speedy {
	border: 2px solid #b22222;	/* Red */
	background: #fee;			 /* Pink */
}
.ombox-delete {
	border: 2px solid #b22222;	/* Red */
}
.ombox-content {
	border: 1px solid #f28500;	/* Orange */
}
.ombox-style {
	border: 1px solid #f4c430;	/* Yellow */
}
.ombox-move {
	border: 1px solid #9932cc;	/* Purple */
}
.ombox-protection {
	border: 2px solid #bba;	   /* Gray-gold */
}

/* Talk page message box styles */
.tmbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #c0c090;	/* Default "notice" gray-brown */
	background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
	margin: 2px 0;			   /* this declaration overrides other styles (including mbox-small above)   */
	width: 100%;				 /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
	line-height: 1.5em;		  /* also "nested", so reset styles that are   */
	font-size: 100%;			 /* set in "mbox-small" above.				*/
}

.tmbox-speedy {
	border: 2px solid #b22222;	/* Red */
	background: #fee;			 /* Pink */
}
.tmbox-delete {
	border: 2px solid #b22222;	/* Red */
}
.tmbox-content {
	border: 2px solid #f28500;	/* Orange */
}
.tmbox-style {
	border: 2px solid #f4c430;	/* Yellow */
}
.tmbox-move {
	border: 2px solid #9932cc;	/* Purple */
}
.tmbox-protection,
.tmbox-notice {
	border: 1px solid #c0c090;	/* Gray-brown */
}

/* {ambox} */
.ambox {
	margin: 0 10%;				  /* 10% = Will not overlap with other elements */
	border: 1px solid #a2a9b1;
	/* @noflip */
	border-left: 10px solid #36c;  /* Default "notice" blue */
	background: #fbfbfb;
}
.ambox + .ambox {	  /* Single border between stacked boxes. */
	margin-top: -1px;
}
.ambox .mbox-text,
.ambox .mbox-text {			/* The message body cell(s) */
	padding: 0 0.5em;	   /* 0.5em left/right */
}
.ambox .mbox-image {		   /* The left image cell */
	/* @noflip */
	padding: 2px 0 2px 0.5em;	/* 0.5em left, 0px right */
}
.ambox .mbox-imageright {	  /* The right image cell */
	/* @noflip */
	padding: 2px 0.5em 2px 0;	/* 0px left, 0.5em right */
}

.navbox + .ambox {              /* for ambox 1em before navbox */
	margin-top: 1em;
}

.ambox-notice {
	/* @noflip */
	border-left: 10px solid #36c;	/* Blue */
}
.ambox-speedy {
	/* @noflip */
	border-left: 10px solid #b22222;	/* Red */
	background: #fee7e6;				   /* Pink */
}
.ambox-delete,
.ambox-serious {
	/* @noflip */
	border-left: 10px solid #b22222;	/* Red */
}
.ambox-content {
	/* @noflip */
	border-left: 10px solid #f28500;	/* Orange */
}
.ambox-style {
	/* @noflip */
	border-left: 10px solid #f4c430;	/* Yellow */
}
.ambox-good {
	border-left: 10px solid #66cc44;
}
.ambox-discussion {
	border-left: 10px solid #339966;
}
.ambox-merge {
	border-left: 10px solid #9932cc;
}
.ambox-move {
	/* @noflip */
	border-left: 10px solid #9932cc;	/* Purple */
}
.ambox-protection {
	/* @noflip */
	border-left: 10px solid #a2a9b1;	   /* Gray-gold */
}

/* Footer and header message box styles */
.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #aaa;
	/* Default "system" gray */
	background: #f9f9f9;
}
.fmbox-system {
	background: #f9f9f9;
}
.fmbox-warning {
	border: 1px solid #bb7070;  /* Dark pink */
	background: #ffdbdb;		/* Pink */
}
.fmbox-editnotice {
	background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background: #ffdbdb;
	padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
	Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #aaa;
	background: #f9f9f9;
	padding: 0.25em 0.9em;
}

/* These mbox-small classes must be placed after all other
	ambox/tmbox/ombox etc classes. "body.mediawiki" is so
	they override "table.ambox + table.ambox" above. */
.mediawiki .mbox-small.mbox-small {   /* For the "small=yes" option. */
	/* @noflip */
	clear: right;
	/* @noflip */
	float: right;
	/* @noflip */
	margin: 4px 0 4px 1em;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
}
.mediawiki .mbox-small.mbox-small-left {   /* For the "small=left" option. */
	/* @noflip */
	margin: 4px 1em 4px 0;
	width: 238px;
	border-collapse: collapse;
	font-size: 88%;
	line-height: 1.25em;
}

/* Style for {{rq}} */
/* Hide the extra cells */
.ambox-multiple_issues .ambox .mbox-image,
.ambox-multiple_issues .ambox .mbox-imageright,
.ambox-multiple_issues .ambox .mbox-empty-cell,
.ambox-multiple_issues .ambox .mbox-text-div,
.ambox-multiple_issues .ambox .mbox-textsmall-div {
	display: none;
}

/* Remove borders, backgrounds, padding, etc. */
.ambox-multiple_issues .ambox {
	border: none;
	border-collapse: collapse;
	background: transparent;
	margin: 0 0 0 1.6em;
	padding: 0;
	width: auto;
	display: block;
}
.ambox-multiple_issues .mbox-small-left {
	font-size: 100%;
	width: auto;
	margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.ambox-multiple_issues .ambox .mbox-text {
    padding: 0;
    margin: 0;
}
.ambox-multiple_issues .ambox .mbox-multiply {
    display: list-item;
    line-height: 1.5em;
	list-style-image: url(/w/skins/Vector/resources/common/images/bullet-icon.svg);
}
.skin-monobook .ambox-multiple_issues .ambox .mbox-multiply {
    list-style-type: square;
	list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}
/* Allow for hiding text in compact form */
.ambox-multiple_issue .hide-when-compact {
	display: none;
}

/* Стили нотификаций для ноутбуков */
@media (max-width: 1366px) {
	.ombox,
	.tmbox,
	.ambox {
		margin-left: 6%;
		margin-right: 6%;
	}
}

/* Стили нотификаций для мобильного устройсва */
@media (max-width: 719px) {
	.ombox,
	.tmbox,
	.ambox {
		margin-left: 0;
		margin-right: 0;
	}
}

/* Устаревший стиль, на данный момент практически везде используется
   неверно, почистить и удалить при первой возможности */
.messagebox {
	border: thin solid #aaa;
	background: #f9f9f9;
	width: 88%;
	margin: 0 auto 1em auto;
	padding: .4em;
	vertical-align: middle;
	font-size: 90%
}
.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background: #f8eaba;
}
.messagebox .floatleft {
	vertical-align: middle;
	clear: both;
	margin: 2px;
	padding: 0;
}
.messagebox .image {
	margin: 0;
	padding: 0;
}

/* КАРТОЧКА --------------------------------------- */

.infobox {
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	margin-bottom: .5em;
	margin-left: 1em;
	padding: .4em;
	float: right;
	clear: right;
	font-size: 90%;
	width: 23em;
	vertical-align: middle;
	text-align: left;
	line-height: 1.5em;
	border-collapse: separate;
	border-spacing: 2px;
}
.infobox > caption {
	font-size: 125%;
	font-weight: bold;
		padding: .2em;
}
.infobox td,
.infobox th {
	vertical-align: top;
}

/* Компоненты карточки */
.infobox-above {
	background: #cfe3ff;
	font-size: 120%;
	text-align: center;
}
.infobox-image {
	padding-left: 0;
	padding-right: 0;
	text-align: center;
}
.infobox-header {
	background: #dcebff;
	text-align: center;
}
.infobox-below {
	background: #dcebff;
	text-align: center;
}
.infobox-table,
.infobox-tablebox,
.infobox-medals {
	padding: 0;
}
.infobox-inner-table,
.infobox-table > table,
.infobox-tablebox > table,
.infobox-medals > table {
	width: 100%;
	display: table;
	margin: 0;
	background: transparent;
}
.infobox-tablebox > table {
	background: #ffffff;
	border: 1px solid #a2a9b1;
}
.infobox-medals > table {
	border-collapse: separate;
}
.infobox-medals .NavFrame {
	padding: 0;
	border: none;
	font-size: 100%;
}
.infobox-medals .NavFrame .NavHead {
	padding: 1px 5em;
}
.infobox-medals .NavFrame .NavToggle {
	position: absolute;
	top: 1px;
	right: 1px;
}
.infobox-medals .NavFrame .NavContent {
	font-size: 95%;
}

/* Встраиваемая карточка */
.infobox-child {
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 100%;
}

/* Списки в карточках */ 
.infobox th:not(.noplainlist) > ul,
.infobox td:not(.noplainlist) > ul,
.infobox [data-wikidata-property-id] > ul {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
}
.infobox .noplainlist > ul:first-child {
	margin-top: 0;
}
.infobox th > ol,
.infobox td > ol,
.infobox [data-wikidata-property-id] > ol {
	margin: 0 0 0 2em;
}
.infobox th > dl,
.infobox td > dl,
.infobox [data-wikidata-property-id] > dl {
	margin: 0;
}
.infobox li,
.infobox dt,
.infobox dd {
	margin-bottom: 0;
}
.infobox th > ol.references,
.infobox td > ol.references {
	line-height: 1.25em;
}
.infobox th > ol.references li,
.infobox td > ol.references li {
	margin-bottom: 0.1em;
}
.infobox th > ol.references li:last-child,
.infobox td > ol.references li:last-child {
	margin-bottom: 0;
}

/* ToDo: temporarily fix */
.infobox td p {
	margin: 0 !important;
}

/* СКРЫТЫЙ ---------------------------------------- */

/* {Навигационная полоса}, {Hider}, ... */
div.NavFrame {
	margin: 0;
	padding: 2px;
	overflow: hidden;
	border: 1px solid #a2a9b1;
	border-collapse: collapse;
	font-size: 95%;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background: #fff;
	margin: 0;
	padding: 2px;
	float: left;
}
div.NavFrame div.NavHead {
	text-align: center;
	font-weight: bold;
	font-size: 100%;
	background: #eaecf0;
	position: relative;
}
div.NavFrame div.NavContent {
	overflow-x: auto;
	overflow-y: hidden;
	clear: both;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%
}
a.NavToggle {
	float: right;
	margin-right: 3px;
	font-weight: normal;
	font-size: 90%;
}

/* НАВИГАЦИОННЫЙ ШАБЛОН --------------------------- */

/* Default style for navigation boxes */
.navbox {					 /* Navbox container style */
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
	clear: both;
	font-size: 90%;
	text-align: center;
	padding: 3px;
}
.navbox-inner,
.navbox-subgroup {
	width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
	padding: 0.25em 1em;	  /* Title, group and above/below styles */
	text-align: center;
}
.navbox-title {
	line-height: 1.6em;	   /* Standard 1.6em for title */
}

/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {	/* Borders above 2nd, 3rd, etc. rows */
	border-top: 2px solid #fdfdfd; /* Must match background color */
}

th.navbox-group {			 /* Group style */
	white-space: nowrap;
	/* @noflip */
	text-align: right;
}
.navbox,
.navbox-subgroup {
	background: #fdfdfd;	  /* Background color */
}
.navbox-list {
	border-color: #fdfdfd;	/* Must match background color */
}
.navbox th,
.navbox-title {
	background: #cfe3ff;	  /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
	background: #dcebff;	  /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background: #eaf3ff;	  /* Level 3 color */
}
.navbox-even {
	background: #f5f5f5;	  /* Even row striping */
}
.navbox-odd {
	background: transparent;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
	padding: 1px 0 0;	   /* Adjust hlist padding in navboxes */
}
.navbox .navbox {
	margin-top: 0;			/* No top margin for nested navboxes */
}
.navbox + .navbox {
	margin-top: -1px;		 /* Single pixel border between adjacent navboxes */
}

/* Default styling for Navbar template */
.navbar {
	display: inline;
	font-size: 11px;
	font-weight: normal;
}
.navbar ul {
	display: inline;
	white-space: nowrap;
}
.mw-body-content .navbar ul {
	line-height: inherit;
}
.navbar.mini {
	word-spacing: -0.1em;
}
.navbar.mini span abbr[title] {
  border-bottom: none;
  text-decoration: none;
  cursor: inherit;
}

/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
	font-size: 100%;
}
.navbox .navbar {
	display: block;
	font-size: 100%;
}
.navbox-title .navbar {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
	/* @noflip */
	margin-right: 0.5em;
	width: 5em;
}

/* [[Шаблон:Coord]] ------------------------------- */

#mw-indicator-0-coord + .mw-indicator {
	border-left: 1px solid #A7D7F9;
	margin-left: 0.25em;
	padding-left: 0.5em;
}

.mw-body-content .geo-services {
	font-size: 82%;
}

.geo-services a > span {
	margin: 0.25em;
}
.geo-services > :first-child a > span {
	margin-left: 0.4em;
}

.geo-geo-dec .geo-dec,
.geo-geo-dms .geo-dms {
	display: inline;
}
.geo-geo-dec .geo-dms,
.geo-geo-dms .geo-dec,
.geo-multi-punct {
	display: none;
}
.geo-lat,
.geo-lon {
	white-space: nowrap;
}

/* ================================================
   СТРАНИЦЫ
   ================================================ */

/* [[Заглавная страница]] ------------------------- */

body.page-Заглавная_страница #ca-current,
body.page-Заглавная_страница #ca-delete,
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #catlinks,
body.page-Заглавная_страница #lastmod,
body.page-Заглавная_страница #footer-info-lastmod,
body.page-Заглавная_страница.action-view h1.firstHeading,
body.page-Заглавная_страница.action-view #siteSub,
body.page-Заглавная_страница.action-view #contentSub,
body.page-Заглавная_страница.action-view #mw-data-after-content {
	display: none !important;
}

/*
 * Костыли-префиксы для поддержки устаревших браузеров заглавной страницей
 * Будут переведены на TemplateStyles, см. [[phab:T162379]]
*/
.main-top-right > ul {
	display: -webkit-box;
	display: -webkit-flex;
	-webkit-flex-wrap: wrap;
}

.main-featuredLists > .main-featuredLists-item {
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	-webkit-column-break-inside: avoid;
	display: -webkit-box;
	display: -webkit-flex;
}

.main-featuredLists-item > img {
	-webkit-box-flex: 0;
	-webkit-flex: 0 auto;
}

.main-footer {
	display: -webkit-box;
	display: -webkit-flex;
	-webkit-box-pack: end;
	-webkit-justify-content: flex-end;
}

.main-footer-actions {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
}

.main-footer-actions > ul {
	-webkit-box-align: center;
	-webkit-align-items: center;
	display: -webkit-box;
	display: -webkit-flex;
}

.main-footer-menu {
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	display: -webkit-box;
	display: -webkit-flex;
}

.main-footer-menuToggle {
	-webkit-box-align: center;
	-webkit-align-items: center;
	display: -webkit-box;
	display: -webkit-flex;
}

.main-wikimedia-list {
	-webkit-column-count: 4;
	-webkit-column-width: 15em;
}

.main-wikimedia-list > .main-wikimedia-listItem {
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	-webkit-column-break-inside: avoid;
	display: -webkit-box;
	display: -webkit-flex;
}

.main-wikimedia-listItem > img {
	-webkit-box-flex: 0;
	-webkit-flex: 0 auto;
}

.main-wikimedia-listItem > a {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
}

@media (max-width: 719px) {
	.main-wikimedia-list {
		-webkit-column-width: 10em;
	}
}

@media (min-width: 1000px) {
	.main-wrapper {
		display: -webkit-box;
		display: -webkit-flex;
	}

	.main-wrapper-column {
		-webkit-box-flex: 1;
		-webkit-flex: 1;
	}

	.main-top {
		-webkit-box-align: center;
		-webkit-align-items: center;
		display: -webkit-box;
		display: -webkit-flex;
	}

	.main-top-left {
		background-image: -webkit-linear-gradient(left, #f8f9fa 0%, #f8f9fa 70%, rgba(248, 249, 250, 0) 100%);
		-webkit-box-flex: 3;
		-webkit-flex: 3;
	}
	
	.main-top-right {
		-webkit-box-flex: 2;
		-webkit-flex: 2;
	}

	.main-top-right > ul {
		-webkit-box-align: center;
		-webkit-align-items: center;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: reverse;
		-webkit-flex-direction: row-reverse;
		-webkit-box-pack: left;
		-webkit-justify-content: left;
	}
}