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

Материал из Wikipedia PC-SUPP
Перейти к: навигация, поиск
(Новая страница: «* Размещённый здесь CSS будет применяться ко всем темам оформления: **********************: /* Co…»)
 
 
(не показаны 2 промежуточные версии этого же участника)
Строка 1: Строка 1:
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
+
/* При добавлении правил, которые должны также действовать в мобильной версии, не забудьте добавить
 +
  аналогичные правила в [[MediaWiki:Mobile.css]]. */
  
  /************************/
+
/* Стили для [[Заглавная страница]] */
  /* CommonsTicker styles */
+
body.page-Заглавная_страница #ca-current,
  /************************/
+
body.page-Заглавная_страница #ca-delete,
+
body.page-Заглавная_страница #t-cite,
  /* links */
+
body.page-Заглавная_страница #catlinks,
  .tickerDiffLink { } /* diff links in ticker */
+
body.page-Заглавная_страница #lastmod,
  .tickerMiscLink { } /* misc links in ticker */
+
body.page-Заглавная_страница #footer-info-lastmod,
+
body.page-Заглавная_страница.action-view h1.firstHeading,
  /* remove list bullets */
+
body.page-Заглавная_страница.action-view #siteSub,
  .tickerList ul,   .tickerList ul li    { list-style: none; text-indent:-2em; margin-left:2em;  text-align:left; }
+
body.page-Заглавная_страница.action-view #contentSub,
  .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0;    margin-left:1.5em; text-align:left; }
+
body.page-Заглавная_страница.action-view #mw-data-after-content {
 +
display: none !important;
 +
}
  
  /* per-type styles */
+
/*
  .tickerEntry_deleted    { } /* entry for image deletion */
+
  * Костыли-префиксы для поддержки устаревших браузеров заглавной страницей
  .tickerEntry_restored    { } /* entry for restored image */
+
  * Будут переведены на TemplateStyles, см. [[phab:T162379]]
  .tickerEntry_replaced    { }  /* entry for image replacement */
+
*/
  .tickerEntry_tagged      { }  /* entry for adding/removing problem tags */
+
.main-top-right > ul {
  .tickerEntry_redir      { }  /* entry for critical redirection (fot tag redirects) */
+
display: -webkit-box;
  .tickerEntry_recat      { }  /* entry for critical re-categorization (for tag categories) */
+
display: -webkit-flex;
  .tickerEntry_notify      { }  /* entry for global notifications */
+
-webkit-flex-wrap: wrap;
  .tickerEntry_changed    { } /* entry for generic change */
+
}
  
  /* per-status styles */
+
.main-featuredLists > .main-featuredLists-item {
  .tickerStatus_done    { text-decoration:line-through; } /* strike through when entry has been handeled */
+
-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;
 +
}
  
  /* per-action styles */
+
.main-footer {
  .tickerAction_deleted:before    { content:" GONE "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; } 
+
display: -webkit-box;
  .tickerAction_restored:before    { content:" BACK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } 
+
display: -webkit-flex;
  .tickerAction_deletedRev:before  { content:" -OLD "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; } 
+
-webkit-box-pack: end;
  .tickerAction_replaced:before    { content:" REPL "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%;
+
-webkit-justify-content: flex-end;
  .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 */
+
.main-footer-actions {
  .tickerUsage  { font-size:80%; }
+
-webkit-box-flex: 1;
 +
-webkit-flex: 1;
 +
}
  
  /* entry applies to a template used by multiple images */
+
.main-footer-actions > ul {
  .tickerTemplateEntry    { font-weight: bold; }  
+
-webkit-box-align: center;
 +
-webkit-align-items: center;
 +
display: -webkit-box;
 +
display: -webkit-flex;
 +
}
  
  /* entry applies to sub-entries, i.e. images that use a specific template */
+
.main-footer-menu {
  .tickerSubEntry        { }                      
+
-webkit-box-align: stretch;
 +
-webkit-align-items: stretch;
 +
display: -webkit-box;
 +
display: -webkit-flex;
 +
}
  
  /* minor entry styles */
+
.main-footer-menuToggle {
  .tickerMinorEntry  { color:#666; }    /* minor entry */
+
-webkit-box-align: center;
  .tickerMinorEntry a,
+
-webkit-align-items: center;
  .tickerMinorEntry a:link,
+
display: -webkit-box;
  .tickerMinorEntry a:visited { color:#669; }
+
display: -webkit-flex;
  #bodyContent .tickerMinorEntry a.extiw,
+
}
  #bodyContent .tickerMinorEntry a.extiw:link,
 
  #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }
 
  
/* International Phonetic Alphabet */
+
.main-wikimedia-list {
.IPA {
+
-webkit-column-count: 4;
  font-family: Gentium, GentiumAlt, DejaVu Sans, Segoe UI, Lucida Grande, Charis SIL, Doulos SIL, TITUS Cyberbit Basic, Code2000, Lucida Sans Unicode, sans-serif;
+
-webkit-column-width: 15em;
  text-decoration: none;
+
}
  font-size: 110%;
+
 
 +
.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;
 
}
 
}
  
/* References */
+
.main-wikimedia-listItem > a {
ol.references {font-size:100%}
+
-webkit-box-flex: 1;
.references-small {font-size:90%}
+
-webkit-flex: 1;
/* highlight focused footnotes and references in some browsers */
+
}
sup.reference:target, ol.references li:target, .highlight-target:target, cite:target, span.citation:target {background:#DEF}
 
sup.reference:target {font-weight:bold}
 
  
/* Scrollable references */
+
@media (max-width: 719px) {
.references-scroll {
+
.main-wikimedia-list {
overflow: auto;
+
-webkit-column-width: 10em;
padding: 3px;
+
}
 
}
 
}
  
/* Class for links with loudspeaker icon next to them */
+
@media (min-width: 1000px) {
+
.main-wrapper {
.audiolink a {
+
display: -webkit-box;
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/16px-Loudspeaker.svg.png") center left no-repeat !important;
+
display: -webkit-flex;
    padding-left: 20px !important;
+
}
    padding-right: 0 !important;
+
 
 +
.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;
 +
}
 
}
 
}
.audiolink .ogg-player-options {
+
 
  border: none;
+
/* MediaWiki interface */
  white-space: pre;
+
.allpagesredirect,
 +
span.redirect-in-category a {
 +
font-style: italic;
 
}
 
}
  
.audiofile{
+
#mw-subcategories,
  padding:0px;
+
#mw-pages {
 +
clear: both;
 
}
 
}
  
.audiofile button{
+
.filehistory a img,
  cursor:pointer;
+
#file img {
  border-width:0px;
+
background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
  margin:0px;
 
  padding:0px;
 
  background-color:white;
 
  width: 22px !important; /* temporary */
 
 
}
 
}
  
.audiofile .play-btn-large {
+
.mw-tag-markers {
display: none;
+
font: italic 90% sans-serif;
 
}
 
}
  
.client-js .audiometa {
+
/* Не отображать множественные уведомления о запрете редактирования списком */
  display: none;
+
.permissions-errors {
 +
list-style: none;
 +
margin: 0;
 
}
 
}
  
.client-nojs .audiofile {
+
/* Добавление горизонтального скролла для <pre>,
    display: none;
+
  для избежания бага с очень длинными строками */
 +
pre {
 +
overflow-x: auto;
 +
overflow-y: hidden;
 
}
 
}
  
/* Standard Navigationsleisten, aka box hiding thingy from .de.*/
+
/* Размер таба для обычного редактора и для тега <code> */
 +
pre,
 +
textarea {
 +
tab-size: 4;
 +
}
  
  div.Boxmerge,
+
/* Consistent size for <small>, <sub> and <sup> */
  div.NavFrame {
+
small {
          margin: 0px;
+
font-size: 85%;
          padding: 2px;
+
}
          border: 1px solid #aaaaaa;
+
.mw-body-content sub,
          text-align: center;
+
.mw-body-content sup,
          border-collapse: collapse;
+
span.reference /* for Parsoid */ {
          font-size: 95%;
+
font-size: 80%;
  }
+
}
  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;
 
  }
 
  
/* [[Википедия:Оформление таблиц]] */
+
/* Служебные классы для показа сообщений отдельным группам пользователей */
table.standard, table.wide
+
.group-checkuser-show,
{border:1px solid #AAAAAA; border-collapse: collapse}
+
.group-bureaucrat-show,
table.standard th, table.wide th, table.wikitable th
+
.group-sysop-show,
{border:1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#EEEEFF}
+
.group-engineer-show,
table.standard td, table.wide td
+
.group-closer-show,
{border: 1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em}
+
.group-filemover-show,
table.standard caption, table.wide caption, table.tiles caption
+
.group-editor-show,
{font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em}
+
.group-autoeditor-show,
table.wide {width: 100%}
+
.group-user-show {
+
display: none;
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}
+
 
+
/* Style for horizontal lists (separator following item).
table.tiles {border-collapse:separate; border-spacing:2px}
+
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
table.tiles th {padding-left:0.2em; padding-right:0.2em; background-color: #EEEEFF}
+
  @revision 9 (2016-08-10)
table.tiles td {padding-left:0.2em; padding-right:0.2em; background-color: #F0F0F0}
+
  @author [[User:Edokter]]
+
*/
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
+
.hlist dl,
table.graytable caption {padding:0.5em 0 0 0; background:#f0f0f0; font-size:100%; font-weight:bold}
+
.hlist ol,
table.graytable caption span.subcaption {font-size:80%; font-weight:normal}
+
.hlist ul {
table.graytable th, table.graytable td {font-size:80%}
+
margin: 0;
+
padding: 0;
table.wikitable, table.prettytable
+
}
{margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAAAAA; border-collapse:collapse}
+
/* Display list items inline */
table.wikitable th, table.wikitable td,
+
.hlist dd,
table.prettytable th, table.prettytable td
+
.hlist dt,
{border:1px solid #AAAAAA; padding:0.2em}
+
.hlist li {
table.wikitable caption, table.prettytable caption
+
margin: 0;
{margin-left:inherit; margin-right:inherit; font-size:larger; font-weight:bold}
+
display: inline;
table.prettytable th
+
}
{background:#f2f2f2}
+
/* 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: " • ";
 +
}
 +
.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";
 +
}
  
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
+
/* Немаркированные списки */
th.mbox-text, td.mbox-text {  /* The message body cell(s) */
+
.plainlist dl,
    border: none;  
+
.plainlist ol,
    /* @noflip */
+
.plainlist ul {
    padding: 0.25em 0.9em;     /* 0.9em left/right */
+
line-height: inherit;
    width: 100%;               /* Make all mboxes the same width regardless of text length */
+
list-style: none none;
 +
margin: 0;
 +
}
 +
.plainlist dl dt,
 +
.plainlist dl dd,
 +
.plainlist ol li,
 +
.plainlist ul li {
 +
margin: 0;
 +
}
 +
.plainlist dl dt:after {
 +
content: ": ";
 
}
 
}
td.mbox-image {               /* The left image cell */
+
 
    border: none;  
+
/* [[Википедия:Оформление таблиц]] */
    /* @noflip */
+
.standard,
    padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
+
.wide {
    text-align: center;  
+
/* For align=center tables dont use shorthand margin */
 +
margin-top:1em;
 +
margin-bottom:1em;
 +
border: 1px solid #a2a9b1;
 +
border-collapse: collapse;
 
}
 
}
td.mbox-imageright {          /* The right image cell */
+
 
    border: none;
+
.standard > tr > th,
    /* @noflip */
+
.standard > tr > td,
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
+
.standard > * > tr > th,
    text-align: center;  
+
.standard > * > tr > td,
 +
.wide > tr > th,
 +
.wide > tr > td,
 +
.wide > * > tr > th,
 +
.wide > * > tr > td {
 +
border: 1px solid #a2a9b1;
 +
padding: 0.2em 0.4em;
 
}
 
}
td.mbox-empty-cell {          /* An empty narrow cell */
+
 
    border: none;
+
.standard > tr > th,
    padding: 0px;
+
.standard > * > tr > th,
    width: 1px;
+
.wide > tr > th,
 +
.wide > * > tr > th {
 +
background-color: #eaf3ff;
 
}
 
}
  
 +
.standard > caption,
 +
.wide > caption {
 +
font-weight: bold;
 +
}
  
/* Article message box styles */
+
.wide {
table.ambox {
+
width: 100%;
    margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
 
    border: 1px solid #aaa;
 
    /* @noflip */
 
    border-left: 10px solid #1e90ff;  /* Default "notice" blue */
 
    background: #fbfbfb;  
 
 
}
 
}
table.ambox + table.ambox {     /* Single border between stacked boxes. */
+
 
    margin-top: -1px;
+
table.graytable {
 +
background: #f0f0f0;
 +
padding: 1em;
 +
width: 100%;
 
}
 
}
.ambox th.mbox-text,
+
table.graytable caption {
.ambox td.mbox-text {           /* The message body cell(s) */
+
padding-top: 0.5em;
    padding: 0.25em 0.5em;       /* 0.5em left/right */
+
background: #f0f0f0;
 +
font-weight: bold;
 
}
 
}
.ambox td.mbox-image {           /* The left image cell */
+
table.graytable caption span.subcaption {
    /* @noflip */
+
font-size: 80%;
    padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */
+
font-weight: normal;
 
}
 
}
.ambox td.mbox-imageright {     /* The right image cell */
+
table.graytable th,
    /* @noflip */
+
table.graytable td {
    padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
+
font-size: 80%;
 
}
 
}
  
table.ambox-notice {
+
/* Оформление ячеек */
    /* @noflip */
+
tr.highlight th,
    border-left: 10px solid #1e90ff;   /* Blue */
+
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;
 
}
 
}
table.ambox-speedy {
+
tr.shadow th,
    /* @noflip */
+
tr.shadow td,
    border-left: 10px solid #b22222;    /* Red */
+
table tr th.shadow,
    background: #fee;                   /* Pink */
+
table tr td.shadow {
 +
background: #f0f0f0;
 
}
 
}
table.ambox-delete {
+
tr.dark th,
    /* @noflip */
+
tr.dark td,
    border-left: 10px solid #b22222;   /* Red */
+
table tr th.dark,
 +
table tr td.dark {
 +
background: #ccc;
 
}
 
}
table.ambox-content {
+
 
    /* @noflip */
+
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
    border-left: 10px solid #f28500;   /* Orange */
+
th.mbox-text,
 +
td.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 */
 
}
 
}
table.ambox-style {
+
td.mbox-image { /* The left image cell */
    /* @noflip */
+
border: none;
    border-left: 10px solid #f4c430;   /* Yellow */
+
/* @noflip */
 +
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
 +
text-align: center;
 
}
 
}
table.ambox-move {
+
td.mbox-imageright {   /* The right image cell */
    /* @noflip */
+
border: none;
    border-left: 10px solid #9932cc;   /* Purple */
+
/* @noflip */
 +
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
 +
text-align: center;
 
}
 
}
table.ambox-protection {
+
td.mbox-empty-cell {   /* An empty narrow cell */
    /* @noflip */
+
border: none;
    border-left: 10px solid #bba;       /* Gray-gold */
+
padding: 0px;
 +
width: 1px;
 
}
 
}
 +
  
 
/* Image message box styles */
 
/* Image message box styles */
 
table.imbox {
 
table.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 {
 
table.imbox-notice {
    border: 3px solid #1e90ff;   /* Blue */
+
border: 3px solid #1e90ff; /* Blue */
 
}
 
}
 
table.imbox-speedy {
 
table.imbox-speedy {
    border: 3px solid #b22222;   /* Red */
+
border: 3px solid #b22222; /* Red */
    background: #fee;             /* Pink */
+
background: #fee; /* Pink */
 
}
 
}
 
table.imbox-delete {
 
table.imbox-delete {
    border: 3px solid #b22222;   /* Red */
+
border: 3px solid #b22222; /* Red */
 
}
 
}
 
table.imbox-content {
 
table.imbox-content {
    border: 3px solid #f28500;   /* Orange */
+
border: 3px solid #f28500; /* Orange */
 
}
 
}
 
table.imbox-style {
 
table.imbox-style {
    border: 3px solid #f4c430;   /* Yellow */
+
border: 3px solid #f4c430; /* Yellow */
 
}
 
}
 
table.imbox-move {
 
table.imbox-move {
    border: 3px solid #9932cc;   /* Purple */
+
border: 3px solid #9932cc; /* Purple */
 
}
 
}
 
table.imbox-protection {
 
table.imbox-protection {
    border: 3px solid #bba;       /* Gray-gold */
+
border: 3px solid #bba;   /* Gray-gold */
 
}
 
}
 
table.imbox-license {
 
table.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
+
border: 3px solid #88a;   /* Dark gray */
    background: #f7f8ff;         /* Light gray */
+
background: #f7f8ff;   /* Light gray */
 
}
 
}
 
table.imbox-featured {
 
table.imbox-featured {
    border: 3px solid #cba135;   /* Brown-gold */
+
border: 3px solid #cba135; /* Brown-gold */
 
}
 
}
  
 
/* Category message box styles */
 
/* Category message box styles */
 
table.cmbox {
 
table.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 {
 
table.cmbox-notice {
    background: #D8E8FF;   /* Blue */
+
background: #d8e8ff; /* Blue */
 
}
 
}
 
table.cmbox-speedy {
 
table.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 {
 
table.cmbox-delete {
    background: #FFDBDB;   /* Red */
+
background: #ffdbdb; /* Red */
 
}
 
}
 
table.cmbox-content {
 
table.cmbox-content {
    background: #FFE7CE;   /* Orange */
+
background: #ffe7ce; /* Orange */
 
}
 
}
 
table.cmbox-style {
 
table.cmbox-style {
    background: #FFF9DB;   /* Yellow */
+
background: #fff9db; /* Yellow */
 
}
 
}
 
table.cmbox-move {
 
table.cmbox-move {
    background: #E4D8FF;   /* Purple */
+
background: #e4d8ff; /* Purple */
 
}
 
}
 
table.cmbox-protection {
 
table.cmbox-protection {
    background: #EFEFE1;   /* Gray-gold */
+
background: #efefe1; /* Gray-gold */
 
}
 
}
  
 
/* Other pages message box styles */
 
/* Other pages message box styles */
 
table.ombox {
 
table.ombox {
    margin: 4px 10%;  
+
margin: 4px 10%;
    border-collapse: collapse;  
+
border-collapse: collapse;
    border: 1px solid #aaa;       /* Default "notice" gray */
+
border: 1px solid #aaa;   /* Default "notice" gray */
    background: #f9f9f9;
+
background: #f9f9f9;
 
}
 
}
+
 
 
table.ombox-notice {
 
table.ombox-notice {
    border: 1px solid #aaa;       /* Gray */
+
border: 1px solid #aaa;   /* Gray */
 
}
 
}
 
table.ombox-speedy {
 
table.ombox-speedy {
    border: 2px solid #b22222;   /* Red */
+
border: 2px solid #b22222; /* Red */
    background: #fee;             /* Pink */
+
background: #fee; /* Pink */
 
}
 
}
 
table.ombox-delete {
 
table.ombox-delete {
    border: 2px solid #b22222;   /* Red */
+
border: 2px solid #b22222; /* Red */
 
}
 
}
 
table.ombox-content {
 
table.ombox-content {
    border: 1px solid #f28500;   /* Orange */
+
border: 1px solid #f28500; /* Orange */
 
}
 
}
 
table.ombox-style {
 
table.ombox-style {
    border: 1px solid #f4c430;   /* Yellow */
+
border: 1px solid #f4c430; /* Yellow */
 
}
 
}
 
table.ombox-move {
 
table.ombox-move {
    border: 1px solid #9932cc;   /* Purple */
+
border: 1px solid #9932cc; /* Purple */
 
}
 
}
 
table.ombox-protection {
 
table.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 {
 
table.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 {
 
table.tmbox-speedy {
    border: 2px solid #b22222;   /* Red */
+
border: 2px solid #b22222; /* Red */
    background: #fee;             /* Pink */
+
background: #fee; /* Pink */
 
}
 
}
 
table.tmbox-delete {
 
table.tmbox-delete {
    border: 2px solid #b22222;   /* Red */
+
border: 2px solid #b22222; /* Red */
 
}
 
}
 
table.tmbox-content {
 
table.tmbox-content {
    border: 2px solid #f28500;   /* Orange */
+
border: 2px solid #f28500; /* Orange */
 
}
 
}
 
table.tmbox-style {
 
table.tmbox-style {
    border: 2px solid #f4c430;   /* Yellow */
+
border: 2px solid #f4c430; /* Yellow */
 
}
 
}
 
table.tmbox-move {
 
table.tmbox-move {
    border: 2px solid #9932cc;   /* Purple */
+
border: 2px solid #9932cc; /* Purple */
 
}
 
}
 
table.tmbox-protection,
 
table.tmbox-protection,
 
table.tmbox-notice {
 
table.tmbox-notice {
    border: 1px solid #c0c090;   /* Gray-brown */
+
border: 1px solid #c0c090; /* Gray-brown */
 +
}
 +
 
 +
/* {ambox} */
 +
table.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;
 +
}
 +
table.ambox + table.ambox {   /* Single border between stacked boxes. */
 +
margin-top: -1px;
 +
}
 +
.ambox th.mbox-text,
 +
.ambox td.mbox-text { /* The message body cell(s) */
 +
padding: 0 0.5em;   /* 0.5em left/right */
 +
}
 +
.ambox td.mbox-image {   /* The left image cell */
 +
/* @noflip */
 +
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
 +
}
 +
.ambox td.mbox-imageright {   /* The right image cell */
 +
/* @noflip */
 +
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
 +
}
 +
 
 +
table.ambox-notice {
 +
/* @noflip */
 +
border-left: 10px solid #36c; /* Blue */
 +
}
 +
table.ambox-speedy {
 +
/* @noflip */
 +
border-left: 10px solid #b22222; /* Red */
 +
background: #fee7e6;   /* Pink */
 +
}
 +
table.ambox-delete,
 +
table.ambox-serious {
 +
/* @noflip */
 +
border-left: 10px solid #b22222; /* Red */
 +
}
 +
table.ambox-content {
 +
/* @noflip */
 +
border-left: 10px solid #f28500; /* Orange */
 +
}
 +
table.ambox-style {
 +
/* @noflip */
 +
border-left: 10px solid #f4c430; /* Yellow */
 +
}
 +
table.ambox-good {
 +
border-left: 10px solid #66cc44;
 
}
 
}
+
table.ambox-discussion {
/* Disambig and set index box styles */
+
border-left: 10px solid #339966;
table.dmbox {
 
    clear: both;
 
    margin: 0.9em 1em;
 
    border-top: 1px solid #ccc;
 
    border-bottom: 1px solid #ccc;
 
    background: transparent;
 
 
}
 
}
+
table.ambox-merge {
 +
border-left: 10px solid #9932cc;
 +
}
 +
table.ambox-move {
 +
/* @noflip */
 +
border-left: 10px solid #9932cc; /* Purple */
 +
}
 +
table.ambox-protection {
 +
/* @noflip */
 +
border-left: 10px solid #a2a9b1;   /* Gray-gold */
 +
}
 +
 
 
/* Footer and header message box styles */
 
/* Footer and header message box styles */
 
table.fmbox {
 
table.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 {
 
table.fmbox-system {
    background: #f9f9f9;
+
background: #f9f9f9;
 
}
 
}
 
table.fmbox-warning {
 
table.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
+
border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;       /* Pink */
+
background: #ffdbdb; /* Pink */
 
}
 
}
 
table.fmbox-editnotice {
 
table.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,
Строка 459: Строка 645:
 
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. */
 
body.mediawiki table.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. */
 
body.mediawiki table.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;
 +
}
 +
 
 +
/* Style for compact ambox */
 +
/* Hide the images */
 +
.compact-ambox table .mbox-image,
 +
.compact-ambox table .mbox-imageright,
 +
.compact-ambox table .mbox-empty-cell {
 +
display: none;
 +
}
 +
/* Remove borders, backgrounds, padding, etc. */
 +
.compact-ambox table.ambox {
 +
border: none;
 +
border-collapse: collapse;
 +
background: transparent;
 +
margin: 0 0 0 1.6em !important;
 +
padding: 0 !important;
 +
width: auto;
 +
display: block;
 
}
 
}
 +
body.mediawiki .compact-ambox table.mbox-small-left {
 +
font-size: 100%;
 +
width: auto;
 +
margin: 0;
 +
}
 +
/* Style the text cell as a list item and remove its padding */
 +
.compact-ambox table .mbox-text {
 +
padding: 0 !important;
 +
margin: 0 !important;
 +
}
 +
.compact-ambox table .mbox-text-span {
 +
display: list-item;
 +
line-height: 1.5em;
 +
list-style-type: square;
 +
list-style-image: url(/w/skins/MonoBook/bullet.gif);
 +
}
 +
.skin-vector .compact-ambox table .mbox-text-span {
 +
list-style-type: disc;
 +
list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);
 +
list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9;
 +
}
 +
/* Allow for hiding text in compact form */
 +
.compact-ambox .hide-when-compact {
 +
display: none;
 +
}
 +
 +
/* needs desc */
  
/* prevent an unwanted break within a multi-column layout */
+
.infobox {
 +
border: 1px solid #a2a9b1;
 +
background: #f8f9fa;
 +
margin-bottom: .5em;
 +
margin-left: 1em;
 +
padding: .4em;
 +
float: right;
 +
clear: right;
 +
font-size: 88%;
 +
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;
 +
}
  
.multicol li {
+
/* temporarily for [[Template:Карточка]] */
  overflow: hidden; /* fix for Firefox */
+
table.infobox td p {
  page-break-inside: avoid;
+
margin: 0 !important;
  -webkit-column-break-inside: avoid;
 
 
}
 
}
  
/* To give a flexible column like structure to manual indices  */
+
/* списки в карточках */  
+
.infobox th>ul,
ul.index, div.index ul {
+
.infobox td>ul,
  margin: 0.2em;
+
.infobox [data-wikidata-property-id]>ul {
 +
list-style-type: none;
 +
list-style-image: none;
 +
margin: 0;
 
}
 
}
+
.infobox th>ol,
ul.index li, div.index ul li {
+
.infobox td>ol,
  float: left;
+
.infobox [data-wikidata-property-id]>ol {
  width: 20em;
+
margin: 0 0 0 2em;
  list-style-type: none;
 
  margin-left: 0;
 
  margin-right: 0;
 
  overflow: hidden;
 
 
}
 
}
+
.infobox th>dl,
div.index h2 {
+
.infobox td>dl,
  clear: both;
+
.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;
 
}
 
}
  
/* reverse index */
+
.notice {
div.reverseindex
+
text-align: justify;
{
+
margin: 1em 0.5em;
  counter-reset: item 0;
+
padding: 0.5em;
  margin-right: 10px; left: 10px;  
 
 
}
 
}
  
div.reverseindex ol
+
/* Устаревший стиль, на данный момент практически везде используется
{
+
неверно, почистить и удалить при первой возможности */
  -moz-column-count:3;  
+
.messagebox {
  -moz-column-gap: 3em;
+
border: thin solid #aaa;
  -webkit-column-count:3;  
+
background: #f9f9f9;
  -webkit-column-gap: 3em;
+
width: 88%;
  column-count:3;  
+
margin: 0 auto 1em auto;
  column-gap: 3em;
+
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;
 
}
 
}
  
div.reverseindex li
+
blockquote {
{  
+
margin: 0.7em 0 0.7em 5%;
  display: block;
+
padding: 0.7em 2% 0.7em 4%;
  position: relative; left: 2.5em;
+
background: #f8f9fa;
  text-align: right;  
+
overflow: hidden;
  width: 10em;
 
 
}
 
}
  
div.reverseindex li:before
+
ol.references {
{
+
font-size: 100%;
  content: counter(item) ". ";
+
}
  counter-increment: item;
+
.references-small {
  position: absolute; top: auto; left: -2.5em;
+
font-size: 90%;
  /*display:block;*/
+
}
 +
div.reflist ol.references,
 +
div.references-small ol.references {
 +
list-style-type: inherit; /* Enable custom list style types */
 
}
 
}
  
.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}
+
/* highlight focused footnotes and references in some browsers */
.infobox.sisterproject {background-color:#f9fafd}
+
sup.reference:target,
 +
ol.references li:target,
 +
.highlight-target:target,
 +
cite:target,
 +
span.citation:target {
 +
background: #eaf3ff;
 +
}
 +
sup.reference:target {
 +
font-weight: bold;
 +
}
  
  /* не преломлять ссылку на заглавную страницу */
+
/* fix for line-breaking references */
 +
sub,
 +
sup {
 +
line-height: 1em;
 +
}
  
  #n-mainpage { white-space:nowrap; }
+
.clickable-image a:hover {
 +
text-decoration: none;
 +
}
  
  /* цветовая маркировка изменений в байтах */
+
.printonly {
 +
display: none;
 +
}
 +
 
 +
.dablink,
 +
.rellink {
 +
font-style: italic;
 +
padding-left: 1.6em;
 +
}
 +
 
 +
#disambig {
 +
border-top: 3px double #c8ccd1;
 +
border-bottom: 3px double #c8ccd1;
 +
}
 +
 
 +
/*{TOClimit} & TOC w/o numbers*/
 +
.toclimit-2 .toclevel-2,
 +
.toclimit-3 .toclevel-3,
 +
.toclimit-4 .toclevel-4,
 +
.toclimit-5 .toclevel-5,
 +
.toclimit-6 .toclevel-6,
 +
.toclimit-7 .toclevel-7,
 +
.nonumtoc .tocnumber {
 +
display: none;
 +
}
 +
 
 +
 
 +
/* 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;
 +
}
 +
 
 +
/* Clickable speaker in  {Template: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;
 +
}
 +
 
 +
/* {Навигация} */
 +
table.navigation-box th,
 +
table.navigation-box td {
 +
vertical-align: middle;
 +
height: 30px;
 +
}
 +
 
 +
/* {Навигационная полоса}, {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;
 +
}
 +
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%;
 +
}
 +
 
 +
/* Отдельно перезаписывем NavFrame для свернутых блоков */
 +
.collapsibleBox .NavHead {
 +
min-height: 1.2em;
 +
padding: .1em 6em;
 +
line-height: 1.6em;
 +
}
 +
.collapsibleBox .NavToggle {
 +
font-size: inherit;
 +
position: absolute;
 +
top: .1em;
 +
width: 5em;
 +
}
 +
.collapsibleBox-title-rightHideLink .NavToggle {
 +
text-align: right;
 +
right: 1em;
 +
}
 +
.collapsibleBox-title-leftHideLink .NavToggle {
 +
text-align: left;
 +
left: 1em;
 +
}
 +
.collapsibleBox .NavContent {
 +
padding: .25em 1em;
 +
}
 +
 
 +
/* {coord}s */
 +
#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%;
 +
}
  
  .mw-plusminus-pos {color:#006400; font-weight: bold; }
+
.geo-services a > span {
  .mw-plusminus-neg {color:#8b0000; font-weight: bold; }
+
margin: 0.25em;
 +
}
 +
.geo-services > :first-child a > span {
 +
margin-left: 0.4em;
 +
}
  
#userSummaryButtonsA a {
+
.geo-geo-dec .geo-dec,
  white-space:nowrap;
+
.geo-geo-dms .geo-dms {
  background: #C2F2FF;
+
display: inline;
  border: 1px solid #9BD5F5;
 
  padding: 0px 2px;
 
  margin: 2px;
 
  cursor: pointer;
 
  font-size: 80%;
 
  line-height: 17px;
 
  color: #5B5B5B
 
 
}
 
}
#userSummaryButtonsA a:hover {
+
.geo-geo-dec .geo-dms,
  background: #B1EBFF;
+
.geo-geo-dms .geo-dec,
  border: 1px solid #64BDF0;
+
.geo-multi-punct {
  color: black;
+
display: none;
  text-decoration: none
+
}
 +
.geo-lat,
 +
.geo-lon {
 +
white-space: nowrap;
 
}
 
}
  
.clickable-image a:hover {text-decoration: none}
+
/* {tl} */
 +
.wp-templatelink {
 +
color: #72777d;
 +
}
  
 
/* FlaggedRevs */
 
/* FlaggedRevs */
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {font-weight:normal; font-size:smaller}  
+
/* Скрываем верхнюю таблицу для анонимов и показываем
.flaggedrevs-pending {background:#ffc}
+
для зарегистрированных с помощью [[MediaWiki:Group-user.css]] */
.sitedir-ltr div.flaggedrevs_short {float:none; padding:1px}
+
#mw-fr-revisiontag {
.sitedir-ltr div.flaggedrevs_short_details {width:95%; display:none}
+
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;
 +
padding: 1px;
 +
}
 +
.sitedir-ltr div.flaggedrevs_short_details {
 +
width: 95%;
 +
display: none;
 +
}
 +
 
 +
/* Лишний отступ */
 +
div.flaggedrevs_notice {
 +
    margin-right: 0;
 +
}
 +
 
  
/* Для правильного отображения карточек в категориях */
+
/* Remove "external" icon from links to WP */
div#mw-subcategories {
+
body.ns-talk a.external[href*="//ru.wikipedia.org/"],
    display: table;
+
body.ns-4 a.external[href*="//ru.wikipedia.org/"],
 +
body.ns-104 a.external[href*="//ru.wikipedia.org/"] {
 +
background: none !important;
 +
padding-right: 0 !important;
 
}
 
}
  
/*Language-specific*/
+
 
:lang(chu), :lang(cu), :lang(orv) {  
+
.sitedir-ltr .mw-dismissable-notice-body {
font-family: /* Unicode 9.0 Slavonic fonts: */ 'Ponomar Unicode', 'Ponomar Unicode TT', 'Fedorovsk Unicode', 'Fedorovsk Unicode TT', 'Menaion Unicode', 'Menaion Unicode TT', 'Monomakh Unicode', 'Monomakh Unicode TT',
+
margin-right: 5em !important; /* was 20% */
/* Unicode 5.1 Slavonic fonts: */ BukyVede, 'Hirmos Ponomar', 'Kliment Std', 'RomanCyrillic Std', Dilyana, Menaion, 'Menaion Medieval', Lazov, Code2000, 'DejaVu Sans',
+
}
/* Unicode fallback: */ Code2001, 'Free Serif', 'TITUS Cyberbit Basic', 'Charis SIL', 'Doulos SIL', 'Chrysanthi Unicode', 'Bitstream Cyberbit', 'Bitstream CyberBase',
+
 
Thryomanes, 'Lucida Grande', 'Free Sans', 'Arial Unicode MS', 'Microsoft Sans Serif', 'Lucida Sans Unicode' !important;  
+
/* Default style for navigation boxes */
font-size: 14pt;
+
.navbox { /* Navbox container style */
line-height: 1;
+
box-sizing: border-box;
font-style: normal !important;
+
border: 1px solid #a2a9b1;
 +
width: 100%;
 +
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
 +
clear: both;
 +
font-size: 88%;
 +
text-align: center;
 +
padding: 1px;
 +
}
 +
.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;
 
}
 
}
:lang(grc), :lang(el) {
+
.navbox-title {
font-style: normal !important;
+
line-height: 1.6em;   /* Standard 1.6em for title */
 
}
 
}
:lang(ar), :lang(fa), :lang(ps), :lang(ur) {
+
 
font-family: "Iranian Sans", Arial Unicode MS, Code2000, Traditional Arabic, sans-serif;
+
/* cell spacing for navbox cells */
font-size: 110%;
+
tr + tr > .navbox-abovebelow,
direction: rtl;
+
tr + tr > .navbox-group,
unicode-bidi: embed;
+
tr + tr > .navbox-image,
font-style: normal !important;
+
tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */
 +
border-top: 2px solid #fdfdfd; /* Must match background color */
 
}
 
}
  
/* Watchlist details */
+
th.navbox-group { /* Group style */
.watchlist-msg {
+
white-space: nowrap;
    float:right;
+
/* @noflip */
    background:#FFFFE0;
+
text-align: right;
    border:1px solid #FD4;
+
}
    font-size:8pt;
+
.navbox,
    padding:0.5em 0.7em;
+
.navbox-subgroup {
    margin-left:1em;
+
background: #fdfdfd;   /* Background color */
    line-height:1.4em;
+
}
 +
.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 */
 
}
 
}
#mw-watchlist-form {
+
.navbox .hlist td dl,
    clear:both;
+
.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 */
 
}
 
}
  
/* коррекция высоты строки первого заголовка для Google Chrome */
+
/* Default styling for Navbar template */
#firstHeading { overflow: visible; }
+
.navbar {
 +
display: inline;
 +
font-size: x-small;
 +
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 */
.ns-0 #mw-content-text h1 {
+
.infobox .navbar {
  clear: none;
+
font-size: 100%;
  border-top: solid 1px #aaaaaa;
+
}
  border-bottom: solid 1px #aaaaaa;
+
.navbox .navbar {
  padding: 0.3em 0.5em 0.3em 0.0em;
+
display: block;
  background: #DAEAFA;
+
font-size: 100%;
  margin-top:1.0em;
+
}
  margin-bottom:0.3em;
+
.navbox-title .navbar {
 +
/* @noflip */
 +
float: left;
 +
/* @noflip */
 +
text-align: left;
 +
/* @noflip */
 +
margin-right: 0.5em;
 +
width: 5em;
 
}
 
}
  
/* Коррекция цвета кнопок в меню создания статей */
+
/* Кнопки [показать]/[скрыть], создаваемые динамически функцией collapsibleTables()
#new-word-menu .mw-ui-button.mw-ui-progressive{
+
  в [[MediaWiki:Common.js]] */
    background: inherit;
+
.collapseButton {
    color: inherit;
+
/* @noflip */
    border: 1px solid #B6B6B6;
+
float: right;
    text-shadow: inherit;
+
font-weight: normal;
 +
/* @noflip */
 +
margin-left: 0.5em;
 +
/* @noflip */
 +
text-align: right;
 +
width: auto;
 
}
 
}
  
#new-word-menu .mw-ui-button.mw-ui-progressive:hover,  
+
 
#new-word-menu .mw-ui-button.mw-ui-progressive:focus {
+
/* Неразрывные пробелы в горизонтальных списках */
    border-bottom-color: inherit;
+
.nowrap,
 +
.nowraplinks a,
 +
.nowraplinks .selflink,
 +
.hlist-items-nowrap dd,
 +
.hlist-items-nowrap dt,
 +
.hlist-items-nowrap li {
 +
white-space: nowrap;
 
}
 
}
  
/* точка после заголовка оглавления */
+
/* Но где-то неразрывность надо сбросить (например, в навшаблонах в узких местах) */
.toclevel-1 > a > .tocnumber::after {
+
.wrap,
    content: ".";
+
.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;
 
}
 
}
  
/* {древовидный список} */
+
/* [[Шаблон:Tree list]] */
 
.treeview ul {
 
.treeview ul {
    padding: 0;
+
padding: 0;
    margin: 0;
+
margin: 0;
 
}
 
}
 
.treeview li {
 
.treeview li {
    padding: 0;
+
padding: 0;
    margin: 0;
+
margin: 0;
    list-style-type: none;
+
list-style-type: none;
    list-style-image: none;
+
list-style-image: none;
 
}
 
}
 
.treeview li li {
 
.treeview li li {
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
+
background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
    /* @noflip */
+
/* @noflip */
    padding-left: 20px;
+
padding-left: 20px;
    text-indent: 0.3em;
+
text-indent: 0.3em;
 
}
 
}
 
.treeview li li.lastline {
 
.treeview li li.lastline {
    background-position: 0 -5971px
+
background-position: 0 -5971px
 
}
 
}
 
.treeview li.emptyline > ul {
 
.treeview li.emptyline > ul {
    /* @noflip */
+
/* @noflip */
    margin-left: -1px;
+
margin-left: -1px;
 
}
 
}
 
.treeview li.emptyline > ul > li:first-child {
 
.treeview li.emptyline > ul > li:first-child {
    background-position: 0 9px
+
background-position: 0 9px
 
}
 
}
  
/* три колонки */
+
/* {{math}} */
.col3 {
+
.math-template {
-moz-column-count:3;
+
white-space: nowrap;
-moz-column-gap: 3em;
+
font-family: times, serif, palatino linotype, new athena unicode, athena, gentium, code2000;
-webkit-column-count:3;  
+
font-size: 120%;
-webkit-column-gap: 3em;
 
column-count:3;
 
column-gap: 3em;
 
-webkit-column-width: 150px;
 
-moz-column-width: 150px;  
 
column-width: 150px;
 
 
}
 
}
  
/* Скрыть содержимое */
+
/* Visual editor related */
.offensive {
+
.mw-ve-editNotice .mbox-image,
display: none;
+
.ve-active .ve-hide,
 +
.ve-show {
 +
display: none;
 
}
 
}
  
/* Поддержка Tabbed Languages */
+
.ve-active div.ve-show,
+
.ve-active p.ve-show {
#languageLinks .selectedTab a {
 
font-size: 19px;
 
color: #000;
 
padding: 6px;
 
 
display: block;
 
display: block;
border-left: 1px solid #CCC;
 
border-bottom: 1px solid #CCC;
 
margin-bottom: -3px;
 
background-color: #fff;
 
margin-right: -6px;
 
position: relative;
 
border-top: 1px solid #CCC;
 
white-space: nowrap;
 
 
}
 
}
+
 
#languageLinks .unselectedTab a {
+
.ve-active span.ve-show,
font-size: 16px;
+
.ve-active small.ve-show {
color: #929292;
+
display: inline;
padding: 6px;
+
}
display: block;
+
 
border-left: 1px solid #CCC;
+
.ve-active li.ve-show {
border-top: 1px solid #CCC;
+
display: list-item;
border-bottom: 1px solid #CCC;
 
margin-bottom: -3px;
 
margin-left: 15px;
 
margin-right: -5px;
 
white-space: nowrap;
 
background-color: #F6F6F6;
 
 
}
 
}
+
 
#languageLinks tr td {
+
/* For portals, added 2011-12-07 -bv
padding: 0px;
+
  On wide screens, show these as two columns
 +
  On narrow and mobile screens, let them collapse into a single column */
 +
.portal-column-left {
 +
float: left;
 +
width: 50%;
 
}
 
}
+
.portal-column-right {
tr td.languageContainer {
+
float: right;
padding-left: 8px;
+
width: 49%;
padding-bottom: 10px;
 
padding-right: 8px;
 
border: 1px solid #CCC;
 
vertical-align: top;
 
width: 100%;
 
 
}
 
}
+
.portal-column-left-wide {
.unselectedtab {
+
float: left;
margin-left: 5px;
+
width: 60%;
 
}
 
}
+
.portal-column-right-narrow {
.editlangsection {
 
margin-top: -13px;
 
margin-right: 5px;
 
border: 1px solid #CCC;
 
margin-bottom: -2px;
 
border-bottom-width: 0px;
 
-webkit-border-top-left-radius: 5px;
 
-webkit-border-top-right-radius: 5px;
 
-moz-border-radius-topleft: 5px;
 
-moz-border-radius-topright: 5px;
 
border-top-left-radius: 5px;
 
border-top-right-radius: 5px;
 
color: white;
 
line-height: 14px;
 
font-size: 12px;
 
padding: 0px 7px;
 
text-align: center;
 
clear: both;
 
background-color: white;
 
 
float: right;
 
float: right;
 +
width: 39%;
 
}
 
}
+
.portal-column-left-extra-wide {
#languageLinks a.addLanguageButton {
+
float: left;
font-size: 12px;
+
width: 70%;
padding: 3px 6px;
 
 
}
 
}
+
.portal-column-right-extra-narrow {
@media screen and (max-width:36em) {
+
float: right;
+
width: 29%;
#tabstable>tbody>tr>td {
+
}
display: block;
+
@media only screen and (max-width: 800px) {
float: left;
+
/* Decouple the columns on narrow screens */
width: 100%;
+
.portal-column-left,
 +
.portal-column-right,
 +
.portal-column-left-wide,
 +
.portal-column-right-narrow,
 +
.portal-column-left-extra-wide,
 +
.portal-column-right-extra-narrow {
 +
float: inherit;
 +
width: inherit;
 
}
 
}
+
}
#languageLinks tr {
+
 
display: block;
+
/* Уточнение ширины логотипа на экранах с большей плотностью пикселей (сами
float: left;
+
  изображения задаются в файле стилей, не изменяемом локально; помогает
margin-bottom: -3px;
+
  избежать сглаживания? 136 = 204 / 1,5; 204px — ширина картинки) */
margin-left: -5px;
+
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
margin-top: 5px;
+
#p-logo a {
 +
background-size: 136px auto;
 
}
 
}
+
}
#languageLinks .unselectedTab a {
+
 
margin-left: 0;
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
margin-right: 5px;
+
#p-logo a {
border-right: 1px solid #CCC;
+
background-size: 135px auto;
 
}
 
}
   
+
}
#languageLinks .selectedTab a {
+
 
margin-left: 0;
+
/* Remove popup from Content translation tool, if not opted in */
margin-right: 5px;
+
.cx-callout:not(.cx-campaign-contributionsmenu):not(.cx-entrypoint-dialog) { display: none !important; }
border-right: 1px solid #CCC;
+
 
border-bottom: 1px solid #FFF;
+
/* Покрасить "неприоритетные" ссылки в библиографических ссылках в черный цвет (касается только ссылок, генерируемых 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: #000;
#tabstable {
+
}
width: 100%;
+
 
}
+
/* Авторазбиение списков на колонки. Будет работать только для однострочных списков. 35em является предварительным числом, а фактическое будет посчитано исходя из ширины элементов. Должно использоваться только для UL внутри DIV. Пример использования — шаблон {{Wikidata/SisterCities}} */
+
.autocolumns {
#languageLinks a.addLanguageButton {
+
-moz-columns: 35em auto;
margin-top: 2px;
+
columns: 35em auto;
margin-bottom: 1px;
+
white-space: nowrap;
}
+
}
+
 
.editlangsection {
+
/* Reduce page jumps by hiding collapsed/dismissed content */
border-bottom-width: 1px;
+
.client-js .collapsible.collapsed > tbody > tr:not(:first-child),
}
+
.client-js .NavFrame.collapsed > .NavContent,
+
.client-js .tochidden-wrapper > .toc > ul {
 +
display: none;
 +
}
 +
 
 +
/* Fix of default <maplink> display */
 +
.mw-kartographer-maplink {
 +
margin-left: 0 !important;
 +
background-position: -3px -3px !important;
 +
padding: 2px 0 2px 16px !important;
 +
}
 +
 
 +
/* Временный фикс [[Обсуждение MediaWiki:Common.css#Для чего .catlinks li параметр margin: 0.125em 0;?]],
 +
  пока не исправят в нативных стилях */
 +
.mediawiki .catlinks li {
 +
margin: 2px 0;
 +
}
 +
 
 +
.ref-info {
 +
font-size: 85%;
 +
color: #72777d;
 +
}
 +
 
 +
/* 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;
 +
}
 +
 
 +
/* Стили для расширения [[mw:Extension:Babel]] (03-09-17) */
 +
/* Скрытие буквы N у родных языков, по аналогии со стандарными шаблонами */
 +
.mw-babel-box-level-N {
 +
display: none;
 +
}
 +
 
 +
/* Скрыть пункт «Элемент Викиданных» до начала работы гаджета
 +
  [[MediaWiki:Gadget-sidebarRelated.js]] */
 +
.client-js .action-view #t-wikibase {
 +
display: none;
 +
}
 +
 
 +
/* Класс для [[Ш:Работа для администратов]] и подобных
 +
  для нормального отображения в мобильной версии */
 +
.blockright {
 +
width: 238px;
 +
}
 +
 
 +
/* Лечим растягивание СН, страниц истории и вклада, если текст описания правки
 +
  негде перенести. Удалить при добавлении этого правила на глобальном уровне. */
 +
.comment {
 +
overflow-wrap: break-word;
 +
word-break: break-word;
 
}
 
}

Текущая версия на 09:49, 26 июня 2018

/* При добавлении правил, которые должны также действовать в мобильной версии, не забудьте добавить
   аналогичные правила в [[MediaWiki:Mobile.css]]. */

/* Стили для [[Заглавная страница]] */
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;
	}
}

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

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

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

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

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

/* Добавление горизонтального скролла для <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%;
}

/* Служебные классы для показа сообщений отдельным группам пользователей */
.group-checkuser-show,
.group-bureaucrat-show,
.group-sysop-show,
.group-engineer-show,
.group-closer-show,
.group-filemover-show,
.group-editor-show,
.group-autoeditor-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: " • ";
}
.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 dl,
.plainlist ol,
.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}
.plainlist dl dt,
.plainlist dl dd,
.plainlist ol li,
.plainlist ul li {
	margin: 0;
}
.plainlist dl dt:after {
	content: ": ";
}

/* [[Википедия:Оформление таблиц]] */
.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: 80%;
	font-weight: normal;
}
table.graytable th,
table.graytable td {
	font-size: 80%;
}

/* Оформление ячеек */
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 */
th.mbox-text,
td.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 */
}
td.mbox-image {				/* The left image cell */
	border: none;
	/* @noflip */
	padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
	text-align: center;
}
td.mbox-imageright {		   /* The right image cell */
	border: none;
	/* @noflip */
	padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
	text-align: center;
}
td.mbox-empty-cell {		   /* An empty narrow cell */
	border: none;
	padding: 0px;
	width: 1px;
}


/* Image message box styles */
table.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;
}

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

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

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

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

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

/* Talk page message box styles */
table.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.				*/
}

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

/* {ambox} */
table.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;
}
table.ambox + table.ambox {	  /* Single border between stacked boxes. */
	margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text {			/* The message body cell(s) */
	padding: 0 0.5em;	   /* 0.5em left/right */
}
.ambox td.mbox-image {		   /* The left image cell */
	/* @noflip */
	padding: 2px 0 2px 0.5em;	/* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {	  /* The right image cell */
	/* @noflip */
	padding: 2px 0.5em 2px 0;	/* 0px left, 0.5em right */
}

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

/* Footer and header message box styles */
table.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #aaa;
	/* Default "system" gray */
	background: #f9f9f9;
}
table.fmbox-system {
	background: #f9f9f9;
}
table.fmbox-warning {
	border: 1px solid #bb7070;  /* Dark pink */
	background: #ffdbdb;		/* Pink */
}
table.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. */
body.mediawiki table.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;
}
body.mediawiki table.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 compact ambox */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
	display: none;
}
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
	border: none;
	border-collapse: collapse;
	background: transparent;
	margin: 0 0 0 1.6em !important;
	padding: 0 !important;
	width: auto;
	display: block;
}
body.mediawiki .compact-ambox table.mbox-small-left {
	font-size: 100%;
	width: auto;
	margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
	padding: 0 !important;
	margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
	display: list-item;
	line-height: 1.5em;
	list-style-type: square;
	list-style-image: url(/w/skins/MonoBook/bullet.gif);
}
.skin-vector .compact-ambox table .mbox-text-span {
	list-style-type: disc;
	list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);
	list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9;
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
	display: none;
}

/* needs desc */

.infobox {
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	margin-bottom: .5em;
	margin-left: 1em;
	padding: .4em;
	float: right;
	clear: right;
	font-size: 88%;
	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;
}

/* temporarily for [[Template:Карточка]] */
table.infobox td p {
	margin: 0 !important;
}

/* списки в карточках */ 
.infobox th>ul,
.infobox td>ul,
.infobox [data-wikidata-property-id]>ul {
	list-style-type: none;
	list-style-image: none;
	margin: 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;
}

.notice {
	text-align: justify;
	margin: 1em 0.5em;
	padding: 0.5em;
}

/* Устаревший стиль, на данный момент практически везде используется
неверно, почистить и удалить при первой возможности */
.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;
}

blockquote {
	margin: 0.7em 0 0.7em 5%;
	padding: 0.7em 2% 0.7em 4%;
	background: #f8f9fa;
	overflow: hidden;
}

ol.references {
	font-size: 100%;
}
.references-small {
	font-size: 90%;
}
div.reflist ol.references,
div.references-small ol.references {
	list-style-type: inherit;  /* Enable custom list style types */
}

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

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

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

.printonly {
	display: none;
}

.dablink,
.rellink {
	font-style: italic;
	padding-left: 1.6em;
}

#disambig {
	border-top: 3px double #c8ccd1;
	border-bottom: 3px double #c8ccd1;
}

/*{TOClimit} & TOC w/o numbers*/
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7,
.nonumtoc .tocnumber {
	display: none;
}


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

/* Clickable speaker in  {Template: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;
}

/* {Навигация} */
table.navigation-box th,
table.navigation-box td {
	vertical-align: middle;
	height: 30px;
}

/* {Навигационная полоса}, {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;
}
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%;
}

/* Отдельно перезаписывем NavFrame для свернутых блоков */
.collapsibleBox .NavHead {
	min-height: 1.2em;
	padding: .1em 6em;
	line-height: 1.6em;
}
.collapsibleBox .NavToggle {
	font-size: inherit;
	position: absolute;
	top: .1em;
	width: 5em;
}
.collapsibleBox-title-rightHideLink .NavToggle {
	text-align: right;
	right: 1em;
}
.collapsibleBox-title-leftHideLink .NavToggle {
	text-align: left;
	left: 1em;
}
.collapsibleBox .NavContent {
	padding: .25em 1em;
}

/* {coord}s */
#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;
}

/* {tl} */
.wp-templatelink {
	color: #72777d;
}

/* 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;
	padding: 1px;
}
.sitedir-ltr div.flaggedrevs_short_details {
	width: 95%;
	display: none;
}

/* Лишний отступ */
div.flaggedrevs_notice {
    margin-right: 0;
}


/* 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/"] {
	background: none !important;
	padding-right: 0 !important;
}


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

/* 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: 88%;
	text-align: center;
	padding: 1px;
}
.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: x-small;
	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;
}

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


/* Неразрывные пробелы в горизонтальных списках */
.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;
}

/* [[Шаблон:Tree list]] */
.treeview ul {
	padding: 0;
	margin: 0;
}
.treeview li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	list-style-image: none;
}
.treeview li li {
	background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
	/* @noflip */
	padding-left: 20px;
	text-indent: 0.3em;
}
.treeview li li.lastline {
	background-position: 0 -5971px
}
.treeview li.emptyline > ul {
	/* @noflip */
	margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
	background-position: 0 9px
}

/* {{math}} */
.math-template {
	white-space: nowrap;
	font-family: times, serif, palatino linotype, new athena unicode, athena, gentium, code2000;
	font-size: 120%;
}

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

/* For portals, added 2011-12-07 -bv
   On wide screens, show these as two columns
   On narrow and mobile screens, let them collapse into a single column */
.portal-column-left {
	float: left;
	width: 50%;
}
.portal-column-right {
	float: right;
	width: 49%;
}
.portal-column-left-wide {
	float: left;
	width: 60%;
}
.portal-column-right-narrow {
	float: right;
	width: 39%;
}
.portal-column-left-extra-wide {
	float: left;
	width: 70%;
}
.portal-column-right-extra-narrow {
	float: right;
	width: 29%;
}
@media only screen and (max-width: 800px) {
	/* Decouple the columns on narrow screens */
	.portal-column-left,
	.portal-column-right,
	.portal-column-left-wide,
	.portal-column-right-narrow,
	.portal-column-left-extra-wide,
	.portal-column-right-extra-narrow {
		float: inherit;
		width: inherit;
	}
}

/* Уточнение ширины логотипа на экранах с большей плотностью пикселей (сами
   изображения задаются в файле стилей, не изменяемом локально; помогает
   избежать сглаживания? 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;
	}
}

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

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

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

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

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

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

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

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

/* Скрыть пункт «Элемент Викиданных» до начала работы гаджета
   [[MediaWiki:Gadget-sidebarRelated.js]] */
.client-js .action-view #t-wikibase {
	display: none;
}

/* Класс для [[Ш:Работа для администратов]] и подобных 
   для нормального отображения в мобильной версии */
.blockright {
	width: 238px;
}

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