MediaWiki:Common.css

Материал из свободной русской энциклопедии «Традиция»
Перейти к навигации Перейти к поиску

Замечание: Чтобы после сохранения вступили в силу изменения стилей, перезагрузите файл //traditio.wiki/w/load.php?debug=false&lang=ru&modules=site&only=styles&skin=vector&*, если используете скин Vector, или //traditio.wiki/w/load.php?debug=false&lang=ru&modules=site&only=styles&skin=common&*, если используете скин Common.

Чтобы вступили в силу изменения скриптов, перезагрузите файл //traditio.wiki/w/load.php?debug=false&lang=ru&modules=site&only=scripts&skin=vector&*, если используете скин Vector, или //traditio.wiki/w/load.php?debug=false&lang=ru&modules=site&only=scripts&skin=common&*, если используете скин Common.

Гаджеты и импортируемые скрипты загружаются отдельными файлами.

/* Этот набор стилей включается в отдельные css-файлы других шкурок.
 *
 *    @import-строки (подключение внешних CSS) должны быть первыми среди стилей.
 *
 */

/* Закомментировал Александр Машин, чтобы исключить обращение к внешним сайтам при обращении к «Традиции» через Tor.

@import url('//fonts.googleapis.com/css?family=Cuprum&text=%D0%90%D0%91%D0%92%D0%93%D0%94%D0%95%D0%81%D0%96%D0%97%D0%98%D0%9A%D0%9B%D0%9C%D0%9D%D0%9E%D0%9F%D0%A0%D0%A1%D0%A2%D0%A3%D0%A4%D0%A5%D0%A6%D0%A7%D0%A8%D0%A9%D0%AA%D0%AB%D0%AC%D0%AD%D0%AE%D0%AF%D0%B0%D0%B1%D0%B2%D0%B3%D0%B4%D0%B5%D1%91%D0%B6%D0%B7%D0%B8%D0%BA%D0%BB%D0%BC%D0%BD%D0%BE%D0%BF%D1%80%D1%81%D1%82%D1%83%D1%84%D1%85%D1%86%D1%87%D1%88%D1%89%D1%8A%D1%8B%D1%8C%D1%8D%D1%8E%D1%8F0123456789%20%A0');
*/
/*  Вызов шрифта размером 86 kb,  http://www.google.com/webfonts#QuickUsePlace:quickUse/Family:Cuprum
 *  сокращён до 20840 байтов (WOFF) выборочным подбором ограниченного множества символов:
 *  *) пробел («%20»), неразрывный пробел («%A0»);
 *  *) цифры («0123456789»);
 *  *) строчные буквы:  «абвгдеёжзиклмнопрстуфхцчшщъыьэюя»;
 *  *) заглавные буквы: «АБВГДЕЁЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ».
 *  Возможно дальнейшее уменьшение до 16320 байтов, если ограничиться реально используемыми
 *  заглавными буквами, но это нецелесообразно, так как ограничит редактирование заголовков
 *  на заглавной странице, в которых шрифт используется. Экономия ≈4 Kb не стóит этого.
*/

/***  Элементы оформления заглавной страницы вики (закруглённые заголовки)  ***/
/* {{бирюзовый заголовок заглавной}} */
h2.main-page-left-column {
background: #cef2e0;
border: 1px solid #a3bfb1;
}
/* {{бежевый заголовок заглавной}} */
h2.main-page-right-column {
background: #ECF2CE;
border: 1px solid #a3b0bf;
}
/*  оба заголовка:  */
h2.main-page-left-column, h2.main-page-right-column, body.page-Заглавная_страница table.navbox tr:first-of-type>th {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;

margin: 0 !important;
color: #000;
padding: 0.2em 0.4em;
text-align: left;
font-weight: normal;
font-size: 140%;
/* font-family: Cuprum, sans-serif; */
}

#p-logo { z-index: 1; } /* логотип не должен налезать на подсказку */

/* Удаление шрифта Georgia, неправильно обрабатывающего диакритики в·кириллице: */
.mw-body h1, .mw-body h2 {
	font-family: "Linux Libertine", Times, serif !important;
}

/* Список сносок надо заставить выглядеть меньше */
.references-small {font-size:90%}

/* 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 */
.references-scroll {
    overflow: auto;
    padding: 3px;
}
 
/* fix for line-breaking references */
sup, sub {
	line-height: 1em
}

.notice { margin: 1em 1em 1em 20%; padding: 0.2em; }
#disambig { border-top: 3px double #cccccc; border-bottom: 3px double #cccccc; }
#spoiler  { border-top: 2px solid  #dddddd; border-bottom: 2px solid  #dddddd; }
.Talk-Notice {border: 1px solid #C0C090;
              background-color: #F8EABA;
              width: 85%;
              border-spacing: 3px;
              margin-bottom: 3px; margin-left: auto; margin-right: auto; }
.Talk-Notice td { background: inherit; }
.Use_Default_Date_Convention { display: inline; }
.Use_AD_and_BC  { display: none; }
.Use_BCE_and_CE { display: none; }
.plainlinksneverexpand { background: none; padding: 0; }
.plainlinksneverexpand .urlexpansion { display: none; }
.plainlinksneverexpand a { background: none; padding: 0; }
.plainlinksneverexpand a.external.text:after { display: none; }
.plainlinksneverexpand a.external.autonumber:after { display: none; }

#bodyContent .plainlinksneverexpand a { background: none; padding: 0; }

.messagebox {border:thin solid #dedede;background-color:#f7f7f7;margin-bottom:1em;padding:.4em;vertical-align:middle;font-size: 90%}
.messagebox.merge {border: 1px solid #cf9fff;background-color: #f5edf5;text-align: center}
.messagebox.cleanup {border: 1px solid #9f9fff;background-color: #efefff;text-align: center}
.messagebox.standard-talk {border: 1px solid #c0c090;background-color: #f8eaba}
.messagebox .floatleft{vertical-align:middle;clear:both;margin:2px;padding:0;}
.messagebox .image{margin:0;padding: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; }

/* Это для рамок-ссылок на Вики-сайты */
.infobox.sisterproject {background-color:#f9fafd}

/* {{lj user}}, {{lj comm}}, {{lj synd}} */
.lj a { text-decoration: underline; font: bold small Verdana; background: none !important; padding: 0 !important; }
.lj img { vertical-align: -2px; }
/* {{hh user}} */
.habr { white-space: nowrap; }
.habr a { background: none !important; padding: 0 !important; }
.habr img { vertical-align: baseline; }
/* {{fs user}} */
.formspring { white-space: nowrap; }
.formspring a { background: none !important; padding: 0 0 0 1px !important; }
.formspring img { vertical-align: -2px; }
/* KML */
.GoogleEarthPlacemark img { vertical-align: middle; }
/* изображения, которые нужно выровнять по базовой линии текста */
.val-1 img { vertical-align: -1px; }
.val-2 img { vertical-align: -2px; }
.val-3 img { vertical-align: -3px; }
/* гиперссылки magnet: */
#bodyContent a.external[href ^="magnet:"] {
   background: url("/files/c/c2/Magnet-icon.gif") center right no-repeat;
   padding-right: 16px;
}
/* гиперссылки I2P: */
#bodyContent a.external[href *=".i2p" i] {
   background: url("/files/f/f5/I2P.png") center right no-repeat;
   padding-right: 18px;
}
/* гиперссылки Tor: */
#bodyContent a.external[href *=".onion" i] {
   background: url("/files/5/51/Onion.png") center right no-repeat;
   padding-right: 18px;
}

.IPA, .IPAchar {
	font-family: Arial Unicode MS, MS Mincho, Arial, Gentium, GentiumAlt, DejaVu Sans, Segoe UI, Lucida Grande, Charis SIL, Doulos SIL, TITUS Cyberbit Basic, Code2000, Lucida Sans Unicode, sans-serif;
                text-decoration: none;
  	font-size: 110%;
	font-style: normal;
	letter-spacing: 1px;
}

.Unicode {font-family: 'TITUS Cyberbit Basic', Code2000, 'Doulos SIL', 'Chrysanthi Unicode', 'Bitstream Cyberbit', 'Bitstream CyberBase', 'Bitstream Vera', Thryomanes, Gentium, GentiumAlt, 'Visual Geez Unicode', 'Lucida Grande', 'Arial Unicode MS', 'Microsoft Sans Serif', 'Lucida Sans Unicode'; font-family /**/:inherit}

.polytonic {font-family: Athena, Gentium, 'Palatino Linotype', 'Arial Unicode MS', 'Lucida Sans Unicode', 'Lucida Grande', Code2000; font-family /**/:inherit}

#wpSave {font-weight: bold}

blockquote { margin: 0.7em 0 0.7em 5%; padding: 0.7em 2% 0.7em 4%; background-color: #f5f5f5; }
blockquote.quoteTemplate { /* [[шаблон:цитата]] */
   margin-left:  0;  margin-right:  0;
   padding-left: 0;  padding-right: 0;
   background-color: inherit;
}

table.toccolours { text-align: center; } /* может напортить! */
table.toccolours th { background-color: #ccccff; }

/* См. Правила оформления таблиц */
table.simple {border-color: rgb(170,170,170); border-collapse: collapse}
table.simple th, table.simple td {border-color: rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em}

table.standard, table.wide, table.wikitable, table.standart { border: 1px solid rgb(170,170,170);
border-collapse: collapse; }

table.standard th, table.wide th, table.wikitable th, table.standart th {border: 1px solid rgb(170,170,170);
padding-left: 0.2em; padding-right: 0.2em; background-color: #EEEEFF; }

table.standard td, table.wide td, table.wikitable td, table.standart td {border: 1px solid rgb(170,170,170);
padding-left: 0.2em; padding-right: 0.2em; }

table.standard caption, table.wide caption, table.wikitable caption, table.standart caption, table.tiles caption
{font-weight: bold; padding-top: 0.2em; padding-bottom: 0.2em; }

table.wide {width: 100%; }

table.tiles {border-collapse: separate; border-spacing: 2px; }

table.tiles th {padding-left: 0.2em; padding-right: 0.2em; background-color: #EEEEFF; }

table.tiles td {padding-left: 0.2em; padding-right: 0.2em; background-color: #F0F0F0; }

tr.highlight th {background-color: #EEEEFF}
tr.highlight td {background-color: #FFFFEE}
tr.bright th {background-color: #CCCCFF}
tr.bright td {background-color: #FFEECC}
tr.shadow th {background-color: #F0F0F0}
tr.shadow td {background-color: #F0F0F0}
tr.dark th {background-color: #CCCCCC}
tr.dark td {background-color: #CCCCCC}

table th.highlight {background-color: #EEEEFF}
table td.highlight {background-color: #FFFFEE}
table th.bright {background-color: #CCCCFF}
table td.bright {background-color: #FFEECC}
table th.shadow {background-color: #F0F0F0}
table td.shadow {background-color: #F0F0F0}
table th.dark {background-color: #CCCCCC}
table td.dark {background-color: #CCCCCC} 

table th.transparent {background-color: transparent}
table td.transparent {background-color: transparent}

/* Добавление прозрачным изображениям клетчатого фона */
#file img {background: url("/files/5/5d/Checker-16x16.png") repeat;}

/* Медали. */
.gold   { background-color: #FFD020; }
.silver { background-color: #D0D0D0; }
.bronze { background-color: #cc9966; }

.allpagesredirect { font-style: italic; }

/*  {{Строчный блок}}
 *  http://habrahabr.ru/blogs/css/96152/
 *  ↑ http://www.smashingmagazine.com/2010/06/10/50-new-useful-css-techniques-tools-and-tutorials/
 *    ↑ http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/
 *      ↑ первоисточник
*/
.lineBlock {
   border: 0; margin: 0.3em 0.15em; padding: 0;

   display: -moz-inline-stack; /* ← Firefox 2 backwards compatibility */
   display: inline-block;
   vertical-align: top;

   /* ↓ IE6 & IE7 «hasLayout» voodoo */
   zoom: 1;
   *display: inline;
   /* ↑ IE6 & IE7 starhack ← http://www.ejeliot.com/blog/63 */
}
.lineBlock DIV.lbInner {
   margin: 0; border: 0; padding: 0;
}
.lineBlock div.tright {
  margin: 0;
}

/* Для [[Шаблон:Навигационная полоса|навигационных полос]] (из нем. Википедии) */
/*добавление Stylesheet для обычных навигационных полос */
 
div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 2px;
        border: 1px solid #aaa;
        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: #fff;
        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;
}
div.NavShow, div.NavHide {
		display: none;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}

.warningbox{
 background:#FFFF99;
 border:1px solid #EEEE00;
 padding:10px 10px 10px 60px;
 background-image:url('/files/thumb/6/62/Nuvola_apps_important.png/40px-Nuvola_apps_important.png');
 background-position:10px center;
 background-repeat:no-repeat;
 vertical-align:middle;
 font-size:smaller;
 min-height:55px;
}

.informationbox{
 background:#F4FBFF;
 border:1px solid #D5D9E6;
 padding:10px 10px 10px 60px;
 background-image:url('/files/thumb/2/28/Information.svg/40px-Information.svg.png');
 background-position:10px center;
 background-repeat:no-repeat;
 vertical-align:middle;
 font-size:smaller;
 min-height:55px;
}

.diffchange {
  border: 1px dotted #AAAAAA;
}

.dablink {
    font-style: italic;
    padding-left: 2em;
}
 
.dablink i {
    font-style: normal;
}

.stickybox {
    margin-top: 1.5em;
}

.stickybox + .stickybox {
    margin-top: 0;
}

small{font-size:90%}

/* Уменьшение высоты линии верхних и нижних индексов */
sup, sub {
    line-height: 1;
}

/*   Увеличение высоты того многострочного поля ввода,
 *   в которое вписывают описание загружаемого файла:
 */
#wpUploadDescription {
    height: 13em;
}

/* Перенос длинных строк моноширинного шрифта или кода.
 *     Невозбранно национализировано с /lm/:
 */
pre {
	overflow: auto;
    white-space: -o-pre-wrap;
    white-space: pre-wrap;
   	/* Ширина табуляции: */
	tab-size: 4 !important;
	-moz-tab-size: 4 !important;
	-o-tab-size: 4 !important;
}

/* [[Шаблон:Right-uppermost image]] */
.floating_object {
 position: absolute;
 right: 10px;
 top: 10px;
 z-index: 100;
 overflow: hidden;
}

/* Одинаковый отступ нумерованных и маркированных списков и определений глоссария */
#bodyContent ol, #bodyContent ul, #bodyContent dd {
   margin-left: 2.4em;
} /* но не у оглавлений: */
#bodyContent .toc ul { margin-left: 0; }
#bodyContent .toc ul ul { margin-left: 1.5em; }


/* Карта [[WikiLeaflet]] */
.wldata, .wikileaf .wldata * { display: none; }
.leafletLabel {
   font-size: 10px;
   line-height: 1;
   font-family: "PT Sans Caption", "Helvetica Neue", Arial, Helvetica, sans-serif;
   position: absolute;
   text-align: left;
   color: #000000;
   text-shadow:
      2px 2px 1px #ffffff,
      2px 0 1px #ffffff,
      2px -2px 1px #ffffff,
      0 -2px 1px #ffffff,
      -2px -2px 1px #ffffff,
      -2px 0 1px #ffffff,
      -2px 2px 1px #ffffff,
      0 2px 1px #ffffff;
}
/*
 * Нормальное выравнивание списков тайлов, даже когда карта в строчном блоке:
 */
.leaflet-control-layers-base {
	text-align: left !important;
}
/*
 * Поля всплывающих подсказок  на·карте:
 */
.leaflet-popup-content h2,
.leaflet-popup-content h3 {
    margin-top: -2ex;
}
/*
 * Таблицы во всплывающих подсказках на карте:
 */
.leaflet-popup-content table {
    font-size: x-small;
    border-collapse: collapse;
}
.leaflet-popup-content table tr {
    margin: 0px;
}
.leaflet-popup-content table th,
.leaflet-popup-content table td {
    color: #003060;
    margin: 0px;
    padding: 0.25ex 0.5em;
    border-top: solid thin #B0D0FF;
    vertical-align: top;
    text-align: left;
}
.leaflet-popup-content table th {
    border-right: solid thin #B0D0FF;
}
.leaflet-popup-content table tr:first-child td,
.leaflet-popup-content table tr:first-child th {
    border-top: none;
}

/*  Серая рамка вокруг карты на заглавной странице:  */
.page-Заглавная_страница .wikileaf,
.page-Шаблон_Карта_дня .wikileaf {
   border: 1px solid #cccccc !important;
}

/*
 * Стили Summary·— созданный Яковом стиль оформления семантической информационной панели.
 */

#p-summary p,
#p-summary dl,
div.p-summary p,
div.p-summary dl {
  margin: 0;
}

#p-summary dl,
div.p-summary dl {
  clear: both;
}

#p-summary,
#p-summary dl,
#p-summary dt,
#p-summary dd,
div.p-summary,
div.p-summary dl,
div.p-summary dt,
div.p-summary dd,
div.p-summary strong,
div.summarybox div.p-summary-title {
  line-height: 1.1;
}

#p-summary dt,
#p-summary dd,
#p-summary div.p-summary-line,
div.p-summary dt,
div.p-summary dd,
div.p-summary div.p-summary-line,
div.summarybox div.p-summary-line {
  border-top: 1px solid #ddd;
  padding: 0.35em 0em 0.3em;
  display: block;
  position: relative;
  overflow: hidden;
}

/* А. Машин, Tnavbar вправо: */
#p-summary div.p-summary-line #Tnavbar,
div.p-summary div.p-summary-line #Tnavbar {
  text-align: right;
  float     : right;
}

#p-summary,
div.p-summary {
  float: right;
  clear: right;
  width: 22.5em;
  background: white;
}

/* Значок: */
#p-summary div.floatleft {
	margin-right: 1em;
}

/*
 * Развёрнутый шаблон:
 */
#p-summary .wide,
div.p-summary.wide {
  width: 100%;
}

#p-summary,
div.p-summary,
div.summarybox {
  padding: 0.3em 0.5em 0.5em 0.75em;
  margin: 0 0 1em 1em;
  border-left: 3px solid #ccc;
}

#p-summary div.thumbinner,
div.p-summary div.thumbinner,
div.summarybox div.thumbinner {
  background: transparent;
  border-color: #ddd;
}

#p-summary img.thumbimage,
div.p-summary img.thumbimage,
div.summarybox img.thumbimage {
  border: none;
}

#p-summary thumbcaption,
div.p-summary thumbcaption,
div.summarybox thumbcaption {
  text-align: inherit;
}

#p-summary div.magnify,
div.p-summary div.magnify,
div.summarybox div.magnify {
  display: none;
}

#p-summary ol,
div.p-summary ol,
div.summarybox ol {
  margin-left: 2.5em;
  margin-top : 0;
  padding-top: 0;
}

#p-summary ul,
div.p-summary ul,
div.summarybox ul {
  margin-left: 1.5em;
  margin-top : 0;
  padding-top: 0;
}

#p-summary p br,
div.p-summary p br {
  display: none;
}

#p-summary blockquote br,
div.p-summary blockquote br {
  display: block !important;
}

#p-summary dt,
#p-summary div.p-summary-left,
div.p-summary dt,
div.p-summary div.p-summary-left {
  float: left;
  clear: both;
  width: 11em;
  font-weight: normal;
}

#p-summary dd,
#p-summary div.p-summary-right,
#p-summary dd,
div.p-summary div.p-summary-right {
  float: right;
  clear: none;
  margin: 0;
  width: 11em;
}

/*
 *  Ширина полей при развёрнутом шаблоне:
 */
#p-summary.wide dd,
#p-summary.wide div.p-summary-right,
div.wide.p-summary dd,
div.wide.p-summary div.p-summary-right {
  width: auto;
}

#p-summary strong.summarySection,
div.p-summary strong.summarySection {
  display: block; 
  clear: both;
  padding: 0.75em 0 0.5em;
  line-height: 1.1;
}

#p-summary strong.p-summary-title,
div.p-summary strong.p-summary-title {
  display: block; 
  font-size: large;
  padding: 0.25ex 0 0.25ex 0;
  width: 100%;
}

#p-summary div.p-summary-line,
div.p-summary div.p-summary-line {
  clear: both;
}

.p-summary-tools {
  margin-top: 0;
}

.p-summary-tools,
.p-summary-tools *,
.p-summary-tools a,
.p-summary-tools a:link,
.p-summary-tools a:active,
.p-summary-tools a:hover,
.p-summary-tools a:visited,
.p-summary-tools a:focus {
  color: #aaa;
  list-style-type: none;
  list-style-image: none;
  font-size: smaller;
  /* font-size: 9pt; */
  font-weight: normal;
}

div.summarybox .p-summary-title a,
div.summarybox .p-summary-title a:link,
div.summarybox .p-summary-title a:active,
div.summarybox .p-summary-title a:hover,
div.summarybox .p-summary-title a:visited,
div.summarybox .p-summary-title a:focus {
  color: inherit;
}

.p-summary-tools ul, 
.p-summary-tools ol {
  margin-left: 0.5em;
}
/*
 * Александр Машин, 1 апреля 2011 г.:
 *     показ <dl> внутри широкой строки стандартным образом.
 */
 
#p-summary div.p-summary-line dl,
div.p-summary div.p-summary-line dl,
#p-summary div.p-summary-line dt,
div.p-summary div.p-summary-line dt,
#p-summary div.p-summary-line dd,
div.p-summary div.p-summary-line dd {
  position: static;
  width: inherit;
  float: inherit;
  margin: inherit;
}

#p-summary div.p-summary-line dd,
div.p-summary div.p-summary-line dd {
  margin-left: 0.5em;
}

/*
 * Александр Машин, 7 декабря 2007 г.:
 *     добавление стиля для показа содержания внутри информационной панели,
 *     выдержанной в том же стиле.
 *     Используется в шаблонах «Шапка служебной страницы» и·«Текст»
 */
.tocinsummary *,
.tocinsummary * #toc,
.tocinsummary * .toctitle /*,
.tocinsummary * *,
.tocinsummary * * * */ {
  border: none;
  background: transparent;
}

.tocinsummary #toc,
.tocinsummary .toc,
.tocinsummary .toctitle {
  display: block;
}

/*
 * Александр Машин, 15·октября ·2009·г.:
 *     для полей ввода в·формах:
 */
div.summarybox input,
div.summarybox select {
  margin: 0;
  width: 100%;
  border: #C0FFFF solid thin;
  background: #E0FFFF;
  color: #006060;
}
div.summarybox input {
  font-family: monospace;
}

/*
 * Подсветка гиперссылок в формулах при·наведении:
 */
.MathJax a:hover {
    background-color: #FFFF80;
}

/*
 * Кавычки
 */
q, :lang(ru) q, q:lang(ru) {
    quotes: "\00AB" "\00BB" "\201E" "\201D";
    font-style: normal;
    font-family: inherit;
}
:lang(de) q, q:lang(de) {
    quotes: "\00BB" "\00AB" "\201E" "\201D"; 
}
:lang(en) q, q:lang(en) {
    quotes: "\201C" "\201D" "\2018" "\2019";
}
/*
 * Свежие правки:
 */
 /* Автоматическое поздравление: */
#mw-content-text div.congratulation {
	border: solid 2px;
	text-align: center;
	font-weight: bold;
	padding: 5px 4px;
	margin: 1em 0;
}
#mw-content-text div.xmas {
	color: #404080;
	border-color: #404080;
	background: #B0B0FF;
}
#mw-content-text div.easter {
	color: #909040;
	border-color: #909040;
	background: #FFFFC0;
}

/*
 * Навигационные таблицы
 */
/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
    background: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 2px;
    width: 100%;
    margin: auto;
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;      /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    line-height: 1.8em;
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
    background: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)       */
}
.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: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}
/* Style for horizontal lists (separator following item) */
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl,
.skin-timeless .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
}
.hlist dd,
.hlist dt,
.hlist li { 
    display: inline;
    margin: 0;
}
/* Display nested lists inline */
.hlist dl dl,
.hlist ol ol,
.hlist ul ul {
    display: inline;
}
/* Generate interpuncts */
.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;
}
/* for IE 8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
    content: none;
}
/* Add parens around nested lists */
.hlist dl dl dd:first-child:before,
.hlist ol ol li:first-child:before,
.hlist ul ul li:first-child:before {
    content: "(";
}
.hlist dl dl dd:last-child:after,
.hlist ol ol li:last-child:after,
.hlist ul ul li:last-child:after {
    content: ")";
    font-weight: normal;
}
/* For IE8 */
.hlist dl dl dd.hlist-last-child:after,
.hlist ol ol li.hlist-last-child:after,
.hlist ul ul li.hlist-last-child:after {
    content: ")";
    font-weight: normal;
}
/* Put numbers in ordered lists */
.hlist.hnum ol li {
    counter-increment: level1;
}
.hlist.hnum ol li:before {
    content: counter(level1) " ";
}
.hlist.hnum ol ol li {
    counter-increment: level2;
}
.hlist.hnum ol ol li:first-child:before {
    content: "(" counter(level2) " ";
}
.hlist.hnum ol ol li:before {
    content: counter(level2) " ";
}
/*
 * Навигация в виде ярлычков
 */
.tabbed {
	width: min-content;
}
.tabbed .row {
	display: flex;
	margin-top: 0.5ex;
}
.tabbed .row div {
	flex: 1 0 auto;
	text-align: center;
	white-space: nowrap;
	margin: 0;
	min-width: 1em;
	padding: 0 0.2em;
	background: #F0F0F0;
	border-left: solid gray 1px;
	border-top: solid gray 2px;
	border-right: solid gray 1px;
	border-bottom: solid black 2px;
}
.tabbed .row .current {
	font-weight: bold;
	background: white;
	border-bottom: none;
	border-left: solid black 2px;
	border-top: solid black 2px;
	border-right: solid black 2px;
}

.geo-default {
 display:inline 
}
.geo-nondefault {
 display:none 
}
/*
 * Десятичные координаты скрыть:
 */
 .geo-default { display: inline }
 .geo-nondefault { display: none }
 /*
  * в·личных скриптах можно использовать:
  * .geo-dec { display: none }
  * .geo-dms { display: inline }
  *
  */

/*
 * Иностранные языки:
 */
.foreign-lang {
	font-style: italic;
}
/* Нелатинские и некириллические надписи курсивом не·выделяем. */
.foreign-lang:lang(chu), .foreign-lang:lang(cu), .foreign-lang:lang(orv),
.foreign-lang:lang(grc), .foreign-lang:lang(gkm), .foreign-lang:lang(el),
.foreign-lang:lang(zh), .foreign-lang:lang(ja), .foreign-lang:lang(bo),
.foreign-lang:lang(ar), .foreign-lang:lang(he), .foreign-lang:lang(yi),
.foreign-lang:lang(sa), .foreign-lang:lang(hi), .foreign-lang:lang(mr),
.foreign-lang:lang(sux), .foreign-lang:lang(akk),
.foreign-lang:lang(ko) {
	font-style: normal !important;
}
/* Language-specific: */
.foreign-lang:lang(chu), .foreign-lang:lang(cu), .foreign-lang:lang(orv) { 
	font-family: /* 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'; 
	font-size: 120%;
}
@font-face {
	font-family: 'BukyVede';
	src: local('BukyVede'), url('/fonts/BukyVede-Regular.ttf') format('opentype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'BukyVede';
	src: local('BukyVede Italic'), url('/fonts/BukyVede-Italic.ttf') format('opentype');
	font-weight: normal;
	font-style: italic;
}
@font-face {
	font-family: 'BukyVede';
	src: local('BukyVede Bold'), url('/fonts/BukyVede-Bold.ttf') format('opentype');
	font-weight: bold;
	font-style: normal;
}
/*
@font-face {
	font-family: 'BukyVede';
	src: local('BukyVede Light'), url('/fonts/BukyVede-Light.ttf') format('opentype');
	font-weight: lighter;
}
*/
.foreign-lang:lang(grc), .foreign-lang:lang(gkm), .foreign-lang:lang(el) {
	font-family: 'new athena unicode', athena, gentium, code2000, 'palatino linotype', 'DejaVu Serif', 'FreeSerif', serif;
	font-size: 110%;
}
.foreign-lang:lang(he), .foreign-lang:lang(yi) {
	font-family:'SBL Hebrew', david, narkisim, 'DejaVu Serif', 'FreeSerif', serif;
	font-size:125% !important;
}
.foreign-lang:lang(ar) {
	font-family:'KacstBook', 'DejaVu Serif', 'FreeSerif', serif;
	font-size:140% !important;
}
.foreign-lang:lang(fa) {
	font-family:'KacstFarsi', 'DejaVu Serif', 'FreeSerif', serif;
	font-size:125% !important;
}
.foreign-lang:lang(ja), .foreign-lang:lang(zh) {
	font-family: 'Noto Sans CJK TC Regular', 'Microsoft Sans Serif', 'DejaVu Serif', 'FreeSerif', serif;
	font-size:110% !important;
}
.foreign-lang:lang(sux), .foreign-lang:lang(akk) {
	font-family:Akkadian, "Free Idg Serif", serif;
}

/*
 * Glagolitic font is too small:
 */
.glagolitic {
	/* Add fonts later */
	font-size:120% !important;
}

/*
 * Подавление назойливого сообщений SMW 1.30 на·страницах категорий
 */
#smw-category-change-propagation-pending {
	display: none;
}

/*
 * Значок в сообщениях:
 */
.ambox-image div {
	margin: 0 1em;
}

/*
 * Фон в слайд-шоу в "Изображении дня"
 */
.imageoftheday {
	background-color: #FDFFF5;
}

/* Гиперссылки в SVG, например, GraphViz: */
svg a {
	fill: blue;
}
svg a:visited {
	fill: purple;
}
svg a[xlink-href$="redlink=1"] {
	fill: red;
}

/* Индикатор SMW */
.smw-entity-examiner {
	display: none;
}