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

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


a {
/* Disable blur */
    color: var(--color-hyperlink)
.blurless {
  backdrop-filter: blur(0) !important;
}
}


.mw-parser-output a.extiw, .mw-parser-output a.external {
/* Fill */
    color: var(--color-hyperlink)
.fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--index-low);
}
}


a:visited {
/**
    color: var(--color-hyperlink-visited)
* MARK: MainPage/Content
*/
.wiki-mainpage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}
}


.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
.wiki-mainpage-column {
    color: var(--color-hyperlink-visited)
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75em;
}
}


a.new {
/**
    color: var(--color-hyperlink-new)
* MARK: MainPage/Splash
*/
.tg-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  padding: 2em 1.5em 0;
  background-color: var(--color-bg-section-light);
  border: var(--border-classic);
  border-radius: var(--border-radius-large);
  backdrop-filter: var(--blur-default);
}
}


a.new:visited {
.tg-logo a img {
    color: var(--color-hyperlink-new-visited)
  width: 100%;
  height: auto;
}
}


ul li::marker {
.tg-welcome {
    color: var(--color-text) !important;
  display: inline-flex;
  text-align: center;
  font-weight: bold;
  padding: 0 1em;
  margin: 1em 0.5em 0.5em 0.5em;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--border-radius-large);
}
}


ul li:before {
.tg-info {
    content: "\2022";
  display: flex;
    display: inline-block;
  flex-direction: column;
    width: 1em;
  align-items: center;
    margin-left: -1em;
  text-align: center;
    font-weight: bold;
    color: var(--color-text);
}
}


strong {
.tg-info-string {
    color: var(--color-text) !important;
  overflow: hidden;
  display: flex;
  max-width: 90%;
  margin-bottom: 0.25em;
  background-color: var(--color-bg-section-light);
  border: var(--border-classic);
  border-top: 0;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.2);
  backdrop-filter: var(--blur-default);
}
}


li, p, label {
.tg-info-string span:not([class]) {
    color: var(--color-text-darker);
  padding: 0.5em 0.75em;
}
  border-right: var(--border-classic);
  border-left: var(--border-classic);


h1, h2, h3, h4, h5, h6 {
  @media (max-width: 719px) {
    color: var(--color-text);
     display: none;
}
  }
 
h2 {
     border-bottom: 2px solid var(--color-primary);
}
 
hr {
    height: 2px;
    background-color: var(--color-border);
}
}


pre, code, .mw-code {
.tg-info-string .tg-info-link {
    background-color: var(--color-bg-section-lighter);
  min-width: 3em;
    color: var(--color-text-darker);
    border: 1px solid var(--color-border);
    backdrop-filter: var(--blur-intensity);
}


body.skin-vector {
  @media (max-width: 719px) {
     background-color: var(--color-bg);
     min-width: 10em;
     color: var(--color-text-darker)
     height: 2.5em;
  }
}
}


.vector .mw-body h1, .mw-body-content h1, .mw-body-content h2 {
.tg-info-string .tg-info-link:first-of-type {
     padding: 0.2em 0.2em 0.2em 0.4em;
  @media (max-width: 719px) {
     border-right: var(--border-classic);
  }
}
}


/* Header */
.tg-info-string .tg-info-link a {
@media screen and (min-width: 1000px) {
  display: inline-flex;
    .vector-sticky-header {
  align-items: center;
        display: none;
  justify-content: center;
    }
  width: 100%;
  height: 100%;
  color: var(--color-text-semi-translucent) !important;
  transition: color var(--transition-time), background-color var(--transition-time);
}
}


.mw-header {
.tg-info-string .tg-info-link a:hover {
    position: fixed;
  background-color: var(--color-bg-hover);
    padding: 0.5em 0;
  color: var(--color-text) !important;
    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 {
.tg-info-string .tg-info-link a:after {
    background-color: rgba(0, 0, 0, 0);
  content: "";
}
  font: unset;


/* Поиск */
  @media (min-width: 720px) {
.cdx-search-input--has-end-button,
     display: none;
.client-js .vector-search-box-vue.vector-search-box-show-thumbnail > div {
  }
    max-width: unset;
    margin: 0 15em;
    background-color: var(--color-bg-section-light);
    color: var(--color-text-darker);
    border-radius: 0;
}
 
.cdx-search-input--has-end-button {
     margin: 0;
    border: 1px solid var(--color-border);
}
 
.vector-search-box-input {
    padding: 5px 2.15em 5px 0.4em;
    background-color: var(--color-bg-section-light);
    color: var(--color-text-darker);
    border: 1px solid var(--color-border);
    box-shadow: none;
    transition-property: border-color, box-shadow;
    transition-duration: var(--transition-time);
}
}


.client-js .vector-search-box-vue.vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton {
.tg-info-string .tg-info-link:first-of-type a:after {
     left: 0;
  @media (max-width: 719px) {
     filter: var(--invert-common);
     content: "Discord";
     margin-left: 1em;
  }
}
}


.client-js .vector-search-box-vue.vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input {
.tg-info-string .tg-info-link:last-of-type a:before {
    margin: 0;
  @media (max-width: 719px) {
    width: 100%;
     content: "GitHub";
}
 
.cdx-text-input__input {
    transition: all var(--transition-time) !important;
    outline: none !important;
}
 
.cdx-text-input__input:enabled {
    background-color: unset;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
 
.cdx-text-input__input:enabled:focus {
    box-shadow: inset 0 0 0 1px var(--color-border-input);
    border-color: var(--color-border-input);
}
 
.client-js .vector-search-box-vue .cdx-typeahead-search .cdx-text-input__input:not(:hover):not(:focus) {
    border: transparent;
    background-color: transparent;
}
 
.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--active) {
     margin-left: unset;
}
 
.client-js .vector-search-box-vue .cdx-typeahead-search .cdx-search-input__end-button {
    transition: opacity var(--transition-time);
}
 
.cdx-button--framed {
    transition: all var(--transition-time) !important;
}
 
.cdx-button--framed:enabled {
    background-color: var(--color-bg-section-lighter);
    color: var(--color-text-darker);
    border: none;
}
 
.cdx-button--framed:enabled:hover {
    background-color: var(--color-border-input);
}
 
.cdx-icon {
    filter: var(--invert-full);
}
 
/* Результаты поиска */
.cdx-menu {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-top: 0;
    box-shadow: 0px 20px 30px 5px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
}
 
.cdx-menu-item--enabled, .cdx-menu-item--enabled .cdx-menu-item__content {
    margin: 0.5em 0.25em;
    background-color: var(--color-bg-section-light);
    color: var(--color-text-darker);
    border-radius: var(--border-radius-medium);
}
 
.cdx-menu-item--enabled:hover, .cdx-menu-item--enabled.cdx-menu-item--highlighted {
    background-color: var(--color-bg-section-lighter);
}
 
.cdx-menu-item__thumbnail {
     margin-right: 1em;
     margin-right: 1em;
  }
}
}


.cdx-typeahead-search__menu-message, .cdx-typeahead-search__search-footer {
.tg-info-string .tg-info-link a i {
    background-color: var(--color-bg);
  font-size: 1.25em;
    color: var(--color-text-translucent);
    padding-bottom: 0.5em;
}
}


.cdx-typeahead-search__search-footer {
/**
    border-top: 0;
* MARK: MainPage/Buttons
*/
.pagebutton-container {
  user-select: none;
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  margin: 0.25em;
  outline: 1px outset var(--color-border);
  border-radius: var(--border-radius-small);
  transition: box-shadow var(--transition-time), transform var(--transition-time);
}
}


/* Фильтр на странице результатов */
.pagebutton-container:hover {
.mw-search-profile-tabs {
  box-shadow: 0 0.25em 0.5em 0;
    margin-top: 1em;
  transform: translateY(-0.3em);
    background-color: var(--color-bg-section-lighter);
  z-index: 1;
    border: 1px solid var(--color-border);
}
}


.search-types a {
.pagebutton-container:hover:focus-within {
    padding: 0 0.5em 0 0.5em;
  box-shadow: 0 0.25em 0.5em 0, inset 0 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 {
.pagebutton-text a {
    background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  min-height: 21px;
  background-color: var(--color-bg-focus);
  color: var(--color-white) !important;
  border-top: var(--border-classic);
  -webkit-user-drag: none;
}
}


.search-types .current a {
.pagebutton-image a img {
    margin: 0.5em 0.25em 0.5em 0.25em;
  display: flex;
    color: var(--color-text);
  margin: 0 auto;
    background-color: var(--color-green);
  padding: 0.5em;
    border-radius: var(--border-radius-small);
}
}


.search-types .current a:hover {
.pageframe-container {
    background-color: var(--color-green);
  backdrop-filter: var(--blur-default);
}
 
/* Выпадающие меню */
.vector-menu-dropdown {
    position: relative;
    margin-right: 1em;
}
 
.vector-menu-dropdown .vector-menu-content {
    height: unset;
    margin-top: 0.5em;
    padding: 0.5em;
    background-color: var(--color-bg); /* Нужно заменить на переменную, и применить блюр потом */
    color: var(--color-text);
    border: 1px solid var(--color-border);
    box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.7);
    transform: translate(0, -1vh);
    transition: all var(--transition-time) ease-in-out;
}
 
.vector-menu-checkbox:checked ~ .vector-menu-content {
    transform: translate(0, 0);
}
 
.vector-menu-checkbox:focus + .vector-menu-heading {
    outline: none;
}
 
.vector-user-menu a{
    padding: 0 0.33em !important;
    white-space: nowrap;
    transition: all var(--transition-time);
}
 
.vector-user-menu a:hover{
    background-color: var(--color-primary-light) !important;
}
 
.vector-menu-dropdown .mw-list-item a {
    min-height: 32px;
    display: flex;
    align-items: center;
    margin: 0 0 0.5em 0;
    border-radius: var(--border-radius-tiny);
    white-space: nowrap;
    background-color: var(--color-primary);
    color: var(--color-text) !important;
    text-decoration: none !important;
    transition: background-color var(--transition-time);
}
 
.vector-menu-dropdown .mw-list-item a:hover {
    background-color: var(--color-primary-light) !important;
}
 
.vector-user-menu-logout {
    border-top: 2px solid var(--color-border);
}
 
.vector-user-menu-logout a {
    margin-top: 0.5em;
    border-top: none;
    border-radius: var(--border-radius-tiny);
    background-color: var(--color-red);
    color: var(--color-text) !important;
    text-decoration: none !important;
}
 
.vector-user-menu-logout a:hover {
    background-color: var(--color-red-light) !important;
}
 
#pt-userpage,
#pt-watchlist {
    display: block;
}
 
/* Sidebar */
.mw-sidebar {
    position: fixed;
    height: -webkit-fill-available;
    overflow-y: hidden;
    padding: 1em 0 0.75em 0;
    margin: 2.65em 0 0 0;
    z-index: 3;
    backdrop-filter: var(--blur-intensity);
    background-color: var(--color-bg-section);
    color: var(--color-fg);
    transform: translateX(0);
    transition: all var(--transition-time);
}
 
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container .mw-sidebar {
    display: unset;
    transform: translateX(-25em);
}
 
.mw-sidebar:hover {
    overflow-y: auto;
}
 
#mw-sidebar-button {
    margin: 0 0.75em 0 0.5em;
}
 
#mw-panel.collapsible-nav .portal {
    border: 1px solid var(--color-border);
}
 
#mw-panel.collapsible-nav .portal .vector-menu-content ul li {
    padding: 0;
    margin: 0 0.5em 0.5em 0.5em;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    transition: background-color var(--transition-time);
}
 
#mw-panel.collapsible-nav .portal .vector-menu-content ul li:first-child {
    margin-top: 0.5em;
}
 
#mw-panel.collapsible-nav .portal .vector-menu-content ul li:hover {
    background-color: var(--color-primary-light);
}
 
.vector-menu-portal {
    padding: 0;
    margin: 0.5em 0.75em 0 0.75em;
}
 
.vector-menu-portal .vector-menu-content li a {
    display: inline-flex;
    width: 100%;
    padding: 0.5em 0 0.25em 0.33em;
    color: var(--color-text-darker) !important;
    text-decoration: none;
}
 
.vector-menu-portal
.vector-menu-heading  {
    margin: 0 0 0 0 !important;
    background-color: var(--color-bg-section-light);
    text-decoration: none !important;
    border-bottom: 2px solid var(--color-primary) !important;
}
 
.vector-menu-portal
.vector-menu-heading-label {
    color: var(--color-text-darker) !important;
}
 
.vector-menu-portal
.vector-menu-content {
    margin: 0 !important;
    padding: 0 0 0.1em 0em;
    background-color: var(--color-bg-section-light);
    color: var(--color-text);
}
 
/* Toolbar */
.mw-article-toolbar-container {
    margin: 0.5em 0.5em 0 0.5em;
    color: var(--color-text);
    border: none;
}
 
.vector-menu-tabs .mw-list-item > a, .mw-article-toolbar-container .vector-menu-dropdown > a, .vector-menu-tabs .mw-list-item .vector-menu-heading, .mw-article-toolbar-container .vector-menu-dropdown .vector-menu-heading {
    border-top-left-radius: 0.25em !important;
    border-top-right-radius: 0.25em !important;
    padding: 0.5em 0.5em 0 0;
    max-height: 3em;
    font-size: 1.1em;
    border-bottom: none;
    transition: background-color var(--transition-time);
}
 
.vector-menu-tabs .mw-list-item.selected a, .vector-menu-tabs .mw-list-item.selected a:visited {
    background-color: var(--color-selected) !important;
    color: var(--color-text-darker) !important;
    border-bottom: 2px solid var(--color-fg) !important;
}
 
.vector-menu-tabs .mw-list-item.new a, .vector-menu-tabs .mw-list-item.new a:visited {
    color: var(--color-red) !important;
}
 
.vector-menu-tabs .mw-list-item a:focus, .vector-menu-tabs .mw-list-item a:hover {
    background-color: var(--color-hover);
    border-bottom: none;
}
 
.vector-menu-tabs .mw-list-item a {
    color: var(--color-text-translucent) !important;
    padding: 0.5em 0.5em 0.25em 0.5em;
}
 
#left-navigation {
    margin-left: 0px;
}
 
.vector-menu-tabs .mw-watchlink.icon a {
    content: none;
    color: transparent;
    margin: 0 1.5em 0 1em;
}
}


.vector-menu-tabs .mw-list-item, .mw-article-toolbar-container .vector-menu-dropdown {
/**
    margin: 0;
* MARK: NavBar/Tabs
*/
.department-tabs {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  overflow: auto;
}
}


.vector-collapsible > .vector-menu-dropdown {
.department-tabs-tab {
    margin: 0 0.5em 0 0;
  position: relative;
    padding: 0 0 0.33em 1em;
  display: inline-flex;
    background-color: var(--color-primary);
  flex-grow: 1;
    border-radius: var(--border-radius-small);
  flex-basis: 5%;
    transition: all var(--transition-time);
}
}


.vector-collapsible > .vector-menu-dropdown:hover {
.department-tabs-tab a {
    background-color: var(--color-primary-light);
  padding: 0.4em 1em;
  flex-grow: 1;
  text-align: center;
  font-weight: bold;
  transition-property: background-color, color;
}
}


.vector-collapsible > img.vector-menu-dropdown {
.department-tabs-tab a,
    filter: var(--invert-common);
.department-tabs-tab a:active {
  color: var(--color-text-gray);
}
}


/* Content */
.department-tabs-tab a:hover,
.skin-vector-disable-max-width .mw-content-container {
.department-tabs-tab a:active:hover {
    max-width: none !important;
  background-color: var(--color-bg-hover);
    width: auto !important;
  color: var(--color-text-darker);
}
}


#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container,
.department-tabs-tab a.mw-selflink {
.vector-toc-collapsed #mw-sidebar-checkbox:not(:checked) ~ .mw-content-container, .vector-toc-collapsed #mw-sidebar-checkbox:not(:checked) ~ .mw-table-of-contents-container {
  background-color: var(--color-bg-focus) !important;
    max-width: none;
  color: var(--color-text) !important;
    padding: 0 0.75em 0 0.75em;
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-fore);
}
}


.mw-content-container {
/**
    max-width: none;
* MARK: NavBar/Buttons
    margin: 3.5em 0.75em 0 0.75em;
*/
    padding: 0;
.navbar-button a {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--color-text-darker) !important;
  transition-property: background-color, color;
}
}


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


.mw-body h1 {
/**
    padding: 0.2em 0.2em 0.2em 0.3em;
* MARK: TGUI Buttons
    border-bottom: 2px solid var(--color-primary);
*/
.custom-link {
  display: inline-flex;
}
}


.mw-indicator {
.custom-link a {
    display: inline-block;
  display: inline-flex;
    background-color: var(--color-primary);
  align-items: center;
    padding: 0.25em 0.5em;
  text-align: center;
    border-radius: var(--border-radius-tiny);
  min-height: 1.5em;
    margin: 0.66em;
  line-height: 1rem;
    transition: var(--transition-time);
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0 0.5em;
  border-radius: var(--border-radius-small);
  transition: background-color var(--transition-time);
}
}


.mw-indicator a {
.custom-link a:hover {
    color: var(--color-text-darker) !important;
  background-color: var(--color-primary-light);
    text-decoration: none;
}
}


.mw-indicator:hover {
.custom-link i {
    background-color: var(--color-primary-light);
  margin-right: 0.33em;
}
}


.mw-body-content {
/**
    padding: 0 0.75em 0.75em 0.75em;
* MARK: Template/Notice
*/
.notice-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-template--small);
}
}


.mw-page-container {
.notice-lines {
    max-width: 100%;
  flex: 1;
    padding: 0;
  min-width: 10%;
    background-color: var(--color-bg);
  height: 40px;
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-base);
}
}


.catlinks {
.notice-title {
    border: none;
  overflow: hidden;
    border-top: 1px solid var(--color-border);
  position: relative;
    background-color: var(--color-bg-section-light);
  padding: 0.25em;
    padding: 0.5em;
  min-width: 50%;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-fore);
}
}


.mw-page-container-inner {
.notice-title-text {
    background: url(https://raw.githubusercontent.com/ss220club/Paradise-SS220/master/tgui/packages/tgui/assets/bg-nanotrasen.svg);
  display: flex;
    background-size: 40%;
  justify-content: space-between;
    background-attachment: fixed;
  align-items: center;
    background-repeat: no-repeat;
  font-size: 1.2rem;
    background-position: center;
  font-family: "Comic Sans MS";
    transition: all var(--transition-time);
  text-align: center;
  color: var(--color-white);
}
}


/* Размеры под разные экраны */
.notice-content {
@media screen and (max-width: 999px) {
  display: flex;
    .mw-content-container {
  align-items: center;
        margin: 5em 0.75em 0 0.75em;
  flex-direction: column;
    }
  margin: 1em;
 
    .mw-sidebar {
        width: 220px;
        margin: -0.85em 0 0 0 !important;
    }
}
}


@media screen and (min-width: 1200px) {
.notice-content-text {
    .mw-page-container-inner {
  font-size: 0.85rem;
        grid-template-columns: 245px 0 !important;
  font-family: "Comic Sans MS";
        min-height: 100vh;
  text-align: center;
    }
  color: var(--color-text);
}
}


@media screen and (min-width: 1000px) {
/* Palette Preview */
    .mw-page-container-inner {
.palette-preview {
        grid-template-columns: 245px 0;
  flex: 1 14em;
        min-height: 100vh;
  text-align: center;
    }
  margin: 0.25em;
}
}


@media screen and (min-width: 720px) {
/**
    .mw-page-container-inner {
* MARK: Типы урона
        grid-template-columns: 220px 0;
*/
        min-height: 100vh;
.brute {
    }
  color: var(--color-red);
  font-weight: bold;
}
}


/* Кастомный скроллбар */
.burn {
::-webkit-scrollbar {
  color: var(--color-orange);
    width: 1.5vh;
  font-weight: bold;
    background-color: #191919;
}
}


::-webkit-scrollbar-thumb {
.oxygen {
    background-color: #3b3b3b;
  color: var(--color-blue);
  font-weight: bold;
}
}


::-webkit-scrollbar-thumb:hover {
.toxic {
    background-color: #4d4d4d;
  color: var(--color-green);
  font-weight: bold;
}
}


/* Содержание */
.gene {
#vector-toc-collapsed-button {
  color: var(--color-purple);
    position: fixed;
  font-weight: bold;
    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 {
.electric {
    background-color: var(--color-bg-section-light);
  color: var(--color-teal);
  font-weight: bold;
}
}


.mw-ui-icon-wikimedia-listBullet:before {
/**
    filter: var(--invert-rare);
* MARK: Template/Rules
*/
.rule-template {
  cursor: default;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.75rem;
  border-radius: var(--border-radius-medium);
  box-shadow: 0 0 0.5rem -0.1rem, inset 0 0 0.25rem 0rem;
  transition: box-shadow var(--transition-time);
}
}


.sidebar-toc .sidebar-toc-header {
.rule-template:hover {
    padding: 0.33em 0 0.33em 0.5em;
  box-shadow: 0 0 0.75rem 0, inset 0 0 0.25rem 0.1rem;
    border-bottom: 2px solid var(--color-primary);
}
}


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


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


.sidebar-toc, .sidebar-toc:after {
.rule-template .rule-template:first-child {
    margin-left: 0;
  margin: 0.75rem 0 0.1rem;
}
.vector-toc-not-collapsed .sidebar-toc:after {
    background: none;
}
}


@media screen and (min-width: 1000px) {
.rule-title h3,
    @supports (display:grid) {
.rule-title h4 {
        .client-js .vector-toc-collapsed .mw-table-of-contents-container .sidebar-toc {
  margin: 0;
            position: fixed;
  padding: 0;
            top: unset;
  line-height: 1.4;
            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 {
.rule-number {
    color: var(--color-text-darker);
  display: inline-flex;
    background-color: var(--color-primary);
  justify-content: center;
    padding-left: 0.5em;
  align-items: center;
    margin-bottom: 0.5em;
  white-space: nowrap;
    border-radius: var(--border-radius-small);
  padding: 0.33rem 0.75rem 0.15rem;
    text-decoration: none;
  width: 3.75em;
    transition: all var(--transition-time);
}
}


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


.sidebar-toc .sidebar-toc-list-item-active > .sidebar-toc-link {
.rule-name {
    color: unset;
  padding: 0.33rem 0.75rem 0.15rem;
    width: unset;
    background-color: var(--color-green);
}
}


.sidebar-toc .sidebar-toc-list-item-active > .sidebar-toc-link:hover {
.rule-content {
    margin-top: 0.5em;
  padding: 0.33rem 0.5rem;
    background-color: var(--color-green-light);
  text-align: left;
}
}


.vector-toc-collapse-button, .vector-toc-uncollapse-button {
/**
    padding: 0.1em 0.33em 0.2em 0.33em;
* MARK: Space Law Template
    margin: 0 0.5em 0 0;
*/
    color: var(--color-text);
.flexbox-container {
    background-color: var(--color-primary);
  position: relative;
    border-radius: var(--border-radius-small);
  display: flex;
    text-decoration: none;
  flex: 1 0 30rem;
     transition: background-color var(--transition-time);
  flex-direction: column;
  border-radius: var(--border-radius-medium);
 
  @media (max-width: 719px) {
     flex: 1 0 100%;
  }
}
}


.vector-toc-collapse-button, .vector-toc-collapse-button::before, .vector-toc-collapse-button::after,
.flexbox-container .tgui-blur {
.vector-toc-uncollapse-button, .vector-toc-uncollapse-button::before, .vector-toc-uncollapse-button::after {
  border-radius: var(--border-radius-medium);
    content: '';
}
}


.vector-toc-collapse-button:hover, .vector-toc-uncollapse-button:hover {
.flexbox-title {
    color: var(--color-text);
  display: flex;
    background-color: var(--color-primary-light);
  align-items: center;
  min-height: 1.75rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-bottom: 2px solid;
  border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
}
}


.sidebar-toc .sidebar-toc-contents, .sidebar-toc .sidebar-toc-list {
.flexbox-title .flexbox-name {
    margin: 0 0.5em 0 1.5em;
  flex: 1 !important;
  margin: 0 !important;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.95rem !important;
  line-height: 0.95rem !important;
}
}


.sidebar-toc .sidebar-toc-contents, .sidebar-toc .sidebar-toc-list:first-child {
.flexbox-subtitle {
    margin-top: 0.5em;
  min-width: 2.6rem;
  height: 100%;
  padding: 0 0.33em;
  text-align: center;
  align-content: center;
  color: var(--color-white);
  border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
}
}


 
.flexbox-content {
/* Footer */
  display: flex;
#footer-places {
  flex: 1;
    margin: 0.25em 0 0 0.5em;
}
}


#footer-icons {
.flexbox-image {
    padding-right: 0.5em;
  overflow: hidden;
  display: flex;
  align-items: center;
  border: 2px solid;
  border-top: 0;
  border-radius: 0 0 0 var(--border-radius-medium);
}
}


.mw-footer {
.flexbox-container__text {
    border: none;
  display: flex;
    padding: 0;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 var(--border-radius-medium) 0;
}
}


#mw-sidebar-checkbox:not(:checked) ~
.flexbox-desc {
.mw-footer-container {
  flex: 1;
    margin: 0.75em 0 0 0;
  padding: 0.33rem;
  line-height: 1.125rem;
}
}


.mw-footer-container {
/**
    margin: 0.75em 0 0 15.25em;
* MARK: JSLink
    padding: 0;
*/
    background-color: var(--color-bg-section);
.jslink {
    color: var(--color-fg);
  cursor: pointer;
  user-select: none;
  font-size: 0.66em;
  padding: 0.25em 0.5em;
  margin-left: 0.5em;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--border-radius-small);
  transition: background-color var(--transition-time);
}
}


#footer-info li {
.jslink:hover {
    color: var(--color-text-darker);
  background-color: var(--color-primary-light);
    padding: 1em 0px 0px 0.5em;
}
}


/* Иконки */
/**
.mw-ui-icon {
* MARK: Item Template
    filter: var(--invert-full);
*/
.item-template {
  position: relative;
  overflow: auto;
  display: inline-flex;
  flex-direction: column;
  border-radius: var(--border-radius-medium);
}
}


.mw-ui-button {
.item-template-item {
    box-shadow: none !important;
  display: flex;
    border: none;
}
}


/* Fieldset */
.item-template-desc {
fieldset {
  padding: 0.25em 0.5em;
    border: 1px solid var(--color-primary);
  white-space: break-spaces;
}
}


fieldset > legend:not([class]) {
.item-template-desc p {
    margin: 0 0 0.5em 0;
  display: inline-block;
    padding: 0em 0.5em 0 0.5em;
  width: 100%;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
}
}


/* Редактор кода */
.item-template-desc ul {
.mw-code,
  white-space: normal;
.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 {
.item-template-desc br {
    background-color: var(--color-bg-section);
  display: none;
}
}


.mw-editform #wpTextbox1:focus {
.item-template-storage {
    outline: none;
  display: flex;
    border: 1px solid var(--color-border-input);
  flex-direction: column;
  flex: 1;
}
}


.editOptions {
/**
    backdrop-filter: var(--blur-intensity);
* MARK: Construction Template
    background-color: var(--color-bg-section-light);
*/
    color: var(--color-text);
.construction-container {
    border: 1px solid var(--color-border);
  overflow: auto;
    border-top: 0;
  display: inline-flex;
    margin-bottom: 0;
  position: relative;
  width: 50%;
  max-height: 100% !important;
  margin-bottom: 0.75em;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-template--small);
}
}


.oo-ui-textInputWidget .oo-ui-inputWidget-input {
.construcion-object {
    background-color: var(--color-bg-section);
  display: flex;
    color: var(--color-text);
  flex-direction: column;
    border: 1px solid var(--color-border);
  width: 20%;
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-fore);
  min-width: 150px;
}
}


.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input {
.construction-tools {
    border-color: var(--color-border-input)
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
  padding: 0.25em
}
}


.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
.construction-steps {
    border: 1px solid var(--color-border-input);
  display: flex;
    box-shadow: inset 0 0 0 1px var(--color-border-input);
  flex-direction: column;
  flex: 1;
  min-width: 250px;
}
}


.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input:focus {
.construction-steps ol {
    border: 1px solid var(--color-border-input);
  margin: 0 0 0 1.75em;
}
}


.mw-continue-editing {
.construction-info-header {
    float: right;
  padding: 0.25em 0.5em;
    line-height: 1.667em;
  text-align: center;
    padding: 0 0.5em;
  font-weight: bold;
    border-radius: var(--border-radius-tiny);
  color: var(--color-white);
    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;
.ContrabandItemList {
    text-decoration: none;
  backdrop-filter: var(--blur-intensity);
}
}


.wikiEditor-ui .wikiEditor-ui-view {
.ContrabandItemCore {
    border: 1px solid var(--color-border);
  display: flex;
    border-bottom: none;
  flex-flow: row wrap;
  gap: 0.5rem;
  padding: 0.5rem;
}
}


.wikiEditor-ui-toolbar {
.ContrabandItem {
    background-color: var(--color-bg-section-light);
  hyphens: auto;
}
  text-align: center;
 
  background-color: var(--color-bg-section);
.wikiEditor-ui .wikiEditor-ui-top {
  border: var(--border-classic);
    border-bottom: none;
  border-radius: var(--border-radius-medium);
}
  padding: 0.25em;
 
  flex: 1 0 12em;
.wikiEditor-ui-toolbar .group {
  justify-content: center;
    border-right: 1px solid var(--color-border);
}
 
.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
    filter: var(--invert-common);
}
 
/* Кнопки редактора кода */
.oo-ui-inputWidget {
    margin-right: 0.5em;
}
 
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
    background-color: var(--color-primary);
    color: var(--color-text-darker);
    border-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-time);
}
 
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
    background-color: var(--color-primary-light);
}
 
.oo-ui-buttonElement > .oo-ui-buttonElement-button {
    min-height: unset;
}
 
.oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    transition: unset;
}
 
/* Загрузка файла */
div.tright {
    margin: 0 0 0 1.5em;
}
 
div.thumbinner {
    padding: 0.5em 0.5em 0 0.5em;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
}
 
div.thumb .thumbimage {
    background-color: var(--color-bg);
}
 
.thumbimage {
    border: 1px solid var(--color-border);
}
 
.mw-content-ltr .thumbcaption {
    padding: 0.5em 0 0.25em 0;
    text-align: center;
}
 
input::-webkit-file-upload-button {
    background-color: var(--color-primary);
    color: var(--color-text);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-tiny);
    transition: background-color var(--transition-time);
}
 
input::-webkit-file-upload-button:hover {
    background-color: var(--color-primary-light);
}
 
span > .mw-htmlform-submit {
    padding: 0.25em;
    background-color: var(--color-primary);
    color: var(--color-text);
    border-radius: var(--border-radius-tiny);
    transition: background-color var(--transition-time);
}
 
span > .mw-htmlform-submit:hover {
    background-color: var(--color-primary-light);
}
 
/* Предупреждение */
#editpage-copywarn {
    padding-top: 0.5em !important;
}
 
.mw-editform #editpage-copywarn,
.mw-message-box-warning {
    padding: 0.33em 0.5em;
    margin: 0.5em 0 0.5em 0;
    color: var(--color-text);
    background-color: var(--color-notice);
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.1) 20px
    );
    border: none;
}
 
/* Уведомления */
#mw-notification-area,
#mw-notification-area-layout,
.vector-sticky-header-enabled .mw-notification-area {
    position: fixed !important;
    top: 6em !important;
    right: 0.75em !important;
}
 
.mw-notification,
.mw-notification-visible {
    background-color: var(--color-bg-opaque);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    box-shadow: none;
    backdrop-filter: var(--blur-intensity);
}
 
.mw-notification-content {
    color: var(--color-text-darker);
}
 
.vector-sticky-header-visible .mw-notification-area-overlay > .mw-notification-area-floating {
    transform: unset;
}
 
/* Окна подтверждения */
.oo-ui-panelLayout-framed {
    background-color: var(--color-bg-section-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    backdrop-filter: var(--blur-intensity);
}
 
/* Ввод в общем */
input, select, textarea {
    margin: 0;
    background-color: var(--color-bg-section);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: all var(--transition-time);
}
 
input:not(#wpUploadFile, .mw-htmlform-submit):hover, textarea:hover {
    border: 1px solid var(--color-border-input);
}
 
input:focus, textarea:focus {
    outline-color: var(--color-border-input);
}
 
/* Wikitable */
.wikitable {
    background-color: var(--color-bg-section-light);
    color: var(--color-text-darker);
    border: 1px solid var(--color-border);
}
 
.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: var(--color-bg-section-lighter);
}
 
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid var(--color-border);
    padding: 0.3em 0.5em;
}
 
/* Шаблоны */
table,
.pageframe-container {
    backdrop-filter: var(--blur-intensity);
}
 
/* Скрытые элементы */
#pt-userpage-2,
#pt-watchlist-2 {
    display: none;
}
 
.mw-sidebar-action {
    display: none;
}
}

Текущая версия от 06:40, 12 декабря 2024

/* Hide noscript only elements */
.client-js *.noscript {
  display: none;
}

/* Disable blur */
.blurless {
  backdrop-filter: blur(0) !important;
}

/* Fill */
.fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--index-low);
}

/**
 * MARK: MainPage/Content
 */
.wiki-mainpage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}

.wiki-mainpage-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75em;
}

/**
 * MARK: MainPage/Splash
 */
.tg-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  padding: 2em 1.5em 0;
  background-color: var(--color-bg-section-light);
  border: var(--border-classic);
  border-radius: var(--border-radius-large);
  backdrop-filter: var(--blur-default);
}

.tg-logo a img {
  width: 100%;
  height: auto;
}

.tg-welcome {
  display: inline-flex;
  text-align: center;
  font-weight: bold;
  padding: 0 1em;
  margin: 1em 0.5em 0.5em 0.5em;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--border-radius-large);
}

.tg-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tg-info-string {
  overflow: hidden;
  display: flex;
  max-width: 90%;
  margin-bottom: 0.25em;
  background-color: var(--color-bg-section-light);
  border: var(--border-classic);
  border-top: 0;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.2);
  backdrop-filter: var(--blur-default);
}

.tg-info-string span:not([class]) {
  padding: 0.5em 0.75em;
  border-right: var(--border-classic);
  border-left: var(--border-classic);

  @media (max-width: 719px) {
    display: none;
  }
}

.tg-info-string .tg-info-link {
  min-width: 3em;

  @media (max-width: 719px) {
    min-width: 10em;
    height: 2.5em;
  }
}

.tg-info-string .tg-info-link:first-of-type {
  @media (max-width: 719px) {
    border-right: var(--border-classic);
  }
}

.tg-info-string .tg-info-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-semi-translucent) !important;
  transition: color var(--transition-time), background-color var(--transition-time);
}

.tg-info-string .tg-info-link a:hover {
  background-color: var(--color-bg-hover);
  color: var(--color-text) !important;
}

.tg-info-string .tg-info-link a:after {
  content: "";
  font: unset;

  @media (min-width: 720px) {
    display: none;
  }
}

.tg-info-string .tg-info-link:first-of-type a:after {
  @media (max-width: 719px) {
    content: "Discord";
    margin-left: 1em;
  }
}

.tg-info-string .tg-info-link:last-of-type a:before {
  @media (max-width: 719px) {
    content: "GitHub";
    margin-right: 1em;
  }
}

.tg-info-string .tg-info-link a i {
  font-size: 1.25em;
}

/**
 * MARK: MainPage/Buttons
 */
.pagebutton-container {
  user-select: none;
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  margin: 0.25em;
  outline: 1px outset var(--color-border);
  border-radius: var(--border-radius-small);
  transition: box-shadow var(--transition-time), transform var(--transition-time);
}

.pagebutton-container:hover {
  box-shadow: 0 0.25em 0.5em 0;
  transform: translateY(-0.3em);
  z-index: 1;
}

.pagebutton-container:hover:focus-within {
  box-shadow: 0 0.25em 0.5em 0, inset 0 0 0.5em;
}

.pagebutton-text a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  min-height: 21px;
  background-color: var(--color-bg-focus);
  color: var(--color-white) !important;
  border-top: var(--border-classic);
  -webkit-user-drag: none;
}

.pagebutton-image a img {
  display: flex;
  margin: 0 auto;
  padding: 0.5em;
}

.pageframe-container {
  backdrop-filter: var(--blur-default);
}

/**
 * MARK: NavBar/Tabs
 */
.department-tabs {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  overflow: auto;
}

.department-tabs-tab {
  position: relative;
  display: inline-flex;
  flex-grow: 1;
  flex-basis: 5%;
}

.department-tabs-tab a {
  padding: 0.4em 1em;
  flex-grow: 1;
  text-align: center;
  font-weight: bold;
  transition-property: background-color, color;
}

.department-tabs-tab a,
.department-tabs-tab a:active {
  color: var(--color-text-gray);
}

.department-tabs-tab a:hover,
.department-tabs-tab a:active:hover {
  background-color: var(--color-bg-hover);
  color: var(--color-text-darker);
}

.department-tabs-tab a.mw-selflink {
  background-color: var(--color-bg-focus) !important;
  color: var(--color-text) !important;
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-fore);
}

/**
 * MARK: NavBar/Buttons
 */
.navbar-button a {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--color-text-darker) !important;
  transition-property: background-color, color;
}

.navbar-button a:hover {
  background-color: var(--color-bg-hover);
}

/**
 * MARK: TGUI Buttons
 */
.custom-link {
  display: inline-flex;
}

.custom-link a {
  display: inline-flex;
  align-items: center;
  text-align: center;
  min-height: 1.5em;
  line-height: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0 0.5em;
  border-radius: var(--border-radius-small);
  transition: background-color var(--transition-time);
}

.custom-link a:hover {
  background-color: var(--color-primary-light);
}

.custom-link i {
  margin-right: 0.33em;
}

/**
 * MARK: Template/Notice
 */
.notice-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-template--small);
}

.notice-lines {
  flex: 1;
  min-width: 10%;
  height: 40px;
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-base);
}

.notice-title {
  overflow: hidden;
  position: relative;
  padding: 0.25em;
  min-width: 50%;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-fore);
}

.notice-title-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-family: "Comic Sans MS";
  text-align: center;
  color: var(--color-white);
}

.notice-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 1em;
}

.notice-content-text {
  font-size: 0.85rem;
  font-family: "Comic Sans MS";
  text-align: center;
  color: var(--color-text);
}

/* Palette Preview */
.palette-preview {
  flex: 1 14em;
  text-align: center;
  margin: 0.25em;
}

/**
 * MARK: Типы урона
 */
.brute {
  color: var(--color-red);
  font-weight: bold;
}

.burn {
  color: var(--color-orange);
  font-weight: bold;
}

.oxygen {
  color: var(--color-blue);
  font-weight: bold;
}

.toxic {
  color: var(--color-green);
  font-weight: bold;
}

.gene {
  color: var(--color-purple);
  font-weight: bold;
}

.electric {
  color: var(--color-teal);
  font-weight: bold;
}

/**
 * MARK: Template/Rules
 */
.rule-template {
  cursor: default;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.75rem;
  border-radius: var(--border-radius-medium);
  box-shadow: 0 0 0.5rem -0.1rem, inset 0 0 0.25rem 0rem;
  transition: box-shadow var(--transition-time);
}

.rule-template:hover {
  box-shadow: 0 0 0.75rem 0, inset 0 0 0.25rem 0.1rem;
}

.rule-template:last-child {
  margin-bottom: 0;
}

.rule-template .rule-template {
  margin: 0.5rem 0 0;
  box-shadow: none;
  transition: none;
}

.rule-template .rule-template:first-child {
  margin: 0.75rem 0 0.1rem;
}

.rule-title h3,
.rule-title h4 {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.rule-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  padding: 0.33rem 0.75rem 0.15rem;
  width: 3.75em;
}

.rule-hidden {
  display: none;
}

.rule-name {
  padding: 0.33rem 0.75rem 0.15rem;
}

.rule-content {
  padding: 0.33rem 0.5rem;
  text-align: left;
}

/**
 * MARK: Space Law Template
 */
.flexbox-container {
  position: relative;
  display: flex;
  flex: 1 0 30rem;
  flex-direction: column;
  border-radius: var(--border-radius-medium);
  
  @media (max-width: 719px) {
    flex: 1 0 100%;
  }
}

.flexbox-container .tgui-blur {
  border-radius: var(--border-radius-medium);
}

.flexbox-title {
  display: flex;
  align-items: center;
  min-height: 1.75rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-bottom: 2px solid;
  border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
}

.flexbox-title .flexbox-name {
  flex: 1 !important;
  margin: 0 !important;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.95rem !important;
  line-height: 0.95rem !important;
}

.flexbox-subtitle {
  min-width: 2.6rem;
  height: 100%;
  padding: 0 0.33em;
  text-align: center;
  align-content: center;
  color: var(--color-white);
  border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
}

.flexbox-content {
  display: flex;
  flex: 1;
}

.flexbox-image {
  overflow: hidden;
  display: flex;
  align-items: center; 
  border: 2px solid;
  border-top: 0;
  border-radius: 0 0 0 var(--border-radius-medium);
}

.flexbox-container__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 var(--border-radius-medium) 0;
}

.flexbox-desc {
  flex: 1;
  padding: 0.33rem;
  line-height: 1.125rem;
}

/**
 * MARK: JSLink
 */
.jslink {
  cursor: pointer;
  user-select: none;
  font-size: 0.66em;
  padding: 0.25em 0.5em;
  margin-left: 0.5em;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--border-radius-small);
  transition: background-color var(--transition-time);
}

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

/**
 * MARK: Item Template
 */
.item-template {
  position: relative;
  overflow: auto;
  display: inline-flex;
  flex-direction: column;
  border-radius: var(--border-radius-medium);
}

.item-template-item {
  display: flex;
}

.item-template-desc {
  padding: 0.25em 0.5em;
  white-space: break-spaces;
}

.item-template-desc p {
  display: inline-block;
  width: 100%;
}

.item-template-desc ul {
  white-space: normal;
}

.item-template-desc br {
  display: none;
}

.item-template-storage {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/**
 * MARK: Construction Template
 */
.construction-container {
  overflow: auto; 
  display: inline-flex; 
  position: relative;
  width: 50%;
  max-height: 100% !important;
  margin-bottom: 0.75em;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-template--small);
}

.construcion-object {
  display: flex;
  flex-direction: column;
  width: 20%; 
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-fore);
  min-width: 150px;
}

.construction-tools {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
  padding: 0.25em
}

.construction-steps {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 250px;
}

.construction-steps ol {
  margin: 0 0 0 1.75em;
}

.construction-info-header {
  padding: 0.25em 0.5em;
  text-align: center;
  font-weight: bold;
  color: var(--color-white);
}


/* Таблица контрабанды */
.ContrabandItemList {
  backdrop-filter: var(--blur-intensity);
}

.ContrabandItemCore {
  display: flex;
  flex-flow: row wrap;
  gap: 0.5rem;
  padding: 0.5rem;
}

.ContrabandItem {
  hyphens: auto;
  text-align: center;
  background-color: var(--color-bg-section);
  border: var(--border-classic);
  border-radius: var(--border-radius-medium);
  padding: 0.25em;
  flex: 1 0 12em;
  justify-content: center;
}