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

Нет описания правки
Нет описания правки
Строка 319: Строка 319:
tr.colors-medik,
tr.colors-medik,
tr.colors-Medical {
tr.colors-Medical {
   background-color: #9dbacc; /* Light */
   background-color: var(--medical-light);
   border-color: #66c6ff; /* Secondary */
   border-color: var(--medical-secondary);
}
}
.colors-medik th,
.colors-medik th,
Строка 326: Строка 326:
tr.colors-medik th,
tr.colors-medik th,
tr.colors-Medical th {
tr.colors-Medical th {
   background-color: #32b0ff; /* Primary */
   background-color: var(--medical-primary);
   border-color: #19a7ff; /* Primary Bold */
   border-color: var(--medical-opaque);
}
}
.colors-medik td,
.colors-medik td,
Строка 333: Строка 333:
tr.colors-medik td,
tr.colors-medik td,
tr.colors-Medical td {
tr.colors-Medical td {
   background-color: #daedf9; /* Very Light */
   background-color: var(--medical-transparent);
}
}
:not(.regular).colors-medik td:not(.regular):first-of-type,
:not(.regular).colors-medik td:not(.regular):first-of-type,
Строка 341: Строка 341:
:not(.regular) tr.colors-medik td:not(.regular):first-of-type,
:not(.regular) tr.colors-medik td:not(.regular):first-of-type,
:not(.regular) tr.colors-Medical td:not(.regular):first-of-type {
:not(.regular) tr.colors-Medical td:not(.regular):first-of-type {
   background-color: #66c6ff; /* Secondary */
   background-color: var(--medical-light);
   color: #000000; /* Secondary Text */
   color: var(--color-text);
   border-color: #19a7ff; /* Primary Bold */
   border-color: var(--medical-opaque);
}
}


Строка 351: Строка 351:
tr.colors-suply,
tr.colors-suply,
tr.colors-Supply {
tr.colors-Supply {
   background-color: #ccb49d; /* Light */
   background-color: var(--supply-light);
   border-color: #77552f; /* Secondary */
   border-color: var(--supply-secondary);
}
}
.colors-suply th,
.colors-suply th,
Строка 358: Строка 358:
tr.colors-suply th,
tr.colors-suply th,
tr.colors-Supply th {
tr.colors-Supply th {
   background-color: #7c4c18; /* Primary */
   background-color: var(--supply-primary);
   border-color: #7a450c; /* Primary Bold */
   border-color: var(--supply-opaque);
}
}
.colors-suply td,
.colors-suply td,
Строка 365: Строка 365:
tr.colors-suply td,
tr.colors-suply td,
tr.colors-Supply td {
tr.colors-Supply td {
   background-color: #f9eadc; /* Very Light */
   background-color: var(--supply-transparent);
}
}
:not(.regular).colors-suply td:not(.regular):first-of-type,
:not(.regular).colors-suply td:not(.regular):first-of-type,
Строка 373: Строка 373:
:not(.regular) tr.colors-suply td:not(.regular):first-of-type,
:not(.regular) tr.colors-suply td:not(.regular):first-of-type,
:not(.regular) tr.colors-Supply td:not(.regular):first-of-type {
:not(.regular) tr.colors-Supply td:not(.regular):first-of-type {
   background-color: #77552f; /* Secondary */
   background-color: var(--supply-light);
   color: #0d150d; /* Secondary Text */
   color: var(--color-text);
   border-color: #7a450c; /* Primary Bold */
   border-color: var(--supply-opaque);
}
}


Строка 383: Строка 383:
tr.colors-lava,
tr.colors-lava,
tr.colors-Lavaland {
tr.colors-Lavaland {
   background-color: #cca99d; /* Light */
   background-color: var(--lavaland-light);
   border-color: #ed8a63; /* Secondary */
   border-color: var(--lavaland-secondary);
}
}
.colors-lava th,
.colors-lava th,
Строка 390: Строка 390:
tr.colors-lava th,
tr.colors-lava th,
tr.colors-Lavaland th {
tr.colors-Lavaland th {
   background-color: #ee6a34; /* Primary */
   background-color: var(--lavaland-primary);
   border-color: #ed571c; /* Primary Bold */
   border-color: var(--lavaland-opaque);
}
}
.colors-lava td,
.colors-lava td,
Строка 397: Строка 397:
tr.colors-lava td,
tr.colors-lava td,
tr.colors-Lavaland td {
tr.colors-Lavaland td {
   background-color: #f8e9e4; /* Very Light */
   background-color: var(--lavaland-transparent);
}
}
:not(.regular).colors-lava td:not(.regular):first-of-type,
:not(.regular).colors-lava td:not(.regular):first-of-type,
Строка 405: Строка 405:
:not(.regular) tr.colors-lava td:not(.regular):first-of-type,
:not(.regular) tr.colors-lava td:not(.regular):first-of-type,
:not(.regular) tr.colors-Lavaland td:not(.regular):first-of-type {
:not(.regular) tr.colors-Lavaland td:not(.regular):first-of-type {
   background-color: #ed8a63; /* Secondary */
   background-color: var(--lavaland-light);
   color: #000000; /* Secondary Text */
   color: var(--color-text);
   border-color: #ed571c; /* Primary Bold */
   border-color: var(--lavaland-opaque);
}
}


Строка 415: Строка 415:
tr.colors-synth,
tr.colors-synth,
tr.colors-Synthetic {
tr.colors-Synthetic {
   background-color: #9db3cc; /* Light */
   background-color: var(--synthetic-light);
   border-color: #4c82bf; /* Secondary */
   border-color: var(--synthetic-secondary);
}
}
.colors-synth th,
.colors-synth th,
Строка 422: Строка 422:
tr.colors-synth th,
tr.colors-synth th,
tr.colors-Synthetic th {
tr.colors-Synthetic th {
   background-color: #2770c4; /* Primary */
   background-color: var(--synthetic-primary);
   border-color: #1364c1; /* Primary Bold */
   border-color: var(--synthetic-opaque);
}
}
.colors-synth td,
.colors-synth td,
Строка 429: Строка 429:
tr.colors-synth td,
tr.colors-synth td,
tr.colors-Synthetic td {
tr.colors-Synthetic td {
   background-color: #deebf9; /* Very Light */
   background-color: var(--synthetic-transparent);
}
}
:not(.regular).colors-synth td:not(.regular):first-of-type,
:not(.regular).colors-synth td:not(.regular):first-of-type,
Строка 437: Строка 437:
:not(.regular) tr.colors-synth td:not(.regular):first-of-type,
:not(.regular) tr.colors-synth td:not(.regular):first-of-type,
:not(.regular) tr.colors-Synthetic td:not(.regular):first-of-type {
:not(.regular) tr.colors-Synthetic td:not(.regular):first-of-type {
   background-color: #4c82bf; /* Secondary */
   background-color: var(--synthetic-light);
   color: #ffffff; /* Secondary Text */
   color: var(--color-white);
   border-color: #1364c1; /* Primary Bold */
   border-color: var(--synthetic-opaque);
}
}


Строка 447: Строка 447:
tr.colors-antag,
tr.colors-antag,
tr.colors-Antagonist {
tr.colors-Antagonist {
   background-color: #cc9d9d; /* Light */
   background-color: var(--antag-light);
   border-color: #4c1e1e; /* Secondary */
   border-color: var(--antag-secondary);
}
}
.colors-antag th,
.colors-antag th,
Строка 454: Строка 454:
tr.colors-antag th,
tr.colors-antag th,
tr.colors-Antagonist th {
tr.colors-Antagonist th {
   background-color: #190505; /* Primary */
   background-color: var(--antag-primary);
   border-color: #160202; /* Primary Bold */
   border-color: var(--antag-opaque);
}
}
.colors-antag td,
.colors-antag td,
Строка 461: Строка 461:
tr.colors-antag td,
tr.colors-antag td,
tr.colors-Antagonist td {
tr.colors-Antagonist td {
   background-color: #faeaea; /* Very Light */
   background-color: var(--antag-transparent);
}
}
:not(.regular).colors-antag td:not(.regular):first-of-type,
:not(.regular).colors-antag td:not(.regular):first-of-type,
Строка 469: Строка 469:
:not(.regular) tr.colors-antag td:not(.regular):first-of-type,
:not(.regular) tr.colors-antag td:not(.regular):first-of-type,
:not(.regular) tr.colors-Antagonist td:not(.regular):first-of-type {
:not(.regular) tr.colors-Antagonist td:not(.regular):first-of-type {
   background-color: #4c1e1e; /* Secondary */
   background-color: var(--antag-light);
   color: #d80a0a; /* Secondary Text */
   color: var(--color-red);
   border-color: #160202; /* Primary Bold */
   border-color: var(--antag-opaque);
}
}


Строка 479: Строка 479:
tr.colors-cult,
tr.colors-cult,
tr.colors-Cultist {
tr.colors-Cultist {
   background-color: #cc9d9d; /* Light */
   background-color: var(--cult-light);
   border-color: #4c1e1e; /* Secondary */
   border-color: var(--cult-secondary);
}
}
.colors-cult th,
.colors-cult th,
Строка 486: Строка 486:
tr.colors-cult th,
tr.colors-cult th,
tr.colors-Cultist th {
tr.colors-Cultist th {
   background-color: #190505; /* Primary */
   background-color: var(--cult-primary);
   border-color: #160202; /* Primary Bold */
   border-color: var(--cult-opaque);
}
}
.colors-cult td,
.colors-cult td,
Строка 493: Строка 493:
tr.colors-cult td,
tr.colors-cult td,
tr.colors-Cultist td {
tr.colors-Cultist td {
   background-color: #faeaea; /* Very Light */
   background-color: var(--cult-transparent);
}
}
:not(.regular).colors-cult td:not(.regular):first-of-type,
:not(.regular).colors-cult td:not(.regular):first-of-type,
Строка 501: Строка 501:
:not(.regular) tr.colors-cult td:not(.regular):first-of-type,
:not(.regular) tr.colors-cult td:not(.regular):first-of-type,
:not(.regular) tr.colors-Cultist td:not(.regular):first-of-type {
:not(.regular) tr.colors-Cultist td:not(.regular):first-of-type {
   background-color: #4c1e1e; /* Secondary */
   background-color: var(--cult-light);
   color: #d80a0a; /* Secondary Text */
   color: var(--color-red);
   border-color: #160202; /* Primary Bold */
   border-color: var(--cult-opaque);
}
}


Строка 511: Строка 511:
tr.colors-ratvar,
tr.colors-ratvar,
tr.colors-Ratvar {
tr.colors-Ratvar {
   background-color: #4a340d; /* Light */
   background-color: var(--ratvar-light);
   border-color: #332409; /* Secondary */
   border-color: var(--ratvar-secondary);
}
}
.colors-ratvar th,
.colors-ratvar th,
Строка 518: Строка 518:
tr.colors-ratvar th,
tr.colors-ratvar th,
tr.colors-Ratvar th {
tr.colors-Ratvar th {
   background-color: #825b17; /* Primary */
   background-color: var(--ratvar-primary);
   border-color: #6c4b13; /* Primary Bold */
   border-color: var(--ratvar-opaque);
}
}
.colors-ratvar td,
.colors-ratvar td,
Строка 525: Строка 525:
tr.colors-ratvar td,
tr.colors-ratvar td,
tr.colors-Ratvar td {
tr.colors-Ratvar td {
   background-color: #e1d9c6; /* Very Light */
   background-color: var(--ratvar-transparent);
}
}
:not(.regular).colors-ratvar td:not(.regular):first-of-type,
:not(.regular).colors-ratvar td:not(.regular):first-of-type,
Строка 533: Строка 533:
:not(.regular) tr.colors-ratvar td:not(.regular):first-of-type,
:not(.regular) tr.colors-ratvar td:not(.regular):first-of-type,
:not(.regular) tr.colors-Ratvar td:not(.regular):first-of-type {
:not(.regular) tr.colors-Ratvar td:not(.regular):first-of-type {
   background-color: #332409; /* Secondary */
   background-color: var(--ratvar-light);
   color: #ffffff; /* Secondary Text */
   color: var(--color-white);
   border-color: #6c4b13; /* Primary Bold */
   border-color: var(--ratvar-opaque);
}
}


Строка 543: Строка 543:
tr.colors-xenom,
tr.colors-xenom,
tr.colors-Xenomorph {
tr.colors-Xenomorph {
   background-color: #958fb2; /* Light */
   background-color: var(--special-light);
   border-color: #4c4666; /* Secondary */
   border-color: var(--special-secondary);
}
}
.colors-xenom th,
.colors-xenom th,
Строка 550: Строка 550:
tr.colors-xenom th,
tr.colors-xenom th,
tr.colors-Xenomorph th {
tr.colors-Xenomorph th {
   background-color: #312d43; /* Primary */
   background-color: var(--special-primary);
   border-color: #252138; /* Primary Bold */
   border-color: var(--special-opaque);
}
}
.colors-xenom td,
.colors-xenom td,
Строка 557: Строка 557:
tr.colors-xenom td,
tr.colors-xenom td,
tr.colors-Xenomorph td {
tr.colors-Xenomorph td {
   background-color: #e5def9; /* Very Light */
   background-color: var(--special-transparent);
}
}
:not(.regular).colors-xenom td:not(.regular):first-of-type,
:not(.regular).colors-xenom td:not(.regular):first-of-type,
Строка 565: Строка 565:
:not(.regular) tr.colors-xenom td:not(.regular):first-of-type,
:not(.regular) tr.colors-xenom td:not(.regular):first-of-type,
:not(.regular) tr.colors-Xenomorph td:not(.regular):first-of-type {
:not(.regular) tr.colors-Xenomorph td:not(.regular):first-of-type {
   background-color: #4c4666; /* Secondary */
   background-color: var(--special-light);
   color: #ffffff; /* Secondary Text */
   color: var(--color-white);
   border-color: #252138; /* Primary Bold */
   border-color: var(--special-opaque);
}
}


Строка 575: Строка 575:
tr.colors-marine,
tr.colors-marine,
tr.colors-Marine {
tr.colors-Marine {
   background-color: #90a1b8; /* Light */
   background-color: var(--centcom-light);
   border-color: #48648a; /* Secondary */
   border-color: var(--centcom-secondary);
}
}
.colors-marine th,
.colors-marine th,
Строка 582: Строка 582:
tr.colors-marine th,
tr.colors-marine th,
tr.colors-Marine th {
tr.colors-Marine th {
   background-color: #2c4c7b; /* Primary */
   background-color: var(--centcom-primary);
   border-color: #27426d; /* Primary Bold */
   border-color: var(--centcom-opaque);
}
}
.colors-marine td,
.colors-marine td,
Строка 589: Строка 589:
tr.colors-marine td,
tr.colors-marine td,
tr.colors-Marine td {
tr.colors-Marine td {
   background-color: #d2def0; /* Very Light */
   background-color: var(--centcom-transparent);
}
}
:not(.regular).colors-marine td:not(.regular):first-of-type,
:not(.regular).colors-marine td:not(.regular):first-of-type,
Строка 597: Строка 597:
:not(.regular) tr.colors-marine td:not(.regular):first-of-type,
:not(.regular) tr.colors-marine td:not(.regular):first-of-type,
:not(.regular) tr.colors-Marine td:not(.regular):first-of-type {
:not(.regular) tr.colors-Marine td:not(.regular):first-of-type {
   background-color: #48648a; /* Secondary */
   background-color: var(--centcom-light);
   color: #000000; /* Secondary Text */
   color: var(--color-text);
   border-color: #27426d; /* Primary Bold */
   border-color: var(--centcom-opaque);
}
}


Строка 607: Строка 607:
tr.colors-wizard,
tr.colors-wizard,
tr.colors-Wizard {
tr.colors-Wizard {
   background-color: #ab9dcc; /* Light */
   background-color: var(--wizard-light);
   border-color: #9866ff; /* Secondary */
   border-color: var(--wizard-secondary);
}
}
.colors-wizard th,
.colors-wizard th,
Строка 614: Строка 614:
tr.colors-wizard th,
tr.colors-wizard th,
tr.colors-Wizard th {
tr.colors-Wizard th {
   background-color: #7d32ff; /* Primary */
   background-color: var(--wizard-primary);
   border-color: #6919ff; /* Primary Bold */
   border-color: var(--wizard-opaque);
}
}
.colors-wizard td,
.colors-wizard td,
Строка 621: Строка 621:
tr.colors-wizard td,
tr.colors-wizard td,
tr.colors-Wizard td {
tr.colors-Wizard td {
   background-color: #e5def9; /* Very Light */
   background-color: var(--wizard-transparent);
}
}
:not(.regular).colors-wizard td:not(.regular):first-of-type,
:not(.regular).colors-wizard td:not(.regular):first-of-type,
Строка 629: Строка 629:
:not(.regular) tr.colors-wizard td:not(.regular):first-of-type,
:not(.regular) tr.colors-wizard td:not(.regular):first-of-type,
:not(.regular) tr.colors-Wizard td:not(.regular):first-of-type {
:not(.regular) tr.colors-Wizard td:not(.regular):first-of-type {
   background-color: #9866ff; /* Secondary */
   background-color: var(--wizard-light);
   color: #000000; /* Secondary Text */
   color: var(--color-text);
   border-color: #6919ff; /* Primary Bold */
   border-color: var(--wizard-opaque);
}
}


Строка 639: Строка 639:
tr.colors-abductor,
tr.colors-abductor,
tr.colors-Abductor {
tr.colors-Abductor {
   background-color: #cccccc; /* Light */
   background-color: var(--gray-light);
   border-color: #e5e5e5; /* Secondary */
   border-color: var(--gray-secondary);
}
}
.colors-abductor th,
.colors-abductor th,
Строка 646: Строка 646:
tr.colors-abductor th,
tr.colors-abductor th,
tr.colors-Abductor th {
tr.colors-Abductor th {
   background-color: #7f7f7f; /* Primary */
   background-color: var(--gray-primary);
   border-color: #999999; /* Primary Bold */
   border-color: var(--gray-opaque);
}
}
.colors-abductor td,
.colors-abductor td,
Строка 653: Строка 653:
tr.colors-abductor td,
tr.colors-abductor td,
tr.colors-Abductor td {
tr.colors-Abductor td {
   background-color: #f2f2f2; /* Very Light */
   background-color: var(--gray-transparent);
}
}
:not(.regular).colors-abductor td:not(.regular):first-of-type,
:not(.regular).colors-abductor td:not(.regular):first-of-type,
Строка 661: Строка 661:
:not(.regular) tr.colors-abductor td:not(.regular):first-of-type,
:not(.regular) tr.colors-abductor td:not(.regular):first-of-type,
:not(.regular) tr.colors-Abductor td:not(.regular):first-of-type {
:not(.regular) tr.colors-Abductor td:not(.regular):first-of-type {
   background-color: #e5e5e5; /* Secondary */
   background-color: var(--gray-light);
   color: #000000; /* Secondary Text */
   color: var(--color-text);
   border-color: #999999; /* Primary Bold */
   border-color: var(--gray-opaque);
}
}


Строка 670: Строка 670:
#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading:hover,
#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading:hover,
#mw-panel.collapsible-nav .portal .vector-menu-heading * {
#mw-panel.collapsible-nav .portal .vector-menu-heading * {
   color: #54595d;
   color: var(--gray-opaque);
   text-decoration: none;
   text-decoration: none;
}
}

Версия от 15:46, 28 мая 2024

/* Размещённый здесь CSS будет применяться ко всем темам оформления */

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

/* Лого на главной странице */
.paradise-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  background-color: var(--color-bg-section-light);
  border: var(--border-classic);
  border-radius: var(--border-radius-large);
  backdrop-filter: var(--blur-default);
}

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

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

.paradise-info-string:first-child {
  padding: 0.5em 1em;
  margin: -1em 0 0.5em 0;
  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 10px 20px -20px rgba(0, 0, 0, 1);
  backdrop-filter: var(--blur-intensity);
}

/* Убирание пикселизации с лого */
.mw-logo-icon {
  image-rendering: auto;
}

/* Всплывающие окна с информацией */
.tooltip {
  display: inline-flex;
  position: relative;
  align-items: baseline;
}

.tooltiptext,
.tooltiptext2 {
  position: absolute;
  display: inline;
  width: 250px;
  padding: 10px;
  margin-top: 0.75em;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  border: 1px solid var(--color-border);
  transition: all var(--transition-time);
  transition-delay: var(--transition-delay);
  z-index: 5;
}

.tooltiptext {
  background-color: var(--color-bg);
}

.tooltiptext2 {
  background-color: var(--color-bg-section-light-opaque);
}

.tooltiptable {
  position: absolute;
  display: block;
  z-index: 2;
  max-width: 600px;
  width: max-content;
  padding: 10px;
  top: 11pt;
  right: -55px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: var(--border-classic);
  background-color: var(--color-notice-brown);
}

.tooltip:hover > .tooltiptext,
.tooltip:hover > .tooltiptext2 {
  visibility: visible;
  opacity: 1;
  margin-top: 1.75em;
  box-shadow: var(--box-shadow-big);
  transition-delay: 0s;
}

.tooltip:hover > .tooltiptable {
  visibility: visible;
  opacity: 1;
}

/* Mark internal links as plain */
#content a.external[href^="http://wiki.ss220.space/index.php"],
  #content a.external[href^="https://wiki.ss220.space/index.php"],
  #content a.external[href^="//wiki.ss220.space/index.php"]
{
  background: none;
  padding-right: 0;
}

/* Стиль таблиц с предметами и т.п. */
.items-table {
  width: 100%;
  border: var(--border-classic);
  border-radius: var(--border-radius-medium);
  background-color: var(--color-bg-section-light-opaque);
}

.items-table th {
  border: 0.2em double var(--color-border);
  border-radius: var(--border-radius-small);
  background-color: var(--color-bg-section-light);
  color: var(--color-text);
  padding: 0.2em;
}

.items-table td {
  background-color: var(--color-bg-section-light);
  color: var(--color-text);
  padding: 0.2em;
}
.items-table:not(.regular) td:not(.regular):first-of-type,
td.capital {
  background-color: var(--color-bg-section-light);
  font-weight: bold;
  color: var(--color-text);
  border: var(--border-classic);
  border-radius: var(--border-radius-small);
  text-align: center;
}

/* Цвета охранного отдела */
.colors-secure,
.colors-Security,
tr.colors-secure,
tr.colors-Security {
  background-color: var(--security-light);
  border-color: var(--security-secondary);
}
.colors-secure th,
.colors-Security th,
tr.colors-secure th,
tr.colors-Security th {
  background-color: var(--security-primary);
  border-color: var(--security-opaque);
}
.colors-secure td,
.colors-Security td,
tr.colors-secure td,
tr.colors-Security td {
  background-color: var(--security-transparent);
}
:not(.regular).colors-secure td:not(.regular):first-of-type,
:not(.regular).colors-Security td:not(.regular):first-of-type,
.colors-secure td.capital,
.colors-Security td.capital,
:not(.regular) tr.colors-secure td:not(.regular):first-of-type,
:not(.regular) tr.colors-Security td:not(.regular):first-of-type {
  background-color: var(--security-light);
  color: var(--color-text);
  border-color: var(--security-opaque);
}

/* Цвета научного отдела */
.colors-science,
.colors-Science,
tr.colors-science,
tr.colors-Science {
  background-color: var(--science-light);
  border-color: var(--science-secondary);
}
.colors-science th,
.colors-Science th,
tr.colors-science th,
tr.colors-Science th {
  background-color: var(--science-primary);
  border-color: var(--science-opaque);
}
.colors-science td,
.colors-Science td,
tr.colors-science td,
tr.colors-Science td {
  background-color: var(--science-transparent);
}
:not(.regular).colors-science td:not(.regular):first-of-type,
:not(.regular).colors-Science td:not(.regular):first-of-type,
.colors-science td.capital,
.colors-Science td.capital,
:not(.regular) tr.colors-science td:not(.regular):first-of-type,
:not(.regular) tr.colors-Science td:not(.regular):first-of-type {
  background-color: var(--science-light);
  color: var(--color-text);
  border-color: var(--science-opaque);
}

/* Цвета сервисного отдела */
.colors-service,
.colors-Service,
tr.colors-service,
tr.colors-Service {
  background-color: var(--civilian-light);
  border-color: var(--civilian-secondary);
}
.colors-service th,
.colors-Service th,
tr.colors-service th,
tr.colors-Service th {
  background-color: var(--civilian-primary);
  border-color: var(--civilian-opaque);
}
.colors-service td,
.colors-Service td,
tr.colors-service td,
tr.colors-Service td {
  background-color: var(--civilian-transparent);
}
:not(.regular).colors-service td:not(.regular):first-of-type,
:not(.regular).colors-Service td:not(.regular):first-of-type,
.colors-service td.capital,
.colors-Service td.capital,
:not(.regular) tr.colors-service td:not(.regular):first-of-type,
:not(.regular) tr.colors-Service td:not(.regular):first-of-type {
  background-color: var(--civilian-light);
  color: var(--color-text);
  border-color: var(--civilian-opaque);
}

/* Цвета инженерного отдела */
.colors-engine,
.colors-Engineering,
tr.colors-engine,
tr.colors-Engineering {
  background-color: var(--engineer-light);
  border-color: var(--engineer-secondary);
}
.colors-engine th,
.colors-Engineering th,
tr.colors-engine th,
tr.colors-Engineering th {
  background-color: var(--engineer-primary);
  border-color: var(--engineer-opaque);
}
.colors-engine td,
.colors-Engineering td,
tr.colors-engine td,
tr.colors-Engineering td {
  background-color: var(--engineer-transparent);
}
:not(.regular).colors-engine td:not(.regular):first-of-type,
:not(.regular).colors-Engineering td:not(.regular):first-of-type,
.colors-engine td.capital,
.colors-Engineering td.capital,
:not(.regular) tr.colors-engine td:not(.regular):first-of-type,
:not(.regular) tr.colors-Engineering td:not(.regular):first-of-type {
  background-color: var(--engineer-light);
  color: var(--color-text);
  border-color: var(--engineer-opaque);
}

/* Цвета командного отдела */
.colors-command,
.colors-Command,
tr.colors-command,
tr.colors-Command {
  background-color: var(--command-light);
  border-color: var(--command-secondary);
}
.colors-command th,
.colors-Command th,
tr.colors-command th,
tr.colors-Command th {
  background-color: var(--command-primary);
  border-color: var(--command-opaque);
}
.colors-command td,
.colors-Command td,
tr.colors-command td,
tr.colors-Command td {
  background-color: var(--command-transparent);
}
:not(.regular).colors-command td:not(.regular):first-of-type,
:not(.regular).colors-Command td:not(.regular):first-of-type,
.colors-command td.capital,
.colors-Command td.capital,
:not(.regular) tr.colors-command td:not(.regular):first-of-type,
:not(.regular) tr.colors-Command td:not(.regular):first-of-type {
  background-color: var(--command-light);
  color: var(--color-white);
  border-color: var(--command-opaque);
}

/* Цвета медицинского отдела */
.colors-medik,
.colors-Medical,
tr.colors-medik,
tr.colors-Medical {
  background-color: var(--medical-light);
  border-color: var(--medical-secondary);
}
.colors-medik th,
.colors-Medical th,
tr.colors-medik th,
tr.colors-Medical th {
  background-color: var(--medical-primary);
  border-color: var(--medical-opaque);
}
.colors-medik td,
.colors-Medical td,
tr.colors-medik td,
tr.colors-Medical td {
  background-color: var(--medical-transparent);
}
:not(.regular).colors-medik td:not(.regular):first-of-type,
:not(.regular).colors-Medical td:not(.regular):first-of-type,
.colors-medik td.capital,
.colors-Medical td.capital,
:not(.regular) tr.colors-medik td:not(.regular):first-of-type,
:not(.regular) tr.colors-Medical td:not(.regular):first-of-type {
  background-color: var(--medical-light);
  color: var(--color-text);
  border-color: var(--medical-opaque);
}

/* Цвета снабжающего отдела */
.colors-suply,
.colors-Supply,
tr.colors-suply,
tr.colors-Supply {
  background-color: var(--supply-light);
  border-color: var(--supply-secondary);
}
.colors-suply th,
.colors-Supply th,
tr.colors-suply th,
tr.colors-Supply th {
  background-color: var(--supply-primary);
  border-color: var(--supply-opaque);
}
.colors-suply td,
.colors-Supply td,
tr.colors-suply td,
tr.colors-Supply td {
  background-color: var(--supply-transparent);
}
:not(.regular).colors-suply td:not(.regular):first-of-type,
:not(.regular).colors-Supply td:not(.regular):first-of-type,
.colors-suply td.capital,
.colors-Supply td.capital,
:not(.regular) tr.colors-suply td:not(.regular):first-of-type,
:not(.regular) tr.colors-Supply td:not(.regular):first-of-type {
  background-color: var(--supply-light);
  color: var(--color-text);
  border-color: var(--supply-opaque);
}

/* Цвета планетарного отдела */
.colors-lava,
.colors-Lavaland,
tr.colors-lava,
tr.colors-Lavaland {
  background-color: var(--lavaland-light);
  border-color: var(--lavaland-secondary);
}
.colors-lava th,
.colors-Lavaland th,
tr.colors-lava th,
tr.colors-Lavaland th {
  background-color: var(--lavaland-primary);
  border-color: var(--lavaland-opaque);
}
.colors-lava td,
.colors-Lavaland td,
tr.colors-lava td,
tr.colors-Lavaland td {
  background-color: var(--lavaland-transparent);
}
:not(.regular).colors-lava td:not(.regular):first-of-type,
:not(.regular).colors-Lavaland td:not(.regular):first-of-type,
.colors-lava td.capital,
.colors-Lavaland td.capital,
:not(.regular) tr.colors-lava td:not(.regular):first-of-type,
:not(.regular) tr.colors-Lavaland td:not(.regular):first-of-type {
  background-color: var(--lavaland-light);
  color: var(--color-text);
  border-color: var(--lavaland-opaque);
}

/* Цвета синтетического отдела */
.colors-synth,
.colors-Synthetic,
tr.colors-synth,
tr.colors-Synthetic {
  background-color: var(--synthetic-light);
  border-color: var(--synthetic-secondary);
}
.colors-synth th,
.colors-Synthetic th,
tr.colors-synth th,
tr.colors-Synthetic th {
  background-color: var(--synthetic-primary);
  border-color: var(--synthetic-opaque);
}
.colors-synth td,
.colors-Synthetic td,
tr.colors-synth td,
tr.colors-Synthetic td {
  background-color: var(--synthetic-transparent);
}
:not(.regular).colors-synth td:not(.regular):first-of-type,
:not(.regular).colors-Synthetic td:not(.regular):first-of-type,
.colors-synth td.capital,
.colors-Synthetic td.capital,
:not(.regular) tr.colors-synth td:not(.regular):first-of-type,
:not(.regular) tr.colors-Synthetic td:not(.regular):first-of-type {
  background-color: var(--synthetic-light);
  color: var(--color-white);
  border-color: var(--synthetic-opaque);
}

/* Цвета антагского отдела */
.colors-antag,
.colors-Antagonist,
tr.colors-antag,
tr.colors-Antagonist {
  background-color: var(--antag-light);
  border-color: var(--antag-secondary);
}
.colors-antag th,
.colors-Antagonist th,
tr.colors-antag th,
tr.colors-Antagonist th {
  background-color: var(--antag-primary);
  border-color: var(--antag-opaque);
}
.colors-antag td,
.colors-Antagonist td,
tr.colors-antag td,
tr.colors-Antagonist td {
  background-color: var(--antag-transparent);
}
:not(.regular).colors-antag td:not(.regular):first-of-type,
:not(.regular).colors-Antagonist td:not(.regular):first-of-type,
.colors-antag td.capital,
.colors-Antagonist td.capital,
:not(.regular) tr.colors-antag td:not(.regular):first-of-type,
:not(.regular) tr.colors-Antagonist td:not(.regular):first-of-type {
  background-color: var(--antag-light);
  color: var(--color-red);
  border-color: var(--antag-opaque);
}

/* Цвета культистского отдела */
.colors-cult,
.colors-Cultist,
tr.colors-cult,
tr.colors-Cultist {
  background-color: var(--cult-light);
  border-color: var(--cult-secondary);
}
.colors-cult th,
.colors-Cultist th,
tr.colors-cult th,
tr.colors-Cultist th {
  background-color: var(--cult-primary);
  border-color: var(--cult-opaque);
}
.colors-cult td,
.colors-Cultist td,
tr.colors-cult td,
tr.colors-Cultist td {
  background-color: var(--cult-transparent);
}
:not(.regular).colors-cult td:not(.regular):first-of-type,
:not(.regular).colors-Cultist td:not(.regular):first-of-type,
.colors-cult td.capital,
.colors-Cultist td.capital,
:not(.regular) tr.colors-cult td:not(.regular):first-of-type,
:not(.regular) tr.colors-Cultist td:not(.regular):first-of-type {
  background-color: var(--cult-light);
  color: var(--color-red);
  border-color: var(--cult-opaque);
}

/* Цвета ратваровского отдела */
.colors-ratvar,
.colors-Ratvar,
tr.colors-ratvar,
tr.colors-Ratvar {
  background-color: var(--ratvar-light);
  border-color: var(--ratvar-secondary);
}
.colors-ratvar th,
.colors-Ratvar th,
tr.colors-ratvar th,
tr.colors-Ratvar th {
  background-color: var(--ratvar-primary);
  border-color: var(--ratvar-opaque);
}
.colors-ratvar td,
.colors-Ratvar td,
tr.colors-ratvar td,
tr.colors-Ratvar td {
  background-color: var(--ratvar-transparent);
}
:not(.regular).colors-ratvar td:not(.regular):first-of-type,
:not(.regular).colors-Ratvar td:not(.regular):first-of-type,
.colors-ratvar td.capital,
.colors-Ratvar td.capital,
:not(.regular) tr.colors-ratvar td:not(.regular):first-of-type,
:not(.regular) tr.colors-Ratvar td:not(.regular):first-of-type {
  background-color: var(--ratvar-light);
  color: var(--color-white);
  border-color: var(--ratvar-opaque);
}

/* Цвета ксеноморфного отдела */
.colors-xenom,
.colors-Xenomorph,
tr.colors-xenom,
tr.colors-Xenomorph {
  background-color: var(--special-light);
  border-color: var(--special-secondary);
}
.colors-xenom th,
.colors-Xenomorph th,
tr.colors-xenom th,
tr.colors-Xenomorph th {
  background-color: var(--special-primary);
  border-color: var(--special-opaque);
}
.colors-xenom td,
.colors-Xenomorph td,
tr.colors-xenom td,
tr.colors-Xenomorph td {
  background-color: var(--special-transparent);
}
:not(.regular).colors-xenom td:not(.regular):first-of-type,
:not(.regular).colors-Xenomorph td:not(.regular):first-of-type,
.colors-xenom td.capital,
.colors-Xenomorph td.capital,
:not(.regular) tr.colors-xenom td:not(.regular):first-of-type,
:not(.regular) tr.colors-Xenomorph td:not(.regular):first-of-type {
  background-color: var(--special-light);
  color: var(--color-white);
  border-color: var(--special-opaque);
}

/* Цвета марининого отдела */
.colors-marine,
.colors-Marine,
tr.colors-marine,
tr.colors-Marine {
  background-color: var(--centcom-light);
  border-color: var(--centcom-secondary);
}
.colors-marine th,
.colors-Marine th,
tr.colors-marine th,
tr.colors-Marine th {
  background-color: var(--centcom-primary);
  border-color: var(--centcom-opaque);
}
.colors-marine td,
.colors-Marine td,
tr.colors-marine td,
tr.colors-Marine td {
  background-color: var(--centcom-transparent);
}
:not(.regular).colors-marine td:not(.regular):first-of-type,
:not(.regular).colors-Marine td:not(.regular):first-of-type,
.colors-marine td.capital,
.colors-Marine td.capital,
:not(.regular) tr.colors-marine td:not(.regular):first-of-type,
:not(.regular) tr.colors-Marine td:not(.regular):first-of-type {
  background-color: var(--centcom-light);
  color: var(--color-text);
  border-color: var(--centcom-opaque);
}

/* Цвета волшебного отдела */
.colors-wizard,
.colors-Wizard,
tr.colors-wizard,
tr.colors-Wizard {
  background-color: var(--wizard-light);
  border-color: var(--wizard-secondary);
}
.colors-wizard th,
.colors-Wizard th,
tr.colors-wizard th,
tr.colors-Wizard th {
  background-color: var(--wizard-primary);
  border-color: var(--wizard-opaque);
}
.colors-wizard td,
.colors-Wizard td,
tr.colors-wizard td,
tr.colors-Wizard td {
  background-color: var(--wizard-transparent);
}
:not(.regular).colors-wizard td:not(.regular):first-of-type,
:not(.regular).colors-Wizard td:not(.regular):first-of-type,
.colors-wizard td.capital,
.colors-Wizard td.capital,
:not(.regular) tr.colors-wizard td:not(.regular):first-of-type,
:not(.regular) tr.colors-Wizard td:not(.regular):first-of-type {
  background-color: var(--wizard-light);
  color: var(--color-text);
  border-color: var(--wizard-opaque);
}

/* Цвета похитнического отдела */
.colors-abductor,
.colors-Abductor,
tr.colors-abductor,
tr.colors-Abductor {
  background-color: var(--gray-light);
  border-color: var(--gray-secondary);
}
.colors-abductor th,
.colors-Abductor th,
tr.colors-abductor th,
tr.colors-Abductor th {
  background-color: var(--gray-primary);
  border-color: var(--gray-opaque);
}
.colors-abductor td,
.colors-Abductor td,
tr.colors-abductor td,
tr.colors-Abductor td {
  background-color: var(--gray-transparent);
}
:not(.regular).colors-abductor td:not(.regular):first-of-type,
:not(.regular).colors-Abductor td:not(.regular):first-of-type,
.colors-abductor td.capital,
.colors-Abductor td.capital,
:not(.regular) tr.colors-abductor td:not(.regular):first-of-type,
:not(.regular) tr.colors-Abductor td:not(.regular):first-of-type {
  background-color: var(--gray-light);
  color: var(--color-text);
  border-color: var(--gray-opaque);
}

/* Цвет заголовков сворачиваемых разделов в sidebar обратно в серый */
#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading,
#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading:hover,
#mw-panel.collapsible-nav .portal .vector-menu-heading * {
  color: var(--gray-opaque);
  text-decoration: none;
}

/* Таблица брони и оружия */
.weapon-table td,
.armor-table {
  text-align: center;
  table-layout: fixed;
  font-weight: bold;
}

/* Последний столбец */
.weapon-table td:last-of-type,
.armor-table td:last-of-type {
  text-align: left;
  font-weight: unset;
}

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

.ContrabandItemCore {
  display: flex;
  flex-flow: row wrap;
}

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