MediaWiki:Vector.css
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Internet Explorer / Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* Весь CSS будет отсюда будет загружен пользователям темы оформления «Векторная» */ /* Раз уж ты здесь. Забудь о Боге... */ :root { /* Base Colors */ --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.075); --color-text: rgba(255, 255, 255, 1); --color-text-darker: rgba(220, 220, 220, 1); --color-text-gray: rgba(185, 185, 185, 0.75); --color-text-translucent: rgba(255, 255, 255, 0.5); --color-text-static-white: rgba(255, 255, 255, 1) !important; --color-text-static-dark: rgba(0, 0, 0, 1) !important; --color-text-static-transparent: rgba(255, 255, 255, 0.5) !important; --color-border: rgba(255, 255, 255, 0.1); --color-border-input: rgba(128, 181, 255, 1); --color-hover: rgba(255, 255, 255, 0.075); --color-selected: rgba(255, 255, 255, 0.125); /* Scrollbar */ --color-scrollbar-base: #191919; --color-scrollbar-thumb: #3b3b3b; --color-scrollbar-thumb-hover: #4d4d4d; /* TGUI Elements Colors */ --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); /* TGUI Elements Colors (Light or Hover) */ --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); /* Wiki Palette. Use with ColorPalette template! */ --primary-opacity: 0.66; --secondary-opacity: 0.33; /* Gray. Default */ --gray-opaque: rgba(127, 127, 127, 1); --gray-primary: rgba(127, 127, 127, var(--primary-opacity)); --gray-secondary: rgba(127, 127, 127, var(--secondary-opacity)); /* Black */ --black-opaque: rgba(0, 0, 0, 1); --black-primary: rgba(0, 0, 0, var(--primary-opacity)); --black-secondary: rgba(0, 0, 0, var(--secondary-opacity)); /* Cyan */ --cyan-opaque: rgba(48, 242, 210, 1); --cyan-primary: rgba(48, 242, 210, var(--primary-opacity)); --cyan-secondary: rgba(48, 242, 210, var(--secondary-opacity)); /* Aqua blue */ --blue-opaque: rgba(0, 255, 255, 1); --blue-primary: rgba(0, 255, 255, var(--primary-opacity)); --blue-secondary: rgba(0, 255, 255, var(--secondary-opacity)); /* Brown */ --brown-opaque: rgba(166, 107, 25, 1); --brown-primary: rgba(166, 107, 25, var(--primary-opacity)); --brown-secondary: rgba(166, 107, 25, var(--secondary-opacity)); /* Green */ --green-opaque: rgba(48, 191, 19, 1); --green-primary: rgba(48, 191, 19, var(--primary-opacity)); --green-secondary: rgba(48, 191, 19, var(--secondary-opacity)); /* Yellow */ --yellow-opaque: rgba(255, 234, 0, 1); --yellow-primary: rgba(255, 234, 0, var(--primary-opacity)); --yellow-secondary: rgba(255, 234, 0, var(--secondary-opacity)); /* Light red */ --red-opaque: rgba(255, 64, 64, 1); --red-primary: rgba(255, 64, 64, var(--primary-opacity)); --red-secondary: rgba(255, 64, 64, var(--secondary-opacity)); /* Pink */ --pink-opaque: rgba(255, 64, 255, 1); --pink-primary: rgba(255, 64, 255, var(--primary-opacity)); --pink-secondary: rgba(255, 64, 255, var(--secondary-opacity)); /* Light green */ --civilian-opaque: rgba(29, 191, 83, 1); --civilian-primary: rgba(29, 191, 83, var(--primary-opacity)); --civilian-secondary: rgba(29, 191, 83, var(--secondary-opacity)); /* Blue */ --medical-opaque: rgba(0, 191, 255, 1); --medical-primary: rgba(0, 191, 255, var(--primary-opacity)); --medical-secondary: rgba(0, 191, 255, var(--secondary-opacity)); /* Light brown */ --supply-opaque: rgba(166, 124, 66, 1); --supply-primary: rgba(166, 124, 66, var(--primary-opacity)); --supply-secondary: rgba(166, 124, 66, var(--secondary-opacity)); /* Purple */ --science-opaque: rgba(191, 0, 255, 1); --science-primary: rgba(191, 0, 255, var(--primary-opacity)); --science-secondary: rgba(191, 0, 255, var(--secondary-opacity)); /* Orange */ --engineer-opaque: rgba(255, 170, 0, 1); --engineer-primary: rgba(255, 170, 0, var(--primary-opacity)); --engineer-secondary: rgba(255, 170, 0, var(--secondary-opacity)); /* Red */ --security-opaque: rgba(255, 0, 0, 1); --security-primary: rgba(255, 0, 0, var(--primary-opacity)); --security-secondary: rgba(255, 0, 0, var(--secondary-opacity)); /* Dark red */ --antag-opaque: rgba(153, 15, 15, 1); --antag-primary: rgba(153, 15, 15, var(--primary-opacity)); --antag-secondary: rgba(153, 15, 15, var(--secondary-opacity)); /* Magenta Pink */ --legal-opaque: rgba(255, 0, 149, 1); --legal-primary: rgba(255, 0, 149, var(--primary-opacity)); --legal-secondary: rgba(255, 0, 149, var(--secondary-opacity)); /* Blue Ribbon */ --command-opaque: rgba(0, 106, 255, 1); --command-primary: rgba(0, 106, 255, var(--primary-opacity)); --command-secondary: rgba(0, 106, 255, var(--secondary-opacity)); /* Blue Azure */ --synthetic-opaque: rgba(67, 129, 191, 1); --synthetic-primary: rgba(67, 129, 191, var(--primary-opacity)); --synthetic-secondary: rgba(67, 129, 191, var(--secondary-opacity)); /* Dark Purple */ --special-opaque: rgba(91, 19, 191, 1); --special-primary: rgba(91, 19, 191, var(--primary-opacity)); --special-secondary: rgba(91, 19, 191, var(--secondary-opacity)); /* Dark Blue */ --centcomm-opaque: rgba(0, 64, 128, 1); --centcomm-primary: rgba(0, 64, 128, var(--primary-opacity)); --centcomm-secondary: rgba(0, 64, 128, var(--secondary-opacity)); /* Unsorted */ --color-notice: #235982; --color-notice-brown: #735834; --color-hyperlink: #6699ff; --color-hyperlink-visited: #a173ff; --color-hyperlink-new: #ff6666; --color-hyperlink-new-visited: #ff8359; /* Values */ --border-radius-small: 0.25em; --border-radius-medium: 0.5em; --border-radius-large: 1em; --blur-intensity: blur(24px); --invert-icon: invert(0.9); --invert-button-icon: invert(1); --logo-invert: brightness(5) hue-rotate(25deg) opacity(0.8); --transition-time: 0.2s; --transition-delay: 0.2s; } .light { /* Base Colors - Light */ --color-fg: #252525; --color-bg: #ffffff; --color-bg-opaque: rgba(204, 201, 198, 0.75); --color-bg-section: rgba(204, 201, 198, 0.33); --color-bg-section-light: rgba(153, 146, 141, 0.1); --color-text: rgba(0, 0, 0, 1); --color-text-darker: rgba(40, 40, 40, 1); --color-text-gray: rgba(80, 80, 80, 0.75); --color-text-translucent: rgba(0, 0, 0, 0.5); --color-text-static-white: rgba(255, 255, 255, 1); --color-text-static-white-transparent: rgba(255, 255, 255, 0.5); --color-border: rgba(0, 0, 0, 0.1); --color-border-input: rgba(128, 181, 255, 1); --color-hover: rgba(0, 0, 0, 0.075); --color-selected: rgba(0, 0, 0, 0.125); /* Scrollbar - Light */ --color-scrollbar-base: #d9d9d9; --color-scrollbar-thumb: #808080; --color-scrollbar-thumb-hover: #a6a6a6; /* Wiki Palette. Use with ColorPalette template! */ --primary-opacity: 0.66; --secondary-opacity: 0.33; /* Gray. Default */ --gray-opaque: rgba(127, 127, 127, 1); --gray-primary: rgba(127, 127, 127, var(--primary-opacity)); --gray-secondary: rgba(127, 127, 127, var(--secondary-opacity)); /* Black */ --black-opaque: rgba(0, 0, 0, 1); --black-primary: rgba(0, 0, 0, var(--primary-opacity)); --black-secondary: rgba(0, 0, 0, var(--secondary-opacity)); /* Cyan */ --cyan-opaque: rgba(48, 242, 210, 1); --cyan-primary: rgba(48, 242, 210, var(--primary-opacity)); --cyan-secondary: rgba(48, 242, 210, var(--secondary-opacity)); /* Aqua blue */ --blue-opaque: rgba(0, 255, 255, 1); --blue-primary: rgba(0, 255, 255, var(--primary-opacity)); --blue-secondary: rgba(0, 255, 255, var(--secondary-opacity)); /* Brown */ --brown-opaque: rgba(166, 107, 25, 1); --brown-primary: rgba(166, 107, 25, var(--primary-opacity)); --brown-secondary: rgba(166, 107, 25, var(--secondary-opacity)); /* Green */ --green-opaque: rgba(48, 191, 19, 1); --green-primary: rgba(48, 191, 19, var(--primary-opacity)); --green-secondary: rgba(48, 191, 19, var(--secondary-opacity)); /* Yellow */ --yellow-opaque: rgba(255, 234, 0, 1); --yellow-primary: rgba(255, 234, 0, var(--primary-opacity)); --yellow-secondary: rgba(255, 234, 0, var(--secondary-opacity)); /* Light red */ --red-opaque: rgba(255, 64, 64, 1); --red-primary: rgba(255, 64, 64, var(--primary-opacity)); --red-secondary: rgba(255, 64, 64, var(--secondary-opacity)); /* Pink */ --pink-opaque: rgba(255, 64, 255, 1); --pink-primary: rgba(255, 64, 255, var(--primary-opacity)); --pink-secondary: rgba(255, 64, 255, var(--secondary-opacity)); /* Light green */ --civilian-opaque: rgba(29, 191, 83, 1); --civilian-primary: rgba(29, 191, 83, var(--primary-opacity)); --civilian-secondary: rgba(29, 191, 83, var(--secondary-opacity)); /* Blue */ --medical-opaque: rgba(0, 191, 255, 1); --medical-primary: rgba(0, 191, 255, var(--primary-opacity)); --medical-secondary: rgba(0, 191, 255, var(--secondary-opacity)); /* Light brown */ --supply-opaque: rgba(166, 124, 66, 1); --supply-primary: rgba(166, 124, 66, var(--primary-opacity)); --supply-secondary: rgba(166, 124, 66, var(--secondary-opacity)); /* Purple */ --science-opaque: rgba(191, 0, 255, 1); --science-primary: rgba(191, 0, 255, var(--primary-opacity)); --science-secondary: rgba(191, 0, 255, var(--secondary-opacity)); /* Orange */ --engineer-opaque: rgba(255, 170, 0, 1); --engineer-primary: rgba(255, 170, 0, var(--primary-opacity)); --engineer-secondary: rgba(255, 170, 0, var(--secondary-opacity)); /* Red */ --security-opaque: rgba(255, 0, 0, 1); --security-primary: rgba(255, 0, 0, var(--primary-opacity)); --security-secondary: rgba(255, 0, 0, var(--secondary-opacity)); /* Dark red */ --antag-opaque: rgba(153, 15, 15, 1); --antag-primary: rgba(153, 15, 15, var(--primary-opacity)); --antag-secondary: rgba(153, 15, 15, var(--secondary-opacity)); /* Magenta Pink */ --legal-opaque: rgba(255, 0, 149, 1); --legal-primary: rgba(255, 0, 149, var(--primary-opacity)); --legal-secondary: rgba(255, 0, 149, var(--secondary-opacity)); /* Blue Ribbon */ --command-opaque: rgba(0, 106, 255, 1); --command-primary: rgba(0, 106, 255, var(--primary-opacity)); --command-secondary: rgba(0, 106, 255, var(--secondary-opacity)); /* Blue Azure */ --synthetic-opaque: rgba(67, 129, 191, 1); --synthetic-primary: rgba(67, 129, 191, var(--primary-opacity)); --synthetic-secondary: rgba(67, 129, 191, var(--secondary-opacity)); /* Dark Purple */ --special-opaque: rgba(91, 19, 191, 1); --special-primary: rgba(91, 19, 191, var(--primary-opacity)); --special-secondary: rgba(91, 19, 191, var(--secondary-opacity)); /* Dark Blue */ --centcomm-opaque: rgba(0, 64, 128, 1); --centcomm-primary: rgba(0, 64, 128, var(--primary-opacity)); --centcomm-secondary: rgba(0, 64, 128, var(--secondary-opacity)); /* Unsorted - Light */ --color-notice: #36a3d9; --color-notice-brown: #cca266; --color-hyperlink: #3377ff; --color-hyperlink-visited: #9f2bd9; --color-hyperlink-new: #e60000; --color-hyperlink-new-visited: #a62a00; /* Values */ --invert-icon: invert(0); --logo-invert: none; } 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; } strong { color: var(--color-text); } 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); } h4, h5, h6 { padding: 1.5em 0 0.5em 0 !important; } hr { height: 2px; background-color: var(--color-border); } pre, code, .mw-code { background-color: var(--color-bg-section-light); color: var(--color-text-darker); border: 1px solid var(--color-border); backdrop-filter: var(--blur-intensity); } img { image-rendering: pixelated; } html, body { background-color: var(--color-bg); color: var(--color-text-darker); } .vector-body blockquote { border-left: 2px solid var(--color-label); padding: 0.5em 1em; } .vector .mw-body h1, .mw-body-content h1, .mw-body-content h2 { padding: 0.2em 0.2em 0.2em 0.4em; } /* Content */ .skin-vector-disable-max-width .mw-content-container { max-width: none !important; width: -webkit-fill-available !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-mw-helplink a { background-image: url(https://upload.wikimedia.org/wikipedia/commons/6/6b/OOjs_UI_icon_helpNotice-ltr-invert.svg); } .mw-indicator { display: inline-block; background-color: var(--color-primary); padding: 0.25em 0.5em; border-radius: var(--border-radius-small); margin: 0.66em; transition: var(--transition-time); } .mw-indicator a { color: var(--color-text-static-white) !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); transition: all var(--transition-time); } .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; } /* Размеры под разные экраны */ @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; z-index: 3; } } @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; } ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner, ::-webkit-resizer { background-color: var(--color-scrollbar-base); } ::-webkit-scrollbar-thumb { background-color: var(--color-scrollbar-thumb); } ::-webkit-scrollbar-thumb:hover { background-color: var(--color-scrollbar-thumb-hover); } /* Header */ .mw-logo-icon, img[alt="Jobstemp.png"] { filter: var(--logo-invert); } @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); } .ve-active #siteNotice { display: block !important; } /* Поиск */ .cdx-search-input--has-end-button, .client-js .vector-search-box-vue.vector-search-box-show-thumbnail > div { max-width: unset; margin: 0 17.5em 0 7.5em; 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-icon); } .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-light); color: var(--color-text-darker); border: none; } .cdx-button--framed:enabled:hover { background-color: var(--color-border-input); } .cdx-icon { filter: var(--invert-icon); } /* Результаты поиска */ .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-light); } .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-light); 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-static-white); 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-static-white); 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); border-radius: var(--border-radius-small); 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-user-menu-create-account a { display: flex !important; } .vector-user-menu-create-account a, .vector-menu-dropdown .mw-list-item a { margin: 0 0 0.5em 0; background-color: var(--color-primary); color: var(--color-text-static-white) !important; text-decoration: none !important; border-radius: var(--border-radius-small); transition: background-color var(--transition-time); } .vector-user-menu-create-account a:hover, .vector-menu-dropdown .mw-list-item a:hover { background-color: var(--color-primary-light) !important; } .vector-user-menu-login { border-bottom: 0; } .vector-user-menu-login a { margin-top: 0.5em; border-top: none; border-radius: var(--border-radius-small); background-color: var(--color-blue); color: var(--color-text-static-white) !important; text-decoration: none !important; } .vector-user-menu-login a:hover { background-color: var(--color-blue-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-small); 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; } #ca-protect > a { margin-bottom: 0; } #pt-userpage, #pt-watchlist { display: block; } /* Sidebar */ .mw-sidebar { overflow-x: hidden; position: fixed; height: -webkit-fill-available; overflow-y: hidden; padding: 1em 0 0.75em 0; margin: 2.65em 0 0 0; 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; } #p-Bandastation_13 { margin-top: 0; } #mw-panel.collapsible-nav .portal, .vector-menu-portal { border: 1px solid var(--color-border); } #mw-panel.collapsible-nav .portal .vector-menu-heading, .vector-menu-portal .vector-menu-heading { padding: 0.5em 0 0.4em 1.5em; } #mw-panel.collapsible-nav .portal.first .vector-menu-heading { display: block; padding: 0.5em 0 0.4em 1.5em; margin-top: 0; } #mw-panel.collapsible-nav .portal .vector-menu-content ul li, .vector-menu-portal .vector-menu-content ul li { padding: 0 !important; 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, .vector-menu-portal .vector-menu-content ul li:first-child { margin-top: 0.5em; } #mw-panel.collapsible-nav .portal .vector-menu-content ul li:hover, .vector-menu-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.5em; color: var(--color-text-static-white) !important; text-decoration: none; } .vector-menu-portal .vector-menu-heading { margin: 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; font-weight: bold; } .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); } a.feedlink { padding-left: 1.5em !important; margin-left: 0.5em; } /* Toolbar */ .mw-article-toolbar-container { margin: 0.5em 0.75em 0 0.75em; 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 { color: var(--color-text-translucent) !important; padding: 0.5em 0.75em 0.33em 0.75em; border-bottom: 2px solid transparent; } .vector-menu-tabs .mw-list-item a:focus, .vector-menu-tabs .mw-list-item a:hover { background-color: var(--color-hover); border-bottom: 2px solid transparent; } #left-navigation { margin-left: 0px; } .vector-menu-tabs .mw-watchlink.icon a { content: none; color: transparent; margin: 0 0.5em; } .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 0.75em; border-radius: var(--border-radius-small); transition: background-color var(--transition-time); } .vector-collapsible > .vector-menu-dropdown:hover { background-color: var(--color-bg); } #p-cactions-label::after { filter: var(--invert-icon); } /* Содержание */ #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-icon); } .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: hidden; position: fixed; bottom: 0; padding: 0; height: -webkit-fill-available; max-height: 15em; background-color: var(--color-bg-section); border-top: 1px solid var(--color-border); backdrop-filter: var(--blur-intensity); transition: all var(--transition-time); } .sidebar-toc:hover { overflow-y: visible; } .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-static-white); 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); color: var(--color-text-static-white); } .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-static-white); 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-static-white); 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; } @media screen and (min-width: 1000px) { .vector-toc-not-collapsed #mw-sidebar-checkbox:not(:checked) ~ .mw-table-of-contents-container .vector-sticky-toc-container #mw-panel-toc { max-height: 100vh; margin-top: 4.1em; border: 0; } } /* 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; } /* Кнопка смены темы */ #theme-toggle { display: none; } #theme-button { cursor: pointer; border: 0; margin-right: 0.5em; background-color: transparent; transition: all var(--transition-time); } #theme-button:hover { background-color: var(--color-bg-section-light); } #theme-button::before { content: ""; display: block; padding: 0.8em; width: 1.5em; height: 1.5em; background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/52/Font_Awesome_5_solid_sun.svg); transform: scale(0.4); filter: var(--invert-icon); } #theme-toggle:checked + #theme-button:before { background-image: url(https://upload.wikimedia.org/wikipedia/commons/c/c4/Font_Awesome_5_solid_moon.svg); } /* Иконки */ .mw-ui-icon { filter: var(--invert-icon); } .mw-ui-button { box-shadow: none !important; border: none; } .vector-menu-tabs #ca-unwatch.icon a:before { background-image: url(https://upload.wikimedia.org/wikipedia/commons/1/11/Bon_article.svg) !important; background-repeat: no-repeat; background-size: contain; background-position: center; padding-right: 1em; filter: saturate(7.5); } .vector-menu-tabs #ca-unwatch.icon a:hover:before { filter: saturate(0); } .vector-menu-tabs #ca-watch.icon a:before { background-image: url(https://upload.wikimedia.org/wikipedia/commons/1/11/Bon_article.svg) !important; background-repeat: no-repeat; background-size: contain; background-position: center; padding-right: 1em; } .vector-menu-tabs #ca-watch.icon a:hover:before { filter: saturate(7.5); } ul { list-style-image: none; } .oo-ui-icon-menu, .mw-ui-icon-menu:before, .oo-ui-iconElement-icon .oo-ui-icon-checkAll .oo-ui-image-invert, .oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon:not(.oo-ui-image-invert) { filter: var(--invert-icon); } /* Fieldset + Table */ table { background-color: var(--color-bg-section-light); border-color: var(--color-border); } 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); } fieldset > table { padding: 0.5em 0.5em 0; border: 1px solid var(--color-border); } /* Редактор кода */ .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); } .oo-ui-fieldLayout.oo-ui-labelElement, .oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline { margin-top: 0.5em; } .oo-ui-fieldLayout-body { padding: 0.5em; } .mw-continue-editing { float: right; line-height: 1.667em; padding: 0 0.5em; border-radius: var(--border-radius-small); 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-static-white) !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-icon); } .wikiEditor-ui-toolbar .booklet .pages, .wikiEditor-ui-toolbar .booklet > .index { height: 215px; backdrop-filter: var(--blur-intensity); } .wikiEditor-ui-toolbar .booklet > .index { background-color: var(--color-bg-opaque); color: var(--color-text-darker); border-right: 1px solid var(--color-border); transition: background-color var(--transition-time); } .wikiEditor-ui-toolbar .booklet > .index > :hover { background-color: var(--color-hover); } .wikiEditor-ui-toolbar .booklet > .index > .current { background-color: var(--color-selected); color: var(--color-text); } .wikiEditor-ui-toolbar .page-table th { color: var(--color-text); } .wikiEditor-ui-toolbar .page-table td { color: var(--color-text-darker); border-top: 1px solid var(--color-border); } .wikiEditor-ui-toolbar .page-characters div span { color: var(--color-text-darker); border: 1px solid var(--color-border); transition: background-color var(--transition-time), border var(--transition-time); } .wikiEditor-ui-toolbar .page-characters div span:hover { background-color: var(--color-hover); border-color: var(--color-border-input); } /* Кнопки редактора кода */ .mw-editsection { vertical-align: middle; } .mw-editsection a { margin-left: 0.5em; padding: 0.2em 0.5em 0.3em 0.5em; background-color: var(--color-primary); color: var(--color-text-static-white); border-radius: var(--border-radius-small); text-decoration: none !important; font-size: smaller; } .mw-editsection a:hover { background-color: var(--color-primary-light); } .mw-editsection-bracket, .mw-editsection-divider { display: none; } .wikiEditor-ui-toolbar .group .tool-select .label { padding: 0 2.2em 0 1.6em; color: var(--color-text); transition: background-color var(--transition-time); } .wikiEditor-ui-toolbar .group .tool-select .label:hover { background-color: var(--color-hover); } .wikiEditor-ui-toolbar .group .tool-select .label:after { filter: invert(1); } .wikiEditor-ui-toolbar .group .tool-select .menu .options { background-color: var(--color-bg-section); backdrop-filter: var(--blur-intensity); border: 1px solid var(--color-border); border-top: 0; } .wikiEditor-ui-toolbar .group .tool-select .options .option { color: var(--color-text); transition: background-color var(--transition-time); } .wikiEditor-ui-toolbar .group .tool-select .menu .options .option:hover { background-color: var(--color-hover); } .wikiEditor-ui-toolbar .group .label { color: var(--color-text-translucent); } .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon { opacity: 0.5; } .wikiEditor-ui-toolbar .sections .section { border-top: 1px solid var(--color-border); } .wikiEditor-ui-toolbar .group-search { border-left: 1px solid var(--color-border) !important; } .wikiEditor-ui-toolbar .tabs span.tab a { height: unset; line-height: 1.5em; padding: 0 0.75em; margin: 0.4em 0.3em 0 0.2em; background-color: var(--color-primary); color: var(--color-text-static-white); border-radius: var(--border-radius-small); text-decoration: none; transition: background-color var(--transition-time); } .wikiEditor-ui-toolbar .tabs span.tab a:hover { background-color: var(--color-primary-light); } .wikiEditor-ui-toolbar .tabs span.tab a::before { background: none; } .wikiEditor-ui-toolbar .tabs span.tab a.current { background-color: var(--color-green); color: var(--color-text-static-white); } .wikiEditor-ui-toolbar .tabs span.tab a.current:hover { background-color: var(--color-green-light); } .wikiEditor-ui-toolbar .tabs span.tab a.current::before { background: none; } .oo-ui-inputWidget { margin-right: 0.5em; } /* Всплывающее модальное окно в редакторе */ .ui-dialog.ui-widget.ui-widget-content.ui-corner-all.wikiEditor-toolbar-dialog.ui-draggable.ui-dialog-buttons { width: auto !important; } .ui-widget-content { padding: 0; border: none; background: none; background-color: var(--color-bg); color: var(--color-text-static-white); border-radius: 0; } .ui-widget-overlay { opacity: 1; background: none; background-color: var(--color-bg-opaque); } .ui-widget-header { border: none; background: none; background-color: #333333; color: var(--color-text-static-white); border-bottom: 1px solid #161616; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); border-radius: 0 !important; cursor: default !important; } .ui-dialog-titlebar.ui-widget-header.ui-corner-all.ui-helper-clearfix:before { content: ""; float: left; background-image: url(https://skyrat.ss220.club/images/9/92/EyeIcon.png); background-size: contain; background-position: left; background-repeat: no-repeat; width: 18px; height: 18px; transform: scale(1.3); } .ui-dialog .ui-dialog-title { margin: 0 0 0 1.1em; color: rgba(255, 255, 255, 0.75); font-size: smaller; font-weight: normal; } body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close { right: 0em; top: 0.55em; width: 48px; height: 32px; text-decoration: none; font-weight: normal; } .ui-widget-header .ui-icon, .ui-dialog .ui-dialog-titlebar-close span { background-image: none; margin: 0; width: 48px; height: 32px; color: rgba(255, 255, 255, 0.5); transition: color 250ms, background-color 250ms; text-indent: 16px; } .ui-dialog .ui-dialog-titlebar-close span:hover { background-color: #cc0000; color: rgba(255, 255, 255, 1); transition: color 0ms, background-color 0ms; } .ui-dialog .ui-dialog-titlebar-close span::before { content: "×"; display: block; height: 32px; padding-top: 4px; } .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 0; background: none; } #wikieditor-toolbar-table-dialog, #wikieditor-toolbar-link-dialog, #wikieditor-toolbar-file-dialog { padding: 0.5em !important; background-image: url(https://raw.githubusercontent.com/ss220club/Paradise-SS220/master/tgui/packages/tgui/assets/bg-nanotrasen.svg); background-size: 70%; background-position: center; background-repeat: no-repeat; } .wikieditor-toolbar-dialog-wrapper { width: auto; } #wikieditor-toolbar-table-dialog fieldset { width: 350px; height: 375px; margin-right: 0.25em !important; float: left; background-color: var(--color-bg-section); } #wikieditor-toolbar-table-dialog .wikieditor-toolbar-table-preview-wrapper { width: 350px; height: 375px; margin-left: 0.25em; float: left; background-color: var(--color-bg-section); } .wikieditor-toolbar-table-form { padding: 0.66em 0.5em; } .wikieditor-toolbar-dialog-wrapper > fieldset:before { content: "Настройка таблицы"; } .wikieditor-toolbar-dialog-wrapper > fieldset:before, .wikieditor-toolbar-table-preview-wrapper > span { display: block; padding: 0.5em; border-bottom: 2px solid var(--color-primary); font-size: 14px; font-weight: bold; } .wikieditor-toolbar-field-wrapper { background-color: transparent; padding: 0.25em 0.5em; margin-bottom: 0.5em; border-radius: var(--border-radius-small); font-size: medium; } #wikieditor-toolbar-table-preview { margin: 0; } .wikieditor-toolbar-table-preview-content { padding: 0.66em 0.5em; } #wikieditor-toolbar-table-preview > caption { font-weight: bold; margin-bottom: 0.5em; color: #dddddd; } .wikiEditor-toolbar-dialog .ui-dialog-buttonpane { padding: 0 0.5em 0.5em 0.5em; margin: 0; border: 0 !important; } .ui-dialog-buttonset { display: flex; } .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: unset; background-color: var(--color-bg-section); } .ui-dialog .ui-dialog-buttonpane button { cursor: default; width: 100%; margin: 0.5em 0.5em 0.5em 0em; background: var(--color-primary); color: var(--color-text-static-white); border: 0; transition: background-color var(--transition-time); } .ui-dialog .ui-dialog-buttonpane button:hover { background: var(--color-primary-light); } .ui-dialog .ui-dialog-buttonpane button:first-child { margin-left: 0.5em; } .ui-button-text-only .ui-button-text { padding: 0; line-height: 1.5; font-weight: normal; font-size: small; } .wikiEditor-toolbar-dialog .ui-dialog-content { padding: 0; } #wikieditor-toolbar-link-dialog fieldset { width: 525px; height: 375px; float: left; background-color: var(--color-bg-section); } /* Загрузка файла */ 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-small); 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-static-white); border-radius: var(--border-radius-small); transition: background-color var(--transition-time); } span > .mw-htmlform-submit:hover { background-color: var(--color-primary-light); } #filetoc { background-color: var(--color-bg-section-light); border: 1px solid var(--color-border); } #filetoc li { padding: 0; } #filetoc li a { padding: 0.2em 0.5em 0.2em 0.5em; background-color: var(--color-primary); color: var(--color-text-static-white); border-radius: var(--border-radius-small); text-decoration: none !important; transition: background-color var(--transition-time); } #filetoc li a:hover { background-color: var(--color-primary-light); } /* Предупреждение */ #editpage-copywarn { padding-top: 0.5em !important; } .mw-message-box-warning, .mw-editform #editpage-copywarn { padding: 0.33em 0.5em; margin: 0.5em 0 0.5em 0; color: var(--color-text-static-white); 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-message-box-error { padding: 0.33em 0.5em; margin: 0.5em 0 0.5em 0; color: var(--color-text); background-color: var(--color-red); 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-message-box-warning p, .mw-message-box-warning p strong, .mw-message-box-error p, .mw-message-box-error p strong { color: var(--color-text-static-white); } /* Уведомления */ #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-messageWidget > .oo-ui-labelElement-label { padding-top: 0.1em; margin-left: 2.25em; } /* Окна подтверждения */ .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); } /* Wiki кнопки */ .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button { border: none !important; outline: none !important; box-shadow: none !important; background-color: var(--color-primary); color: var(--color-text-static-white); border-radius: var(--border-radius-small); transition: background-color var(--transition-time); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover, .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active { background-color: var(--color-primary-light); color: var(--color-text-static-white); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { background-color: var(--color-blue); color: var(--color-text-static-white); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button { background-color: var(--color-green); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active { background-color: var(--color-blue-light); color: var(--color-text-static-white); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button { background-color: var(--color-red); color: var(--color-text-static-white); } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active { background-color: var(--color-red-light); color: var(--color-text-static-white); } .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button { border: none; background-color: var(--color-grey); color: var(--color-text-static-white-transparent); border-radius: var(--border-radius-small); transition: background-color var(--transition-time), color var(--transition-time); } /* Wiki дропдаун */ .oo-ui-dropdownWidget-handle, .oo-ui-dropdownInputWidget select, .oo-ui-dropdownInputWidget.oo-ui-widget-enabled, .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select, .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle { border: none !important; outline: none !important; box-shadow: none !important; background-color: var(--color-primary); color: var(--color-text-static-white); border-radius: var(--border-radius-small) !important; transition: background-color var(--transition-time); } .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:active, .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle, .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle:hover, .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle:active { background-color: var(--color-primary-light); color: var(--color-text-static-white); } .oo-ui-menuSelectWidget { margin: 0; box-shadow: none; background-color: var(--color-bg-opaque); border: 1px solid var(--color-border); border-radius: var(--border-radius-small); backdrop-filter: var(--blur-intensity); } .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget { color: var(--color-text-darker) !important; transition: background-color var(--transition-time); } .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected { background-color: var(--color-selected) !important; } .oo-ui-menuOptionWidget.oo-ui-optionWidget:hover { background-color: var(--color-hover); } .oo-ui-dropdownInputWidget option { background-color: var(--color-bg); color: var(--color-text-darker) !important; } .oo-ui-dropdownInputWidget option:hover { background-color: var(--color-grey-light); } .oo-ui-indicator-down { filter: var(--invert-icon); } /* Ёбаный чекбокс */ .oo-ui-checkboxInputWidget [type="checkbox"] + span { outline: 0 !important; box-shadow: none !important; background-color: var(--color-bg-section-light); border-color: var(--color-border); border-radius: var(--border-radius-small); } .oo-ui-checkboxInputWidget [type="checkbox"] + span:hover { border-color: var(--color-border-input); } .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:checked + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:indeterminate + span { background-color: var(--color-blue); border-color: var(--color-blue); } .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:checked + span:hover, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:indeterminate + span:hover { background-color: var(--color-border-input); border-color: var(--color-border-input); } .oo-ui-radioInputWidget [type="radio"] + span { outline: none !important; box-shadow: none !important; background-color: var(--color-bg-section-light); border-color: var(--color-border); } .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"] + span { transition: background-color var(--transition-time), border var(--transition-time); } .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:checked + span { border-color: var(--color-blue); } .oo-ui-radioInputWidget [type="radio"]:checked + span, .oo-ui-radioInputWidget [type="radio"]:checked:hover + span, .oo-ui-radioInputWidget [type="radio"]:checked:focus:hover + span { border-width: 6px; } .oo-ui-radioInputWidget [type="radio"] + span:before { border: unset; } /* Дата */ .mw-special-Contributions .oo-ui-fieldsetLayout-group .oo-ui-panelLayout-padded.oo-ui-panelLayout-framed { padding: 1em; } .mw-widget-dateInputWidget-handle { background-color: var(--color-bg-section-light); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--border-radius-small); transition: background-color var(--transition-time), border var(--transition-time); } .mw-widget-dateInputWidget.oo-ui-widget-enabled .mw-widget-dateInputWidget-handle:hover { border-color: var(--color-border-input); } .mw-widget-dateInputWidget-calendar { margin-top: 0; box-shadow: none; background-color: var(--color-bg-opaque); border: 1px solid var(--color-border); border-top: 0; border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium); backdrop-filter: var(--blur-intensity); } .mw-widget-calendarWidget-item { border-radius: var(--border-radius-small); transition: all var(--transition-time); } .mw-widget-calendarWidget-item-selected { background-color: var(--color-primary); color: var(--color-text-static-white); } .mw-widget-calendarWidget-day-heading { color: var(--color-text); } .mw-widget-calendarWidget-day { color: var(--color-text-darker); } .mw-widget-calendarWidget-day:hover { background-color: var(--color-hover); } .mw-widget-calendarWidget-day-additional { color: var(--color-text-gray); } .mw-widget-calendarWidget-day-today { box-shadow: inset 0 0 0 1px var(--color-border-input); } /* Поле ввода форм */ .mw-ui-input { background-color: var(--color-bg-section-light) !important; color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--border-radius-small); padding: 0.5em 1em; box-shadow: none !important; backdrop-filter: var(--blur-intensity); transition: background-color var(--transition-time); } /* Экран регистрации */ .mw-ui-vform { text-align: center; } .mw-ui-vform-field > label { line-height: 2.5em; } .mw-ui-vform .htmlform-tip { margin-top: 1em; color: var(--color-text-gray); font-size: 0.8em; } .mw-ui-container #userloginForm { display: flex; float: none; margin: 0 0 2em 0; flex-direction: row; justify-content: center; } /* 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-light); } .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border: 1px solid var(--color-border); padding: 0.3em 0.5em; } /* Вкладки */ .tabs-tabbox, .tabs-togglebox { margin: 1em 0; } .tabs-tabbox > .tabs-label { margin: 0; border-radius: var(--border-radius-small) var(--border-radius-small) 0 0; border-bottom: 2px solid transparent; } .tabs-label { padding: 0.3em 0.75em 0.2em 0.75em; background-color: transparent; color: var(--color-text-gray); border: 0; transition: background-color var(--transition-time); } .tabs-label:hover { background-color: var(--color-hover); } .tabs-tabbox > .tabs-input + .tabs-input + .tabs-label { margin: 0 !important; } .tabs-tabbox > .tabs-input:checked + .tabs-label, .tabs-input-0:checked + .tabs-input-1 + .tabs-label { background-color: var(--color-selected); color: var(--color-text); border-bottom: 2px solid var(--color-fg); } .tabs-tabbox > .tabs-container { margin-top: 0; padding: 0; border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium); border: 1px solid var(--color-border); } .tabs-content { padding: 0.5em; width: -webkit-fill-available; background-color: var(--color-bg-section-light); backdrop-filter: var(--blur-intensity); } /* Togglebox */ .tabs-dropdown .tabs-content, .tabs-dropdown .tabs-container, .tabs-dropdown li, .tabs-dropdown ul, .tabs-dropdown ol { background-color: var(--color-bg-opaque) !important; border-radius: var(--border-radius-medium) !important; box-shadow: none !important; border-color: var(--color-border) !important; } .tabs-dropdown > * > .tabs-label { margin: 0; padding: 0 0.5em; background-color: var(--color-primary); color: var(--color-text-static-white); border-radius: var(--border-radius-medium); } /* Список наблюдения */ .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined { background-color: transparent; } .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { background-color: var(--color-bg-section-light); border: 1px solid var(--color-border); border-bottom: 0; border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0; padding: 0.5em 0.75em; backdrop-filter: var(--blur-intensity); } .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend { padding: 1em; background-color: var(--color-bg-opaque); border: 1px solid var(--color-border); backdrop-filter: var(--blur-intensity); } .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget { padding-right: 0.5em; background-color: var(--color-bg-section-light); border: 1px solid var(--color-border); border-radius: 0; } .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: var(--color-text-darker); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { color: var(--color-text); } .mw-rcfilters-ui-filterTagMultiselectWidget-emptyFilters { color: var(--color-text-gray); } .mw-rcfilters-ui-watchlistTopSectionWidget-separator { border-color: var(--color-border); } .mw-plusminus-neg { color: var(--color-red); } .mw-plusminus-pos { color: var(--color-green); } .client-js .mw-changeslist table.mw-enhanced-rc { backdrop-filter: none; } .mw-rcfilters-ui-filterMenuHeaderWidget-header { background-color: var(--color-bg-opaque); border-bottom: 1px solid var(--color-border); } .mw-rcfilters-ui-filterMenuHeaderWidget-title { color: var(--color-text-darker); } .mw-rcfilters-ui-filterMenuSectionOptionWidget { background-color: var(--color-bg-section-light); } .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label { color: var(--color-text-gray); } .mw-rcfilters-ui-menuSelectWidget-group > .oo-ui-optionWidget.oo-ui-widget-enabled { margin-right: 0; } .mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not( .mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk ) { border-bottom: 1px solid var(--color-border); } .mw-rcfilters-ui-itemMenuOptionWidget-label-title { color: var(--color-text-darker); } .mw-rcfilters-ui-itemMenuOptionWidget-label-desc { color: var(--color-text-gray); } .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not( .oo-ui-optionWidget-selected ) { background-color: unset; } .mw-rcfilters-ui-menuSelectWidget-footer { background-color: var(--color-bg-section-light); border-top: 0; } .mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget { color: var(--color-text-darker); } .oo-ui-buttonGroupWidget .oo-ui-buttonElement { margin-right: 0.5em; } .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-top-hideshow { background-color: var(--color-primary); border-radius: var(--border-radius-small); text-decoration: none; } .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-top-hideshow:hover { background-color: var(--color-primary-light); } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { border: 0 !important; box-shadow: none !important; color: unset !important; } .mw-rcfilters-collapsed .mw-rcfilters-ui-filterTagMultiselectWidget.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { padding: 0.5em 0.75em; border-radius: var(--border-radius-medium); border-bottom: 1px solid var(--color-border); } .mw-rcfilters-collapsed .mw-rcfilters-ui-filterTagMultiselectWidget { border-bottom: 0; } .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { transition: background-color var(--transition-time); } .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled { background-color: var(--color-primary); color: var(--color-text-static-white); border: 0; border-radius: var(--border-radius-small); } .oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button { padding-top: 1.5em; } .oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover { background-color: var(--color-primary-light); } .mw-rcfilters-ui-itemMenuOptionWidget-view-namespaces { border-top: 2px solid var(--color-primary); } /* Popup */ .oo-ui-popupWidget { backdrop-filter: var(--blur-intensity); } .oo-ui-popupWidget-popup { background-color: var(--color-bg-opaque); border: 1px solid var(--color-border); border-radius: var(--border-radius-medium); } .mw-rcfilters-ui-datePopupWidget { border-top: 1px solid var(--color-border); } /* Страница настроек */ #preferences { filter: none; } .mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed { background-color: transparent; border: 0; border-radius: 0; } .oo-ui-tabSelectWidget-framed { background-color: transparent; } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget { margin: 0; color: var(--color-text-translucent); border-bottom: 2px solid transparent; border-top-left-radius: var(--border-radius-small); border-top-right-radius: var(--border-radius-small); transition: background-color var(--transition-time); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover { background-color: var(--color-hover); color: var(--color-text-translucent); } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { background-color: var(--color-selected) !important; color: var(--color-fg) !important; border-bottom: 2px solid var(--color-fg) !important; } .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget .oo-ui-labelElement-label { border: 0; transition: none; } .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout { border: 1px solid var(--color-border); border-radius: 0; } .oo-ui-labelWidget.oo-ui-inline-help { color: var(--color-text-gray); font-size: 0.9em; } .mw-prefs-buttons { padding: 1em; margin: 0; background-color: var(--color-bg-opaque); border-top: 1px solid var(--color-border); box-shadow: none; backdrop-filter: var(--blur-intensity); } /* Визуальный редактор */ .oo-ui-toolbar-bar { background-color: var(--color-bg-section-light); color: var(--color-text-darker); } .oo-ui-toolbar-position-top > .oo-ui-toolbar-bar { border-bottom: 1px solid var(--color-border); border-top: 1px solid var(--color-border); box-shadow: none !important; } .ve-ui-toolbar > .oo-ui-toolbar-bar .oo-ui-toolbar-bar { border: 0; } .oo-ui-menuToolGroup { border-color: var(--color-border); } .oo-ui-toolbar-bar .oo-ui-iconElement-icon { filter: var(--invert-icon); } .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link { transition: background-color var(--transition-time); /* color: var(--color-text) !important; */ } .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover { background-color: var(--color-hover); } .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link { background-color: var(--color-selected) !important; } .ve-ce-branchNode-blockSlug, .ve-ce-branchNode-newSlug { outline: none !important; background-color: var(--color-bg-section-light); border: 1px solid var(--color-border); backdrop-filter: var(--blur-intensity); transition: all var(--transition-time) !important; } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { background-color: var(--color-hover) !important; } .oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link { background-color: var(--color-blue); color: var(--color-text-static-white); transition: background-color var(--transition-time); } .oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:hover, .oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:active { background-color: var(--color-blue-light) !important; } .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link { background-color: var(--color-grey); color: var(--color-text-static-white); } .oo-ui-popupToolGroup-tools { background-color: var(--color-bg-opaque); border: 1px solid var(--color-border); box-shadow: none !important; backdrop-filter: var(--blur-intensity); } .oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled { background-color: unset; } /* DIFF */ .diff-addedline, .diff-deletedline, .diff-context { border-width: 1px 4px 1px 4px; border-radius: var(--border-radius-small); } .diff-context { background: var(--color-bg-section-light); border-color: var(--color-border); color: var(--color-text); } .diff-addedline .diffchange, .diff-deletedline .diffchange { border-radius: var(--border-radius-small); padding: 0.25em; } .diff-addedline { border-color: var(--palette-civ-primary); } .diff-addedline .diffchange { background: var(--palette-civ-secondary); } .diff-deletedline { border-color: var(--palette-sec-primary); } .diff-deletedline .diffchange { background: var(--palette-sec-secondary); } /* Tooltip */ .tooltip { display: inline-flex; position: relative; align-items: baseline; } .tooltiptext { position: absolute; display: inline; z-index: 2; width: 250px; padding: 10px; margin-top: 2.5em; visibility: hidden; opacity: 0; white-space: normal; text-align: left; border: 1px solid var(--color-border); background-color: var(--color-bg); transition: all var(--transition-time); transition-delay: var(--transition-delay); } .tooltip:hover > .tooltiptext { visibility: visible; opacity: 1; margin-top: 3.5em; box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.75); transition-delay: 0s; } /* Шаблоны */ table, .pageframe-container { backdrop-filter: var(--blur-intensity); } /* Скрытые элементы */ #pt-userpage-2, #pt-watchlist-2, #pt-createaccount-2 { display: none; } .mw-sidebar-action, .mw-createacct-benefits-container { display: none; }