|
|
(не показано 18 промежуточных версий 4 участников) |
Строка 1: |
Строка 1: |
| /* Весь CSS будет отсюда будет загружен пользователям темы оформления «Векторная» */ | | {{#seo: |
| | |title=SS220 TG |
| | |description=Вики проекта SS220, по билду /tg/station в Space Station 13. |
| | |keywords=ss220, space station 220, ss220 вики, ss220 wiki, ss220 club, ss220 tg, bandastation, ss13, ss13 tg, mooniverse, wycc, wycc220, elwycco, alcore, alcoreru, taer, tearss, банда, wyccstation, roleplay, space rp, space roleplay |
| | |image=https://cdn.discordapp.com/attachments/1097521716013568011/1293253277923676231/title.png?ex=6706b378&is=670561f8&hm=14c2daecf77818a741826ab79c2a5187707dcab08b00c3b2b328da00ab7d8c3f& |
| | |image_width=608 |
| | |image_height=480 |
| | |type=website |
| | }} |
| | {{Mainpage/splash}} |
|
| |
|
| :root {
| | <div class="wiki-mainpage" style="margin: 0.75em 0;"><div class="wiki-mainpage-column"> |
| /* Базовые цвета */
| | {{pageframe |
| --color-fg: #ffffff;
| | | color = Command |
| --color-bg: #252525;
| | | icon = scale-balanced |
| --color-bg-opaque: rgba(37, 37, 37, 0.75);
| | | title = Правила сервера |
| --color-bg-section: rgba(0, 0, 0, 0.33);
| | | content = <span style="font-size: 120%;"><div align="center">'''{{CustomLink|Rules|{{#fas:gavel}} Обязательны к ознакомлению}}'''</div> |
| --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, 1);
| |
| --color-text-gray: rgba(200, 200, 200, 1);
| |
| --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);
| |
|
| |
|
| /* Цвета элементов */
| | {{pageframe |
| --color-red: rgba(219, 40, 40, 1);
| | | color = Blue |
| --color-orange: rgba(240, 143, 17, 1);
| | | icon = baby |
| --color-yellow: rgba(251, 214, 8, 1);
| | | title = Новенький на станции? |
| --color-olive: rgba(181, 204, 24, 1);
| | | content = <span style="font-size: 120%;">'''Не уверены с чего начать?'''</span><br> |
| --color-green: rgba(91, 170, 39, 1);
| | Прочитайте наше [[Starter_guide|Руководство для новичков]]!<br> |
| --color-teal: rgba(0, 181, 173, 1);
| | Нужны уточнения? Прочитайте наши [[Guides|Руководства для игроков]]!<br> |
| --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 нет */
| | <span style="font-size: 120%;">'''Полезные ссылки для начинающих'''</span> |
| --color-red-light: rgba(251, 58, 58, 1);
| | *[[Starter_guide#Управление|Хоткеи]] |
| --color-orange-light: rgba(255, 163, 40, 1);
| | *[[Starter_guide#Присоединение к раунду|Выбор должности]] |
| --color-yellow-light: rgba(255, 233, 29, 1);
| | *[[Guide_to_construction|Руководство по строительству]] |
| --color-olive-light: rgba(208, 225, 37, 1);
| | *[[Starter_guide#Базовая интеракция|Руководство по боевой системе]] |
| --color-green-light: rgba(105, 195, 43, 1);
| | *[[Starter_guide#Игра в раунде|Локации]] |
| --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);
| |
|
| |
|
| /* Остальные цвета */
| | {{pageframe |
| --color-notice: #a6875b;
| | | color = Supply |
| --color-hyperlink: #6699ff;
| | | icon = scroll |
| --color-hyperlink-visited: #a173ff;
| | | title = Лор наших серверов |
| --color-hyperlink-new: #ff6666;
| | | content = <center>'''{{CustomLink|Лор|{{#fas:landmark}} Руководство по лору}}'''</center> |
| --color-hyperlink-new-visited: #ff8359;
| | {{pagelore}} |
| | }} |
|
| |
|
| /* Значения */
| | {{pageframe |
| --border-radius-tiny: 0.16em;
| | | color = Yellow |
| --border-radius-small: 0.25em;
| | | icon = book-bookmark |
| --border-radius-medium: 0.5em;
| | | title = Популярные руководства |
| --border-radius-large: 1em;
| | | content = <center>'''{{CustomLink|Руководства|{{#fas:book}} Все руководства для игроков}}'''</center> |
| --blur-intensity: blur(24px);
| | {{pageguides}} |
| --invert-rare: invert(0.8);
| | }}</div> |
| --invert-common: invert(0.9);
| |
| --invert-full: invert(1);
| |
|
| |
|
| /* Время */
| | <div class="wiki-mainpage-column"> |
| --transition-time: 0.2s;
| | {{pageframe |
| } | | | color = Civilian |
| | | icon = users |
| | | title = Роли и должности |
| | | content = {{Pagejobs}} |
| | }} |
|
| |
|
| a {
| | {{pageframe |
| color: var(--color-hyperlink)
| | | color = Antag |
| } | | | icon = skull |
| | | title = Антагонисты |
| | | content = {{Pagemodes}} |
| | }} |
|
| |
|
| .mw-parser-output a.extiw, .mw-parser-output a.external {
| | {{pageframe |
| color: var(--color-hyperlink)
| | | color = Science |
| } | | | icon = suitcase |
| | | title = Объекты |
| | | content = {{Pageitems}} |
| | }} |
|
| |
|
| a:visited {
| | {{pageframe |
| color: var(--color-hyperlink-visited)
| | | color = CentCom |
| }
| | | icon = brain |
| | | title = Для редакторов |
| | | content = <span style="font-size: 120%;">'''Ссылки для редакторов'''</span> |
| | Эта вики содержит [[Special:Statistics|{{NUMBEROFPAGES}} страниц ({{NUMBEROFARTICLES}} статей)]].<br> |
| | Загляните в канал <code>#wiki</code> в [https://discord.gg/ss220 нашём Discord’е], если хотите помочь! |
|
| |
|
| .mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
| | {{pageditors}} |
| color: var(--color-hyperlink-visited)
| | }} |
| }
| | </div></div> |
| | | [[Category:SS13]] |
| a.new {
| |
| color: var(--color-hyperlink-new)
| |
| }
| |
| | |
| a.new:visited {
| |
| color: var(--color-hyperlink-new-visited)
| |
| }
| |
| | |
| | |
| 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);
| |
| }
| |
| | |
| 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%;
| |
| }
| |
| | |
| .vector-user-menu-more .vector-menu-content-list, .vector-user-menu-overflow .vector-menu-content-list {
| |
| background-color: rgba(0, 0, 0, 0);
| |
| }
| |
| | |
| /* Поиск */
| |
| .client-js .vector-search-box-vue.vector-search-box-show-thumbnail > div {
| |
| max-width: unset;
| |
| }
| |
| | |
| .vector-search-box-input {
| |
| background-color: var(--color-bg-section-light);
| |
| color: var(--color-text-darker);
| |
| height: 2.15em;
| |
| box-sizing: border-box;
| |
| border: 1px solid #a2a9b1;
| |
| border-radius: 2px;
| |
| padding: 5px 2.15em 5px 0.4em;
| |
| box-shadow: none;
| |
| border: 1px solid var(--color-border);
| |
| transition-property: border-color,box-shadow;
| |
| transition-duration: 250ms;
| |
| }
| |
| | |
| .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: calc(100% - 24px);
| |
| }
| |
| | |
| .cdx-search-input--has-end-button {
| |
| display: flex;
| |
| background-color: var(--color-bg-section-light);
| |
| color: var(--color-text-darker);
| |
| border: 1px solid var(--color-border);
| |
| border-radius: 2px;
| |
| }
| |
| | |
| .cdx-text-input__input:enabled {
| |
| background-color: unset;
| |
| color: var(--color-text);
| |
| border: 1px solid var(--color-border);
| |
| box-shadow: none;
| |
| transition: all var(--transition-time);
| |
| }
| |
| | |
| .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:enabled {
| |
| background-color: unset;
| |
| color: var(--color-text-darker);
| |
| border-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 {
| |
| margin-top: 0.5em;
| |
| padding: 0.5em;
| |
| background-color: #111111; /* Нужно заменить на переменную, и применить блюр потом */
| |
| color: var(--color-text);
| |
| border: 1px solid var(--color-border);
| |
| box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.7);
| |
| transition: all var(--transition-time);
| |
| }
| |
| | |
| .vector-menu-checkbox:focus + .vector-menu-heading {
| |
| outline: none;
| |
| }
| |
| | |
| .vector-user-menu a{
| |
| padding: 0 0.33em !important;
| |
| white-space: nowrap;
| |
| transition: background-color 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;
| |
| }
| |
| | |
| /* Sidebar */
| |
| .mw-sidebar {
| |
| position: fixed;
| |
| height: -webkit-fill-available;
| |
| overflow-y: hidden;
| |
| padding: 1em 0 0.75em 0;
| |
| margin: 2.6em 0 0 0;
| |
| backdrop-filter: var(--blur-intensity);
| |
| background-color: var(--color-bg-section);
| |
| color: var(--color-fg);
| |
| }
| |
| | |
| .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.5em 0.5em 0.5em;
| |
| }
| |
| | |
| .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;
| |
| }
| |
| | |
| /* Содержание */
| |
| #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-opaque);
| |
| backdrop-filter: var(--blur-intensity);
| |
| border: 1px solid var(--color-border);
| |
| transition: background-color var(--transition-time);
| |
| }
| |
| | |
| .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;
| |
| 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);
| |
| }
| |
| | |
| /* Иконки */
| |
| .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;
| |
| }
| |
| | |
| .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 {
| |
| border: 1px solid var(--color-border);
| |
| background-color: var(--color-bg);
| |
| }
| |
| | |
| 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;
| |
| }
| |
| | |
| /* Размеры под разные экраны */
| |
| @media screen and (min-width: 1200px) {
| |
| .mw-page-container-inner {
| |
| grid-template-columns: 245px 0 !important;
| |
| min-height: 100vh !important;
| |
| }
| |
| }
| |
| | |
| @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;
| |
| }
| |
| | |
| /* Окна подтверждения */
| |
| .oo-ui-panelLayout-framed {
| |
| background-color: var(--color-bg-section-light);
| |
| border: 1px solid var(--color-border);
| |
| border-radius: var(--border-radius-medium);
| |
| }
| |
| | |
| /* Ввод в общем */
| |
| 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;
| |
| }
| |
| | |
| /* Шаблоны */
| |
| .pageframe-container {
| |
| backdrop-filter: var(--blur-intensity);
| |
| }
| |