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

Нет описания правки
Метки: ручная отмена отменено
Нет описания правки
Метка: отменено
Строка 1: Строка 1:
/* CSS placed here will be applied to all skins */
/* Весь CSS будет отсюда будет загружен пользователям темы оформления «Векторная» */
/* Default styling for HTML elements */
 
dfn {
:root {
     font-style: inherit; /* Reset default styling for <dfn> */
    /* Базовые цвета */
    --color-fg: #ffffff;
    --color-bg: #252525;
    --color-bg-opaque: rgba(37, 37, 37, 0.75);
    --color-bg-section: rgba(0, 0, 0, 0.33);
    --color-bg-section-light: rgba(125, 125, 125, 0.05);
    --color-bg-section-lighter: rgba(125, 125, 125, 0.1);
    --color-text: rgba(255, 255, 255, 1);
    --color-text-darker: rgba(225, 215, 210, 0.9);
    --color-text-gray: rgba(200, 200, 200, 0.8);
    --color-text-translucent: rgba(255, 255, 255, 0.5);
    /* TODO: Рассортировать цвета, ради возможности в будущем сделать белую тему Clueless */
    --color-text-button: red;
    --color-text-button-transparent: blue;
    /* Конец не используемых цветов */
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-input: #88bfff;
    --color-hover: rgba(255, 255, 255, 0.075);
    --color-selected: rgba(255, 255, 255, 0.125);
 
    /* Цвета элементов */
    --color-red: rgba(219, 40, 40, 1);
    --color-orange: rgba(240, 143, 17, 1);
    --color-yellow: rgba(251, 214, 8, 1);
    --color-olive: rgba(181, 204, 24, 1);
    --color-green: rgba(91, 170, 39, 1);
    --color-teal: rgba(0, 181, 173, 1);
    --color-blue: rgba(33, 133, 208, 1);
    --color-violet: rgba(100, 53, 201, 1);
    --color-purple: rgba(163, 51, 200, 1);
    --color-pink: rgba(224, 57, 151, 1);
    --color-brown: rgba(165, 103, 63, 1);
    --color-grey: rgba(118, 118, 118, 1);
    --color-primary: rgba(73, 114, 161, 1);
    --color-label: rgba(126, 144, 167, 1);
 
    /* Осветлённые цвета элементов. Знаю что бред, но увы, Lighten нет */
    --color-red-light: rgba(251, 58, 58, 1);
    --color-orange-light: rgba(255, 163, 40, 1);
    --color-yellow-light: rgba(255, 233, 29, 1);
    --color-olive-light: rgba(208, 225, 37, 1);
    --color-green-light: rgba(105, 195, 43, 1);
    --color-teal-light: rgba(0, 209, 193, 1);
    --color-blue-light: rgba(70, 168, 255, 1);
    --color-violet-light: rgba(168, 68, 255, 1);
    --color-purple-light: rgba(188, 68, 255, 1);
    --color-pink-light: rgba(255, 79, 181, 1);
    --color-brown-light: rgba(191, 123, 76, 1);
    --color-grey-light: rgba(136, 136, 136, 1);
    --color-primary-light: rgba(119, 148, 187, 1);
    --color-label-light: rgba(145, 166, 192, 1);
 
    /* Полу-прозрачные цвета элементов. Нужны для фона в шаблонах и прочих местах */
    --color-red-transparent: rgba(255, 51, 51, 0.3);
    --color-orange-transparent: rgba(255, 179, 77, 0.3);
    --color-yellow-transparent: rgba(255, 242, 25, 0.3);
    --color-olive-transparent: rgba(204, 230, 51, 0.3);
    --color-green-transparent: rgba(128, 204, 77, 0.3);
    --color-teal-transparent: rgba(51, 204, 204, 0.3);
    --color-blue-transparent: rgba(77, 153, 255, 0.3);
    --color-violet-transparent: rgba(153, 102, 255, 0.3);
    --color-purple-transparent: rgba(204, 102, 255, 0.3);
    --color-pink-transparent: rgba(255, 102, 204, 0.3);
    --color-brown-transparent: rgba(204, 153, 128, 0.3);
    --color-grey-transparent: rgba(153, 153, 153, 0.3);
    --color-primary-transparent: rgba(102, 140, 191, 0.3);
    --color-label-transparent: rgba(153, 168, 191, 0.3);
 
    --color-red-transparent-2: rgba(255, 51, 51, 0.5);
    --color-orange-transparent-2: rgba(255, 179, 77, 0.5);
    --color-yellow-transparent-2: rgba(255, 242, 25, 0.5);
    --color-olive-transparent-2: rgba(204, 230, 51, 0.5);
    --color-green-transparent-2: rgba(128, 204, 77, 0.5);
    --color-teal-transparent-2: rgba(51, 204, 204, 0.5);
    --color-blue-transparent-2: rgba(77, 153, 255, 0.5);
    --color-violet-transparent-2: rgba(153, 102, 255, 0.5);
    --color-purple-transparent-2: rgba(204, 102, 255, 0.5);
    --color-pink-transparent-2: rgba(255, 102, 204, 0.5);
    --color-brown-transparent-2: rgba(204, 153, 128, 0.5);
    --color-grey-transparent-2: rgba(153, 153, 153, 0.5);
    --color-primary-transparent-2: rgba(102, 140, 191, 0.5);
    --color-label-transparent-2: rgba(153, 168, 191, 0.5);
 
    /* Палитра цветов на вики */
    --palette-civ-primary-bold: rgba(0,191,17,0.5);
    --palette-civ-primary: rgba(0,191,17,0.4);
    --palette-civ-secondary: rgba(0,191,17,0.3);
    --palette-civ-tertiary: rgba(0,191,17,0.25);
    --palette-civ-light: rgba(0,191,17,0.20);
    --palette-civ-very-light: rgba(0,191,17,0.15);
 
    --palette-eng-primary-bold: rgba(255, 170, 0, 0.5);
    --palette-eng-primary: rgba(255, 170, 0, 0.4);
    --palette-eng-secondary: rgba(255, 170, 0, 0.3);
    --palette-eng-tertiary: rgba(255, 170, 0, 0.25);
    --palette-eng-light: rgba(255, 170, 0, 0.2);
    --palette-eng-very-light: rgba(255, 170, 0, 0.15);
 
    --palette-comm-primary-bold: rgba(0, 106, 255, 0.5);
    --palette-comm-primary: rgba(0, 106, 255, 0.4);
    --palette-comm-secondary: rgba(0, 106, 255, 0.3);
    --palette-comm-tertiary: rgba(0, 106, 255, 0.25);
    --palette-comm-light: rgba(0, 106, 255, 0.2);
    --palette-comm-very-light: rgba(0, 106, 255, 0.15);
 
    --palette-med-primary-bold: rgba(0, 191, 255, 0.5);
    --palette-med-primary: rgba(0, 191, 255, 0.4);
    --palette-med-secondary: rgba(0, 191, 255, 0.3);
    --palette-med-tertiary: rgba(0, 191, 255, 0.25);
    --palette-med-light: rgba(0, 191, 255, 0.2);
    --palette-med-very-light: rgba(0, 191, 255, 0.15);
 
    --palette-synth-primary-bold: rgba(255, 0, 191, 0.5);
    --palette-synth-primary: rgba(255, 0, 191, 0.4);
    --palette-synth-secondary: rgba(255, 0, 191, 0.3);
    --palette-synth-tertiary: rgba(255, 0, 191, 0.25);
    --palette-synth-light: rgba(255, 0, 191, 0.2);
    --palette-synth-very-light: rgba(255, 0, 191, 0.15);
 
    --palette-xeno-primary-bold: rgba(96, 0, 191, 0.5);
    --palette-xeno-primary: rgba(96, 0, 191, 0.4);
    --palette-xeno-secondary: rgba(96, 0, 191, 0.3);
    --palette-xeno-tertiary: rgba(96, 0, 191, 0.25);
    --palette-xeno-light: rgba(96, 0, 191, 0.2);
    --palette-xeno-very-light: rgba(96, 0, 191, 0.15);
 
    --palette-cc-primary-bold: rgba(0, 64, 128, 0.5);
    --palette-cc-primary: rgba(0, 64, 128, 0.4);
    --palette-cc-secondary: rgba(0, 64, 128, 0.3);
    --palette-cc-tertiary: rgba(0, 64, 128, 0.25);
    --palette-cc-light: rgba(0, 64, 128, 0.2);
    --palette-cc-very-light: rgba(0, 64, 128, 0.15);
 
    --palette-primary-bold: rgba(127, 127, 127, 0.5);
    --palette-primary: rgba(127, 127, 127, 0.4);
    --palette-secondary: rgba(127, 127, 127, 0.3);
    --palette-tertiary: rgba(127, 127, 127, 0.25);
    --palette-light: rgba(127, 127, 127, 0.2);
    --palette-very-light: rgba(127, 127, 127, 0.15);
 
    /* Остальные цвета */
    --color-notice: #a6875b;
    --color-hyperlink: #6699ff;
    --color-hyperlink-visited: #a173ff;
    --color-hyperlink-new: #ff6666;
    --color-hyperlink-new-visited: #ff8359;
 
    /* Значения */
    --border-radius-tiny: 0.16em;
    --border-radius-small: 0.25em;
    --border-radius-medium: 0.5em;
    --border-radius-large: 1em;
    --blur-intensity: blur(24px);
    --invert-rare: invert(0.8);
    --invert-common: invert(0.9);
     --invert-full: invert(1);
 
    /* Время */
    --transition-time: 0.2s;
}
}


/* Main page fixes */
a {
#interwiki-completelist {
     color: var(--color-hyperlink)
     font-weight: bold;
}
}
body.page-Main_Page #ca-delete {
 
     display: none !important;
.mw-parser-output a.extiw, .mw-parser-output a.external {
     color: var(--color-hyperlink)
}
}
body.page-Main_Page #mp-topbanner {
 
     clear: both;
a:visited {
     color: var(--color-hyperlink-visited)
}
}


/* Edit window toolbar */
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
#toolbar {
     color: var(--color-hyperlink-visited)
     height: 22px;
    margin-bottom: 6px;
}
}


/* Highlight data points in the info action if specified in the URL */
a.new {
body.action-info :target {
     color: var(--color-hyperlink-new)
     background: #DEF;
}
}


/* Make the list of references smaller */
a.new:visited {
ol.references,
     color: var(--color-hyperlink-new-visited)
div.reflist,
div.refbegin {
     font-size: 90%;            /* Default font-size */
    margin-bottom: 0.5em;
}
}
div.refbegin-100 {
 
     font-size: 100%;           /* Option for normal fontsize in {{refbegin}} */
ul li::marker {
     color: var(--color-text) !important;
}
}
div.reflist ol.references {
 
     font-size: 100%;           /* Reset font-size when nested in div.reflist */
ul li:before {
     list-style-type: inherit; /* Enable custom list style types */
     content: "\2022";
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    font-weight: bold;
     color: var(--color-text);
}
}


/* Highlight clicked reference in blue to help navigation */
strong {
ol.references li:target,
     color: var(--color-text) !important;
sup.reference:target,
span.citation:target {
     background-color: #DEF;
}
}


/* Ensure refs in table headers and the like aren't bold or italic */
li, p, label {
sup.reference {
     color: var(--color-text-darker);
     font-weight: normal;
    font-style: normal;
}
}


/* Allow hidden ref errors to be shown by user CSS */
h1, h2, h3, h4, h5, h6 {
span.brokenref {
     color: var(--color-text);
     display: none;
}
}


/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
h2 {
.citation {
     border-bottom: 2px solid var(--color-primary);
     word-wrap: break-word;
}
}


/* For linked citation numbers and document IDs, where
hr {
  the number need not be shown on a screen or a handheld,
     height: 2px;
  but should be included in the printed version */
     background-color: var(--color-border);
@media screen, handheld {
     .citation .printonly {
        display: none;
     }
}
}


/* Reset top margin for lists embedded in columns */
pre, code, .mw-code {
div.columns {
     background-color: var(--color-bg-section-lighter);
     margin-top: 0.3em;
    color: var(--color-text-darker);
    border: 1px solid var(--color-border);
    backdrop-filter: var(--blur-intensity);
}
}
div.columns dl,
 
div.columns ol,
body.skin-vector {
div.columns ul {
     background-color: var(--color-bg);
     margin-top: 0;
    color: var(--color-text-darker)
}
}


/* Avoid list items from breaking between columns */
.vector .mw-body h1, .mw-body-content h1, .mw-body-content h2 {
div.columns li,
     padding: 0.2em 0.2em 0.2em 0.4em;
div.columns dd dd {
    -webkit-column-break-inside: avoid;
     page-break-inside: avoid;
    break-inside: avoid-column;
}
}


/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
/* Header */
.flowlist ul {
@media screen and (min-width: 1000px) {
     overflow-x: hidden;
     .vector-sticky-header {
    margin-left: 0;
        display: none;
     padding-left: 1.6em;
     }
}
}
.flowlist ol {
 
     overflow-x: hidden;
.mw-header {
     margin-left: 0;
     position: fixed;
     padding-left: 3.2em;
    padding: 0.5em 0;
    backdrop-filter: var(--blur-intensity);
     background-color: var(--color-bg-section);
     color: var(--color-fg);
    width: 100%;
    top: 0;
}
}
.flowlist dl {
 
     overflow-x: hidden;
.vector-user-menu-more .vector-menu-content-list, .vector-user-menu-overflow .vector-menu-content-list {
     background-color: rgba(0, 0, 0, 0);
}
}


/* Style for horizontal lists (separator following item).
/* Поиск */
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
.cdx-search-input--has-end-button,
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
.client-js .vector-search-box-vue.vector-search-box-show-thumbnail > div {
  @revision 6 (2014-05-09)
    max-width: unset;
  @author [[User:Edokter]]
    margin: 0 15em;
*/
    background-color: var(--color-bg-section-light);
.hlist dl,
     color: var(--color-text-darker);
.hlist ol,
     border-radius: 0;
.hlist ul {
     margin: 0;
     padding: 0;
}
}
/* Display list items inline */
 
.hlist dd,
.cdx-search-input--has-end-button {
.hlist dt,
.hlist li {
     margin: 0;
     margin: 0;
     display: inline;
     border: 1px solid var(--color-border);
}
}
/* Display nested lists inline */
 
.hlist.inline,
.vector-search-box-input {
.hlist.inline dl,
    padding: 5px 2.15em 5px 0.4em;
.hlist.inline ol,
    background-color: var(--color-bg-section-light);
.hlist.inline ul,
    color: var(--color-text-darker);
.hlist dl dl, .hlist dl ol, .hlist dl ul,
    border: 1px solid var(--color-border);
.hlist ol dl, .hlist ol ol, .hlist ol ul,
    box-shadow: none;
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    transition-property: border-color, box-shadow;
     display: inline;
     transition-duration: var(--transition-time);
}
}
/* Generate interpuncts */
 
.hlist dt:after {
.client-js .vector-search-box-vue.vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton {
     content: ": ";
     left: 0;
    filter: var(--invert-common);
}
}
.hlist dd:after,
 
.hlist li:after {
.client-js .vector-search-box-vue.vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input {
     content: " · ";
     margin: 0;
     font-weight: bold;
     width: 100%;
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
.cdx-text-input__input {
.hlist li:last-child:after {
    transition: all var(--transition-time) !important;
     content: none;
     outline: none !important;
}
}
/* For IE8 */
 
.hlist dd.hlist-last-child:after,
.cdx-text-input__input:enabled {
.hlist dt.hlist-last-child:after,
    background-color: unset;
.hlist li.hlist-last-child:after {
    color: var(--color-text);
     content: none;
     border: 1px solid var(--color-border);
}
}
/* Add parentheses around nested lists */
 
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.cdx-text-input__input:enabled:focus {
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
    box-shadow: inset 0 0 0 1px var(--color-border-input);
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
     border-color: var(--color-border-input);
     content: " (";
    font-weight: normal;
}
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
 
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.client-js .vector-search-box-vue .cdx-typeahead-search .cdx-text-input__input:not(:hover):not(:focus) {
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
     border: transparent;
     content: ") ";
     background-color: transparent;
     font-weight: normal;
}
}
/* For IE8 */
 
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--active) {
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
     margin-left: unset;
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
     content: ") ";
    font-weight: normal;
}
}
/* Put ordinals in front of ordered list items */
 
.hlist ol {
.client-js .vector-search-box-vue .cdx-typeahead-search .cdx-search-input__end-button {
     counter-reset: listitem;
     transition: opacity var(--transition-time);
}
}
.hlist ol > li {
 
     counter-increment: listitem;
.cdx-button--framed {
     transition: all var(--transition-time) !important;
}
}
.hlist ol > li:before {
 
     content: " " counter(listitem) " ";
.cdx-button--framed:enabled {
     white-space: nowrap;
     background-color: var(--color-bg-section-lighter);
     color: var(--color-text-darker);
    border: none;
}
}
.hlist dd ol > li:first-child:before,
 
.hlist dt ol > li:first-child:before,
.cdx-button--framed:enabled:hover {
.hlist li ol > li:first-child:before {
     background-color: var(--color-border-input);
     content: " (" counter(listitem) " ";
}
}


/* Unbulleted lists */
.cdx-icon {
.plainlist ul {
     filter: var(--invert-full);
     line-height: inherit;
    list-style: none none;
    margin: 0;
}
}
.plainlist ul li {
 
     margin-bottom: 0;
/* Результаты поиска */
.cdx-menu {
     background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-top: 0;
    box-shadow: 0px 20px 30px 5px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
}
}


/* Default style for navigation boxes */
.cdx-menu-item--enabled, .cdx-menu-item--enabled .cdx-menu-item__content {
.navbox {                     /* Navbox container style */
     margin: 0.5em 0.25em;
     border: 1px solid #aaa;
     background-color: var(--color-bg-section-light);
     width: 100%;
     color: var(--color-text-darker);
     margin: auto;
     border-radius: var(--border-radius-medium);
    clear: both;
    font-size: 88%;
    text-align: center;
     padding: 1px;
}
}
.navbox-inner,
 
.navbox-subgroup {
.cdx-menu-item--enabled:hover, .cdx-menu-item--enabled.cdx-menu-item--highlighted {
     width: 100%;
     background-color: var(--color-bg-section-lighter);
}
}
.navbox-group,
 
.navbox-title,
.cdx-menu-item__thumbnail {
.navbox-abovebelow {
     margin-right: 1em;
     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;
.cdx-typeahead-search__menu-message, .cdx-typeahead-search__search-footer {
     /* @noflip */
     background-color: var(--color-bg);
     text-align: right;
     color: var(--color-text-translucent);
     padding-bottom: 0.5em;
}
}
.navbox,
 
.navbox-subgroup {
.cdx-typeahead-search__search-footer {
     background: #fdfdfd;     /* Background color */
     border-top: 0;
}
}
.navbox-list {
 
     line-height: 1.8em;
/* Фильтр на странице результатов */
     border-color: #fdfdfd;   /* Must match background color */
.mw-search-profile-tabs {
     margin-top: 1em;
     background-color: var(--color-bg-section-lighter);
    border: 1px solid var(--color-border);
}
}
.navbox th,
 
.navbox-title {
.search-types a {
     background: #ccccff;     /* Level 1 color */
    padding: 0 0.5em 0 0.5em;
    margin: 0.5em 0.25em 0.5em 0.25em;
    color: var(--color-text);
     background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    text-decoration: none;
    transition: background-color var(--transition-time);
}
}
.navbox-abovebelow,
 
th.navbox-group,
.search-types a:hover {
.navbox-subgroup .navbox-title {
     background-color: var(--color-primary-light);
     background: #ddddff;     /* Level 2 color */
}
}
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-abovebelow {
.search-types .current a {
     background: #e6e6ff;     /* Level 3 color */
    margin: 0.5em 0.25em 0.5em 0.25em;
    color: var(--color-text);
     background-color: var(--color-green);
    border-radius: var(--border-radius-small);
}
}
.navbox-even {
 
     background: #f7f7f7;     /* Even row striping */
.search-types .current a:hover {
     background-color: var(--color-green);
}
}
.navbox-odd {
 
     background: transparent; /* Odd row striping */
/* Выпадающие меню */
.vector-menu-dropdown {
     position: relative;
    margin-right: 1em;
}
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
 
     margin-top: -1px;         /* (doesn't work for IE6, but that's okay)       */
.vector-menu-dropdown .vector-menu-content {
    height: unset;
    margin-top: 0.5em;
    padding: 0.5em;
    background-color: var(--color-bg); /* Нужно заменить на переменную, и применить блюр потом */
     color: var(--color-text);
    border: 1px solid var(--color-border);
    box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.7);
    transform: translate(0, -1vh);
    transition: all var(--transition-time) ease-in-out;
}
}
.navbox .hlist td dl,
 
.navbox .hlist td ol,
.vector-menu-checkbox:checked ~ .vector-menu-content {
.navbox .hlist td ul,
     transform: translate(0, 0);
.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 {
.vector-menu-checkbox:focus + .vector-menu-heading {
     margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
     outline: none;
}
}


/* Default styling for Navbar template */
.vector-user-menu a{
.navbar {
     padding: 0 0.33em !important;
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
     display: inline;
     white-space: nowrap;
     white-space: nowrap;
    transition: all var(--transition-time);
}
}
.navbar li {
 
     word-spacing: -0.125em;
.vector-user-menu a:hover{
     background-color: var(--color-primary-light) !important;
}
}
.navbar.mini li span {
 
  font-variant: small-caps;
.vector-menu-dropdown .mw-list-item a {
    min-height: 32px;
    display: flex;
    align-items: center;
    margin: 0 0 0.5em 0;
    border-radius: var(--border-radius-tiny);
    white-space: nowrap;
    background-color: var(--color-primary);
    color: var(--color-text) !important;
    text-decoration: none !important;
    transition: background-color var(--transition-time);
}
}
/* Navbar styling when nested in infobox and navbox */
 
.infobox .navbar {
.vector-menu-dropdown .mw-list-item a:hover {
     font-size: 100%;
     background-color: var(--color-primary-light) !important;
}
}
.navbox .navbar {
 
     display: block;
.vector-user-menu-logout {
    font-size: 100%;
     border-top: 2px solid var(--color-border);
}
}
.navbox-title .navbar {
 
     /* @noflip */
.vector-user-menu-logout a {
     float: left;
     margin-top: 0.5em;
     /* @noflip */
     border-top: none;
     text-align: left;
     border-radius: var(--border-radius-tiny);
     /* @noflip */
     background-color: var(--color-red);
    margin-right: 0.5em;
     color: var(--color-text) !important;
     width: 6em;
     text-decoration: none !important;
}
}


/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
.vector-user-menu-logout a:hover {
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
     background-color: var(--color-red-light) !important;
.collapseButton {
     /* @noflip */
    float: right;
    font-weight: normal;
    /* @noflip */
    margin-left: 0.5em;
    /* @noflip */
    text-align: right;
    width: auto;
}
}
/* In navboxes, the show/hide button balances the v·d·e links
 
  from [[Template:Navbar]], so they need to be the same width. */
#pt-userpage,
.navbox .collapseButton {
#pt-watchlist {
     width: 6em;
     display: block;
}
}


/* Styling for JQuery makeCollapsible, matching that of collapseButton */
/* Sidebar */
.mw-collapsible-toggle {
.mw-sidebar {
     font-weight: normal;
    position: fixed;
     /* @noflip */
    height: -webkit-fill-available;
     text-align: right;
    overflow-y: hidden;
    padding: 1em 0 0.75em 0;
    margin: 2.65em 0 0 0;
    z-index: 3;
     backdrop-filter: var(--blur-intensity);
     background-color: var(--color-bg-section);
     color: var(--color-fg);
    transform: translateX(0);
    transition: all var(--transition-time);
}
}
.navbox .mw-collapsible-toggle {
 
     width: 6em;
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container .mw-sidebar {
     display: unset;
    transform: translateX(-25em);
}
}


/* Infobox template style */
.mw-sidebar:hover {
.infobox {
     overflow-y: auto;
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    /* @noflip */
     margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    /* @noflip */
    text-align: left;
    font-size: 88%;
    line-height: 1.5em;
}
}
.infobox caption {
 
    font-size: 125%;
#mw-sidebar-button {
     font-weight: bold;
     margin: 0 0.75em 0 0.5em;
}
}
.infobox td,
 
.infobox th {
#mw-panel.collapsible-nav .portal {
     vertical-align: top;
     border: 1px solid var(--color-border);
}
}
.infobox.bordered {
 
     border-collapse: collapse;
#mw-panel.collapsible-nav .portal .vector-menu-content ul li {
    padding: 0;
    margin: 0 0.5em 0.5em 0.5em;
    background-color: var(--color-primary);
     border-radius: var(--border-radius-small);
    transition: background-color var(--transition-time);
}
}
.infobox.bordered td,
 
.infobox.bordered th {
#mw-panel.collapsible-nav .portal .vector-menu-content ul li:first-child {
     border: 1px solid #aaa;
     margin-top: 0.5em;
}
}
.infobox.bordered .borderless td,
 
.infobox.bordered .borderless th {
#mw-panel.collapsible-nav .portal .vector-menu-content ul li:hover {
     border: 0;
     background-color: var(--color-primary-light);
}
}


.infobox.sisterproject {
.vector-menu-portal {
     width: 20em;
     padding: 0;
     font-size: 90%;
     margin: 0.5em 0.75em 0 0.75em;
}
}


.infobox.standard-talk {
.vector-menu-portal .vector-menu-content li a {
     border: 1px solid #c0c090;
     display: inline-flex;
     background-color: #f8eaba;
     width: 100%;
}
    padding: 0.5em 0 0.25em 0.33em;
.infobox.standard-talk.bordered td,
    color: var(--color-text-darker) !important;
.infobox.standard-talk.bordered th {
     text-decoration: none;
     border: 1px solid #c0c090;
}
}


/* styles for bordered infobox with merged rows */
.vector-menu-portal
.infobox.bordered .mergedtoprow td,
.vector-menu-heading  {
.infobox.bordered .mergedtoprow th {
     margin: 0 0 0 0 !important;
     border: 0;
     background-color: var(--color-bg-section-light);
     border-top: 1px solid #aaa;
     text-decoration: none !important;
     /* @noflip */
     border-bottom: 2px solid var(--color-primary) !important;
     border-right: 1px solid #aaa;
}
}


.infobox.bordered .mergedrow td,
.vector-menu-portal
.infobox.bordered .mergedrow th {
.vector-menu-heading-label {
     border: 0;
     color: var(--color-text-darker) !important;
    /* @noflip */
    border-right: 1px solid #aaa;
}
}


/* Styles for geography infoboxes, eg countries,
.vector-menu-portal
  country subdivisions, cities, etc.           */
.vector-menu-content {
.infobox.geography {
     margin: 0 !important;
     border-collapse: collapse;
     padding: 0 0 0.1em 0em;
     line-height: 1.2em;
     background-color: var(--color-bg-section-light);
     font-size: 90%;
    color: var(--color-text);
}
}


.infobox.geography  td,
/* Toolbar */
.infobox.geography  th {
.mw-article-toolbar-container {
     border-top: 1px solid #aaa;
     margin: 0.5em 0.5em 0 0.5em;
    padding: 0.4em 0.6em 0.4em 0.6em;
     color: var(--color-text);
}
     border: none;
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
     border-top: 1px solid #aaa;
     padding: 0.4em 0.6em 0.2em 0.6em;
}
}


.infobox.geography .mergedrow td,
.vector-menu-tabs .mw-list-item > a, .mw-article-toolbar-container .vector-menu-dropdown > a, .vector-menu-tabs .mw-list-item .vector-menu-heading, .mw-article-toolbar-container .vector-menu-dropdown .vector-menu-heading {
.infobox.geography .mergedrow th {
     border-top-left-radius: 0.25em !important;
     border: 0;
    border-top-right-radius: 0.25em !important;
     padding: 0 0.6em 0.2em 0.6em;
     padding: 0.5em 0.5em 0 0;
    max-height: 3em;
    font-size: 1.1em;
    border-bottom: none;
    transition: background-color var(--transition-time);
}
}


.infobox.geography .mergedbottomrow td,
.vector-menu-tabs .mw-list-item.selected a, .vector-menu-tabs .mw-list-item.selected a:visited {
.infobox.geography .mergedbottomrow th {
     background-color: var(--color-selected) !important;
     border-top: 0;
    color: var(--color-text-darker) !important;
     border-bottom: 1px solid #aaa;
     border-bottom: 2px solid var(--color-fg) !important;
    padding: 0 0.6em 0.4em 0.6em;
}
}


.infobox.geography .maptable td,
.vector-menu-tabs .mw-list-item.new a, .vector-menu-tabs .mw-list-item.new a:visited {
.infobox.geography .maptable th {
     color: var(--color-red) !important;
     border: 0;
    padding: 0;
}
}


/* Normal font styling for table row headers with scope="row" tag */
.vector-menu-tabs .mw-list-item a:focus, .vector-menu-tabs .mw-list-item a:hover {
.wikitable.plainrowheaders th[scope=row] {
     background-color: var(--color-hover);
     font-weight: normal;
     border-bottom: none;
     /* @noflip */
    text-align: left;
}
}


/* Lists in data cells are always left-aligned */
.vector-menu-tabs .mw-list-item a {
.wikitable td ul,
     color: var(--color-text-translucent) !important;
.wikitable td ol,
    padding: 0.5em 0.5em 0.25em 0.5em;
.wikitable td dl {
     /* @noflip */
    text-align: left;
}
/* ...unless they also use the hlist class */
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
    text-align: inherit;
}
}


/* Icons for medialist templates [[Template:Listen]],
#left-navigation {
  [[Template:Multi-listen_start]], [[Template:Video]],
     margin-left: 0px;
  [[Template:Multi-video_start]] */
div.listenlist {
     background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
    background-size: 30px;
    padding-left: 40px;
}
}


/* Fix for hieroglyphs specificality issue in infoboxes ([[Bugzilla:41869]]) */
.vector-menu-tabs .mw-watchlink.icon a {
table.mw-hiero-table td {
     content: none;
     vertical-align: middle;
    color: transparent;
    margin: 0 1.5em 0 1em;
}
}


/* Style rules for media list templates */
.vector-menu-tabs .mw-list-item, .mw-article-toolbar-container .vector-menu-dropdown {
div.medialist {
    min-height: 50px;
    margin: 1em;
    /* @noflip */
    background-position: top left;
    background-repeat: no-repeat;
}
div.medialist ul {
    list-style-type: none;
    list-style-image: none;
     margin: 0;
     margin: 0;
}
}
div.medialist ul li {
 
     padding-bottom: 0.5em;
.vector-collapsible > .vector-menu-dropdown {
    margin: 0 0.5em 0 0;
     padding: 0 0 0.33em 1em;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-time);
}
}
div.medialist ul li li {
 
     font-size: 91%;
.vector-collapsible > .vector-menu-dropdown:hover {
    padding-bottom: 0;
     background-color: var(--color-primary-light);
}
}


/* Change the external link icon to an Adobe icon for all PDF files
.vector-collapsible > img.vector-menu-dropdown {
  in browsers that support these CSS selectors, like Mozilla and Opera */
     filter: var(--invert-common);
div#content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
     background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}
}


/* Change the external link icon to an Adobe icon anywhere the PDFlink class
/* Content */
  is used (notably Template:PDFlink). This works in IE, unlike the above. */
.skin-vector-disable-max-width .mw-content-container {
div#content span.PDFlink a,
     max-width: none !important;
div#mw_content span.PDFlink a {
     width: auto !important;
     background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
     /* @noflip */
    padding-right: 18px;
}
}


/* Content in columns with CSS instead of tables ([[Template:Columns]]) */
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container,
div.columns-2 div.column {
.vector-toc-collapsed #mw-sidebar-checkbox:not(:checked) ~ .mw-content-container, .vector-toc-collapsed #mw-sidebar-checkbox:not(:checked) ~ .mw-table-of-contents-container {
     /* @noflip */
     max-width: none;
    float: left;
     padding: 0 0.75em 0 0.75em;
    width: 50%;
     min-width: 300px;
}
}
div.columns-3 div.column {
 
     /* @noflip */
.mw-content-container {
    float: left;
     max-width: none;
     width: 33.3%;
     margin: 3.5em 0.75em 0 0.75em;
     min-width: 200px;
     padding: 0;
}
}
div.columns-4 div.column {
 
     /* @noflip */
.mw-body {
    float: left;
     background-color: var(--color-bg-section);
     width: 25%;
     padding: 0;
     min-width: 150px;
     margin: 0;
}
}
div.columns-5 div.column {
 
     /* @noflip */
.mw-body h1 {
    float: left;
     padding: 0.2em 0.2em 0.2em 0.3em;
     width: 20%;
     border-bottom: 2px solid var(--color-primary);
    min-width: 120px;
}
}


/* Messagebox templates */
.mw-indicator {
.messagebox {
     display: inline-block;
     border: 1px solid #aaa;
     background-color: var(--color-primary);
     background-color: #f9f9f9;
    padding: 0.25em 0.5em;
     width: 80%;
     border-radius: var(--border-radius-tiny);
     margin: 0 auto 1em auto;
     margin: 0.66em;
     padding: .2em;
     transition: var(--transition-time);
}
}
.messagebox.merge {
 
     border: 1px solid #c0b8cc;
.mw-indicator a {
    background-color: #f0e5ff;
     color: var(--color-text-darker) !important;
     text-align: center;
     text-decoration: none;
}
}
.messagebox.cleanup {
 
    border: 1px solid #9f9fff;
.mw-indicator:hover {
     background-color: #efefff;
     background-color: var(--color-primary-light);
    text-align: center;
}
}
.messagebox.standard-talk {
 
     border: 1px solid #c0c090;
.mw-body-content {
    background-color: #f8eaba;
     padding: 0 0.75em 0.75em 0.75em;
    margin: 4px auto;
}
}
/* For old WikiProject banners inside banner shells. */
 
.mbox-inside .standard-talk,
.mw-page-container {
.messagebox.nested-talk {
     max-width: 100%;
     border: 1px solid #c0c090;
     padding: 0;
    background-color: #f8eaba;
     background-color: var(--color-bg);
    width: 100%;
    margin: 2px 0;
     padding: 2px;
}
.messagebox.small {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
     line-height: 1.25em;
}
.messagebox.small-talk {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
    background: #F8EABA;
}
}


/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
.catlinks {
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
     border: none;
     border: none;
     /* @noflip */
     border-top: 1px solid var(--color-border);
     padding: 0.25em 0.9em;    /* 0.9em left/right */
     background-color: var(--color-bg-section-light);
    width: 100%;               /* Make all mboxes the same width regardless of text length */
     padding: 0.5em;
}
}
td.mbox-image {               /* The left image cell */
 
     border: none;
.mw-page-container-inner {
    /* @noflip */
     background: url(https://raw.githubusercontent.com/ss220club/Paradise-SS220/master/tgui/packages/tgui/assets/bg-nanotrasen.svg);
    padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
     background-size: 40%;
    text-align: center;
     background-attachment: fixed;
}
    background-repeat: no-repeat;
td.mbox-imageright {          /* The right image cell */
     background-position: center;
    border: none;
     transition: all var(--transition-time);
    /* @noflip */
     padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
     text-align: center;
}
td.mbox-empty-cell {          /* An empty narrow cell */
    border: none;
     padding: 0;
     width: 1px;
}
}


/* Article message box styles */
/* Размеры под разные экраны */
table.ambox {
@media screen and (max-width: 999px) {
    margin: 0 10%;                  /* 10% = Will not overlap with other elements */
     .mw-content-container {
    border: 1px solid #aaa;
        margin: 5em 0.75em 0 0.75em;
    /* @noflip */
    }
    border-left: 10px solid #1e90ff;  /* Default "notice" blue */
 
    background: #fbfbfb;
    .mw-sidebar {
}
        width: 220px;
table.ambox + table.ambox {     /* Single border between stacked boxes. */
        margin: -0.85em 0 0 0 !important;
     margin-top: -1px;
    }
}
.ambox th.mbox-text,
.ambox td.mbox-text {           /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    /* @noflip */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    /* @noflip */
    padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
}
}


table.ambox-notice {
@media screen and (min-width: 1200px) {
    /* @noflip */
     .mw-page-container-inner {
    border-left: 10px solid #1e90ff;    /* Blue */
        grid-template-columns: 245px 0 !important;
}
        min-height: 100vh;
table.ambox-speedy {
     }
     /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
    background: #fee;                  /* Pink */
}
table.ambox-delete {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
}
table.ambox-content {
    /* @noflip */
    border-left: 10px solid #f28500;   /* Orange */
}
table.ambox-style {
    /* @noflip */
    border-left: 10px solid #f4c430;   /* Yellow */
}
table.ambox-move {
     /* @noflip */
    border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    /* @noflip */
    border-left: 10px solid #bba;      /* Gray-gold */
}
}


/* Image message box styles */
@media screen and (min-width: 1000px) {
table.imbox {
     .mw-page-container-inner {
    margin: 4px 10%;
        grid-template-columns: 245px 0;
    border-collapse: collapse;
        min-height: 100vh;
    border: 3px solid #1e90ff;    /* Default "notice" blue */
    }
     background: #fbfbfb;
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.        */
    display: block;         /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {      /* For imboxes inside other templates.  */
    margin: 4px;
}
}


table.imbox-notice {
@media screen and (min-width: 720px) {
    border: 3px solid #1e90ff;    /* Blue */
     .mw-page-container-inner {
}
        grid-template-columns: 220px 0;
table.imbox-speedy {
        min-height: 100vh;
     border: 3px solid #b22222;    /* Red */
     }
    background: #fee;            /* Pink */
}
table.imbox-delete {
    border: 3px solid #b22222;    /* Red */
}
table.imbox-content {
    border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
    border: 3px solid #f4c430;    /* Yellow */
}
table.imbox-move {
    border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
    border: 3px solid #bba;       /* Gray-gold */
}
table.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
     background: #f7f8ff;          /* Light gray */
}
table.imbox-featured {
    border: 3px solid #cba135;    /* Brown-gold */
}
}


/* Category message box styles */
/* Кастомный скроллбар */
table.cmbox {
::-webkit-scrollbar {
    margin: 3px 10%;
     width: 1.5vh;
    border-collapse: collapse;
     background-color: #191919;
     border: 1px solid #aaa;
     background: #DFE8FF;   /* Default "notice" blue */
}
}


table.cmbox-notice {
::-webkit-scrollbar-thumb {
    background: #D8E8FF;    /* Blue */
     background-color: #3b3b3b;
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;    /* Red */
    background: #FFDBDB;          /* Pink */
}
table.cmbox-delete {
    background: #FFDBDB;    /* Red */
}
table.cmbox-content {
     background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #FFF9DB;   /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}
}


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


table.ombox-notice {
/* Содержание */
    border: 1px solid #aaa;      /* Gray */
#vector-toc-collapsed-button {
}
     position: fixed;
table.ombox-speedy {
     padding: 0.5em;
     border: 2px solid #b22222;   /* Red */
     margin: 0;
     background: #fee;             /* Pink */
    background-color: var(--color-bg-section);
}
     border: 1px solid var(--color-border);
table.ombox-delete {
    right: 1.75em;
     border: 2px solid #b22222;   /* Red */
     bottom: 1em;
}
    backdrop-filter: var(--blur-intensity);
table.ombox-content {
     filter: invert(0);
     border: 1px solid #f28500;   /* Orange */
}
table.ombox-style {
     border: 1px solid #f4c430;   /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;   /* Purple */
}
table.ombox-protection {
     border: 2px solid #bba;       /* Gray-gold */
}
}


/* Talk page message box styles */
#vector-toc-collapsed-button:hover, #vector-toc-collapsed-button:active {
table.tmbox {
     background-color: var(--color-bg-section-light);
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
     background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
    margin: 2px 0;              /* this declaration overrides other styles (including mbox-small above)  */
    width: 100%;                /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are  */
    font-size: 100%;             /* set in "mbox-small" above.                */
}
}


table.tmbox-speedy {
.mw-ui-icon-wikimedia-listBullet:before {
    border: 2px solid #b22222;    /* Red */
     filter: var(--invert-rare);
    background: #fee;            /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
     border: 2px solid #f4c430;    /* Yellow */
}
table.tmbox-move {
    border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;   /* Gray-brown */
}
}


/* Disambig and set index box styles */
.sidebar-toc .sidebar-toc-header {
table.dmbox {
     padding: 0.33em 0 0.33em 0.5em;
     clear: both;
     border-bottom: 2px solid var(--color-primary);
    margin: 0.9em 1em;
     border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: transparent;
}
}


/* Footer and header message box styles */
.sidebar-toc .sidebar-toc-title {
table.fmbox {
     display: inline-flex;
     clear: both;
    margin: 0.2em 0;
     width: 100%;
     width: 100%;
     border: 1px solid #aaa;
     flex-direction: row;
     background: #f9f9f9;    /* Default "system" gray */
     justify-content: space-between;
     align-items: center;
    color: var(--color-text-darker);
}
}
table.fmbox-system {
 
     background: #f9f9f9;
.sidebar-toc {
    overflow-x: hidden;
    position: fixed;
    bottom: 0;
    padding: 0;
    height: 18.5em;
    max-height: 18.5em;
     background-color: var(--color-bg-section);
    border: none;
    backdrop-filter: var(--blur-intensity);
    transition: all var(--transition-time);
}
}
table.fmbox-warning {
 
     border: 1px solid #bb7070;  /* Dark pink */
.sidebar-toc, .sidebar-toc:after {
    background: #ffdbdb;       /* Pink */
     margin-left: 0;
}
}
table.fmbox-editnotice {
.vector-toc-not-collapsed .sidebar-toc:after {
     background: transparent;
     background: none;
}
}
/* Div based "warning" style fmbox messages. */
 
div.mw-warning-with-logexcerpt,
@media screen and (min-width: 1000px) {
div.mw-lag-warn-high,
    @supports (display:grid) {
div.mw-cascadeprotectedwarning,
        .client-js .vector-toc-collapsed .mw-table-of-contents-container .sidebar-toc {
div#mw-protect-cascadeon {
            position: fixed;
    clear: both;
            top: unset;
    margin: 0.2em 0;
            left: unset;
    border: 1px solid #bb7070;
            right: 1.75em;
    background: #ffdbdb;
            bottom: 1em;
     padding: 0.25em 0.9em;
            margin: 0;
            background-color: var(--color-bg-opaque);
            border: 1px solid var(--color-border);
        }
     }
}
}
/* Div based "system" style fmbox messages.
 
  Used in [[MediaWiki:Readonly lag]]. */
.sidebar-toc .sidebar-toc-link {
div.mw-lag-warn-normal,
    color: var(--color-text-darker);
div.fmbox-system {
    background-color: var(--color-primary);
     clear: both;
     padding-left: 0.5em;
     margin: 0.2em 0;
     margin-bottom: 0.5em;
     border: 1px solid #aaa;
     border-radius: var(--border-radius-small);
     background: #f9f9f9;
     text-decoration: none;
     padding: 0.25em 0.9em;
     transition: all var(--transition-time);
}
}


/* These mbox-small classes must be placed after all other
.sidebar-toc .sidebar-toc-link:hover {
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
     background-color: var(--color-primary-light);
  they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
     /* @noflip */
    clear: right;
    /* @noflip */
    float: right;
    /* @noflip */
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
 
    /* @noflip */
.sidebar-toc .sidebar-toc-list-item-active > .sidebar-toc-link {
     margin: 4px 1em 4px 0;
     color: unset;
     width: 238px;
     width: unset;
     border-collapse: collapse;
     background-color: var(--color-green);
    font-size: 88%;
    line-height: 1.25em;
}
}


/* Style for compact ambox */
.sidebar-toc .sidebar-toc-list-item-active > .sidebar-toc-link:hover {
/* Hide the images */
     margin-top: 0.5em;
.compact-ambox table .mbox-image,
    background-color: var(--color-green-light);
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
     display: none;
}
}
/* Remove borders, backgrounds, padding, etc. */
 
.compact-ambox table.ambox {
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
     border: none;
     padding: 0.1em 0.33em 0.2em 0.33em;
     border-collapse: collapse;
     margin: 0 0.5em 0 0;
     background: transparent;
     color: var(--color-text);
     margin: 0 0 0 1.6em !important;
     background-color: var(--color-primary);
     padding: 0 !important;
     border-radius: var(--border-radius-small);
     width: auto;
     text-decoration: none;
     display: block;
     transition: background-color var(--transition-time);
}
}
body.mediawiki .compact-ambox table.mbox-small-left {
 
    font-size: 100%;
.vector-toc-collapse-button, .vector-toc-collapse-button::before, .vector-toc-collapse-button::after,
    width: auto;
.vector-toc-uncollapse-button, .vector-toc-uncollapse-button::before, .vector-toc-uncollapse-button::after {
    margin: 0;
     content: '';
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
    padding: 0 !important;
    margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
    display: list-item;
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url(//bits.wikimedia.org/skins/common/images/bullet.gif);
}
.skin-vector .compact-ambox table .mbox-text-span {
    list-style-type: circle;
    list-style-image: url(//bits.wikimedia.org/skins/vector/images/bullet-icon.png)
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
     display: none;
}
}


/* Remove default styles for [[MediaWiki:Noarticletext]]. */
.vector-toc-collapse-button:hover, .vector-toc-uncollapse-button:hover {
div.noarticletext {
     color: var(--color-text);
     border: none;
     background-color: var(--color-primary-light);
     background: transparent;
    padding: 0;
}
}


/* Hide (formatting) elements from screen, but not from screenreaders */
.sidebar-toc .sidebar-toc-contents, .sidebar-toc .sidebar-toc-list {
.visualhide {
     margin: 0 0.5em 0 1.5em;
     position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
}


/* Bold save button */
.sidebar-toc .sidebar-toc-contents, .sidebar-toc .sidebar-toc-list:first-child {
#wpSave {
     margin-top: 0.5em;
     font-weight: bold;
}
}


/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.hiddenStructure {
    display: inline !important;
    color: #f00;
    background-color: #0f0;
}


/* suppress missing interwiki image links where #ifexist cannot
/* Footer */
  be used due to high number of requests see .hidden-redlink on
#footer-places {
  [[m:MediaWiki:Common.css]] */
     margin: 0.25em 0 0 0.5em;
.check-icon a.new {
     display: none;
    speak: none;
}
}


/* Removes underlines from certain links */
#footer-icons {
.nounderlines a,
     padding-right: 0.5em;
.IPA a:link, .IPA a:visited {
     text-decoration: none !important;
}
}


/* Standard Navigationsleisten, aka box hiding thingy
.mw-footer {
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
     border: none;
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
     border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    /* @noflip */
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
     padding: 0;
     padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    /* @noflip */
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}
}


/* Hatnotes and disambiguation notices */
#mw-sidebar-checkbox:not(:checked) ~
.rellink,
.mw-footer-container {
.dablink,
     margin: 0.75em 0 0 0;
.hatnote {
     font-style: italic;
}
}
.rellink i,
.dablink i,
.hatnote i {
    font-style: normal;
}
div.rellink,
div.dablink,
div.hatnote {
    /* @noflip */
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
/* Allow transcluded pages to display in lists rather than a table.
  Compatible in Firefox; incompatible in IE6. */
.listify td    { display: list-item; }
.listify tr    { display: block; }
.listify table { display: block; }
/* Geographical coordinates defaults. See [[Template:Coord/link]]
  for how these are used. The classes "geo", "longitude", and
  "latitude" are used by the [[Geo microformat]]. */
.geo-default, .geo-dms, .geo-dec  { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude            { white-space: nowrap; }


/* When <div class="nonumtoc"> is used on the table of contents,
.mw-footer-container {
  the ToC will display without numbers */
     margin: 0.75em 0 0 15.25em;
.nonumtoc .tocnumber {
    display: none;
}
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none none;
     margin: .3em 0 0;
     padding: 0;
     padding: 0;
    background-color: var(--color-bg-section);
    color: var(--color-fg);
}
}
.hlist.nonumtoc #toc ul ul,
 
.hlist.nonumtoc .toc ul ul {
#footer-info li {
     /* @noflip */
     color: var(--color-text-darker);
     margin: 0;
     padding: 1em 0px 0px 0.5em;
}
}


/* Allow limiting of which header levels are shown in a TOC;
/* Иконки */
  <div class="toclimit-3">, for instance, will limit to
.mw-ui-icon {
  showing ==headings== and ===headings=== but no further
    filter: var(--invert-full);
  (as long as there are no =headings= on the page, which
  there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}
}


/* Styling for Template:Quote */
.mw-ui-button {
blockquote.templatequote {
    box-shadow: none !important;
    margin-top: 0;
    border: none;
}
}
blockquote.templatequote div.templatequotecite {
 
    line-height: 1.5em;
/* Fieldset */
    /* @noflip */
fieldset {
     text-align: left;
     border: 1px solid var(--color-primary);
    /* @noflip */
    padding-left: 1.6em;
    margin-top: 0;
}
}


/* User block messages */
fieldset > legend:not([class]) {
div.user-block {
     margin: 0 0 0.5em 0;
     padding: 5px;
     padding: 0em 0.5em 0 0.5em;
     margin-bottom: 0.5em;
     background-color: var(--color-primary);
     border: 1px solid #A9A9A9;
     border-radius: var(--border-radius-small);
     background-color: #FFEFD5;
}
}


/* Prevent line breaks in silly places:
/* Редактор кода */
  1) Where desired
.mw-code,
  2) Links when we don't want them to
.mw-editform #wpTextbox1 {
  3) Bold "links" to the page itself
    backdrop-filter: var(--blur-intensity);
  4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
    background-color: var(--color-bg-section-light);
.nowrap,
     color: var(--color-fg);
.nowraplinks a,
    border: 1px solid var(--color-border);
.nowraplinks .selflink,
sup.reference a {
     white-space: nowrap;
}
}
/* But allow wrapping where desired: */
 
.wrap,
.mw-editform #wpTextbox1 {
.wraplinks a {
     background-color: var(--color-bg-section);
     white-space: normal;
}
}


/* For template documentation */
.mw-editform #wpTextbox1:focus {
.template-documentation {
     outline: none;
     clear: both;
     border: 1px solid var(--color-border-input);
    margin: 1em 0 0 0;
     border: 1px solid #aaa;
    background-color: #ecfcf4;
    padding: 1em;
}
}


/* Inline divs in ImageMaps (code borrowed from de.wiki) */
.editOptions {
.imagemap-inline div {
    backdrop-filter: var(--blur-intensity);
     display: inline;
    background-color: var(--color-bg-section-light);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-top: 0;
     margin-bottom: 0;
}
}


/* Increase the height of the image upload box */
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
#wpUploadDescription {
    background-color: var(--color-bg-section);
     height: 13em;
    color: var(--color-text);
     border: 1px solid var(--color-border);
}
}


/* Minimum thumb width */
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input {
.thumbinner {
     border-color: var(--color-border-input)
     min-width: 100px;
}
}


/* Makes the background of a framed image white instead of gray.
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
  Only visible with transparent images. */
     border: 1px solid var(--color-border-input);
div.thumb .thumbimage {
    box-shadow: inset 0 0 0 1px var(--color-border-input);
     background-color: #fff;
}
}


/* The backgrounds for galleries. */
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input:focus {
div#content .gallerybox div.thumb {
     border: 1px solid var(--color-border-input);
     /* Light gray padding */
    background-color: #F9F9F9;
}
}
/* Put a chequered background behind images, only visible if they have transparency.
 
  '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.mw-continue-editing {
.gallerybox .thumb img {
    float: right;
     background: #fff url(//bits.wikimedia.org/skins/common/images/Checker-16x16.png) repeat;
    line-height: 1.667em;
    padding: 0 0.5em;
    border-radius: var(--border-radius-tiny);
     background-color: var(--color-primary);
    transition: background-color var(--transition-time);
}
}
/* But not on articles, user pages, portals or with opt-out. */
 
.ns-0 .gallerybox .thumb img,
.mw-continue-editing:hover {
.ns-2 .gallerybox .thumb img,
     background-color: var(--color-primary-light);
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
     background: #fff;
}
}
img {
 
image-rendering: pixelated;
.mw-continue-editing a {
    color: var(--color-text) !important;
    text-decoration: none;
}
}
/* Prevent floating boxes from overlapping any category listings,
 
  file histories, edit previews, and edit [Show changes] views. */
.wikiEditor-ui .wikiEditor-ui-view {
#mw-subcategories, #mw-pages, #mw-category-media,
    border: 1px solid var(--color-border);
#filehistory, #wikiPreview, #wikiDiff {
     border-bottom: none;
     clear: both;
}
}


body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
.wikiEditor-ui-toolbar {
     display: block;  /* Override inline block mode */
     background-color: var(--color-bg-section-light);
    margin-bottom: 1em;
    /* @noflip */
    clear: right;    /* Clear any info boxes that stick out */
    /* @noflip */
    float: right;     /* Prevents margin collapsing */
}
}


/* Selectively hide headers in WikiProject banners */
.wikiEditor-ui .wikiEditor-ui-top {
.wpb .wpb-header            { display: none; }
     border-bottom: none;
.wpbs-inner .wpb .wpb-header { display: block; }     /* for IE */
}
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
.wpbs-inner .wpb-outside    { display: none; }     /* hide things that should only display outside shells */


/* Styling for Abuse Filter tags */
.wikiEditor-ui-toolbar .group {
.mw-tag-markers {
     border-right: 1px solid var(--color-border);
     font-family:sans-serif;
    font-style:italic;
    font-size:90%;
}
}


/* Hide stuff meant for accounts with special permissions. Made visible again in
.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
  [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]],
     filter: var(--invert-common);
  [[MediaWiki:Group-templateeditor.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */
.sysop-show,
.accountcreator-show,
.templateeditor-show,
.autoconfirmed-show {
     display: none;
}
}


/**
/* Кнопки редактора кода */
* Hide the redlink generated by {{Editnotice}},
.oo-ui-inputWidget {
* this overrides the ".sysop-show { display: none; }" above that applies
     margin-right: 0.5em;
* to the same link as well.
*
* See [[bugzilla:43013]].
*/
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink {
     display: none !important;
}
}


/* Remove bullets when there are multiple edit page warnings */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
ul.permissions-errors > li {
     background-color: var(--color-primary);
     list-style: none none;
    color: var(--color-text-darker);
    border-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-time);
}
}
ul.permissions-errors {
 
     margin: 0;
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
     background-color: var(--color-primary-light);
}
}


/* No linewrap on the labels of the login/signup page */
.oo-ui-buttonElement > .oo-ui-buttonElement-button {
body.page-Special_UserLogin .mw-label label,
     min-height: unset;
body.page-Special_UserLogin_signup .mw-label label {
     white-space: nowrap;
}
}


/* Pie chart test: Transparent borders */
.oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
.transborder {
     transition: unset;
     border: solid transparent;
}
}
* html .transborder {  /* IE6 */
 
    border: solid #000001;
/* Загрузка файла */
     filter: chroma(color=#000001);
div.tright {
     margin: 0 0 0 1.5em;
}
}


/* Styling for updated markers on watchlist, history and recent/related changes.
div.thumbinner {
  Bullets are handled in skin-specific stylesheets. */
    padding: 0.5em 0.5em 0 0.5em;
.updatedmarker {
     border: 1px solid var(--color-border);
     background-color: transparent;
     background-color: var(--color-bg);
     color: #006400;
}
}
li.mw-changeslist-line-watched .mw-title,
 
table.mw-changeslist-line-watched .mw-title,
div.thumb .thumbimage {
table.mw-enhanced-watch .mw-enhanced-rctime {
    background-color: var(--color-bg);
    font-weight: normal;
}
}


/* Generic class for Times-based serif, texhtml class for inline math */
.thumbimage {
.times-serif,
     border: 1px solid var(--color-border);
span.texhtml {
     font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
    font-size: 118%;
}
}
span.texhtml {
 
     white-space: nowrap;
.mw-content-ltr .thumbcaption {
     padding: 0.5em 0 0.25em 0;
    text-align: center;
}
}
span.texhtml span.texhtml {
 
     font-size: 100%;
input::-webkit-file-upload-button {
     background-color: var(--color-primary);
    color: var(--color-text);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-tiny);
    transition: background-color var(--transition-time);
}
}


/* Force tabular and lining display for digits and texhtml */
input::-webkit-file-upload-button:hover {
.digits,
     background-color: var(--color-primary-light);
.texhtml {
    -moz-font-feature-settings: "lnum", "tnum";
     -webkit-font-feature-settings: "lnum", "tnum";
    font-feature-settings: "lnum", "tnum";
}
}


/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
span > .mw-htmlform-submit {
  [[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */
    padding: 0.25em;
div.mw-geshi div,
    background-color: var(--color-primary);
div.mw-geshi div pre,
     color: var(--color-text);
span.mw-geshi,
     border-radius: var(--border-radius-tiny);
pre.source-css,
     transition: background-color var(--transition-time);
pre.source-javascript,
pre.source-lua {
    font-family: monospace, Courier !important;
     -moz-tab-size: 4;
     -o-tab-size: 4;
     tab-size: 4;
}
}


/* Fix styling of transcluded prefindex tables */
span > .mw-htmlform-submit:hover {
table#mw-prefixindex-list-table,
    background-color: var(--color-primary-light);
table#mw-prefixindex-nav-table {
    width: 98%;
}
}


/* For portals, added 2011-12-07 -bv
/* Предупреждение */
  On wide screens, show these as two columns
#editpage-copywarn {
  On narrow and mobile screens, let them collapse into a single column */
     padding-top: 0.5em !important;
.portal-column-left {
     float: left;
    width: 50%;
}
}
.portal-column-right {
 
     float: right;
.mw-editform #editpage-copywarn,
     width: 49%;
.mw-message-box-warning {
     padding: 0.33em 0.5em;
    margin: 0.5em 0 0.5em 0;
    color: var(--color-text);
    background-color: var(--color-notice);
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.1) 20px
    );
     border: none;
}
}
.portal-column-left-wide {
 
     float: left;
/* Уведомления */
     width: 60%;
#mw-notification-area,
#mw-notification-area-layout,
.vector-sticky-header-enabled .mw-notification-area {
     position: fixed !important;
    top: 6em !important;
     right: 0.75em !important;
}
}
.portal-column-right-narrow {
 
     float: right;
.mw-notification,
     width: 39%;
.mw-notification-visible {
     background-color: var(--color-bg-opaque);
     border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    box-shadow: none;
    backdrop-filter: var(--blur-intensity);
}
}
.portal-column-left-extra-wide {
 
     float: left;
.mw-notification-content {
    width: 70%;
     color: var(--color-text-darker);
}
}
.portal-column-right-extra-narrow {
 
    float: right;
.vector-sticky-header-visible .mw-notification-area-overlay > .mw-notification-area-floating {
    width: 29%;
     transform: unset;
}
@media only screen and (max-width: 800px) {
    /* Decouple the columns on narrow screens */
    .portal-column-left,
    .portal-column-right,
    .portal-column-left-wide,
    .portal-column-right-narrow,
    .portal-column-left-extra-wide,
     .portal-column-right-extra-narrow {
        float: inherit;
        width: inherit;
    }
}
}


/* For announcements */
/* Окна подтверждения */
#bodyContent .letterhead {
.oo-ui-panelLayout-framed {
     background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
     background-color: var(--color-bg-section-light);
     background-repeat:no-repeat;
     border: 1px solid var(--color-border);
     padding: 2em;
     border-radius: var(--border-radius-medium);
     background-color: #faf9f2;
     backdrop-filter: var(--blur-intensity);
}
}


/* Tree style lists */
/* Ввод в общем */
.treeview ul {
input, select, textarea {
    padding: 0;
     margin: 0;
     margin: 0;
}
     background-color: var(--color-bg-section);
.treeview li {
     color: var(--color-text);
     padding: 0;
     border: 1px solid var(--color-border);
    margin: 0;
     transition: all var(--transition-time);
    list-style-type: none;
    list-style-image: none;
    zoom: 1; /* BE KIND TO IE6 */;
}
.treeview li li {
     background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
     /* @noflip */
    padding-left: 20px;
    text-indent: 0.3em;
}
.treeview li li.lastline {
     background-position: 0 -5971px
}
.treeview li.emptyline > ul {
    /* @noflip */
    margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
    background-position: 0 9px
}
}


/* hidden sortkey for tablesorter */
input:not(#wpUploadFile, .mw-htmlform-submit):hover, textarea:hover {
td .sortkey,
     border: 1px solid var(--color-border-input);
th .sortkey {
     display: none;
    speak: none;
}
}


/* Make it possible to hide checkboxes in <inputbox> */
input:focus, textarea:focus {
.inputbox-hidecheckboxes form .inputbox-element {
     outline-color: var(--color-border-input);
     display: none !important;
}
}


/* Hide charinsert base for those not using the gadget */
/* Wikitable */
#editpage-specialchars {
.wikitable {
     display: none;
    background-color: var(--color-bg-section-light);
    color: var(--color-text-darker);
     border: 1px solid var(--color-border);
}
}


/* work-around for [[bugzilla:23965]] (Kaltura advertisement) */
.wikitable > tr > th, .wikitable > * > tr > th {
.k-player .k-attribution {
    background-color: var(--color-bg-section-lighter);
    visibility: hidden;
}
}


 
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
.tooltip{
    border: 1px solid var(--color-border);
  position: relative;
    padding: 0.3em 0.5em;
}
}


.tooltiptext {
/* Шаблоны */
  position: absolute;
table,
  display: block;
.pageframe-container {
  z-index: 2;
    backdrop-filter: var(--blur-intensity);
  width: 250px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #aaa;
  background-color: #ffdd66;
}
}


.tooltip:hover>.tooltiptext {
/* Скрытые элементы */
  visibility: visible;
#pt-userpage-2,
  opacity: 1;
#pt-watchlist-2 {
    display: none;
}
}


.ns-4200 #p-logo a  {
.mw-sidebar-action {
  background-image: url("/wiki/skins/TGMC_logo.png") !important;
    display: none;
  background-size: contain;
}
 
.ns-4201 #p-logo a  {
  background-image: url("/wiki/skins/TGMC_logo.png") !important;
  background-size: contain;
}
}

Версия от 21:10, 2 мая 2024

/* Весь CSS будет отсюда будет загружен пользователям темы оформления «Векторная» */

:root {
    /* Базовые цвета */
    --color-fg: #ffffff;
    --color-bg: #252525;
    --color-bg-opaque: rgba(37, 37, 37, 0.75);
    --color-bg-section: rgba(0, 0, 0, 0.33);
    --color-bg-section-light: rgba(125, 125, 125, 0.05);
    --color-bg-section-lighter: rgba(125, 125, 125, 0.1);
    --color-text: rgba(255, 255, 255, 1);
    --color-text-darker: rgba(225, 215, 210, 0.9);
    --color-text-gray: rgba(200, 200, 200, 0.8);
    --color-text-translucent: rgba(255, 255, 255, 0.5);
    /* TODO: Рассортировать цвета, ради возможности в будущем сделать белую тему Clueless */
    --color-text-button: red;
    --color-text-button-transparent: blue;
    /* Конец не используемых цветов */
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-input: #88bfff;
    --color-hover: rgba(255, 255, 255, 0.075);
    --color-selected: rgba(255, 255, 255, 0.125);

    /* Цвета элементов */
    --color-red: rgba(219, 40, 40, 1);
    --color-orange: rgba(240, 143, 17, 1);
    --color-yellow: rgba(251, 214, 8, 1);
    --color-olive: rgba(181, 204, 24, 1);
    --color-green: rgba(91, 170, 39, 1);
    --color-teal: rgba(0, 181, 173, 1);
    --color-blue: rgba(33, 133, 208, 1);
    --color-violet: rgba(100, 53, 201, 1);
    --color-purple: rgba(163, 51, 200, 1);
    --color-pink: rgba(224, 57, 151, 1);
    --color-brown: rgba(165, 103, 63, 1);
    --color-grey: rgba(118, 118, 118, 1);
    --color-primary: rgba(73, 114, 161, 1);
    --color-label: rgba(126, 144, 167, 1);

    /* Осветлённые цвета элементов. Знаю что бред, но увы, Lighten нет */
    --color-red-light: rgba(251, 58, 58, 1);
    --color-orange-light: rgba(255, 163, 40, 1);
    --color-yellow-light: rgba(255, 233, 29, 1);
    --color-olive-light: rgba(208, 225, 37, 1);
    --color-green-light: rgba(105, 195, 43, 1);
    --color-teal-light: rgba(0, 209, 193, 1);
    --color-blue-light: rgba(70, 168, 255, 1);
    --color-violet-light: rgba(168, 68, 255, 1);
    --color-purple-light: rgba(188, 68, 255, 1);
    --color-pink-light: rgba(255, 79, 181, 1);
    --color-brown-light: rgba(191, 123, 76, 1);
    --color-grey-light: rgba(136, 136, 136, 1);
    --color-primary-light: rgba(119, 148, 187, 1);
    --color-label-light: rgba(145, 166, 192, 1);

    /* Полу-прозрачные цвета элементов. Нужны для фона в шаблонах и прочих местах */
    --color-red-transparent: rgba(255, 51, 51, 0.3);
    --color-orange-transparent: rgba(255, 179, 77, 0.3);
    --color-yellow-transparent: rgba(255, 242, 25, 0.3);
    --color-olive-transparent: rgba(204, 230, 51, 0.3);
    --color-green-transparent: rgba(128, 204, 77, 0.3);
    --color-teal-transparent: rgba(51, 204, 204, 0.3);
    --color-blue-transparent: rgba(77, 153, 255, 0.3);
    --color-violet-transparent: rgba(153, 102, 255, 0.3);
    --color-purple-transparent: rgba(204, 102, 255, 0.3);
    --color-pink-transparent: rgba(255, 102, 204, 0.3);
    --color-brown-transparent: rgba(204, 153, 128, 0.3);
    --color-grey-transparent: rgba(153, 153, 153, 0.3);
    --color-primary-transparent: rgba(102, 140, 191, 0.3);
    --color-label-transparent: rgba(153, 168, 191, 0.3);

    --color-red-transparent-2: rgba(255, 51, 51, 0.5);
    --color-orange-transparent-2: rgba(255, 179, 77, 0.5);
    --color-yellow-transparent-2: rgba(255, 242, 25, 0.5);
    --color-olive-transparent-2: rgba(204, 230, 51, 0.5);
    --color-green-transparent-2: rgba(128, 204, 77, 0.5);
    --color-teal-transparent-2: rgba(51, 204, 204, 0.5);
    --color-blue-transparent-2: rgba(77, 153, 255, 0.5);
    --color-violet-transparent-2: rgba(153, 102, 255, 0.5);
    --color-purple-transparent-2: rgba(204, 102, 255, 0.5);
    --color-pink-transparent-2: rgba(255, 102, 204, 0.5);
    --color-brown-transparent-2: rgba(204, 153, 128, 0.5);
    --color-grey-transparent-2: rgba(153, 153, 153, 0.5);
    --color-primary-transparent-2: rgba(102, 140, 191, 0.5);
    --color-label-transparent-2: rgba(153, 168, 191, 0.5);

    /* Палитра цветов на вики */
    --palette-civ-primary-bold: rgba(0,191,17,0.5);
    --palette-civ-primary: rgba(0,191,17,0.4);
    --palette-civ-secondary: rgba(0,191,17,0.3);
    --palette-civ-tertiary: rgba(0,191,17,0.25);
    --palette-civ-light: rgba(0,191,17,0.20);
    --palette-civ-very-light: rgba(0,191,17,0.15);

    --palette-eng-primary-bold: rgba(255, 170, 0, 0.5);
    --palette-eng-primary: rgba(255, 170, 0, 0.4);
    --palette-eng-secondary: rgba(255, 170, 0, 0.3);
    --palette-eng-tertiary: rgba(255, 170, 0, 0.25);
    --palette-eng-light: rgba(255, 170, 0, 0.2);
    --palette-eng-very-light: rgba(255, 170, 0, 0.15);

    --palette-comm-primary-bold: rgba(0, 106, 255, 0.5);
    --palette-comm-primary: rgba(0, 106, 255, 0.4);
    --palette-comm-secondary: rgba(0, 106, 255, 0.3);
    --palette-comm-tertiary: rgba(0, 106, 255, 0.25);
    --palette-comm-light: rgba(0, 106, 255, 0.2);
    --palette-comm-very-light: rgba(0, 106, 255, 0.15);

    --palette-med-primary-bold: rgba(0, 191, 255, 0.5);
    --palette-med-primary: rgba(0, 191, 255, 0.4);
    --palette-med-secondary: rgba(0, 191, 255, 0.3);
    --palette-med-tertiary: rgba(0, 191, 255, 0.25);
    --palette-med-light: rgba(0, 191, 255, 0.2);
    --palette-med-very-light: rgba(0, 191, 255, 0.15);

    --palette-synth-primary-bold: rgba(255, 0, 191, 0.5);
    --palette-synth-primary: rgba(255, 0, 191, 0.4);
    --palette-synth-secondary: rgba(255, 0, 191, 0.3);
    --palette-synth-tertiary: rgba(255, 0, 191, 0.25);
    --palette-synth-light: rgba(255, 0, 191, 0.2);
    --palette-synth-very-light: rgba(255, 0, 191, 0.15);

    --palette-xeno-primary-bold: rgba(96, 0, 191, 0.5);
    --palette-xeno-primary: rgba(96, 0, 191, 0.4);
    --palette-xeno-secondary: rgba(96, 0, 191, 0.3);
    --palette-xeno-tertiary: rgba(96, 0, 191, 0.25);
    --palette-xeno-light: rgba(96, 0, 191, 0.2);
    --palette-xeno-very-light: rgba(96, 0, 191, 0.15);

    --palette-cc-primary-bold: rgba(0, 64, 128, 0.5);
    --palette-cc-primary: rgba(0, 64, 128, 0.4);
    --palette-cc-secondary: rgba(0, 64, 128, 0.3);
    --palette-cc-tertiary: rgba(0, 64, 128, 0.25);
    --palette-cc-light: rgba(0, 64, 128, 0.2);
    --palette-cc-very-light: rgba(0, 64, 128, 0.15);

    --palette-primary-bold: rgba(127, 127, 127, 0.5);
    --palette-primary: rgba(127, 127, 127, 0.4);
    --palette-secondary: rgba(127, 127, 127, 0.3);
    --palette-tertiary: rgba(127, 127, 127, 0.25);
    --palette-light: rgba(127, 127, 127, 0.2);
    --palette-very-light: rgba(127, 127, 127, 0.15);

    /* Остальные цвета */
    --color-notice: #a6875b;
    --color-hyperlink: #6699ff;
    --color-hyperlink-visited: #a173ff;
    --color-hyperlink-new: #ff6666;
    --color-hyperlink-new-visited: #ff8359;

    /* Значения */
    --border-radius-tiny: 0.16em;
    --border-radius-small: 0.25em;
    --border-radius-medium: 0.5em;
    --border-radius-large: 1em;
    --blur-intensity: blur(24px);
    --invert-rare: invert(0.8);
    --invert-common: invert(0.9);
    --invert-full: invert(1);

    /* Время */
    --transition-time: 0.2s;
}

a {
    color: var(--color-hyperlink)
}

.mw-parser-output a.extiw, .mw-parser-output a.external {
    color: var(--color-hyperlink)
}

a:visited {
    color: var(--color-hyperlink-visited)
}

.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
    color: var(--color-hyperlink-visited)
}

a.new {
    color: var(--color-hyperlink-new)
}

a.new:visited {
    color: var(--color-hyperlink-new-visited)
}

ul li::marker {
    color: var(--color-text) !important;
}

ul li:before {
    content: "\2022";
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    font-weight: bold;
    color: var(--color-text);
}

strong {
    color: var(--color-text) !important;
}

li, p, label {
    color: var(--color-text-darker);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
}

h2 {
    border-bottom: 2px solid var(--color-primary);
}

hr {
    height: 2px;
    background-color: var(--color-border);
}

pre, code, .mw-code {
    background-color: var(--color-bg-section-lighter);
    color: var(--color-text-darker);
    border: 1px solid var(--color-border);
    backdrop-filter: var(--blur-intensity);
}

body.skin-vector {
    background-color: var(--color-bg);
    color: var(--color-text-darker)
}

.vector .mw-body h1, .mw-body-content h1, .mw-body-content h2 {
    padding: 0.2em 0.2em 0.2em 0.4em;
}

/* Header */
@media screen and (min-width: 1000px) {
    .vector-sticky-header {
        display: none;
    }
}

.mw-header {
    position: fixed;
    padding: 0.5em 0;
    backdrop-filter: var(--blur-intensity);
    background-color: var(--color-bg-section);
    color: var(--color-fg);
    width: 100%;
    top: 0;
}

.vector-user-menu-more .vector-menu-content-list, .vector-user-menu-overflow .vector-menu-content-list {
    background-color: rgba(0, 0, 0, 0);
}

/* Поиск */
.cdx-search-input--has-end-button,
.client-js .vector-search-box-vue.vector-search-box-show-thumbnail > div {
    max-width: unset;
    margin: 0 15em;
    background-color: var(--color-bg-section-light);
    color: var(--color-text-darker);
    border-radius: 0;
}

.cdx-search-input--has-end-button {
    margin: 0;
    border: 1px solid var(--color-border);
}

.vector-search-box-input {
    padding: 5px 2.15em 5px 0.4em;
    background-color: var(--color-bg-section-light);
    color: var(--color-text-darker);
    border: 1px solid var(--color-border);
    box-shadow: none;
    transition-property: border-color, box-shadow;
    transition-duration: var(--transition-time);
}

.client-js .vector-search-box-vue.vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton {
    left: 0;
    filter: var(--invert-common);
}

.client-js .vector-search-box-vue.vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input {
    margin: 0;
    width: 100%;
}

.cdx-text-input__input {
    transition: all var(--transition-time) !important;
    outline: none !important;
}

.cdx-text-input__input:enabled {
    background-color: unset;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.cdx-text-input__input:enabled:focus {
    box-shadow: inset 0 0 0 1px var(--color-border-input);
    border-color: var(--color-border-input);
}

.client-js .vector-search-box-vue .cdx-typeahead-search .cdx-text-input__input:not(:hover):not(:focus) {
    border: transparent;
    background-color: transparent;
}

.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--active) {
    margin-left: unset;
}

.client-js .vector-search-box-vue .cdx-typeahead-search .cdx-search-input__end-button {
    transition: opacity var(--transition-time);
}

.cdx-button--framed {
    transition: all var(--transition-time) !important;
}

.cdx-button--framed:enabled {
    background-color: var(--color-bg-section-lighter);
    color: var(--color-text-darker);
    border: none;
}

.cdx-button--framed:enabled:hover {
    background-color: var(--color-border-input);
}

.cdx-icon {
    filter: var(--invert-full);
}

/* Результаты поиска */
.cdx-menu {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-top: 0;
    box-shadow: 0px 20px 30px 5px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
}

.cdx-menu-item--enabled, .cdx-menu-item--enabled .cdx-menu-item__content {
    margin: 0.5em 0.25em;
    background-color: var(--color-bg-section-light);
    color: var(--color-text-darker);
    border-radius: var(--border-radius-medium);
}

.cdx-menu-item--enabled:hover, .cdx-menu-item--enabled.cdx-menu-item--highlighted {
    background-color: var(--color-bg-section-lighter);
}

.cdx-menu-item__thumbnail {
    margin-right: 1em;
}

.cdx-typeahead-search__menu-message, .cdx-typeahead-search__search-footer {
    background-color: var(--color-bg);
    color: var(--color-text-translucent);
    padding-bottom: 0.5em;
}

.cdx-typeahead-search__search-footer {
    border-top: 0;
}

/* Фильтр на странице результатов */
.mw-search-profile-tabs {
    margin-top: 1em;
    background-color: var(--color-bg-section-lighter);
    border: 1px solid var(--color-border);
}

.search-types a {
    padding: 0 0.5em 0 0.5em;
    margin: 0.5em 0.25em 0.5em 0.25em;
    color: var(--color-text);
    background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    text-decoration: none;
    transition: background-color var(--transition-time);
}

.search-types a:hover {
    background-color: var(--color-primary-light);
}

.search-types .current a {
    margin: 0.5em 0.25em 0.5em 0.25em;
    color: var(--color-text);
    background-color: var(--color-green);
    border-radius: var(--border-radius-small);
}

.search-types .current a:hover {
    background-color: var(--color-green);
}

/* Выпадающие меню */
.vector-menu-dropdown {
    position: relative;
    margin-right: 1em;
}

.vector-menu-dropdown .vector-menu-content {
    height: unset;
    margin-top: 0.5em;
    padding: 0.5em;
    background-color: var(--color-bg); /* Нужно заменить на переменную, и применить блюр потом */
    color: var(--color-text);
    border: 1px solid var(--color-border);
    box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.7);
    transform: translate(0, -1vh);
    transition: all var(--transition-time) ease-in-out;
}

.vector-menu-checkbox:checked ~ .vector-menu-content {
    transform: translate(0, 0);
}

.vector-menu-checkbox:focus + .vector-menu-heading {
    outline: none;
}

.vector-user-menu a{
    padding: 0 0.33em !important;
    white-space: nowrap;
    transition: all var(--transition-time);
}

.vector-user-menu a:hover{
    background-color: var(--color-primary-light) !important;
}

.vector-menu-dropdown .mw-list-item a {
    min-height: 32px;
    display: flex;
    align-items: center;
    margin: 0 0 0.5em 0;
    border-radius: var(--border-radius-tiny);
    white-space: nowrap;
    background-color: var(--color-primary);
    color: var(--color-text) !important;
    text-decoration: none !important;
    transition: background-color var(--transition-time);
}

.vector-menu-dropdown .mw-list-item a:hover {
    background-color: var(--color-primary-light) !important;
}

.vector-user-menu-logout {
    border-top: 2px solid var(--color-border);
}

.vector-user-menu-logout a {
    margin-top: 0.5em;
    border-top: none;
    border-radius: var(--border-radius-tiny);
    background-color: var(--color-red);
    color: var(--color-text) !important;
    text-decoration: none !important;
}

.vector-user-menu-logout a:hover {
    background-color: var(--color-red-light) !important;
}

#pt-userpage,
#pt-watchlist {
    display: block;
}

/* Sidebar */
.mw-sidebar {
    position: fixed;
    height: -webkit-fill-available;
    overflow-y: hidden;
    padding: 1em 0 0.75em 0;
    margin: 2.65em 0 0 0;
    z-index: 3;
    backdrop-filter: var(--blur-intensity);
    background-color: var(--color-bg-section);
    color: var(--color-fg);
    transform: translateX(0);
    transition: all var(--transition-time);
}

#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container .mw-sidebar {
    display: unset;
    transform: translateX(-25em);
}

.mw-sidebar:hover {
    overflow-y: auto;
}

#mw-sidebar-button {
    margin: 0 0.75em 0 0.5em;
}

#mw-panel.collapsible-nav .portal {
    border: 1px solid var(--color-border);
}

#mw-panel.collapsible-nav .portal .vector-menu-content ul li {
    padding: 0;
    margin: 0 0.5em 0.5em 0.5em;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    transition: background-color var(--transition-time);
}

#mw-panel.collapsible-nav .portal .vector-menu-content ul li:first-child {
    margin-top: 0.5em;
}

#mw-panel.collapsible-nav .portal .vector-menu-content ul li:hover {
    background-color: var(--color-primary-light);
}

.vector-menu-portal {
    padding: 0;
    margin: 0.5em 0.75em 0 0.75em;
}

.vector-menu-portal .vector-menu-content li a {
    display: inline-flex;
    width: 100%;
    padding: 0.5em 0 0.25em 0.33em;
    color: var(--color-text-darker) !important;
    text-decoration: none;
}

.vector-menu-portal 
.vector-menu-heading  {
    margin: 0 0 0 0 !important;
    background-color: var(--color-bg-section-light);
    text-decoration: none !important;
    border-bottom: 2px solid var(--color-primary) !important;
}

.vector-menu-portal 
.vector-menu-heading-label {
    color: var(--color-text-darker) !important;
}

.vector-menu-portal 
.vector-menu-content {
    margin: 0 !important;
    padding: 0 0 0.1em 0em;
    background-color: var(--color-bg-section-light);
    color: var(--color-text);
}

/* Toolbar */
.mw-article-toolbar-container {
    margin: 0.5em 0.5em 0 0.5em;
    color: var(--color-text);
    border: none;
}

.vector-menu-tabs .mw-list-item > a, .mw-article-toolbar-container .vector-menu-dropdown > a, .vector-menu-tabs .mw-list-item .vector-menu-heading, .mw-article-toolbar-container .vector-menu-dropdown .vector-menu-heading {
    border-top-left-radius: 0.25em !important;
    border-top-right-radius: 0.25em !important;
    padding: 0.5em 0.5em 0 0;
    max-height: 3em;
    font-size: 1.1em;
    border-bottom: none;
    transition: background-color var(--transition-time);
}

.vector-menu-tabs .mw-list-item.selected a, .vector-menu-tabs .mw-list-item.selected a:visited {
    background-color: var(--color-selected) !important;
    color: var(--color-text-darker) !important;
    border-bottom: 2px solid var(--color-fg) !important;
}

.vector-menu-tabs .mw-list-item.new a, .vector-menu-tabs .mw-list-item.new a:visited {
    color: var(--color-red) !important;
}

.vector-menu-tabs .mw-list-item a:focus, .vector-menu-tabs .mw-list-item a:hover {
    background-color: var(--color-hover);
    border-bottom: none;
}

.vector-menu-tabs .mw-list-item a {
    color: var(--color-text-translucent) !important;
    padding: 0.5em 0.5em 0.25em 0.5em;
}

#left-navigation {
    margin-left: 0px;
}

.vector-menu-tabs .mw-watchlink.icon a {
    content: none;
    color: transparent;
    margin: 0 1.5em 0 1em;
}

.vector-menu-tabs .mw-list-item, .mw-article-toolbar-container .vector-menu-dropdown {
    margin: 0;
}

.vector-collapsible > .vector-menu-dropdown {
    margin: 0 0.5em 0 0;
    padding: 0 0 0.33em 1em;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-time);
}

.vector-collapsible > .vector-menu-dropdown:hover {
    background-color: var(--color-primary-light);
}

.vector-collapsible > img.vector-menu-dropdown {
    filter: var(--invert-common);
}

/* Content */
.skin-vector-disable-max-width .mw-content-container {
    max-width: none !important;
    width: auto !important;
}

#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container,
.vector-toc-collapsed #mw-sidebar-checkbox:not(:checked) ~ .mw-content-container, .vector-toc-collapsed #mw-sidebar-checkbox:not(:checked) ~ .mw-table-of-contents-container {
    max-width: none;
    padding: 0 0.75em 0 0.75em;
}

.mw-content-container {
    max-width: none;
    margin: 3.5em 0.75em 0 0.75em;
    padding: 0;
}

.mw-body {
    background-color: var(--color-bg-section);
    padding: 0;
    margin: 0;
}

.mw-body h1 {
    padding: 0.2em 0.2em 0.2em 0.3em;
    border-bottom: 2px solid var(--color-primary);
}

.mw-indicator {
    display: inline-block;
    background-color: var(--color-primary);
    padding: 0.25em 0.5em;
    border-radius: var(--border-radius-tiny);
    margin: 0.66em;
    transition: var(--transition-time);
}

.mw-indicator a {
    color: var(--color-text-darker) !important;
    text-decoration: none;
}

.mw-indicator:hover {
    background-color: var(--color-primary-light);
}

.mw-body-content {
    padding: 0 0.75em 0.75em 0.75em;
}

.mw-page-container {
    max-width: 100%;
    padding: 0;
    background-color: var(--color-bg);
}

.catlinks {
    border: none;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg-section-light);
    padding: 0.5em;
}

.mw-page-container-inner {
    background: url(https://raw.githubusercontent.com/ss220club/Paradise-SS220/master/tgui/packages/tgui/assets/bg-nanotrasen.svg);
    background-size: 40%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    transition: all var(--transition-time);
}

/* Размеры под разные экраны */
@media screen and (max-width: 999px) {
    .mw-content-container {
        margin: 5em 0.75em 0 0.75em;
    }

    .mw-sidebar {
        width: 220px;
        margin: -0.85em 0 0 0 !important;
    }
}

@media screen and (min-width: 1200px) {
    .mw-page-container-inner {
        grid-template-columns: 245px 0 !important;
        min-height: 100vh;
    }
}

@media screen and (min-width: 1000px) {
    .mw-page-container-inner {
        grid-template-columns: 245px 0;
        min-height: 100vh;
    }
}

@media screen and (min-width: 720px) {
    .mw-page-container-inner {
        grid-template-columns: 220px 0;
        min-height: 100vh;
    }
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 1.5vh;
    background-color: #191919;
}

::-webkit-scrollbar-thumb {
    background-color: #3b3b3b;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #4d4d4d;
}

/* Содержание */
#vector-toc-collapsed-button {
    position: fixed;
    padding: 0.5em;
    margin: 0;
    background-color: var(--color-bg-section);
    border: 1px solid var(--color-border);
    right: 1.75em;
    bottom: 1em;
    backdrop-filter: var(--blur-intensity);
    filter: invert(0);
}

#vector-toc-collapsed-button:hover, #vector-toc-collapsed-button:active {
    background-color: var(--color-bg-section-light);
}

.mw-ui-icon-wikimedia-listBullet:before {
    filter: var(--invert-rare);
}

.sidebar-toc .sidebar-toc-header {
    padding: 0.33em 0 0.33em 0.5em;
    border-bottom: 2px solid var(--color-primary);
}

.sidebar-toc .sidebar-toc-title {
    display: inline-flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-darker);
}

.sidebar-toc {
    overflow-x: hidden;
    position: fixed;
    bottom: 0;
    padding: 0;
    height: 18.5em;
    max-height: 18.5em;
    background-color: var(--color-bg-section);
    border: none;
    backdrop-filter: var(--blur-intensity);
    transition: all var(--transition-time);
}

.sidebar-toc, .sidebar-toc:after {
    margin-left: 0;
}
.vector-toc-not-collapsed .sidebar-toc:after {
    background: none;
}

@media screen and (min-width: 1000px) {
    @supports (display:grid) {
        .client-js .vector-toc-collapsed .mw-table-of-contents-container .sidebar-toc {
            position: fixed;
            top: unset;
            left: unset;
            right: 1.75em;
            bottom: 1em;
            margin: 0;
            background-color: var(--color-bg-opaque);
            border: 1px solid var(--color-border);
        }
    }
}

.sidebar-toc .sidebar-toc-link {
    color: var(--color-text-darker);
    background-color: var(--color-primary);
    padding-left: 0.5em;
    margin-bottom: 0.5em;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    transition: all var(--transition-time);
}

.sidebar-toc .sidebar-toc-link:hover {
    background-color: var(--color-primary-light);
}

.sidebar-toc .sidebar-toc-list-item-active > .sidebar-toc-link {
    color: unset;
    width: unset;
    background-color: var(--color-green);
}

.sidebar-toc .sidebar-toc-list-item-active > .sidebar-toc-link:hover {
    margin-top: 0.5em;
    background-color: var(--color-green-light);
}

.vector-toc-collapse-button, .vector-toc-uncollapse-button {
    padding: 0.1em 0.33em 0.2em 0.33em;
    margin: 0 0.5em 0 0;
    color: var(--color-text);
    background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    text-decoration: none;
    transition: background-color var(--transition-time);
}

.vector-toc-collapse-button, .vector-toc-collapse-button::before, .vector-toc-collapse-button::after,
.vector-toc-uncollapse-button, .vector-toc-uncollapse-button::before, .vector-toc-uncollapse-button::after {
    content: '';
}

.vector-toc-collapse-button:hover, .vector-toc-uncollapse-button:hover {
    color: var(--color-text);
    background-color: var(--color-primary-light);
}

.sidebar-toc .sidebar-toc-contents, .sidebar-toc .sidebar-toc-list {
    margin: 0 0.5em 0 1.5em;
}

.sidebar-toc .sidebar-toc-contents, .sidebar-toc .sidebar-toc-list:first-child {
    margin-top: 0.5em;
}


/* Footer */
#footer-places {
    margin: 0.25em 0 0 0.5em;
}

#footer-icons {
    padding-right: 0.5em;
}

.mw-footer {
    border: none;
    padding: 0;
}

#mw-sidebar-checkbox:not(:checked) ~ 
.mw-footer-container {
    margin: 0.75em 0 0 0;
}

.mw-footer-container {
    margin: 0.75em 0 0 15.25em;
    padding: 0;
    background-color: var(--color-bg-section);
    color: var(--color-fg);
}

#footer-info li {
    color: var(--color-text-darker);
    padding: 1em 0px 0px 0.5em;
}

/* Иконки */
.mw-ui-icon {
    filter: var(--invert-full);
}

.mw-ui-button {
    box-shadow: none !important;
    border: none;
}

/* Fieldset */
fieldset {
    border: 1px solid var(--color-primary);
}

fieldset > legend:not([class]) {
    margin: 0 0 0.5em 0;
    padding: 0em 0.5em 0 0.5em;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
}

/* Редактор кода */
.mw-code,
.mw-editform #wpTextbox1 {
    backdrop-filter: var(--blur-intensity);
    background-color: var(--color-bg-section-light);
    color: var(--color-fg);
    border: 1px solid var(--color-border);
}

.mw-editform #wpTextbox1 {
    background-color: var(--color-bg-section);
}

.mw-editform #wpTextbox1:focus {
    outline: none;
    border: 1px solid var(--color-border-input);
}

.editOptions {
    backdrop-filter: var(--blur-intensity);
    background-color: var(--color-bg-section-light);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-top: 0;
    margin-bottom: 0;
}

.oo-ui-textInputWidget .oo-ui-inputWidget-input {
    background-color: var(--color-bg-section);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input {
    border-color: var(--color-border-input)
}

.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
    border: 1px solid var(--color-border-input);
    box-shadow: inset 0 0 0 1px var(--color-border-input);
}

.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input:focus {
    border: 1px solid var(--color-border-input);
}

.mw-continue-editing {
    float: right;
    line-height: 1.667em;
    padding: 0 0.5em;
    border-radius: var(--border-radius-tiny);
    background-color: var(--color-primary);
    transition: background-color var(--transition-time);
}

.mw-continue-editing:hover {
    background-color: var(--color-primary-light);
}

.mw-continue-editing a {
    color: var(--color-text) !important;
    text-decoration: none;
}

.wikiEditor-ui .wikiEditor-ui-view {
    border: 1px solid var(--color-border);
    border-bottom: none;
}

.wikiEditor-ui-toolbar {
    background-color: var(--color-bg-section-light);
}

.wikiEditor-ui .wikiEditor-ui-top {
    border-bottom: none;
}

.wikiEditor-ui-toolbar .group {
    border-right: 1px solid var(--color-border);
}

.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
    filter: var(--invert-common);
}

/* Кнопки редактора кода */
.oo-ui-inputWidget {
    margin-right: 0.5em;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
    background-color: var(--color-primary);
    color: var(--color-text-darker);
    border-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-time);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
    background-color: var(--color-primary-light);
}

.oo-ui-buttonElement > .oo-ui-buttonElement-button {
    min-height: unset;
}

.oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    transition: unset;
}

/* Загрузка файла */
div.tright {
    margin: 0 0 0 1.5em;
}

div.thumbinner {
    padding: 0.5em 0.5em 0 0.5em;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
}

div.thumb .thumbimage {
    background-color: var(--color-bg);
}

.thumbimage {
    border: 1px solid var(--color-border);
}

.mw-content-ltr .thumbcaption {
    padding: 0.5em 0 0.25em 0;
    text-align: center;
}

input::-webkit-file-upload-button {
    background-color: var(--color-primary);
    color: var(--color-text);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-tiny);
    transition: background-color var(--transition-time);
}

input::-webkit-file-upload-button:hover {
    background-color: var(--color-primary-light);
}

span > .mw-htmlform-submit {
    padding: 0.25em;
    background-color: var(--color-primary);
    color: var(--color-text);
    border-radius: var(--border-radius-tiny);
    transition: background-color var(--transition-time);
}

span > .mw-htmlform-submit:hover {
    background-color: var(--color-primary-light);
}

/* Предупреждение */
#editpage-copywarn {
    padding-top: 0.5em !important;
}

.mw-editform #editpage-copywarn,
.mw-message-box-warning {
    padding: 0.33em 0.5em;
    margin: 0.5em 0 0.5em 0;
    color: var(--color-text);
    background-color: var(--color-notice);
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.1) 20px
    );
    border: none;
}

/* Уведомления */
#mw-notification-area,
#mw-notification-area-layout,
.vector-sticky-header-enabled .mw-notification-area {
    position: fixed !important;
    top: 6em !important;
    right: 0.75em !important;
}

.mw-notification,
.mw-notification-visible {
    background-color: var(--color-bg-opaque);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    box-shadow: none;
    backdrop-filter: var(--blur-intensity);
}

.mw-notification-content {
    color: var(--color-text-darker);
}

.vector-sticky-header-visible .mw-notification-area-overlay > .mw-notification-area-floating {
    transform: unset;
}

/* Окна подтверждения */
.oo-ui-panelLayout-framed {
    background-color: var(--color-bg-section-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    backdrop-filter: var(--blur-intensity);
}

/* Ввод в общем */
input, select, textarea {
    margin: 0;
    background-color: var(--color-bg-section);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: all var(--transition-time);
}

input:not(#wpUploadFile, .mw-htmlform-submit):hover, textarea:hover {
    border: 1px solid var(--color-border-input);
}

input:focus, textarea:focus {
    outline-color: var(--color-border-input);
}

/* Wikitable */
.wikitable {
    background-color: var(--color-bg-section-light);
    color: var(--color-text-darker);
    border: 1px solid var(--color-border);
}

.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: var(--color-bg-section-lighter);
}

.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid var(--color-border);
    padding: 0.3em 0.5em;
}

/* Шаблоны */
table,
.pageframe-container {
    backdrop-filter: var(--blur-intensity);
}

/* Скрытые элементы */
#pt-userpage-2,
#pt-watchlist-2 {
    display: none;
}

.mw-sidebar-action {
    display: none;
}