МедиаВики:Common.css: юрамалар арасында аерма
Контент бетерелгән Контент өстәлгән
Per phab:T154077 |
кТөзәтмә аңлатмасы юк Тамга: кире кагылган |
||
Юл номеры - 1:
/**
* [Содержание]
*
* 1. Интерфейс
* 1.1 Теги
* 1.2 Классы
* 1.3 Расширения
* 1.4 Редакторы
* 2. Служебные классы
* 3. Общие классы
* 3.1 Списки
* 3.2 Примечания
* 3.3 Колонки
* 3.4 Таблицы
* 4. Шаблоны
* 5. Страницы
*
* При добавлении правил, которые должны также действовать в мобильной версии,
* не забудьте добавить аналогичные правила в [[MediaWiki:Mobile.css]].
*/
/* ================================================
ИНТЕРФЕЙС
================================================ */
/* ТЕГИ ------------------------------------------- */
/* Избавляемся от дважды жирного шрифта (2019-09-08) */
b {
font-weight: 700;
}
/* Сбрасываем курсивное оформление, применяемое браузером */
cite, dfn {
font-style: inherit;
}
/* Добавление горизонтального скролла для <pre>,
для избежания бага с очень длинными строками */
pre {
overflow-x: auto;
overflow-y: hidden;
}
/* Размер таба для обычного редактора и для тега <code> */
pre,
textarea {
tab-size: 4;
}
/* Consistent size for <small>, <sub> and <sup> */
small {
font-size: 85%;
}
.mw-body-content sub,
.mw-body-content sup,
span.reference /* for Parsoid */ {
font-size: 80%;
}
/* fix for line-breaking references */
sub,
sup {
line-height: 1em;
}
blockquote {
background: #f8f9fa;
overflow: hidden;
}
/* КЛАССЫ ----------------------------------------- */
/* Уточнение ширины логотипа на экранах с большей плотностью пикселей (сами
изображения задаются в файле стилей, не изменяемом локально; помогает
избежать сглаживания? 136 = 204 / 1,5; 204px — ширина картинки) */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
#p-logo a {
background-size: 136px auto;
}
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
#p-logo a {
background-size: 135px auto;
}
}
.filehistory a img,
#file img {
background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
/* Remove "external" icon from links to WP */
body.ns-talk a.external[href*="//ru.wikipedia.org/"],
body.ns-4 a.external[href*="//ru.wikipedia.org/"],
body.ns-104 a.external[href*="//ru.wikipedia.org/"],
body.ns-106 a.external[href*="//ru.wikipedia.org/"] {
background: none !important;
padding-right: 0 !important;
}
/* PDF icon next to external PDF link for Mozilla and Opera and for {PDFlink} template */
a[href$=".pdf"].external,
a[href*=".pdf?"].external,
a[href*=".pdf#"].external,
a[href$=".PDF"].external,
a[href*=".PDF?"].external,
a[href*=".PDF#"].external,
span.PDFlink a {
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important;
padding-right: 18px !important;
}
.hatnote {
font-style: italic;
padding-left: 1.6em;
}
.allpagesredirect,
span.redirect-in-category a {
font-style: italic;
}
/* Clickable speaker in {Audio} ... */
.audiolink a {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png) center left no-repeat !important;
padding-left: 16px !important;
padding-right: 0 !important;
}
.clickable-image a:hover {
text-decoration: none;
}
Строка 10 ⟶ 139 :
}
/* Лечим растягивание СН, страниц истории и вклада, если текст описания правки
негде перенести. Удалить при добавлении этого правила на глобальном уровне. */
.comment {
overflow-wrap: break-word;
word-break: break-word;
}
/* Не отображать множественные уведомления о запрете редактирования списком */
.permissions-errors {
list-style: none;
margin: 0;
}
.sitedir-ltr .mw-dismissable-notice-body {
margin-right: 5em !important; /* was 20% */
}
/* Fix of default <maplink> display */
.mw-kartographer-maplink {
margin-left: 0 !important;
padding: 2px 0 2px 20px !important;
}
/* Временный фикс [[Обсуждение MediaWiki:Common.css#Для чего .catlinks li параметр margin: 0.125em 0;?]],
пока не исправят в нативных стилях */
.mediawiki .catlinks li {
margin: 2px 0;
}
Строка 24 ⟶ 172 :
}
.
}
/* Фикс выравнивания галереи при заданном параметре perrow (2019-10-03) */
.mw-gallery-traditional.center,
.mw-gallery-nolines.center {
margin-left: auto;
margin-right: auto;
}
/* Блок «Это старая/текущая версия этой страницы». Надо предложить это в движок */
.mw-revision,
#mw-revision-nav {
margin-top: 0.5em;
}
/* Кнопки [показать]/[скрыть], создаваемые mw-collapsible */
.mw-collapsible-toggle {
font-weight: normal;
}
/* Кнопки [показать]/[скрыть], создаваемые динамически функцией collapsibleTables()
в [[MediaWiki:Common.js]] */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
/* 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;
}
/* РАСШИРЕНИЯ ------------------------------------- */
/* Стили для расширения [[mw:Extension:Babel]] (03-09-17) */
/* Скрытие буквы N у родных языков, по аналогии со стандарными шаблонами */
.mw-babel-box-level-N {
display: none;
}
/* FlaggedRevs */
/* Скрываем верхнюю таблицу для анонимов и показываем
для зарегистрированных с помощью [[MediaWiki:Group-user.css]] */
#mw-fr-revisiontag {
display: none;
}
.mw-fr-reviewlink,
.fr-hist-basic-user,
.fr-hist-basic-auto {
font-weight: normal;
font-size: 85%;
}
.flaggedrevs-pending {
background: #ffc;
}
.sitedir-ltr div.flaggedrevs_short {
float: none;
margin-left: 0;
padding: 1px;
}
.sitedir-ltr div.flaggedrevs_short_details {
width: 95%;
display: none;
}
/* Лишний отступ */
div.flaggedrevs_notice {
margin-right: 0;
}
/* Remove popup from Content translation tool, if not opted in */
.cx-callout:not(.cx-campaign-contributionsmenu):not(.cx-entrypoint-dialog) { display: none !important; }
/* Покрасить "неприоритетные" ссылки в библиографических ссылках в черный цвет (касается только ссылок, генерируемых Lua) */
.wef_low_priority_links a,
.wef_low_priority_links a.extiw,
.wef_low_priority_links a.external,
.wef_low_priority_links a:visited,
.wef_low_priority_links a.extiw:visited,
.wef_low_priority_links a.external:visited {
color: #202122;
}
/* РЕДАКТОРЫ -------------------------------------- */
/* Visual editor related */
.mw-ve-editNotice .mbox-image,
.ve-active .ve-hide,
.ve-show {
display: none;
}
.ve-active div.ve-show,
.ve-active p.ve-show {
display: block;
}
.ve-active span.ve-show,
.ve-active small.ve-show {
display: inline;
}
.ve-active li.ve-show {
display: list-item;
}
/* Костыль исправляющий дублирование иконки в сообщениях об ошибках (Editnotice)
при сохранении правки в визуальном редакторе */
.ve-ui-mwSaveDialog .oo-ui-flaggedElement-error.oo-ui-iconElement table.fmbox {
margin-top: 0;
}
.ve-ui-mwSaveDialog .oo-ui-flaggedElement-error.oo-ui-iconElement .mbox-image {
display: none;
}
/* ================================================
СЛУЖЕБНЫЕ КЛАССЫ
================================================ */
/* Классы для показа сообщений отдельным группам пользователей */
.group-checkuser-show,
.group-bureaucrat-show,
.group-sysop-show,
.group-engineer-show,
.group-closer-show,
.group-filemover-show,
.group-editor-show,
.group-autoreview-show,
.group-user-show {
display: none;
}
/* ================================================
ОБЩИЕ КЛАССЫ
================================================ */
/* СПИСКИ ----------------------------------------- */
/* Style for horizontal lists (separator following item).
@source mediawiki.org/wiki/Snippets/Horizontal_lists
@revision 9 (2016-08-10)
@author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
/* Display nested lists inline */
.hlist
.hlist.inline
.hlist.inline
.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;
}
/*
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
display: none;
}
/* Generate bullets */
.hlist dt:after {
content: ": ";
}
.hlist dd:after,
.hlist li:after {
content: "\00a0•
}
.hlist dd:last-child:after,
Строка 102 ⟶ 365 :
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-
.hlist dt dd:first-child:before, .hlist dt dt:first-
.hlist li dd:first-child:before, .hlist li dt:first-
content:
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist
.hlist
content: ")";
font-weight: normal;
}
/* Put
.hlist
counter-
}
.hlist
counter-increment: listitem;
}
.hlist
content: " " counter(listitem) "\a0";
}
.hlist
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
}
/* Немаркированные списки */
.plainlist ol:not(.references),
.plainlist dl,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ol:not(.references) li,
.plainlist dl dt,
.plainlist dl dd,
.plainlist ul li {
margin: 0;
}
.plainlist dl dt:after {
content: ": ";
}
/* Неразрывные пробелы в горизонтальных списках */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
white-space: nowrap;
}
/* Но где-то неразрывность надо сбросить (например, в навшаблонах в узких местах) */
.wrap,
.wraplinks a,
.wraplinks .selflink,
.hlist-items-nowrap dl dl, .hlist-items-nowrap dl ol, .hlist-items-nowrap dl ul, /* Allow nested lists to wrap anyway */
.hlist-items-nowrap ol dl, .hlist-items-nowrap ol ol, .hlist-items-nowrap ol ul,
.hlist-items-nowrap ul dl, .hlist-items-nowrap ul ol, .hlist-items-nowrap ul ul {
white-space: normal;
}
/* ПРИМЕЧАНИЯ ------------------------------------- */
ol.references {
}
.reflist,
.references-small {
font-size: 90%;
margin-bottom: 0.5em;
}
.reflist ol.references,
.references-small ol.references {
list-style-type: inherit; /* Enable custom list style types */
}
.reflist-narrow .mw-references-columns {
-webkit-column-width: 20em;
-moz-column-width: 20em;
column-width: 20em;
}
.reflist-wide .mw-references-columns {
-webkit-column-width: 40em;
-moz-column-width: 40em;
column-width: 40em;
}
/* highlight focused footnotes and references in some browsers */
sup.reference:target,
ol.references li:target,
.highlight-target:target,
cite:target,
span.citation:target {
background: #eaf3ff;
}
sup.reference:target {
font-weight: bold;
}
.ref-info {
font-size: 85%;
color: #72777d;
}
/* КОЛОНКИ ---------------------------------------- */
/* Авторазбиение списков на колонки. Будет работать только для однострочных списков. 35em является предварительным числом, а фактическое будет посчитано исходя из ширины элементов. Должно использоваться только для UL внутри DIV. Пример использования — шаблон {{Wikidata/SisterCities}} */
.autocolumns {
-moz-columns: 35em auto;
columns: 35em auto;
white-space: nowrap;
}
/* Reset top margin for lists embedded in columns */
div.columns {
margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
margin-top: 0;
}
/* Avoid elements from breaking between columns */
.nocolbreak,
div.columns li,
div.columns dd dd {
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid-column;
}
/* ТАБЛИЦЫ ---------------------------------------- */
/* [[Википедия:Оформление таблиц]] */
.standard,
.wide {
/* For align=center tables dont use shorthand margin */
margin-top:1em;
margin-bottom:1em;
border: 1px solid #a2a9b1;
border-collapse: collapse;
}
.standard > tr > th,
.standard > tr > td,
.standard > * > tr > th,
.standard > * > tr > td,
.wide > tr > th,
.wide > tr > td,
.wide > * > tr > th,
.wide > * > tr > td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
}
.standard > tr > th,
.standard > * > tr > th,
.wide > tr > th,
.wide > * > tr > th {
background-color: #eaf3ff;
}
.standard > caption,
.wide > caption {
}
.wide {
width: 100%;
}
Строка 215 ⟶ 553 :
}
table.graytable caption span.subcaption {
font-size:
font-weight: normal;
}
table.graytable th,
table.graytable td {
font-size:
}
/* Оформление ячеек */
tr.highlight th,
table tr th.highlight {
background: #
}
tr.highlight td,
Строка 235 ⟶ 573 :
tr.bright th,
table tr th.bright {
background: #
}
tr.bright td,
Строка 252 ⟶ 590 :
table tr td.dark {
background: #ccc;
}
/* ================================================
ШАБЛОНЫ
================================================ */
/* ПРЕДУПРЕЖДЕНИЯ И УВЕДОМЛЕНИЯ ------------------- */
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
border: none;
/* @noflip */
padding: 0.25em 0.9em;
width: 100%;
}
border: none;
/* @noflip */
Строка 275 ⟶ 612 :
text-align: center;
}
border: none;
/* @noflip */
Строка 281 ⟶ 618 :
text-align: center;
}
border: none;
padding: 0px;
width: 1px;
}
.mbox-text .mbox-multiply {
display: none;
}
/* Image message box styles */
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #1e90ff;
background: #fbfbfb;
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em;
display: block;
}
.mbox-inside .imbox {
margin: 4px;
}
border:
}
border:
background: #fee;
}
border:
}
border:
}
border:
}
border:
}
border:
}
border:
background: #f7f8ff;
}
border:
}
/* Category message box styles */
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #aaa;
background: #dfe8ff;
}
background: #d8e8ff;
}
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b22222;
background: #ffdbdb;
}
background: #ffdbdb;
}
background: #ffe7ce;
}
background: #fff9db;
}
background: #e4d8ff;
}
background: #efefe1;
}
/* Other pages message box styles */
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #
background: #
}
border: 1px solid #
}
border: 2px solid #b22222;
background: #fee;
}
border: 2px solid #b22222;
}
border: 1px solid #f28500;
}
border: 1px solid #f4c430;
}
border: 1px solid #9932cc;
}
border: 2px solid #bba;
}
/* Talk page message box styles */
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #c0c090;
background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
margin: 2px 0;
width: 100%;
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
line-height: 1.5em;
font-size: 100%;
}
border: 2px solid #b22222;
background: #fee;
}
border: 2px solid #b22222;
}
border: 2px solid #f28500;
}
border: 2px solid #f4c430;
}
border: 2px solid #9932cc;
}
border: 1px solid #c0c090;
}
/* {ambox} */
margin: 0 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
}
.ambox + .ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox .mbox-text { /* The message body cell(s) */
padding: 0 0.5em; /* 0.5em left/right */
}
.ambox .mbox-image { /* The left image cell */
/* @noflip */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox .mbox-imageright { /* The right image cell */
/* @noflip */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
.navbox + .ambox { /* for ambox 1em before navbox */
margin-top: 1em;
}
.ambox-notice {
/* @noflip */
border-left: 10px solid #36c; /* Blue */
}
/* @noflip */
border-left: 10px solid #b22222; /* Red */
background: #fee7e6; /* Pink */
}
/* @noflip */
border-left: 10px solid #b22222; /* Red */
}
/* @noflip */
border-left: 10px solid #f28500; /* Orange */
}
/* @noflip */
border-left: 10px solid #f4c430; /* Yellow */
}
border-left: 10px solid #66cc44;
}
border-left: 10px solid #339966;
}
border-left: 10px solid #9932cc;
}
/* @noflip */
border-left: 10px solid #9932cc; /* Purple */
}
.ambox-protection {
/* @noflip */
border-left: 10px solid #a2a9b1; /* Gray-gold */
}
/* Footer and header message box styles */
clear: both;
margin: 0.2em 0;
Строка 509 ⟶ 850 :
background: #f9f9f9;
}
background: #f9f9f9;
}
border: 1px solid #bb7070; /* Dark pink */
background: #ffdbdb;
}
background: transparent;
}
Строка 544 ⟶ 885 :
ambox/tmbox/ombox etc classes. "body.mediawiki" is so
they override "table.ambox + table.ambox" above. */
/* @noflip */
clear: right;
Строка 555 ⟶ 896 :
line-height: 1.25em;
}
/* @noflip */
margin: 4px 1em 4px 0;
Строка 564 ⟶ 905 :
}
/* Style for {{rq}} */
/* Hide the extra cells */
.ambox-multiple_issues .ambox .mbox-image,
.ambox-multiple_issues .ambox .mbox-imageright,
.ambox-multiple_issues .ambox .mbox-empty-cell,
.ambox-multiple_issues .ambox .mbox-text-div,
.ambox-multiple_issues .ambox .mbox-textsmall-div {
}
/* Remove borders, backgrounds, padding, etc. */
.ambox-multiple_issues .ambox {
border: none;
border-collapse: collapse;
background: transparent;
margin: 0 0 0 1.6em;
padding: 0;
width: auto;
display: block;
}
.ambox-multiple_issues .mbox-small-left {
font-size: 100%;
width: auto;
margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.ambox-multiple_issues .ambox .mbox-text {
padding: 0;
}
.ambox-multiple_issues .ambox .mbox-multiply {
display: list-item;
line-height: 1.5em;
list-style-image: url(/w/skins/Vector/resources/common/images/bullet-icon.svg);
}
.skin-monobook .ambox-multiple_issues .ambox .mbox-multiply {
list-style-type: square;
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}
/* Allow for hiding text in compact form */
.ambox-multiple_issue .hide-when-compact {
display: none;
}
/* Стили нотификаций для ноутбуков */
@media (max-width: 1366px) {
.ombox,
.tmbox,
.ambox {
margin-left: 6%;
margin-right: 6%;
}
}
/* Стили нотификаций для мобильного устройсва */
@media (max-width: 719px) {
.ombox,
.tmbox,
.ambox {
margin-left: 0;
margin-right: 0;
}
}
/* Устаревший стиль, на данный момент практически везде используется
неверно, почистить и удалить при первой возможности */
.messagebox {
border: thin solid #aaa;
Строка 625 ⟶ 980 :
font-size: 90%
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background: #f8eaba;
}
.messagebox .floatleft {
vertical-align: middle;
clear: both;
margin: 2px;
padding: 0;
}
.messagebox .image {
margin: 0;
padding: 0;
}
/* КАРТОЧКА --------------------------------------- */
.infobox {
border: 1px solid #a2a9b1;
background: #f8f9fa;
margin-bottom: .5em;
margin-left: 1em;
padding: .4em;
float: right;
clear: right;
font-size: 90%;
width: 23em;
vertical-align: middle;
text-align: left;
line-height: 1.5em;
border-collapse: separate;
border-spacing: 2px;
}
.infobox > caption {
font-size: 125%;
font-weight: bold;
padding: .2em;
}
.infobox td,
.infobox th {
vertical-align: top;
}
/* Компоненты карточки */
.infobox-above {
background: #cfe3ff;
text-align: center;
}
.infobox-image {
padding-left: 0;
padding-right: 0;
text-align: center;
}
.infobox-header {
background: #dcebff;
text-align: center;
}
.infobox-below {
background: #dcebff;
text-
}
.infobox-table,
.infobox-tablebox,
.infobox-medals {
padding: 0;
}
.infobox-inner-table,
.infobox-table > table,
.infobox-tablebox > table,
.infobox-medals > table {
width: 100%;
display: table;
margin: 0;
background: transparent;
}
.infobox-tablebox > table {
background: #ffffff;
border
}
.infobox-medals > table {
border-collapse: separate;
}
.infobox-medals .NavFrame {
padding: 0;
border: none;
font-size: 100%;
}
.infobox-medals .NavFrame .NavHead {
padding: 1px 5em;
}
.infobox-medals .NavFrame .NavToggle {
position: absolute;
top: 1px;
right: 1px;
}
.infobox-medals .NavFrame .NavContent {
font-size: 95%;
}
/* Встраиваемая карточка */
.infobox-child {
width: 100%;
margin: 0;
padding: 0;
border: none;
font-size: 100%;
}
/* Списки в карточках */
.infobox th:not(.noplainlist) > ul,
.infobox td:not(.noplainlist) > ul,
.infobox [data-wikidata-property-id] > ul {
list-style-type: none;
list-style-image: none;
margin: 0;
}
.infobox .noplainlist > ul:first-child {
}
.infobox th > ol,
.infobox td > ol,
.infobox [data-wikidata-property-id] > ol {
margin: 0 0 0 2em;
}
.infobox th > dl,
.infobox td > dl,
.infobox [data-wikidata-property-id] > dl {
margin: 0;
}
.infobox li,
.infobox dt,
.infobox dd {
margin-bottom: 0;
}
.infobox th > ol.references,
.infobox td > ol.references {
line-height: 1.25em;
}
.infobox th > ol.references li,
.infobox td > ol.references li {
margin-bottom: 0.1em;
}
.infobox th > ol.references li:last-child,
.infobox td > ol.references li:last-child {
margin-bottom: 0;
}
/*
.infobox td p {
margin: 0 !important;
}
/* СКРЫТЫЙ ---------------------------------------- */
/* {Навигационная полоса}, {Hider}, ... */
div.NavFrame {
margin: 0;
padding: 2px;
overflow: hidden;
border: 1px solid #a2a9b1;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
Строка 783 ⟶ 1155 :
}
div.NavFrame div.NavHead {
text-align: center;
font-weight: bold;
font-size: 100%;
background: #
position: relative;
}
div.NavFrame div.NavContent {
overflow-x: auto;
overflow-y: hidden;
clear: both;
}
div.NavFrame p,
Строка 793 ⟶ 1170 :
div.NavFrame div.NavContent p {
font-size: 100%
}
a.NavToggle {
float: right;
font-weight: normal;
font-size:
}
/* НАВИГАЦИОННЫЙ ШАБЛОН --------------------------- */
/* Default style for navigation boxes */
.navbox {
box-sizing: border-box;
border: 1px solid #
width: 100%;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
clear: both;
font-size: 90%;
text-align: center;
padding:
}
.navbox-inner,
Строка 927 ⟶ 1198 :
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em;
text-align: center;
}
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 */
Строка 938 ⟶ 1220 :
.navbox,
.navbox-subgroup {
background: #fdfdfd;
}
.navbox-list {
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background: #
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #
}
.navbox-even {
background: #
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
.navbox .hlist td dl,
Строка 972 ⟶ 1250 :
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 1px 0
}
margin-top: 0; /* No top margin for nested navboxes */
}
.navbox + .navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
Строка 982 ⟶ 1262 :
.navbar {
display: inline;
font-size:
font-weight: normal;
}
Строка 989 ⟶ 1269 :
white-space: nowrap;
}
.mw-body-content .navbar
}
.navbar.mini
}
.navbar.mini span abbr[title] {
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
Строка 1010 ⟶ 1296 :
/* @noflip */
margin-right: 0.5em;
width:
}
/* [[Шаблон:Coord]] ------------------------------- */
#mw-indicator-0-coord + .mw-indicator {
border-left: 1px solid #A7D7F9;
margin-left: 0.25em;
padding-left: 0.5em;
}
.mw-body-content .geo-services {
font-size: 82%;
}
.geo-services a > span {
margin: 0.25em;
}
.geo-services > :first-child a > span {
margin-left: 0.4em;
}
.geo-geo-dec .geo-dec,
.geo-geo-dms .geo-dms {
display: inline;
}
.geo-geo-dec .geo-dms,
.geo-geo-dms .geo-dec,
.geo-multi-punct {
display: none;
}
.geo-lat,
.geo-lon {
white-space: nowrap;
}
/* ================================================
СТРАНИЦЫ
================================================ */
/* [[Заглавная страница]] ------------------------- */
body.page-Заглавная_страница #ca-current,
body.page-Заглавная_страница #ca-delete,
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #catlinks,
body.page-Заглавная_страница #lastmod,
body.page-Заглавная_страница #footer-info-lastmod,
body.page-Заглавная_страница.action-view #siteSub,
body.page-Заглавная_страница.action-view #contentSub,
body.page-Заглавная_страница.action-view #contentSub2,
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;
}
}
|