MediaWiki:Common.css
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* ! Мобильные устройства не используют [[MediaWiki:Common.css]].
При добавлении правил, которые должны также действовать в мобильной версии,
не забудьте добавить аналогичные в [[MediaWiki:Minerva.css]] или [[MediaWiki:Mobile.css]].
(см. [[mw:Manual:Mobiles, tablets and responsive design]], [[mw:Skin:Minerva_Neue]], [[mw:Extension:MobileFrontend]]) */
/* Интерфейс: панельки, кнопочки и др. */
@import url("/w/index.php?title=MediaWiki:Interface.css&action=raw&ctype=text/css") screen;
/* Макияж: недостатки скрываем, достоинства подчеркиваем */
@import url("/w/index.php?title=MediaWiki:Fixes.css&action=raw&ctype=text/css") screen;
/* Для тестов */
@import url("/w/index.php?title=MediaWiki:Test.css&action=raw&ctype=text/css") screen;
/********************************** Для прозы *********************************/
/* Простой класс с отступом и выравниванием по ширине */
.indent p {
text-indent: 1.6em;
margin-bottom: 0;
margin-top: 0;
text-align: justify;
}
/* Класс .narrow для OCR (в [[MediaWiki:Proofreadpage header template]]):
можно использовать с .indent, .indent-indent или отдельно
*/
.narrow {
max-width: 84ex;
margin: auto;
}
/* Пагинация. Вызывается из [[MediaWiki:Proofreadpage pagenum template]]. */
span.pagenumber {
position: absolute;
left: 1em;
text-indent: 0em;
text-align: left;
font-size: 80%;
font-weight: normal;
font-style: normal;
line-height: 1.5;
}
/* Класс .text (из Wikilivres)
Основной класс для оформления прозы, шрифты с засечками
*/
div.text {
max-width: 84ex;
text-align: justify;
margin: 0 auto;
font-family: /* Windows */ Cambria, Times New Roman, Times, /* Ubuntu */ FreeSerif, Noto Serif, serif,
/* Если символ не найден, но использовался в гражданских шрифтах (символы "ук, а йотированное" и т.п.),
пробуем подгрузить из церк.-слав. webfont, относительно похожего на гражданский шрифт */ Monomakh Unicode,
/* иначе ищем в шрифтах без засечек: */ sans-serif, /* Windows 10: */ Calibri, Segoe UI;
font-size: 120%;
}
.page-Заглавная_страница div.text { /* -- для загл. страницы -- */
width: auto;
max-width: 84ex;
}
.text p {
text-indent: 1.6em;
line-height: 1.25;
}
div#content .text dd, div#content .text li { line-height: 1.25 !important; }
.text sup { font-size: 80% !important; }
.text pre {
background-color: #ffffff;
font-family: serif;
line-height: 150%;
border: 0;
padding-left: 2em;
margin: 0;
white-space: pre;
}
.text table {
margin: 0 auto;
}
/* -- коррекция стилей для .text -- */
.text .editsection {
position: absolute;
right: 0;
}
.text .thumbcaption {
line-height: 1.25;
font-size: small;
}
.text #toc,
.text .toc {
margin-left: 0;
font-size: 80%
}
.text ol.references {
line-height: 1.25;
/*font-size: small;*/
}
/* Классы .article, .innertext — для энц. статей */
div.text.article {
border-bottom: 1px solid #aaa;
padding-bottom: 1ex;
}
div.innertext {
max-width: 84ex;
margin: auto;
padding-bottom: 1ex;
}
/* Для {{noindent}} */
.indent p span.noindent,
.text p span.noindent,
.pagetext p span.noindent,
.serif-indent p span.noindent {
margin-left: -1.6em;
}
/* Для {{noindent|текст}} */
.indent p.noindent,
.text p.noindent,
.pagetext p.noindent,
.serif-indent p.noindent {
text-indent: 0;
}
/* Для <div class='text noindent'> */
div.noindent p,
.noindentafter + p, .nia + p {
text-indent: 0;
}
/********************************* Для стихов *********************************/
/* Класс poem используется в теге <poem>.
text-indent:0em убирает отступ первой строки,
а margin-bottom: 0ex и margin-top: 0ex убирают лишнюю добавку
к межстрочному интервалу при использовании нескольких смежных тегов <poem>
*/
.poem p {
text-indent: 0 !important;
text-align: left;
margin-bottom: 0;
margin-top: 0;
}
.poetry div.centered > p {
text-align: center;
}
/* Класс .poetry — для простых стихов; реализован через {{poemx|mode=var}}
Класс .drama — для сложных стихов, стихотворной драмы и OCR;
реализован через {{poemx|mode=fix*}}
*/
div.poetry .poem { /* -- строфа -- */
display: table;
margin: 1em auto;
}
/* Класс drama - для драматических текстов в стихах и смешанных (с прозой)
* стандартный отступ слева для стихов: 24ex
* классы для уменьшенного отступа: p0, p00, p000
* для увеличенного: p1, p2, p3
* rem - ремарка с выравниванием по центру, rem2 - по ширине
*/
@media screen and (min-device-width: 600px) {
.drama .poem > p,
.f12 .poem > p, .drama .poem.f12 > p {
margin-left: 12rem;
margin-left: max(0px, min(calc(50% - 9rem), 12rem)); /* для ширины .text < 84ex */
text-indent: 0;
}
.f4 .poem > p, .drama .poem.f4 > p {
margin-left: 4rem;
margin-left: max(0px, min(calc(50% - 17rem), 4rem));
}
.f5 .poem > p, .drama .poem.f5 > p {
margin-left: 5rem;
margin-left: max(0px, min(calc(50% - 16rem), 5rem));
}
.f6 .poem > p, .drama .poem.f6 > p {
margin-left: 6rem;
margin-left: max(0px, min(calc(50% - 15rem), 6rem));
}
.f7 .poem > p, .drama .poem.f7 > p {
margin-left: 7rem;
margin-left: max(0px, min(calc(50% - 14rem), 7rem));
}
.f8 .poem > p, .drama .poem.f8 > p {
margin-left: 8rem;
margin-left: max(0px, min(calc(50% - 13rem), 8rem));
}
.f9 .poem > p, .drama .poem.f9 > p {
margin-left: 9rem;
margin-left: max(0px, min(calc(50% - 12rem), 9rem));
}
.f10 .poem > p, .drama .poem.f10 > p {
margin-left: 10rem;
margin-left: max(0px, min(calc(50% - 11rem), 10rem));
}
.f11 .poem > p, .drama .poem.f11 > p {
margin-left: 11rem;
margin-left: max(0px, min(calc(50% - 10rem), 11rem));
}
.f13 .poem > p, .drama .poem.f13 > p {
margin-left: 13rem;
margin-left: max(0px, min(calc(50% - 8rem), 13rem));
}
.drama .p1 > p,
.f14 .poem > p, .drama .poem.f14 > p {
margin-left: 14rem;
margin-left: max(0px, min(calc(50% - 7rem), 14rem));
}
.f15 .poem > p, .drama .poem.f15 > p {
margin-left: 15rem;
margin-left: max(0px, min(calc(50% - 6rem), 15rem));
}
.drama .p2 > p,
.f16 .poem > p, .drama .poem.f16 > p {
margin-left: 16rem;
margin-left: max(0px, min(calc(50% - 5rem), 16rem));
}
.f17 .poem > p, .drama .poem.f17 > p {
margin-left: 17rem;
margin-left: max(0px, min(calc(50% - 4rem), 17rem));
}
.f18 .poem > p, .drama .poem.f18 > p {
margin-left: 18rem;
margin-left: max(0px, min(calc(50% - 3rem), 18rem));
}
}
/* тонкая настройка */
.pplus {
padding-left: 1rem;
}
.ns-104 .pplus {
padding-left: 2.5%;
}
/* для отделения от смежных блоков */
.apart {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
/* Настройки .poetry и .drama: */
div.poetry .title,
div.drama .title,
.pagetext .title { /* -- заголовок -- */
font-size: larger;
text-align: center;
text-indent: 0;
margin: 1em auto;
}
div.poetry .subtitle,
div.drama .subtitle { /* -- подзаголовок -- */
font-style: italic;
text-align: center;
text-indent: 0;
}
.subtitle { margin: 1em auto; }
.poem > .title, .poem > .subtitle { display: inline-block; width: 100%;}
.poem > .subtitle { margin: 0; }
.title.upper { text-transform: uppercase; }
.title.bold { font-weight: bold; }
.title p, .subtitle p { text-indent: 0; }
table.poetry .poem-title,
table.poetry .title { /* -- заголовок {{poemx}} без mode -- */
text-align: left;
border-bottom: 1px solid #aaa;
line-height: 1.25;
font-weight: bold;
}
table.poetry .title {
margin-bottom: 1em;
font-size: larger;
}
.drama .poem-title,
div.poetry .poem-title { /* -- то же, с mode -- */
text-align: center;
line-height: 1.25;
}
table.poetry .poem-section { /* -- заголовок строфы: без mode -- */
display: inline-block;
width: 100%;
font-weight: bold;
text-align: center;
color: black;
background: none;
border-bottom: 1px solid #aaa;
}
.pagetext .poem-section,
.drama .poem-section,
div.poetry .poem-section { /* -- то же, с mode и в ПИ Страница -- */
display: inline-block;
width: 100%;
font-weight: bold;
text-align: center;
text-indent: 0;
}
.drama .poem-center, .poetry .poem-center {
display: inline-block;
width: 100%;
text-align: center;
}
.drama .poem-para, .poetry .poem-para {
display: inline-block;
width: 100%;
text-align: justify;
text-indent: 1.6em;
}
/* Реплики и ремарки */
div.drama div.re,
.poetry .re {
display: inline-block;
text-align: center;
width: 100%;
margin:1ex 0;
}
.re + p {
margin-top:0;
}
div.rem {
width: 100%;
text-align: center;
font-size: smaller;
line-height: 1.25;
margin-top: 1em !important;
margin-bottom: 1em !important;
}
div.drama div.poem > div.rem {
display: inline-block;
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.rem2 {
text-align: justify;
text-indent: 0 !important;
font-size: smaller;
line-height: 1.25;
margin: 1.5em 0 !important;
text-align-last: center;
-moz-text-align-last: center;
}
/* Для списков действующих лиц */
.text .personae {
border-collapse: collapse;
margin: 2em 0;
width: 100%;
}
.personae + .personae {
margin-top: -2em;
}
.personae td {
padding: 0;
text-align: justify;
}
.personae td:first-child {
padding: 0 0 0 1.6em;
text-indent: -1.6em;
}
.personae caption {
font-size: larger;
font-weight: bold;
margin-bottom: 0.5em;
}
/* Для стихов в прозе: */
.poem-small .poem > p, .poem.mini > p {
font-size: smaller;
}
.poem-fixed .poem > p, .poem-fixed10 .poem > p {
margin-left: 10rem;
}
.poem-fixed8 .poem > p {
margin-left: 8rem;
}
.poem-fixed12 .poem > p {
margin-left: 12rem;
}
/* .italic — добавляет курсив */
.italic {
font-style: italic;
}
/* Класс .verse — устаревший, не рекомендуется к использованию */
.verse { padding-left: 5em }
.verse pre {
margin: 0;
margin-bottom: 0;
margin-top: 0;
font-size: 100%;
font-family: sans-serif;
border: 0;
color: inherit;
background-color: #ffffff;
line-height: 150%;
}
.verse .mw-heading2,
.verse .mw-heading3,
.verse .mw-heading4,
.verse .mw-heading5 {
padding-left: 3em;
text-align: left;
padding-bottom: 0;
}
.verse p {
padding-left: 1em;
text-align: left;
}
/*********************************** Языки ************************************/
/* Дореформенная орѳографія */
#old_spelling { font-size: 120% }
#old_spelling .text { font-size: 100% }
.serif,
.serif-indent {
font-family: /* Windows */ Cambria, Times New Roman, Times, /* Ubuntu */ FreeSerif, Noto Serif, serif,
/* Если символ не найден, но использовался в гражданских шрифтах (символы "ук, а йотированное" и т.п.),
пробуем подгрузить из церк.-слав. webfont, относительно похожего на гражданский шрифт */ Monomakh Unicode,
/* иначе ищем в шрифтах без засечек: */ sans-serif, /* Windows 10: */ Calibri, Segoe UI;
}
.serif-indent p {
text-indent: 1.6em;
margin-bottom: 0;
margin-top: 0;
text-align: justify;
}
/* Греческий */
.lang-grc,
.lang-el {
font-family: Palatino Linotype, FreeSerif, Athena, Gentium, Code2000, serif;
font-size: 110%;
}
.greek {
font-family: Palatino Linotype, FreeSerif, Athena, Gentium, Code2000, serif;
}
/* Иврит */
.lang-he {
font-family: Times New Roman, serif;
font-size: 120%;
}
.text .lang-grc,
.text .lang-el,
.text .lang-he,
.headertemplate .lang-grc,
.headertemplate .lang-el,
.headertemplate .lang-he,
.header_notes .lang-grc,
.header_notes .lang-el,
.header_notes .lang-he {
font-size: 100%
}
/* Грузинский */
.lang-ka {
font-family: Arial Unicode MS, Everson Mono, DejaVu Sans, DejaVu Serif, FreeSerif, FreeSans, TITUS Cyberbit Basic, Calibri, Segoe UI, Sylfaen, sans-serif;
}
/****************************** Шаблон заголовка ******************************/
table.headertemplate {
width: 100%;
border: 1px solid #ADA;
background: #E4F2E4;
text-align: center;
font-size: 0.9em;
}
.headertemplate .header_backlink,
.headertemplate .header_forelink {
width: 20%;
font-size: 0.9em;
}
.headertemplate .header_title { width: 60%; }
.headertemplate .header_backlink { text-align: left; }
.headertemplate .header_forelink { text-align: right; }
.header_notes {
width: 100%;
border-bottom: 1px solid #A88;
background: #FAFAFF;
font-size: 0.9em;
}
body.ns-0 h2, body.ns-0 h3, body.ns-0 h4, /* старая разметка, удалить после MediaWiki 1.44 */
body.ns-10 h2, body.ns-10 h3, body.ns-10 h4, /* старая разметка, удалить после MediaWiki 1.44 */
body.ns-104 h2, body.ns-104 h3, body.ns-104 h4, /* старая разметка, удалить после MediaWiki 1.44 */
body.ns-0 .mw-heading2, body.ns-0 .mw-heading3, body.ns-0 .mw-heading4,
body.ns-10 .mw-heading2, body.ns-10 .mw-heading3, body.ns-10 .mw-heading4, /* для предпросмотра в шаблонах */
body.ns-104 .mw-heading2, body.ns-104 .mw-heading3, body.ns-104 .mw-heading4 {
text-align: center
}
div.portal .mw-heading3 {text-align: left}
/* [[Википедия:Оформление таблиц]] */
table.standard, table.wide
{border:1px solid #AAAAAA; border-collapse: collapse}
table.standard th, table.wide th, table.wikitable th
{border:1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#EEEEFF;text-align:center}
table.standard td, table.wide td
{border: 1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#FFFFFF}
table.standard caption, table.wide caption, table.tiles caption
{font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em}
table.wide {width: 100%}
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}
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}
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
table.graytable caption {padding:0.5em 0 0 0; background:#f0f0f0; font-size:100%; font-weight:bold}
table.graytable caption span.subcaption {font-size:80%; font-weight:normal}
table.graytable th, table.graytable td {font-size:80%}
table.wikitable, table.prettytable
{margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAAAAA; border-collapse:collapse}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td
{border:1px solid #AAAAAA; padding:0.2em}
table.wikitable caption, table.prettytable caption
{margin-left:inherit; margin-right:inherit; font-size:larger; font-weight:bold}
table.prettytable th
{background:#f2f2f2}
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, tr.shadow td {background-color: #F0F0F0}
tr.dark th, 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, table td.shadow {background-color: #F0F0F0}
table th.dark, table td.dark {background-color: #CCCCCC}
table th.transparent, table td.transparent, .transparent {background-color: transparent}
table.toccolours th {background-color: #ccccff}
/*****
** Bytecounter colours
*****/
.mw-plusminus-pos {color:#006400}
.mw-plusminus-neg {color:#8B0000}
/*
* Navigation Tabs
*/
.navtabs .tabs li { list-style:none; }
.navtabs .tabs a {
text-decoration:none;
text-transform:uppercase;
outline-width:0px;
font-size:x-small;
font-weight:bold;
color:black;
}
.navtabs .tabs .inactive { background:#bbb; padding:1ex; }
.navtabs .tabs .selected { background:#999; padding:1.1ex; }
.navtabs .tabs .inactive:hover { background:#f75; }
.navtabs .contents { padding:1ex; border:3px solid #999; }
.DPLFlat li {
display: inline;
padding-right: 0.5em;
margin-right: 0.5em;
border-right: 1px solid #AAA;
}
.DPLFlat > ul > li {
padding-right:0px;
margin-right:0px;
border-right:0px;
}
.DPLFlat li+li {
padding-left: 0.5em;
margin-left: 0.5em;
border-left:1px solid #aaa;
}
#siteSub { /* "Материал из Викитеки — свободной библиотеки" */
display: inline;
font-size: 92%;
font-weight: normal;
}
#toc {margin-top: 0.5em}
#ca-edit a {font-weight: bold} /* encourage newcomers */
/* Hide some stuff on the main page */
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #lastmod,
body.page-Заглавная_страница #siteSub,
body.page-Заглавная_страница #contentSub,
body.page-Заглавная_страница h1.firstHeading {
display: none !important
}
/* Smaller "Перейти" (Go) button, so buttons fit on one line */
#searchGoButton {padding: 0}
.portlet li { /* slightly different bullet, compat. with li.FA star */
list-style-image: url('//upload.wikimedia.org/wikipedia/commons/1/18/Monobook-bullet.png')
}
/* Gecko rounded corners */
.pBody
{
padding: 0.3em 0.1em;
-moz-border-radius-topright: 0.5em;
}
.portlet h5
{
background-color: #e0e3e6;
border: thin solid silver;
-moz-border-radius-topright: 0.5em;
}
#p-cactions ul li, #p-cactions ul li a
{
-moz-border-radius-topright: 0.5em;
-moz-border-radius-topleft: 0.5em;
}
/* Для корректной работы <nowiki><imagemap></nowiki> */
/* li div {display:inline;} !important */
/* FlaggedRevs */
#mw-revisiontag, #mw-revisiontag-edit, #mw-oldreviewed-notice, li#ca-stable,
.fr-diff-ratings, div.fr-diff-to-stable, ul#pagehistory small {display:none}
.flaggedrevs-unreviewed, .flaggedrevs-unreviewed2, .flaggedrevs-color-1 {background-color:transparent}
/*Special:Statistics*/
.statistics-group-import, .statistics-group-transwiki, .statistics-group-developer,
.statistics-group-boardvote, .statistics-group-steward {display:none}
/* Для улучшения отображения верхних и нижних индексов */
sub, sup {
font-size: 80%;
line-height: 100%;
}
/* Для цитат */
blockquote {
margin:0.7em 0 0.7em 5%;
padding:0.7em 2% 0.7em 4%;
background-color:#F5F5F5;
}
/********************************* Для сносок *********************************/
.reference {
text-indent: 0;
}
ol.references {
font-size: 100%;
}
.references-small {
font-size: 90%;
}
sup.reference { /* non-italic reference markers */
font-style: normal;
font-size: 70% !important;
white-space: pre;
letter-spacing: normal;
}
/* highlight focused footnotes and references in some browsers */
sup.reference:target,
ol.references li:target,
cite:target {
background-color:#DDEEFF;
}
sup.reference:target {
font-weight:bold;
}
/* scrollable references */
.references-scroll {
overflow: auto;
padding: 3px;
}
/* fix for line-breaking references */
sup, sub {line-height:1em}
/* poem block starting reference text; refs entirely of poem blocks */
.mw-cite-backlink + .poem,
/*.reference-text > .poem:first-child,*/
.vars .reference-text {
display: inline-block;
vertical-align: top;
}
/* fix for <poem> in comments */
.up1em {
margin-top: -1em;
}
.left6 .reference-text { margin-left: 6em; }
.left8 .reference-text { margin-left: 8em; }
.left10 .reference-text { margin-left: 10em; }
.left12 .reference-text { margin-left: 12em; }
.reference-text > .p12 { margin-left: 12ex; }
.reference-text > .p16 { margin-left: 16ex; }
.reference-text > .p20 { margin-left: 20ex; }
.reference-text > .p24 { margin-left: 24ex; }
/* T156351: Support for Parsoid's Cite implementation */
@counter-style custom-backlink {
system: alphabetic;
symbols: 'а' 'б' 'в' 'г' 'д' 'е' 'ё' 'ж' 'з' 'и' 'й' 'к' 'л' 'м' 'н' 'о' 'п' 'р' 'с' 'т' 'у' 'ф' 'х' 'ц' 'ч' 'ш' 'щ' 'ъ' 'ы' 'ь' 'э' 'ю' 'я';
}
span[ rel="mw:referencedBy" ] {
counter-reset: mw-ref-linkback 0;
}
span[ rel="mw:referencedBy" ] > a::before {
font-weight: bold;
font-style: italic;
content: counter( mw-ref-linkback, custom-backlink );
}
/* CSS-стили для нумерованых списков
* Число после list означает уровень вложености, например:
* arabic_list_2 - нумерация арабскими цифрами списков 2 уровня
* roman_list_3 - нумерация римскими цифрами списков 3 уровня
* Пример — нумерация римскими цифрами списков 1 и 3 уровня и арабскими цифрами списков 2 уровня:
* <div class="roman_list arabic_list_2 roman_list_3 ">
* # abc1
* ## abc1.1
* ## abc1.2
* ### abc1.2.1
* ### abc1.2.2
* ### abc1.2.2
* ## abc1.3
* # abc2
* # abc3
* # abc4
* </div>
*/
.roman_list ol li {
list-style-type: upper-roman;
}
.roman_list_2 ol li ol li, .roman_list_2 ul li ol li {
list-style-type: upper-roman;
}
.roman_list_3 ol li ol li ol li, .roman_list_3 ul li ol li ol li, .roman_list_3 ul li ul li ol li, .roman_list_3 ol li ul li ol li {
list-style-type: upper-roman;
}
.arabic_list ol li {
list-style-type: decimal;
}
.arabic_list_2 ol li ol li, .arabic_list_2 ul li ol li {
list-style-type: decimal;
}
.arabic_list_3 ol li ol li ol li, .arabic_list_3 ul li ol li ol li, .arabic_list_3 ul li ul li ol li, .arabic_list_3 ol li ul li ol li {
list-style-type: decimal;
}
/* Cтили для поддержки ссылок в шаблонах 2O, 2OR и им подобных */
span.oldspell_link a {
padding-left: 10px;
padding-right: 10px;
line-height: 22px;
font-size: 20px;
background-color: transparent;
background-attachment: scroll;
background-repeat: no-repeat;
background-position-x: center;
background-position-y: center;
background-image: url("//upload.wikimedia.org/wikisource/ru/b/bb/Yat_round_icon.png");
}
span.oldspell_link a.new {
background-image: url("//upload.wikimedia.org/wikisource/ru/d/d8/Yat_round_icon_red.png");
}
span.oldspell_link a:hover {
text-decoration: none;
}
span.newspell_link a {
padding-left: 10px;
padding-right: 10px;
line-height: 22px;
font-size: 20px;
background-color: transparent;
background-attachment: scroll;
background-repeat: no-repeat;
background-position-x: center;
background-position-y: center;
background-image: url("//upload.wikimedia.org/wikisource/ru/7/7f/Yat_round_icon_crossed.png");
}
span.newspell_link a.new {
background-image: url("//upload.wikimedia.org/wikisource/ru/0/0d/Yat_round_icon_red_crossed.png");
}
span.newspell_link a:hover {
text-decoration: none;
}
span.rightnumber {
position: absolute;
right: -9ex;
font-size: 70%;
color: #00f;
width: 6ex;
text-align: right;
}
span.error1 {
color: red;
border-bottom: 1px dotted;
cursor: help;
}
span.error2 {
color: darkred;
border-bottom: 1px dotted;
cursor: help;
}
/* Hanging indent */
div.hanging p {
margin-left: 2em;
text-indent: -2em;
}
div.hanging2 p {
margin-left: 2ex;
text-indent: -2ex;
}
/* Allow to disable numbering in TOC on per-page basis */
.noautonum .tocnumber {
display: none;
}
/* Rotated text */
span.rotate1, span.rotate2, span.rotate3 {
display: inline-block;
text-indent: 0px;
}
span.rotate1 {
-o-transform:rotate(90deg);
-ms-transform:rotate(90deg);
-moz-transform:rotate(90deg);
-webkit-transform:rotate(90deg);
transform:rotate(90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}
span.rotate2 {
-o-transform:rotate(180deg);
-ms-transform:rotate(180deg);
-moz-transform:rotate(180deg);
-webkit-transform:rotate(180deg);
transform:rotate(180deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
span.rotate3 {
-o-transform:rotate(270deg);
-ms-transform:rotate(270deg);
-moz-transform:rotate(270deg);
-webkit-transform:rotate(270deg);
transform:rotate(270deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
/* для текста в таблицах */
span.rot1, span.rot2, span.rot3 {
display: inline-block;
text-indent: 0;
}
span.rot1, span.rot3 {
writing-mode: vertical-rl;
}
span.rot2, span.rot3 {
-o-transform:rotate(180deg);
-ms-transform:rotate(180deg);
-moz-transform:rotate(180deg);
-webkit-transform:rotate(180deg);
transform:rotate(180deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
/* У нас для большинства страниц есть шаблон "О тексте", поэтому большой отступ лишний*/
#contentSub {
margin-bottom: 0.4em;
}
/* Для списка редакций */
td#editions {
position: relative;
}
div#editions_toggle {
float:right;
position:relative;
cursor:pointer;
}
div#editions_toggle p {
margin:0;
color: #909;
}
div#editions_cont {
display:none;
position:absolute;
top: 2em;
right:0;
white-space:nowrap;
background-color:white;
border:1px solid steelblue;
padding:0 5px;
text-align:left;
z-index: 999;
}
#editions_cont table {
border-collapse: collapse;
}
#editions_cont td {
padding: 0;
}
/*#editions_cont td:first-child {
padding-right: 1em;
}*/
/* {{math}} */
.math-template {
white-space: nowrap;
font-family: times, serif, palatino linotype, new athena unicode, athena, gentium, code2000;
font-size: 120%;
}
.bg_logo {
background: transparent url("//upload.wikimedia.org/wikipedia/commons/e/e1/Wikisource-logo-sfondo.png") no-repeat scroll 0% 0%;
}
/* Unbulleted lists */
.plainlist ul {
line-height: inherit;
list-style: none;
margin: 0;
}
.plainlist ul li {
margin-bottom: 0;
}
/* Поддержка шаблона Dotted TOC */
.dottedtoc-cell-1 {
width:2.5em;
max-width:2.5em;
padding-right:0.5em;
vertical-align:top;
text-align:right;
}
.dottedtoc-cell-2-1 {
width:100%;
position:relative;
}
.dottedtoc-cell-2-1-1 {
max-width:80%;
text-align:left;
text-indent:-3em;
margin-left:3em;
}
.dottedtoc-cell-2-1-1-1 {
display:inline;
position:relative;
padding-right:0.5em;
background:white;
z-index:2;
}
.dottedtoc-cell-2-1-2 {
position:absolute;
left:0;
bottom:0;
width:3em;
height:0.75em;
background:white;
z-index:1;
}
.dottedtoc-cell-2-1-3 {
position:absolute;
width:100%;
right:0;
bottom:0;
z-index:0;
overflow:hidden;
white-space:nowrap;
text-align:right;
}
.dottedtoc-cell-2-1-3-1 {
float:right;
}
.dottedtoc-cell-3 {
vertical-align:bottom;
text-align:right;
padding-left:0.5em;
width:2em;
}
/* Для архивов обсуждений (Шаблон Closed) */
.toc li {
border-spacing: 0;
}
/* ПИ Страница */
/* первый абзац */
.ns-104 .indent > p:first-of-type,
.ns-104 .serif-indent > p:first-of-type,
.ns-104 .serif > p:first-of-type,
.ns-104 .text > p:first-of-type,
.ns-104 .mw-parser-output > p:first-of-type,
/* первый абзац СО (шаблон ВАР) */
.ns-104 .indent > .newspell + p,
.ns-104 .serif-indent > .newspell + p,
.ns-104 .serif > .newspell + p,
.ns-104 .text > .newspell + p,
.ns-104 .mw-parser-output > .newspell + p {
text-indent: 0;
}
.noindentfirst p:first-of-type,
.noindentfirst .newspell + p {
text-indent: 0;
}
.ns-104 .indent > p:first-of-type > br:only-child,
.ns-104 .serif-indent > p:first-of-type > br:only-child,
.ns-104 .serif > p:first-of-type > br:only-child,
.ns-104 .text > p:first-of-type > br:only-child,
.ns-104 .mw-parser-output > p:first-of-type > br:only-child {
display: none;
}
/* для <ref follow> */
.ns-104 ol.references > p {
text-indent: 0;
margin-top: 0;
margin-bottom: 0;
}
/* Для словников (адаптивный дизайн) */
.wordlist {
-ms-column-width: 18em;
-moz-column-width: 18em;
-webkit-column-width: 18em;
column-width: 18em;
-ms-column-rule: 1px solid #a2a9b1;
-moz-column-rule: 1px solid #a2a9b1;
-webkit-column-rule: 1px solid #a2a9b1;
column-rule: 1px solid #a2a9b1;
}
.wl0 {
-ms-column-width: 15em;
-moz-column-width: 15em;
-webkit-column-width: 15em;
column-width: 15em;
}
.wl00 {
-ms-column-width: 12em;
-moz-column-width: 12em;
-webkit-column-width: 12em;
column-width: 12em;
}
.wordlist ul {
list-style: none;
margin-left: 0;
}
.wordlist1 ul {
-ms-column-width: 18em;
-moz-column-width: 18em;
-webkit-column-width: 18em;
column-width: 18em;
-ms-column-rule: 1px solid #a2a9b1;
-moz-column-rule: 1px solid #a2a9b1;
-webkit-column-rule: 1px solid #a2a9b1;
column-rule: 1px solid #a2a9b1;
list-style: none;
margin-left: 0;
border-bottom: 1px solid #a2a9b1;
padding-bottom: 4px;
}
.wordlist ul li,
.wordlist1 ul li {
margin-left: 1.5em;
text-indent: -1.5em;
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid;
}
.col2 {
-moz-columns: 2;
-webkit-columns: 2;
columns: 2;
}
.col3 {
-moz-columns: 3;
-webkit-columns: 3;
columns: 3;
}
.outdent p {
margin-left: 1.6em !important;
text-indent: -1.6em;
}
.outdent0 p {
margin-left: 0.8em !important;
text-indent: -0.8em;
}
.outdent3 p {
margin-left: 3em !important;
text-indent: -3em;
}
.compact p {
margin-top: 0;
margin-bottom: 0;
}
/* в таблицах */
.outdent td {
padding-left: 1.6em;
text-indent: -1.6em;
}
.outdent0 td {
padding-left: 0.8em;
text-indent: -0.8em;
}
.vtop td { vertical-align: top; }
.vmiddle td { vertical-align: middle; }
.vbottom td { vertical-align: bottom; }
/* Для широких таблиц в классе text и таблиц с числовыми данными */
.twide-container { /* div */
position: relative;
right: 50%;
text-align: center;
}
.twide { /* table */
display: inline-table;
margin-right: -100% !important;
}
.tdata tbody td,
.tdata1 tbody td,
.tdata2 tbody td,
.tdata > td,
.tdata1 > td,
.tdata2 > td {
text-align: right;
}
.tdata tbody td:first-of-type,
.tdata1 tbody td:first-of-type,
.tdata2 tbody td:first-of-type,
.tdata > td:first-of-type,
.tdata1 > td:first-of-type,
.tdata2 > td:first-of-type,
.tcenter > td:first-of-type {
text-align: left;
padding: 0 !important;
}
td.wide0 {
padding: 0 !important;
}
.tdata1 tbody td, .tdata1 > td, td.wide1 {
padding: 0 1em !important;
}
.tdata2 tbody td, .tdata2 > td, td.wide2 {
padding: 0 2em !important;
}
.wide05 tbody td {
padding: 0 0.5em !important;
}
.wide1 tbody td {
padding: 0 1em !important;
}
.wide2 tbody td {
padding: 0 2em !important;
}
.wide3 tbody td, td.wide3 {
padding: 0 3em !important;
}
.wide4 tbody td, td.wide4 {
padding: 0 4em !important;
}
.tcenter > td {
text-align: center;
}
/* Для указателей */
.index p {
margin-left: 1em !important;
text-indent: -1em !important;
}
/* Для Edittools */
.extraSpecialchars .mw-charinsert-item { margin-right: 0.5em; }
/* Web Font CSS declaration for Church Slavonic fonts */
/* Slavonic Computing Initiative (https://sci.ponomar.net/) */
.ponomar { font-family: Ponomar, Ponomar Unicode, Ponomar Unicode TT, serif; line-height: inherit; }
.menaion { font-family: Menaion, Menaion Unicode, Menaion Unicode TT, serif; line-height: inherit; }
.dablink,
.rellink {
font-style: italic;
font-size: 0.90em;
margin: 0.25em 2em 0.25em 2em;
}
/* Простые таблицы данных как в БСЭ1 */
/* .dtable - данные вправо, .ctable - по центру; первый столбец всегда влево */
/* .plain - без рамок, .outlined - рамка только вокруг всей таблицы */
/* .w1, .w2, .w3, .w4 - увеличенные внутренние оттупы в столбцах данных */
.dtable, .ctable { border-collapse: collapse; border: 1px solid #888; }
table.plain { border: 0; }
table.mini { font-size: smaller; line-height: 1.5em; }
.dtable th, .ctable th { padding: 0.5em; border: 1px solid #888; font-weight: normal; text-align: center; line-height: 1; }
.dtable .top0, .ctable .top0, .dtable .top0 > th, .ctable .top0 > th { padding-top: 0 !important; }
.dtable .bottom0, .ctable .bottom0, .dtable .bottom0 > th, .ctable .bottom0 > th { padding-bottom: 0 !important; }
.dtable td { text-align: right; }
.ctable td { text-align: center; }
.dtable td, .ctable td { padding: 0 0.5em; border-left: 1px solid #888; border-right: 1px solid #888; }
.plain td, .outlined td, .plain tr.total td, .outlined tr.total td, .plain th, .outlined th { border: 0; }
.dtable td:first-child, .ctable td:first-child { text-align: left; }
.dtable td.r, .ctable td.r { text-align: right !important; }
.dtable td.c, .ctable td.c { text-align: center !important; }
.dtable td.l, .ctable td.l { text-align: left !important; }
table.w0 th, table.w0 td, td.w0 { padding-left: 0.2em; padding-right: 0.2em; }
table.w1 td, td.w1 { padding-left: 1em; padding-right: 1em; }
table.w2 td, td.w2 { padding-left: 1.5em; padding-right: 1.5em; }
table.w3 td, td.w3 { padding-left: 2em; padding-right: 2em; }
table.w4 td, td.w4 { padding-left: 2.5em; padding-right: 2.5em; }
table.w1 td:first-child, table.w2 td:first-child, table.w3 td:first-child, table.w4 td:first-child { padding-left: 0.5em; padding-right: 0.5em; }
tr.first > td, tr.only > td, tr.bordered > td, tr.total > td, tr.grandtotal > td, tr.total2 > td, .dtable tr:first-child > td, .ctable tr:first-child > td { padding-top: 0.5em; }
tr.last > td, tr.only > td, tr.bordered > td, tr.total > td, tr.grandtotal > td, .dtable tr:last-child > td, .ctable tr:last-child > td { padding-bottom: 0.5em; }
tr.total > td, tr.bordered > td { border-top: 1px solid #888; border-bottom: 1px solid #888; }
tr.total > td:first-child, tr.total2 > td:first-child { padding-left: 2em; }
.plain tr.total > td, tr.total2 > td { border-top: 1px solid #888 !important; }
.plain tr.grandtotal > td { border-top: 2px solid #888 !important; }
.plain tr.total > td:first-child, .plain tr.grandtotal > td:first-child { border-top: 0 !important; }
table.centered td { text-align: center; padding: 0 0.5em; }
tr.simpleheader th { text-align: center; background-color: transparent; font-weight: normal; letter-spacing: 0.2em; line-height: 1; padding: 0.5em; }
tr.mini th { font-size: smaller; line-height: 1em; }
th.rot { padding: 0.25em; vertical-align: bottom; line-height: 100%; }
.b0, .b1, .b2, .b3, .b4, .b5, .b6, .b7, .b8, .b9, .b10, .b11, .b12, .b13, .b14, .b15 {
border-color: inherit;
border-style: inherit;
border-width: inherit;
}
.b0, .b2, .b4, .b6, .b8, .b10, .b12, .b14 {
border-top: none !important;
}
.b0, .b1, .b4, .b5, .b8, .b9, .b12, .b13 {
border-right: none !important;
}
.b0, .b1, .b2, .b3, .b8, .b9, .b10, .b11 {
border-bottom: none !important;
}
.b0, .b1, .b2, .b3, .b4, .b5, .b6, .b7 {
border-left: none !important;
}
#dicts_links { margin-right: 0.5em; }
/* menu 2022 on */
#extra_nav {
justify-content: flex-start;
}
#extra_nav > ul {
list-style: none;
margin: 0;
padding: 0;
}
#extra_nav > ul > li {
display: inline-block;
position: relative;
padding-right: 24px;
}
#extra_nav > ul > li > b {
color: teal;
}
#extra_nav > ul > li::after {
content: '';
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/c/c0/OOjs_UI_indicator_arrow-down.svg/12px-OOjs_UI_indicator_arrow-down.svg.png) center no-repeat;
display: block;
position: absolute;
top: 0;
right: 8px;
width: 16px;
height: 20px;
}
#extra_nav > ul > li > ul,
#extra_nav > ul > li > ul > li > ul {
position: absolute;
display: none;
list-style: none;
min-width: 8em;
margin: 0;
padding: 5px 0;
background-color: ghostwhite;
border: 1px solid lightgrey;
white-space: nowrap;
z-index: 99;
}
#extra_nav > ul > li > ul > li,
#extra_nav > ul > li > ul > li > ul > li {
padding: 0 10px;
}
#extra_nav > ul > li > ul li:hover {
background-color: #d0d0d7;
}
#extra_nav > ul > li > ul > li {
position: relative;
}
#extra_nav > ul > li > ul > li > ul {
left: 100%;
top: 0;
z-index: 100;
margin-top: -5px;
}
#extra_nav > ul > li:hover > ul,
#extra_nav > ul > li > ul > li:hover > ul {
display: block;
}
#menu-editions li > b, #menu-trans li > b, #menu-editions .PRS_edition {
padding-left: 18px;
}
#menu-editions li > b::before, #menu-trans li > b::before {
content: "";
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/OOjs_UI_icon_listBullet-ltr_apex.svg/14px-OOjs_UI_icon_listBullet-ltr_apex.svg.png) center no-repeat;
width: 16px;
height: 16px;
position: absolute;
margin-top: 2px;
display: block;
}
.PRS_edition::before {
content: "";
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/6f/Arvatica_fra_Divkovi%C4%87_U%2B0462.svg/12px-Arvatica_fra_Divkovi%C4%87_U%2B0462.svg.png) center no-repeat;
width: 16px;
height: 16px;
position: absolute;
display: block;
}
.submenu-label {
padding-right: 20px !important;
}
.submenu-label:hover {
background-color: #d0d0d7;
}
.submenu-label::after {
content: "";
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8e/OOjs_UI_icon_next-ltr.svg/10px-OOjs_UI_icon_next-ltr.svg.png) center no-repeat;
display: block;
position: absolute;
top: 4px;
width: 10px;
height: 10px;
right: 0;
}
/* separator */
.flexsep {
display: flex;
justify-content: center;
align-items: center;
user-select: none;
}
.flexsep > hr {
width: 100%;
min-width: 2em;
}
.flexsep > span {
font-size: smaller;
padding: 0 5px;
}
.lisep, .lisep:hover {
background-color: ghostwhite !important;
}
/* menu 2022 off */
/* Шаблон:razr */
.razr {
letter-spacing: 0.15em;
/*word-spacing: -0.2em;*/
margin-left: 0.2em;
}
.razr2 {
letter-spacing: 0.15em;
/* word-spacing: -0.2em; */
/* margin-left: 0.2em; */
margin-right: -0.2em;
}
/* Шаблон:left sidenote */
.left-sidenote {
float: left;
margin-left: -11em;
width: 10em;
margin-top: 4px;
text-align: left;
text-indent: 0;
font-size: 83%;
line-height: 125%;
}
/* Шаблон:P */
.pagination-inline {
color: darkgray;
}
.pagination-margin {
position: absolute;
left: 1em;
width: 6em;
text-align: right;
text-indent: 0em;
font-size: 70%;
}