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

м
нет описания правки
 
мНет описания правки
Строка 1: Строка 1:
/* Размещённый здесь CSS будет применяться к векторной теме оформления  */
/* Стили для заглавной страницы */
html,
@media (max-width: 719px) {
body {
    height: 100%;
.page-Заглавная_страница #content {
    margin: 0;
background-color:#eaecf0;
    padding: 0;
}
    font-family: sans-serif;
.page-Заглавная_страница .header-container.header-chrome {
    font-size: 1em;
box-shadow:none;  
}
}
}
body {
 
    background-color: #DAEAD3; /* цвет фона */
/*
    /* @embed */
* Костыли-префиксы для поддержки устаревших браузеров заглавной страницей
    background-image: url(/skins/Vector/images/page-base.png);
* Будут переведены на TemplateStyles, см. [[phab:T162379]]
    background-position: top left;
*/
    background-repeat: repeat-y;
.main-top-right > ul {
    background-color: #DAEAD3; /*white*/
display: -webkit-box;
color: black;
display: -webkit-flex;
direction: ltr;
-webkit-flex-wrap: wrap;
}
}
a {
 
text-decoration: none;
.main-featuredLists > .main-featuredLists-item {
color: #008000; /* цвет ссылок */
-webkit-box-align: stretch;
background: none;
-webkit-align-items: stretch;
-webkit-column-break-inside: avoid;
display: -webkit-box;
display: -webkit-flex;
}
}
a:visited {
 
color: #007500; /* цвет посещённых ссылок */
.main-featuredLists-item > img {
-webkit-box-flex: 0;
-webkit-flex: 0 auto;
}
}
a:active {
 
color: #018e01; /* цвет ссылки при нажатии */
.main-footer {
display: -webkit-box;
display: -webkit-flex;
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
}
}
a:hover {
 
color: #018e01; /* цвет ссылки при наведении курсора */
.main-footer-actions {
text-decoration: underline;
-webkit-box-flex: 1;
-webkit-flex: 1;
}
}
a.external:visited {
 
    color: #007500; /* цвет посещённых внешних ссылок */
.main-footer-actions > ul {
-webkit-box-align: center;
-webkit-align-items: center;
display: -webkit-box;
display: -webkit-flex;
}
}
a.external:active {
 
color: #018e01; /* цвет внешней ссылки при нажатии */
.main-footer-menu {
-webkit-box-align: stretch;
-webkit-align-items: stretch;
display: -webkit-box;
display: -webkit-flex;
}
}
a.external:hover {
 
color: #018e01; /* цвет внешней ссылки при наведении курсора */
.main-footer-menuToggle {
text-decoration: underline;
-webkit-box-align: center;
-webkit-align-items: center;
display: -webkit-box;
display: -webkit-flex;
}
}
table.wikitable {
 
background-color: #f5fff5; /* цвет фона таблиц */
.main-wikimedia-list {
-webkit-column-count: 4;
-webkit-column-width: 15em;
}
}
table.wikitable tr th {
 
background-color: #deffde; /* цвет фона заголовка таблиц */
.main-wikimedia-list > .main-wikimedia-listItem {
    border-color: #339933; /* цвет рамок заголовка таблиц */
-webkit-box-align: stretch;
-webkit-align-items: stretch;
-webkit-column-break-inside: avoid;
display: -webkit-box;
display: -webkit-flex;
}
}
table.wikitable tr td {
 
    border-color: #339933; /* цвет рамок строк таблиц */
.main-wikimedia-listItem > img {
-webkit-box-flex: 0;
-webkit-flex: 0 auto;
}
}
table.wikitablered {
 
background-color: #fff5f5; /* цвет фона красных таблиц */
.main-wikimedia-listItem > a {
border: solid 1px #993333;
-webkit-box-flex: 1;
border-collapse: collapse;
-webkit-flex: 1;
}
table.wikitablered tr th {
background-color: #ffdede; /* цвет фона заголовка красных таблиц */
    border: solid 1px #993333; /* цвет рамок заголовка красных таблиц */
}
table.wikitablered tr td {
    border: solid 1px #993333; /* цвет рамок строк красных таблиц */
}
.mw-body {
background-color: #f5fff5;
border-color: #359d2f;
}
/* Head */
#mw-page-base {
height: 5em;
background-color: #f5fff5;
/* @embed */
background-image: url(/skins/Vector/images/headbg.png);
background-position: bottom left;
background-repeat: repeat-x;
}
#mw-head-base {
margin-top: -5em;
margin-left: 10em;
height: 5em;
/* @embed */
background-image: url(/skins/Vector/images/border.png);
background-position: bottom left;
background-repeat: repeat-x;
}
div#mw-head {
position: absolute;
top: 0;
right: 0;
width: 100%;
}
}
div#mw-head h5 {
margin: 0;
padding: 0;
}
/* Hide empty portlets */
div.emptyPortlet {
display: none;
}
/* Personal */
#p-personal {
position: absolute;
top: 0;
right: 0.75em;
}
#p-personal h5 {
display: none;
}
#p-personal ul {
list-style: none;
margin: 0;
padding-left: 10em; /* Keep from overlapping logo */
}
/* @noflip */
#p-personal li {
line-height: 1.125em;
float: left;
}
/* This one flips! */
#p-personal li {
margin-left: 0.75em;
margin-top: 0.5em;
font-size: 0.75em;
white-space: nowrap;
}
/* Navigation Containers */
#left-navigation {
position: absolute;
left: 10em;
top: 2.5em;
margin-top: 0px;
margin-left: 0px;
}
#right-navigation {
float: right;
margin-top: 2.5em;
}
/* Navigation Labels */
div.vectorTabs h5,
div.vectorMenu h5 span {
display: none;
}
/* Namespaces and Views */
/* @noflip */
div.vectorTabs {
float: left;
height: 2.5em;
}
div.vectorTabs {
/* @embed */
background-image: url(/skins/Vector/images/tab-break.png);
background-position: bottom left;
background-repeat: no-repeat;
padding-left: 1px;
}
/* @noflip */
div.vectorTabs ul {
float: left;
}
div.vectorTabs ul {
height: 100%;
list-style: none;
margin: 0;
padding: 0;
}
/* @noflip */
div.vectorTabs ul li {
float: left;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs ul li {
line-height: 1.125em;
display: inline-block;
height: 100%;
margin: 0;
padding: 0;
background-color: #f3f3f3;
/* @embed */
background-image: url(/skins/Vector/images/tab-normal-fade.png);
background-position: bottom left;
background-repeat: repeat-x;
white-space:nowrap;
}


/* IGNORED BY IE6 */
@media (max-width: 719px) {
div.vectorTabs ul > li {
.main-wikimedia-list {
display: block;
-webkit-column-width: 10em;
}
div.vectorTabs li.selected {
/* @embed */
background-image: url(/skins/Vector/images/tab-current-fade.png);
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs li a {
display: inline-block;
height: 1.9em;
padding-left: 0.5em;
padding-right: 0.5em;
color: #008000;
cursor: pointer;
font-size: 0.8em;
}
/* IGNORED BY IE6 */
div.vectorTabs li > a {
display: block;
color: #008000;
}
div.vectorTabs li.icon a {
background-position: bottom right;
background-repeat: no-repeat;
color: #008000;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs span a  {
display: inline-block;
padding-top: 1.25em;
}
/* IGNORED BY IE6 */
/* @noflip */
div.vectorTabs span > a {
float: left;
display: block;
color: #008000;
}
div.vectorTabs span {
display: inline-block;
/* @embed */
background-image: url(/skins/Vector/images/tab-break.png);
background-position: bottom right;
background-repeat: no-repeat;
}
div.vectorTabs li.selected a {
color: #008000;
}
div.vectorTabs li.selected a:visited{
color: #333333;
text-decoration: none;
}
div.vectorTabs li.new a,
div.vectorTabs li.new a:visited{
color: #a55858;
}
/* Variants and Actions */
/* @noflip */
div.vectorMenu {
direction: ltr;
float: left;
/* @embed */
background-image: url(/skins/Vector/images/arrow-down-icon.png);
background-position: 100% 60%;
background-repeat: no-repeat;
cursor: pointer;
}
div.vectorMenuFocus {
/* @embed */
background-image: url(/skins/Vector/images/arrow-down-focus-icon.png);
background-position: 100% 60%;
}
/* @noflip */
body.rtl div.vectorMenu {
direction: rtl;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
/* @noflip */
div#mw-head div.vectorMenu h5 {
float: left;
/* @embed */
background-image: url(/skins/Vector/images/tab-break.png);
background-repeat: no-repeat;
}
/* This will be flipped - unlike the one above it */
div#mw-head div.vectorMenu h5 {
background-position: bottom left;
margin-left: -1px;
}
/* IGNORED BY IE6 */
div#mw-head div.vectorMenu > h5 {
background-image: none;
}
div#mw-head div.vectorMenu h4 {
display: inline-block;
float: left;
font-size: 0.8em;
padding-left: 0.5em;
padding-top: 1.375em;
font-weight: normal;
border: none;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
/* @noflip */
div.vectorMenu h5 a {
color: #008000;
display: inline-block;
width: 24px;
height: 2.5em;
text-decoration: none;
/* @embed */
background-image: url(/skins/Vector/images/tab-break.png);
background-repeat: no-repeat;
}
/* This will be flipped - unlike the one above it */
div.vectorMenu h5 a {
color: #008000;
background-position: bottom right;
}
/* IGNORED BY IE6 */
div.vectorMenu h5 > a {
color: #008000;
display: block;
}
div.vectorMenu div.menu {
position: relative;
display: none;
clear: both;
text-align: left;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
/* @noflip */
body.rtl div.vectorMenu div.menu {
margin-left: 24px;
}
/* IGNORED BY IE6 */
/* @noflip */
body.rtl div.vectorMenu > div.menu {
margin-left: auto;
}
/* IGNORED BY IE6 */
/* Also fixes old versions of FireFox */
/* @noflip */
body.rtl div.vectorMenu > div.menu,
x:-moz-any-link {
margin-left: 23px;
}
/* Enable forcing showing of the menu for accessibility */
div.vectorMenu:hover div.menu,
div.vectorMenu div.menuForceShow {
display: block;
}
div.vectorMenu ul {
position: absolute;
background-color: #f5fff5;
border: solid 1px silver;
border-top-width: 0;
list-style: none;
list-style-image: none;
list-style-type: none;
padding: 0;
margin: 0;
margin-left: -1px;
text-align: left;
}
/* Fixes old versions of FireFox */
div.vectorMenu ul,
x:-moz-any-link {
min-width: 5em;
}
/* Returns things back to normal in modern versions of FireFox */
div.vectorMenu ul,
x:-moz-any-link,
x:default {
min-width: 0;
}
div.vectorMenu li {
padding: 0;
margin: 0;
text-align: left;
line-height: 1em;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorMenu li a {
display: inline-block;
padding: 0.5em;
white-space: nowrap;
color: #008000;
cursor: pointer;
font-size: 0.8em;
}
/* IGNORED BY IE6 */
div.vectorMenu li > a {
color: #008000;
display: block;
}
div.vectorMenu li.selected a {
color: #008000;
}
div.vectorMenu li.selected a:visited {
color: #333333;
text-decoration: none;
}
/* Search */
#p-search h5 {
display: none;
}
/* @noflip */
#p-search {
float: left;
}
#p-search {
margin-right: 0.5em;
margin-left: 0.5em;
}
#p-search form,
#p-search input {
margin: 0;
margin-top: 0.4em;
}
div#simpleSearch {
display: block;
width: 14em;
height: 1.4em;
margin-top: 0.65em;
position: relative;
min-height: 1px; /* Gotta trigger hasLayout for IE7 */
border: solid 1px #AAAAAA;
color: black;
background-color: #f5fff5;
/* @embed */
background-image: url(/skins/Vector/images/search-fade.png);
background-position: top left;
background-repeat: repeat-x;
}
div#simpleSearch label {
/*
* DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
* this from ever being shown anyways.
*/
font-size: 13px;
top: 0.25em;
direction: ltr;
}
div#simpleSearch input {
color: black;
direction: ltr;
}
div#simpleSearch input:focus {
outline: none;
}
div#simpleSearch input.placeholder {
color: #999999;
}
div#simpleSearch input::-webkit-input-placeholder {
color: #999999;
}
div#simpleSearch input#searchInput {
position: absolute;
top: 0;
left: 0;
width: 90%;
margin: 0;
padding: 0;
padding-left: 0.2em;
padding-top: 0.2em;
padding-bottom: 0.2em;
outline: none;
border: none;
/*
* DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
* this from ever being shown anyways.
*/
font-size: 13px;
background-color: transparent;
direction: ltr;
}
div#simpleSearch button#searchButton {
position: absolute;
width: 10%;
right: 0;
top: 0;
padding: 0;
padding-top: 0.3em;
padding-bottom: 0.2em;
padding-right: 0.4em;
margin: 0;
border: none;
cursor: pointer;
background-color: transparent;
background-image: none;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div#simpleSearch button#searchButton img {
border: none;
margin: 0;
margin-top: -3px;
padding: 0;
}
/* IGNORED BY IE6 */
div#simpleSearch button#searchButton > img {
margin: 0;
}
}
/* Panel */
div#mw-panel {
position: absolute;
top: 160px;
padding-top: 1em;
width: 10em;
left: 0;
}
}
div#mw-panel div.portal {
 
padding-bottom: 1.5em;
@media (min-width: 1000px) {
direction: ltr;
.main-wrapper {
display: -webkit-box;
display: -webkit-flex;
}
}
div#mw-panel div.portal h5 {
 
font-weight: normal;
.main-wrapper-column {
color: #008000;
-webkit-box-flex: 1;
padding: 0.25em;
-webkit-flex: 1;
padding-top: 0;
padding-left: 1.75em;
cursor: default;
border: none;
font-size: 0.75em;
}
}
div#mw-panel div.portal h5 a {
 
color: #008000;
.main-top {
-webkit-box-align: center;
-webkit-align-items: center;
display: -webkit-box;
display: -webkit-flex;
}
}
div#mw-panel div.portal h5 a:visited {
 
color: #007500;
.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;
}
}
div#mw-panel div.portal h5 a:active {
color: #018e01;
.main-top-right {
-webkit-box-flex: 2;
-webkit-flex: 2;
}
}
div#mw-panel div.portal h5 a:hover {
 
color: #018e01;
.main-top-right > ul {
text-decoration: underline;
-webkit-box-align: center;
}
-webkit-align-items: center;
div#mw-panel div.portal div.body {
-webkit-box-orient: horizontal;
margin: 0;
-webkit-box-direction: reverse;
padding-top: 0.5em;
-webkit-flex-direction: row-reverse;
margin-left: 1.25em;
-webkit-box-pack: left;
/* @embed */
-webkit-justify-content: left;
background-image: url(/skins/Vector/images/portal-break.png);
background-repeat: no-repeat;
background-position: top left;
}
div#mw-panel div.portal div.body ul {
list-style: none;
list-style-image: none;
list-style-type: none;
padding: 0;
margin: 0;
}
div#mw-panel div.portal div.body ul li {
line-height: 1.125em;
padding: 0;
padding-bottom: 0.5em;
margin: 0;
overflow: hidden;
font-size: 0.75em;
}
div#mw-panel div.portal div.body ul li a {
color: #008000;
}
div#mw-panel div.portal div.body ul li a:visited {
color: #007500;
}
}
/* Footer */
div#footer {
margin-left: 10em;
margin-top: 0;
padding: 0.75em;
/* @embed */
background-image: url(/skins/Vector/images/border.png);
background-position: top left;
background-repeat: repeat-x;
direction: ltr;
}
}
div#footer ul {
 
list-style: none;
/* Служебные классы для показа сообщений отдельным группам пользователей */
list-style-image: none;
.group-checkuser-show,
list-style-type: none;
.group-bureaucrat-show,
margin: 0;
.group-sysop-show,
padding: 0;
.group-engineer-show,
.group-closer-show,
.group-filemover-show,
.group-editor-show,
.group-autoeditor-show,
.group-user-show {
display: none;
}
}
div#footer ul li {
 
margin: 0;
/* Style for horizontal lists (separator following item).
padding: 0;
  Adapted for the mobile version.
padding-top: 0.5em;
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
padding-bottom: 0.5em;
  @revision 6 (2014-05-09)
color: #333333;
  @author [[User:Edokter]]
font-size: 0.7em;
*/
/* Display list items inline */
.mw-parser-output .hlist dd,
.mw-parser-output .hlist dt,
.mw-parser-output .hlist li {
    margin: 0;
    display: inline;
}
}
div#footer #footer-icons {
/* Display nested lists inline */
float: right;
.mw-parser-output .hlist.inline,
.mw-parser-output .hlist.inline dl,
.mw-parser-output .hlist.inline ol,
.mw-parser-output .hlist.inline ul,
.mw-parser-output .hlist dl dl, .hlist dl ol, .hlist dl ul,
.mw-parser-output .hlist ol dl, .hlist ol ol, .hlist ol ul,
.mw-parser-output .hlist ul dl, .hlist ul ol, .hlist ul ul {
    margin: 0;
    display: inline;
}
}
/* @noflip */
/* Generate interpuncts */
body.ltr div#footer #footer-places {
.mw-parser-output .hlist dt:after {
float: left;
    content: ": ";
}
}
div#footer #footer-info li {
.mw-parser-output .hlist dd:after,
line-height: 1.4em;
.mw-parser-output .hlist li:after {
    content: " · ";
    font-weight: bold;
}
}
div#footer #footer-icons li {
.mw-parser-output .hlist dd:last-child:after,
float: left;
.mw-parser-output .hlist dt:last-child:after,
margin-left: 0.5em;
.mw-parser-output .hlist li:last-child:after {
line-height: 2em;
    content: none;
text-align: right;
}
}
div#footer #footer-places li {
/* Add parentheses around nested lists */
float: left;
.mw-parser-output .hlist dd dd:first-child:before, .mw-parser-output .hlist dd dt:first-child:before, .mw-parser-output .hlist dd li:first-child:before,
margin-right: 1em;
.mw-parser-output .hlist dt dd:first-child:before, .mw-parser-output .hlist dt dt:first-child:before, .mw-parser-output .hlist dt li:first-child:before,
line-height: 2em;
.mw-parser-output .hlist li dd:first-child:before, .mw-parser-output .hlist li dt:first-child:before, .mw-parser-output .hlist li li:first-child:before {
    content: " (";
    font-weight: normal;
}
}
/* Logo */
.mw-parser-output .hlist dd dd:last-child:after, .mw-parser-output .hlist dd dt:last-child:after, .mw-parser-output .hlist dd li:last-child:after,
#p-logo {
.mw-parser-output .hlist dt dd:last-child:after, .mw-parser-output .hlist dt dt:last-child:after, .mw-parser-output .hlist dt li:last-child:after,
position: absolute;
.mw-parser-output .hlist li dd:last-child:after, .mw-parser-output .hlist li dt:last-child:after, .mw-parser-output .hlist li li:last-child:after {
top: -160px;
    content: ") ";
left: 0;
    font-weight: normal;
width: 10em;
height: 160px;
}
}
#p-logo a {
/* Put ordinals in front of ordered list items */
color: #008000;
.mw-parser-output .hlist ol {
display: block;
    counter-reset: listitem;
width: 10em;
height: 160px;
background-repeat: no-repeat;
background-position: center center;
text-decoration: none;
}
}
 
.mw-parser-output .hlist ol > li {
/*
    counter-increment: listitem;
*
* The following code is highly modified from monobook. It would be nice if the
* preftoc id was more human readable like preferences-toc for instance,
* howerver this would require backporting the other skins.
*/
 
/* Preferences */
#preftoc {
/* Tabs */
width: 100%;
float: left;
clear: both;
margin: 0 !important;
padding: 0 !important;
/* @embed */
background-image: url(/skins/Vector/images/preferences-break.png);
background-position: bottom left;
background-repeat: no-repeat;
}
}
#preftoc li {
.mw-parser-output .hlist ol > li:before {
/* Tab */
    content: " " counter(listitem) " ";
float: left;
    white-space: nowrap;
margin: 0;
padding: 0;
padding-right: 1px;
height: 2.25em;
white-space: nowrap;
list-style-type: none;
list-style-image: none;
/* @embed */
background-image: url(/skins/Vector/images/preferences-break.png);
background-position: bottom right;
background-repeat: no-repeat;
}
/* Sadly, IE6 won't understand this */
#preftoc li:first-child {
margin-left: 1px;
}
#preftoc a  {
color: #008000;
}
#preftoc a:active {
display: inline-block;
position: relative;
color: #008000;
padding: 0.5em;
text-decoration: none;
background-image: none;
font-size: 0.9em;
}
#preftoc a:hover {
color: #008000;
}
#preftoc a:focus {
color: #008000;
text-decoration: underline;
}
#preftoc li.selected a {
/* @embed */
background-image: url(/skins/Vector/images/preferences-fade.png);
background-position: bottom;
background-repeat: repeat-x;
color: #333333;
text-decoration: none;
}
#preferences {
float: left;
width: 100%;
margin: 0;
margin-top: -2px;
clear: both;
border: solid 1px #cccccc;
background-color: #f9f9f9;
/* @embed */
background-image: url(/skins/Vector/images/preferences-base.png);
}
}
#preferences fieldset {
.mw-parser-output .hlist dd ol > li:first-child:before,
border: none;
.mw-parser-output .hlist dt ol > li:first-child:before,
border-top: solid 1px #cccccc;
.mw-parser-output .hlist li ol > li:first-child:before {
    content: " (" counter(listitem) " ";
}
}
#preferences fieldset.prefsection {
 
border: none;
/* Списки без маркеров */
.plainlist ol:not(.references),
.plainlist dl,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
padding: 0;
padding: 0;
margin: 1em;
}
}
#preferences legend {
.plainlist ol:not(.references) li,
color: #666666;
.plainlist dl dt,
.plainlist dl dd,
.plainlist ul li {
margin: 0;
}
}
#preferences fieldset.prefsection legend.mainLegend {
.plainlist dl dt:after {
display: none;
content: ": ";
}
}
#preferences td {
 
padding-left: 0.5em;
/* Неразрывные пробелы в горизонтальных списках */
padding-right: 0.5em;
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
    white-space: nowrap;
}
}
#preferences td.htmlform-tip {
 
font-size: x-small;
/* Но где-то неразрывность надо сбросить (например, в навшаблонах в узких местах) */
padding: .2em 2em;
.wrap,
color: #666666;
.wraplinks a,
.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;
}
}
#preferences div.mw-prefs-buttons {
 
padding: 1em;
.reflist-narrow .mw-references-columns {
-webkit-column-width: 20em;
-moz-column-width: 20em;
column-width: 20em;
}
}
#preferences div.mw-prefs-buttons input {
.reflist-wide .mw-references-columns {
margin-right: 0.25em;
-webkit-column-width: 40em;
-moz-column-width: 40em;
column-width: 40em;
}
}


/**
/* Enable custom list style types */
* The following code is slightly modified from monobook
.reflist ol.references {
*/
list-style-type: inherit;
div#content {
background-color: #f5fff5;
line-height: 1.5em;
margin-left: 160px;
border-color: #359d2f;
border-bottom-width: 0px;
}
}
#bodyContent {
 
background-color: #f5fff5;
blockquote {
font-size: 0.8em;
quotes: '\00AB' '\00BB';
border-color: #359d2f;
}
}


.editsection {
/* Блок ссылок на альтернативные сервисы рядом с координатами («HGЯО») */
float: right;
.mw-body .geo-services {
font-size: 82%;
}
}


ul {
.geo-services a > span {
/* @embed */
margin: 0.25em;
list-style-image: url(/skins/Vector/images/bullet-icon.png);
}
}


pre {
.geo-services > :first-child a > span {
line-height: 1.3em;
margin-left: 0.4em;
}
}


/* Site Notice (includes notices from CentralNotice extension) */
/* Временные правки стилей элементов внутри карточек */
#siteNotice {
table.infobox td p {
font-size: 0.8em;
margin: 0 !important;
}
}
#firstHeading {
table.infobox td .NavContent {
padding-top: 0;
margin-left: 0 !important;
margin-top: 0;
padding-top: 0;
font-size: 1.6em;
}
}
div#content a.external,
 
div#content a.external[href ^="gopher://"] {
/* Списки в карточках */
/* @embed */
.infobox th:not(.noplainlist) > ul,
background: url(/skins/Vector/images/external-link-ltr-icon.png) center right no-repeat;
.infobox td:not(.noplainlist) > ul,
padding-right: 13px;
.infobox [data-wikidata-property-id] > ul {
color: #008000; /* цвет внешних ссылок */
list-style-type: none;
list-style-image: none;
margin: 0;
padding: 0;
}
}
div#content a.external[href ^="https://"],
.infobox .noplainlist > ul:first-child {
.link-https {
margin-top: 0;
/* @embed */
background: url(/skins/Vector/images/lock-icon.png) center right no-repeat;
padding-right: 13px;
color: #008000; /* цвет внешних ссылок */
}
}
div#content a.external[href ^="mailto:"],
.infobox th > ol,
.link-mailto {
.infobox td > ol,
/* @embed */
.infobox [data-wikidata-property-id] > ol {
background: url(/skins/Vector/images/mail-icon.png) center right no-repeat;
margin: 0;
padding-right: 13px;
color: #008000; /* цвет внешних ссылок */
}
}
div#content a.external[href ^="news:"] {
.infobox th > dl,
/* @embed */
.infobox td > dl,
background: url(/skins/Vector/images/news-icon.png) center right no-repeat;
.infobox [data-wikidata-property-id] > dl {
padding-right: 13px;
margin: 0;
color: #008000; /* цвет внешних ссылок */
}
}
div#content a.external[href ^="ftp://"],
.infobox.infobox li,
.link-ftp {
.infobox.infobox dt,
/* @embed */
.infobox.infobox dd {
background: url(/skins/Vector/images/file-icon.png) center right no-repeat;
margin-bottom: 0;
padding-right: 13px;
color: #008000; /* цвет внешних ссылок */
}
}
div#content a.external[href ^="irc://"],
.infobox th > ol.references,
div#content a.external[href ^="ircs://"],
.infobox td > ol.references {
.link-irc {
line-height: 1.25em;
/* @embed */
background: url(/skins/Vector/images/talk-icon.png) center right no-repeat;
padding-right: 13px;
color: #008000; /* цвет внешних ссылок */
}
}
div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
 
div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
/* Таблицы наград в карточках */
div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
.content table.infobox table {
div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
margin: 0;
div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
.link-audio {
/* @embed */
background: url(/skins/Vector/images/audio-icon.png) center right no-repeat;
padding-right: 13px;
color: #008000; /* цвет внешних ссылок */
}
}
div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
.content table.infobox table td {
div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
    width: initial;
div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
    padding: initial;
div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
.link-video {
/* @embed */
background: url(/skins/Vector/images/video-icon.png) center right no-repeat;
padding-right: 13px;
color: #008000; /* цвет внешних ссылок */
}
}
div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"],
 
div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"],
/* Сбрасываем неразрывность где нужно (инфобоксы, карточки, blockright) */
div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
.infobox .nowrap,
.link-document {
.infobox .nowraplinks a,
/* @embed */
.infobox .nowraplinks .selflink,
background: url(/skins/Vector/images/document-icon.png) center right no-repeat;
.blockright .nowrap {
padding-right: 13px;
white-space: normal;
color: #008000; /* цвет внешних ссылок */
}
}


div#content .printfooter {
/* Скрытие «показать/скрыть карту» на мобильных */
.mw-customtoggle-maps1 {
display: none;
display: none;
}
}
/* Icon for Usernames */
 
#pt-userpage,
/* {{ref-info}} */
#pt-anonuserpage,
.ref-info {
#pt-login {
font-size: 85%;
/* @embed */
cursor: help;
background: url(/skins/Vector/images/user-icon.png) left top no-repeat;
color: #72777d;
padding-left: 15px !important;
text-transform: none;
}
}


.redirectText {
/* {{tl}} и аналоги */
font-size: 140%;
.wp-templatelink {
color: #9098a0;
}
}


.redirectMsg img {
/* [[Википедия:Оформление таблиц]] */
vertical-align: text-bottom;
.standard,
.wide {
border: 1px solid #a2a9b1;
border-collapse: collapse;
}
}


#bodyContent {
.standard > tr > th,
position: relative;
.standard > tr > td,
top: 3px;
.standard > * > tr > th,
width: 100%;
.standard > * > tr > td,
border-color: #359d2f;
.wide > tr > th,
.wide > tr > td,
.wide > * > tr > th,
.wide > * > tr > td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
}
}
#mw-js-message {
 
font-size: 0.8em;
.standard > tr > th,
.standard > * > tr > th,
.wide > tr > th,
.wide > * > tr > th {
background-color: #eaf3ff;
}
}
div#bodyContent {
 
line-height: 1.5em;
/* Класс для [[Ш:Работа для администратов]] и подобных
border-color: #359d2f;
  для нормального отображения в мобильной версии */
.blockright {
width: 100%;
margin: 0.25em 0;
}
}


/* Watch/Unwatch Icon Styling */
/* Стили для расширения [[mw:Extension:Babel]] (13-07-17) */
#ca-unwatch.icon a {
/* Скрытие буквы N у родных языков, по аналогии со старыми языковыми шаблонами */
color: #008000;
.mw-babel-box-level-N {
}
#ca-watch.icon a {
margin: 0;
padding: 0;
outline: none;
display: block;
width: 26px;
/* This hides the text but shows the background image */
padding-top: 3.1em;
margin-top: 0;
/* Only applied in IE6 */
margin-top: -0.8em !ie;
height: 0;
overflow: hidden;
/* @embed */
background-image: url(/skins/Vector/images/watch-icons.png);
}
#ca-unwatch.icon a {
color: #008000;
background-position: -43px 60%;
}
#ca-watch.icon a {
color: #008000;
background-position: 5px 60%;
}
#ca-unwatch.icon a:hover {
color: #008000;
}
#ca-unwatch.icon a:focus {
background-position: -67px 60%;
color: #008000;
}
#ca-watch.icon a:hover {
color: #008000;
}
#ca-watch.icon a:focus {
background-position: -19px 60%;
color: #008000;
}
#ca-unwatch.icon a.loading {
color: #008000;
}
#ca-watch.icon a.loading {
/* @embed */
background-image: url(/skins/Vector/images/watch-icon-loading.gif);
background-position: 5px 60%;
color: #008000;
}
#ca-unwatch.icon a span {
color: #008000;
}
#ca-watch.icon a span {
display: none;
display: none;
color: #008000;
}
div.vectorTabs ul {
/* @embed */
background-image:url(/skins/Vector/images/tab-break.png);
background-position:right bottom;
background-repeat:no-repeat;
}
/* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
.tipsy {
font-size: 0.8em;
}
}