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

imported>Gevron
м изменения формата цветов в таблицах с HEX-rgb на HSL — иначе не понятно как оптимизировать работу с цветами
мНет описания правки
 
(не показаны 173 промежуточные версии 3 участников)
Строка 1: Строка 1:
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Hide noscript only elements */
.tooltip{
.client-js *.noscript, .invisible {
   position: relative;
   display: none;
}
 
/**
* MARK: MainPage/Content
*/
.wiki-mainpage {
display: flex;
flex-wrap: wrap;
gap: 0.75em;
}
}


.tooltiptext {
.wiki-mainpage-column {
  position: absolute;
display: flex;
  display: block;
flex-direction: column;
  z-index: 2;
flex: 1 1 20rem;
  width: 250px;
gap: 0.75em;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #aaa;
  background-color: #ffdd66;
}
}


.tooltiptable {
/**
   position: absolute;
* MARK: MainPage/Splash
   display: block;
*/
   z-index: 2;
.paradise-logo {
   max-width:600px;
   display: flex;
   width:max-content;
   flex-direction: column;
   padding: 10px;
   align-items: center;
   top:11pt;
   max-width: 900px;
  right:-55px;
   background-color: var(--color-second);
  visibility: hidden;
   border: var(--border-classic);
  opacity: 0;
   border-radius: var(--border-radius-large);
  white-space: normal;
   backdrop-filter: var(--blur-default);
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #666;
   background-color: #ff6666;
}
}


.tooltip:hover>.tooltiptext {
.paradise-logo a img {
   visibility: visible;
   width: 100%;
   opacity: 1;
   height: auto;
}
}


.tooltip:hover>.tooltiptable {
.paradise-welcome {
   visibility: visible;
  display: inline-flex;
   opacity: 1;
  text-align: center;
  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);
}
}


/* hide the "Retrieved from" message */
.paradise-info {
.printfooter {
   display: flex;
   display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
}


div.tabcontent{
.paradise-info-string {
    display:none
  overflow: hidden;
  display: flex;
  max-width: 90%;
  margin-bottom: 0.25em;
  background-color: var(--color-second);
  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);
}
}
div.tabcontent.current{
 
     display:block
.paradise-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;
  }
}
}
div.switchtab.label.current{
 
     color:#000;
.paradise-info-string .paradise-info-link {
     background-color:#00FF00
  min-width: 3em;
 
  @media (max-width: 719px) {
     min-width: 10em;
     height: 2.5em;
  }
}
}
div.kaskadavionics{
 
     background-image:url(https://wiki.armaproject.ru/resources/assets/Kaskad_avionics.png)
.paradise-info-string .paradise-info-link:first-of-type {
  @media (max-width: 719px) {
     border-right: var(--border-classic);
  }
}
}
div.divbutton:target{
 
    cursor: pointer;
.paradise-info-string .paradise-info-link a {
    display: none;
  display: inline-flex;
    width: auto;
  align-items: center;
    height: auto;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-semi-translucent) !important;
  transition: color var(--transition-time), background-color var(--transition-time);
}
}
div.divbutton:target::before{
 
    cursor: pointer;
.paradise-info-string .paradise-info-link a:hover {
    width: 80%;
  background-color: var(--color-bg-hover);
    height: auto;
  color: var(--color-text) !important;
}
}
.kaskadavionics_menu_button a{
 
    display:block;
.paradise-info-string .paradise-info-link a:after {
    text-align:center;
  content: "";
    line-height:19px !important;
  font: unset;
    font-size:13px;
 
     color:#00FF00 !important;
  @media (min-width: 720px) {
    text-decoration:none
     display: none;
  }
}
}
.kaskadavionics_menu_button a:hover{
 
    text-decoration:none;
.paradise-info-string .paradise-info-link:first-of-type a:after {
    display:block;
  @media (max-width: 719px) {
    background:rgba(0,256,0,1) none repeat scroll 0% 0%;
     content: "Discord";
     line-height:19px !important;
     margin-left: 1em;
     font-size:13px;
  }
    color:#000 !important
}
}


img {
.paradise-info-string .paradise-info-link:last-of-type a:before {
    image-rendering: optimizeSpeed;
  @media (max-width: 719px) {
    image-rendering: -webkit-optimize-contrast;
     content: "GitHub";
    image-rendering: optimize-contrast;
     margin-right: 1em;
    image-rendering: -moz-crisp-edges;
  }
    image-rendering: -o-crisp-edges;
     image-rendering: crisp-edges;
     image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}
}


/* Горизонтальный список */
.paradise-info-string .paradise-info-link a i {
#mw-content-text .hlist ul {
  font-size: 1.25em;
    display: inline;
    margin: 0;
    padding: 0;
}
}
#mw-content-text .hlist li {
 
    display: inline;
/**
* MARK: Типы урона
*/
.brute {
  color: var(--color-red);
  font-weight: bold;
}
}
#mw-content-text .hlist li:not(:last-child) {
 
    padding-right: 0.286em;
.burn {
  color: var(--color-orange);
  font-weight: bold;
}
}
#mw-content-text .hlist li:not(:last-child)::after {
 
    content: "";
.oxygen {
    display: inline-block;
  color: var(--color-blue);
    position: relative;
  font-weight: bold;
    left: 0.286em;
    bottom: 0.214em;
    background-color: #000;
    height: 3px;
    width: 3px;
}
}
#mw-content-text .hlist li li:first-child::before {
 
    content: "(";
.toxic {
    font-weight: normal;
  color: var(--color-green);
  font-weight: bold;
}
}
#mw-content-text .hlist li li:last-child::after {
 
    content: ")";
.gene {
    font-weight: normal;
  color: var(--color-purple);
  font-weight: bold;
}
}
#mw-content-text .hlist li li li {
 
    font-size: x-small;
.electric {
  color: var(--color-teal);
  font-weight: bold;
}
}


/* Simulate link styling for JS only links */
/**
* MARK: JSLink
*/
.jslink {
.jslink {
    color: #0645AD;
  cursor: pointer;
    -webkit-user-select: none;
  user-select: none;
      -moz-user-select: none;
  font-size: 0.66em;
        -ms-user-select: none;
  padding: 0.25em 0.5em;
    outline: none;
  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 {
.jslink:hover {
    text-decoration: underline;
  background-color: var(--color-primary-light);
    cursor: pointer;
}
}
.jslink:active {
 
    color: #FAA700;
/* Стиль таблиц с предметами и т.п. */
.items-table {
  width: 100%;
  border: var(--border-classic);
  border-radius: var(--border-radius-medium);
  background-color: var(--color-second-fill);
}
}


/* Hide noscript only elements */
.items-table th {
.client-js *.noscript {
  border: 0.2em double var(--color-border);
    display: none;
  border-radius: var(--border-radius-small);
  background-color: var(--color-second);
  color: var(--color-text);
  padding: 0.2em;
}
}
/* Mark internal links as plain */
 
#content a.external[href^="http://wiki.ss220.space/index.php"],
.items-table td {
#content a.external[href^="https://wiki.ss220.space/index.php"],
  background-color: var(--color-second);
#content a.external[href^="//wiki.ss220.space/index.php"] {
  color: var(--color-text);
    background: none;
  padding: 0.2em;
    padding-right: 0;
}
}


/* Кнопка "Вверх": [[Файл:Scroll_top.png]] */
.items-table:not(.regular) td:not(.regular):first-of-type,
#scroll-top
td.capital {
{
  background-color: var(--color-second);
display: none;
  font-weight: bold;
background: url(https://wiki.ss220.space/images/f/f4/Scroll_top.gif) 0% 0%/38px 38px no-repeat;
  color: var(--color-text);
opacity: 0.3;
  border: var(--border-classic);
width: 38px;
  border-radius: var(--border-radius-small);
height: 38px;
  text-align: center;
cursor: pointer;
}
position: fixed;
left: calc(11em - 19px);
bottom: 30px;
z-index: 10000;
image-rendering: optimizeSpeed;
image-rendering: -webkit-optimize-contrast;
image-rendering: optimize-contrast;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: crisp-edges;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
 
#scroll-top:hover
{
opacity: 0.8;
}
 
 
/* Стиль таблиц с предметами и т.п. */
.items-table {
width:100%;
border:.2em solid #7F7F7F;
border-radius:.5em;
background-color:#CCCCCC;
}


.items-table th {
border: .2em double #999999;
border-radius:.2em;
background-color:#7F7F7F;
color:#FFFFFF;
padding: .2em;
}
.items-table td {
background-color:#F2F2F2;
color:#000000;
padding: .2em;
}
.items-table:not(.regular) td:not(.regular):first-of-type,
td.capital {
background-color: #E5E5E5;
font-weight: bold;
color: #000;
border: .2em solid #999;
border-radius: .2em;
text-align: center;
}
/* Цвета охранного отдела */
/* Цвета охранного отдела */
.colors-secure,
.colors-secure,
tr.colors-secure {
.colors-Security,
background-color:hsl(0, 4%, 74%); /* Light */
tr.colors-secure,
border-color: hsl(0, 47%, 52%); /* Secondary */
tr.colors-Security {
}
  background-color: var(--security-light);
  border-color: var(--security-secondary);
}
.colors-secure th,
.colors-secure th,
tr.colors-secure th {
.colors-Security th,
background-color:hsl(0, 67%, 45%); /* Primary */
tr.colors-secure th,
border-color: hsl(0, 82%, 41%); /* Primary Bold */
tr.colors-Security th {
}
  background-color: var(--security-primary);
  border-color: var(--security-opaque);
}
.colors-secure td,
.colors-secure td,
tr.colors-secure td {
.colors-Security td,
background-color:hsl(0, 0%, 95%); /* Very Light */
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-secure td:not(.regular):first-of-type,
:not(.regular).colors-Security td:not(.regular):first-of-type,
.colors-secure td.capital,
.colors-secure td.capital,
:not(.regular) tr.colors-secure td:not(.regular):first-of-type {
.colors-Security td.capital,
background-color: hsl(0, 47%, 52%); /* Secondary */
:not(.regular) tr.colors-secure td:not(.regular):first-of-type,
color: hsl(0, 0%, 0%); /* Secondary Text */
:not(.regular) tr.colors-Security td:not(.regular):first-of-type {
border-color: hsl(0, 82%, 41%); /* Primary Bold */
  background-color: var(--security-light);
}
  color: var(--color-text);
  border-color: var(--security-opaque);
}


/* Цвета научного отдела */
/* Цвета научного отдела */
.colors-science,
.colors-science,
tr.colors-science {
.colors-Science,
background-color:hsl(280, 6%, 79%); /* Light */
tr.colors-science,
border-color: hsl(280, 50%, 60%); /* Secondary */
tr.colors-Science {
}
  background-color: var(--science-light);
  border-color: var(--science-secondary);
}
.colors-science th,
.colors-science th,
tr.colors-science th {
.colors-Science th,
background-color:hsl(280, 58%, 52%); /* Primary */
tr.colors-science th,
border-color: hsl(280, 67%, 48%); /* Primary Bold */
tr.colors-Science th {
}
  background-color: var(--science-primary);
  border-color: var(--science-opaque);
}
.colors-science td,
.colors-science td,
tr.colors-science td {
.colors-Science td,
background-color:hsl(283, 21%, 94%); /* Very Light */
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,
: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 {
.colors-Science td.capital,
background-color: hsl(280, 50%, 60%); /* Secondary */
:not(.regular) tr.colors-science td:not(.regular):first-of-type,
color: hsl(120, 52%, 5%); /* Secondary Text */
:not(.regular) tr.colors-Science td:not(.regular):first-of-type {
border-color: hsl(280, 67%, 48%); /* Primary Bold */
  background-color: var(--science-light);
}
  color: var(--color-text);
  border-color: var(--science-opaque);
}


/* Цвета сервисного отдела */
/* Цвета сервисного отдела */
.colors-service,
.colors-service,
tr.colors-service {
.colors-Service,
background-color:hsl(130, 6%, 79%); /* Light */
tr.colors-service,
border-color: hsl(125, 34%, 55%); /* Secondary */
tr.colors-Service {
}
  background-color: var(--civilian-light);
  border-color: var(--civilian-secondary);
}
.colors-service th,
.colors-service th,
tr.colors-service th {
.colors-Service th,
background-color:hsl(125, 56%, 38%); /* Primary */
tr.colors-service th,
border-color: hsl(125, 82%, 32%); /* Primary Bold */
tr.colors-Service th {
}
  background-color: var(--civilian-primary);
  border-color: var(--civilian-opaque);
}
.colors-service td,
.colors-service td,
tr.colors-service td {
.colors-Service td,
background-color:hsl(129, 21%, 94%); /* Very Light */
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,
: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 {
.colors-Service td.capital,
background-color: hsl(125, 34%, 55%); /* Secondary */
:not(.regular) tr.colors-service td:not(.regular):first-of-type,
color: hsl(0, 0%, 0%); /* Secondary Text */
:not(.regular) tr.colors-Service td:not(.regular):first-of-type {
border-color: hsl(125, 82%, 32%); /* Primary Bold */
  background-color: var(--civilian-light);
}
  color: var(--color-text);
  border-color: var(--civilian-opaque);
}


/* Цвета инженерного отдела */
/* Цвета инженерного отдела */
.colors-engine,
.colors-engine,
tr.colors-engine {
.colors-Engineering,
background-color:hsl(33, 21%, 75%); /* Light */
tr.colors-engine,
border-color: hsl(37, 100%, 65%); /* Secondary */
tr.colors-Engineering {
}
  background-color: var(--engineer-light);
  border-color: var(--engineer-secondary);
}
.colors-engine th,
.colors-engine th,
tr.colors-engine th {
.colors-Engineering th,
background-color:hsl(38, 100%, 55%); /* Primary */
tr.colors-engine th,
border-color: hsl(39, 100%, 50%); /* Primary Bold */
tr.colors-Engineering th {
}
  background-color: var(--engineer-primary);
  border-color: var(--engineer-opaque);
}
.colors-engine td,
.colors-engine td,
tr.colors-engine td {
.colors-Engineering td,
background-color:hsl(33, 43%, 91%); /* Very Light */
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-engine td:not(.regular):first-of-type,
:not(.regular).colors-Engineering td:not(.regular):first-of-type,
.colors-engine td.capital,
.colors-engine td.capital,
:not(.regular) tr.colors-engine td:not(.regular):first-of-type {
.colors-Engineering td.capital,
background-color: hsl(37, 100%, 65%); /* Secondary */
:not(.regular) tr.colors-engine td:not(.regular):first-of-type,
color: hsl(0, 0%, 0%); /* Secondary Text */
:not(.regular) tr.colors-Engineering td:not(.regular):first-of-type {
border-color: hsl(39, 100%, 50%); /* Primary Bold */
  background-color: var(--engineer-light);
}
  color: var(--color-text);
  border-color: var(--engineer-opaque);
}


/* Цвета командного отдела */
/* Цвета командного отдела */
.colors-command,
.colors-command,
tr.colors-command {
.colors-Command,
background-color:hsl(223, 32%, 71%); /* Light */
tr.colors-command,
border-color: hsl(223, 100%, 70%); /* Secondary */
tr.colors-Command {
}
  background-color: var(--command-light);
  border-color: var(--command-secondary);
}
.colors-command th,
.colors-command th,
tr.colors-command th {
.colors-Command th,
background-color:hsl(224, 100%, 60%); /* Primary */
tr.colors-command th,
border-color: hsl(223, 100%, 55%); /* Primary Bold */
tr.colors-Command th {
}
  background-color: var(--command-primary);
  border-color: var(--command-opaque);
}
.colors-command td,
.colors-command td,
tr.colors-command td {
.colors-Command td,
background-color:hsl(225, 57%, 92%); /* Very Light */
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,
: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 {
.colors-Command td.capital,
background-color: hsl(223, 100%, 70%); /* Secondary */
:not(.regular) tr.colors-command td:not(.regular):first-of-type,
color: hsl(0, 0%, 100%); /* Secondary Text */
:not(.regular) tr.colors-Command td:not(.regular):first-of-type {
border-color: hsl(223, 100%, 55%); /* Primary Bold */
  background-color: var(--command-light);
}
  color: var(--color-white);
  border-color: var(--command-opaque);
}


/* Цвета медицинского отдела */
/* Цвета медицинского отдела */
.colors-medik,
.colors-medik,
tr.colors-medik {
.colors-Medical,
background-color:hsl(203, 32%, 71%); /* Light */
tr.colors-medik,
border-color: hsl(202, 100%, 70%); /* Secondary */
tr.colors-Medical {
}
  background-color: var(--medical-light);
  border-color: var(--medical-secondary);
}
.colors-medik th,
.colors-medik th,
tr.colors-medik th {
.colors-Medical th,
background-color:hsl(203, 100%, 60%); /* Primary */
tr.colors-medik th,
border-color: hsl(203, 100%, 55%); /* Primary Bold */
tr.colors-Medical th {
}
  background-color: var(--medical-primary);
  border-color: var(--medical-opaque);
}
.colors-medik td,
.colors-medik td,
tr.colors-medik td {
.colors-Medical td,
background-color:hsl(203, 72%, 92%); /* Very Light */
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-medik td:not(.regular):first-of-type,
:not(.regular).colors-Medical td:not(.regular):first-of-type,
.colors-medik td.capital,
.colors-medik td.capital,
:not(.regular) tr.colors-medik td:not(.regular):first-of-type {
.colors-Medical td.capital,
background-color: hsl(202, 100%, 70%); /* Secondary */
:not(.regular) tr.colors-medik td:not(.regular):first-of-type,
color: hsl(0, 0%, 0%); /* Secondary Text */
:not(.regular) tr.colors-Medical td:not(.regular):first-of-type {
border-color: hsl(203, 100%, 55%); /* Primary Bold */
  background-color: var(--medical-light);
}
  color: var(--color-text);
  border-color: var(--medical-opaque);
}


/* Цвета снабжающего отдела */
/* Цвета снабжающего отдела */
.colors-suply,
.colors-suply,
tr.colors-suply {
.colors-Supply,
background-color:hsl(29, 32%, 71%); /* Light */
tr.colors-suply,
border-color: hsl(32, 43%, 33%); /* Secondary */
tr.colors-Supply {
}
  background-color: var(--supply-light);
  border-color: var(--supply-secondary);
}
.colors-suply th,
.colors-suply th,
tr.colors-suply th {
.colors-Supply th,
background-color:hsl(31, 68%, 29%); /* Primary */
tr.colors-suply th,
border-color: hsl(31, 82%, 26%); /* Primary Bold */
tr.colors-Supply th {
}
  background-color: var(--supply-primary);
  border-color: var(--supply-opaque);
}
.colors-suply td,
.colors-suply td,
tr.colors-suply td {
.colors-Supply td,
background-color:hsl(29, 71%, 92%); /* Very Light */
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-suply td:not(.regular):first-of-type,
:not(.regular).colors-Supply td:not(.regular):first-of-type,
.colors-suply td.capital,
.colors-suply td.capital,
:not(.regular) tr.colors-suply td:not(.regular):first-of-type {
.colors-Supply td.capital,
background-color: hsl(32, 43%, 33%); /* Secondary */
:not(.regular) tr.colors-suply td:not(.regular):first-of-type,
color: hsl(120, 24%, 7%); /* Secondary Text */
:not(.regular) tr.colors-Supply td:not(.regular):first-of-type {
border-color: hsl(31, 82%, 26%); /* Primary Bold */
  background-color: var(--supply-light);
}
  color: var(--color-text);
  border-color: var(--supply-opaque);
}


/* Цвета планетарного отдела */
/* Цвета планетарного отдела */
.colors-lava,
.colors-lava,
tr.colors-lava {
.colors-Lavaland,
background-color:hsl(15, 32%, 71%); /* Light */
tr.colors-lava,
border-color: hsl(17, 79%, 66%); /* Secondary */
tr.colors-Lavaland {
}
  background-color: var(--lavaland-light);
  border-color: var(--lavaland-secondary);
}
.colors-lava th,
.colors-lava th,
tr.colors-lava th {
.colors-Lavaland th,
background-color:hsl(17, 85%, 57%); /* Primary */
tr.colors-lava th,
border-color: hsl(17, 85%, 52%); /* Primary Bold */
tr.colors-Lavaland th {
}
  background-color: var(--lavaland-primary);
  border-color: var(--lavaland-opaque);
}
.colors-lava td,
.colors-lava td,
tr.colors-lava td {
.colors-Lavaland td,
background-color:hsl(15, 59%, 93%); /* Very Light */
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-lava td:not(.regular):first-of-type,
:not(.regular).colors-Lavaland td:not(.regular):first-of-type,
.colors-lava td.capital,
.colors-lava td.capital,
:not(.regular) tr.colors-lava td:not(.regular):first-of-type {
.colors-Lavaland td.capital,
background-color: hsl(17, 79%, 66%); /* Secondary */
:not(.regular) tr.colors-lava td:not(.regular):first-of-type,
color: hsl(0, 0%, 0%); /* Secondary Text */
:not(.regular) tr.colors-Lavaland td:not(.regular):first-of-type {
border-color: hsl(17, 85%, 52%); /* Primary Bold */
  background-color: var(--lavaland-light);
}
  color: var(--color-text);
  border-color: var(--lavaland-opaque);
}


/* Цвета синтетического отдела */
/* Цвета синтетического отдела */
.colors-synth,
.colors-synth,
tr.colors-synth {
.colors-Synthetic,
background-color:hsl(212, 32%, 71%); /* Light */
tr.colors-synth,
border-color: hsl(212, 47%, 52%); /* Secondary */
tr.colors-Synthetic {
}
  background-color: var(--synthetic-light);
  border-color: var(--synthetic-secondary);
}
.colors-synth th,
.colors-synth th,
tr.colors-synth th {
.colors-Synthetic th,
background-color:hsl(212, 67%, 46%); /* Primary */
tr.colors-synth th,
border-color: hsl(212, 82%, 42%); /* Primary Bold */
tr.colors-Synthetic th {
}
  background-color: var(--synthetic-primary);
  border-color: var(--synthetic-opaque);
}
.colors-synth td,
.colors-synth td,
tr.colors-synth td {
.colors-Synthetic td,
background-color:hsl(211, 69%, 92%); /* Very Light */
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-synth td:not(.regular):first-of-type,
:not(.regular).colors-Synthetic td:not(.regular):first-of-type,
.colors-synth td.capital,
.colors-synth td.capital,
:not(.regular) tr.colors-synth td:not(.regular):first-of-type {
.colors-Synthetic td.capital,
background-color: hsl(212, 47%, 52%); /* Secondary */
:not(.regular) tr.colors-synth td:not(.regular):first-of-type,
color: hsl(0, 0%, 100%); /* Secondary Text */
:not(.regular) tr.colors-Synthetic td:not(.regular):first-of-type {
border-color: hsl(212, 82%, 42%); /* Primary Bold */
  background-color: var(--synthetic-light);
}
  color: var(--color-white);
  border-color: var(--synthetic-opaque);
}


/* Цвета антагского отдела */
/* Цвета антагского отдела */
.colors-antag,
.colors-antag,
tr.colors-antag {
.colors-Antagonist,
background-color:hsl(0, 32%, 71%); /* Light */
tr.colors-antag,
border-color: hsl(0, 43%, 21%); /* Secondary */
tr.colors-Antagonist {
}
  background-color: var(--antag-light);
  border-color: var(--antag-secondary);
}
.colors-antag th,
.colors-antag th,
tr.colors-antag th {
.colors-Antagonist th,
background-color:hsl(0, 67%, 6%); /* Primary */
tr.colors-antag th,
border-color: hsl(0, 83%, 5%); /* Primary Bold */
tr.colors-Antagonist th {
}
  background-color: var(--antag-primary);
  border-color: var(--antag-opaque);
}
.colors-antag td,
.colors-antag td,
tr.colors-antag td {
.colors-Antagonist td,
background-color:hsl(0, 62%, 95%); /* Very Light */
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-antag td:not(.regular):first-of-type,
:not(.regular).colors-Antagonist td:not(.regular):first-of-type,
.colors-antag td.capital,
.colors-antag td.capital,
:not(.regular) tr.colors-antag td:not(.regular):first-of-type {
.colors-Antagonist td.capital,
background-color: hsl(0, 43%, 21%); /* Secondary */
:not(.regular) tr.colors-antag td:not(.regular):first-of-type,
color: hsl(0, 91%, 44%); /* Secondary Text */
:not(.regular) tr.colors-Antagonist td:not(.regular):first-of-type {
border-color: hsl(0, 83%, 5%); /* Primary Bold */
  background-color: var(--antag-light);
}
  color: var(--color-red);
  border-color: var(--antag-opaque);
}


/* Цвета культистского отдела */
/* Цвета культистского отдела */
.colors-cult,
.colors-cult,
tr.colors-cult {
.colors-Cultist,
background-color:hsl(0, 32%, 71%); /* Light */
tr.colors-cult,
border-color: hsl(0, 43%, 21%); /* Secondary */
tr.colors-Cultist {
}
  background-color: var(--cult-light);
  border-color: var(--cult-secondary);
}
.colors-cult th,
.colors-cult th,
tr.colors-cult th {
.colors-Cultist th,
background-color:hsl(0, 67%, 6%); /* Primary */
tr.colors-cult th,
border-color: hsl(0, 83%, 5%); /* Primary Bold */
tr.colors-Cultist th {
}
  background-color: var(--cult-primary);
  border-color: var(--cult-opaque);
}
.colors-cult td,
.colors-cult td,
tr.colors-cult td {
.colors-Cultist td,
background-color:hsl(0, 62%, 95%); /* Very Light */
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-cult td:not(.regular):first-of-type,
:not(.regular).colors-Cultist td:not(.regular):first-of-type,
.colors-cult td.capital,
.colors-cult td.capital,
:not(.regular) tr.colors-cult td:not(.regular):first-of-type {
.colors-Cultist td.capital,
background-color: hsl(0, 43%, 21%); /* Secondary */
:not(.regular) tr.colors-cult td:not(.regular):first-of-type,
color: hsl(0, 91%, 44%); /* Secondary Text */
:not(.regular) tr.colors-Cultist td:not(.regular):first-of-type {
border-color: hsl(0, 83%, 5%); /* Primary Bold */
  background-color: var(--cult-light);
}
  color: var(--color-red);
  border-color: var(--cult-opaque);
}


/* Цвета ратваровского отдела */
/* Цвета ратваровского отдела */
.colors-ratvar,
.colors-ratvar,
tr.colors-ratvar {
.colors-Ratvar,
background-color:hsl(38, 70%, 17%); /* Light */
tr.colors-ratvar,
border-color: hsl(39, 70%, 12%); /* Secondary */
tr.colors-Ratvar {
}
  background-color: var(--ratvar-light);
  border-color: var(--ratvar-secondary);
}
.colors-ratvar th,
.colors-ratvar th,
tr.colors-ratvar th {
.colors-Ratvar th,
background-color:hsl(38, 70%, 30%); /* Primary */
tr.colors-ratvar th,
border-color: hsl(38, 70%, 25%); /* Primary Bold */
tr.colors-Ratvar th {
}
  background-color: var(--ratvar-primary);
  border-color: var(--ratvar-opaque);
}
.colors-ratvar td,
.colors-ratvar td,
tr.colors-ratvar td {
.colors-Ratvar td,
background-color:hsl(42, 31%, 83%); /* Very Light */
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,
: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 {
.colors-Ratvar td.capital,
background-color: hsl(39, 70%, 12%); /* Secondary */
:not(.regular) tr.colors-ratvar td:not(.regular):first-of-type,
color: hsl(0, 0%, 100%); /* Secondary Text */
:not(.regular) tr.colors-Ratvar td:not(.regular):first-of-type {
border-color: hsl(38, 70%, 25%); /* Primary Bold */
  background-color: var(--ratvar-light);
}
  color: var(--color-white);
  border-color: var(--ratvar-opaque);
}


/* Цвета ксеноморфного отдела */
/* Цвета ксеноморфного отдела */
.colors-xenom,
.colors-xenom,
tr.colors-xenom {
.colors-Xenomorph,
background-color:hsl(250, 19%, 63%); /* Light */
tr.colors-xenom,
border-color: hsl(251, 19%, 34%); /* Secondary */
tr.colors-Xenomorph {
}
  background-color: var(--special-light);
  border-color: var(--special-secondary);
}
.colors-xenom th,
.colors-xenom th,
tr.colors-xenom th {
.colors-Xenomorph th,
background-color:hsl(251, 20%, 22%); /* Primary */
tr.colors-xenom th,
border-color: hsl(250, 26%, 17%); /* Primary Bold */
tr.colors-Xenomorph th {
}
  background-color: var(--special-primary);
  border-color: var(--special-opaque);
}
.colors-xenom td,
.colors-xenom td,
tr.colors-xenom td {
.colors-Xenomorph td,
background-color:hsl(256, 69%, 92%); /* Very Light */
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-xenom td:not(.regular):first-of-type,
:not(.regular).colors-Xenomorph td:not(.regular):first-of-type,
.colors-xenom td.capital,
.colors-xenom td.capital,
:not(.regular) tr.colors-xenom td:not(.regular):first-of-type {
.colors-Xenomorph td.capital,
background-color: hsl(251, 19%, 34%); /* Secondary */
:not(.regular) tr.colors-xenom td:not(.regular):first-of-type,
color: hsl(0, 0%, 100%); /* Secondary Text */
:not(.regular) tr.colors-Xenomorph td:not(.regular):first-of-type {
border-color: hsl(250, 26%, 17%); /* Primary Bold */
  background-color: var(--special-light);
}
  color: var(--color-white);
  border-color: var(--special-opaque);
}


/* Цвета марининого отдела */
/* Цвета марининого отдела */
.colors-marine,
.colors-marine,
tr.colors-marine {
.colors-Marine,
background-color:hsl(215, 22%, 64%); /* Light */
tr.colors-marine,
border-color: hsl(215, 31%, 41%); /* Secondary */
tr.colors-Marine {
}
  background-color: var(--centcom-light);
  border-color: var(--centcom-secondary);
}
.colors-marine th,
.colors-marine th,
tr.colors-marine th {
.colors-Marine th,
background-color:hsl(216, 47%, 33%); /* Primary */
tr.colors-marine th,
border-color: hsl(217, 47%, 29%); /* Primary Bold */
tr.colors-Marine th {
}
  background-color: var(--centcom-primary);
  border-color: var(--centcom-opaque);
}
.colors-marine td,
.colors-marine td,
tr.colors-marine td {
.colors-Marine td,
background-color:hsl(216, 50%, 88%); /* Very Light */
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,
: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 {
.colors-Marine td.capital,
background-color: hsl(215, 31%, 41%); /* Secondary */
:not(.regular) tr.colors-marine td:not(.regular):first-of-type,
color: hsl(0, 0%, 0%); /* Secondary Text */
:not(.regular) tr.colors-Marine td:not(.regular):first-of-type {
border-color: hsl(217, 47%, 29%); /* Primary Bold */
  background-color: var(--centcom-light);
}
  color: var(--color-text);
  border-color: var(--centcom-opaque);
}


/* Цвета волшебного отдела */
/* Цвета волшебного отдела */
.colors-wizard,
.colors-wizard,
tr.colors-wizard {
.colors-Wizard,
background-color:hsl(258, 32%, 71%); /* Light */
tr.colors-wizard,
border-color: hsl(260, 100%, 70%); /* Secondary */
tr.colors-Wizard {
}
  background-color: var(--wizard-light);
  border-color: var(--wizard-secondary);
}
.colors-wizard th,
.colors-wizard th,
tr.colors-wizard th {
.colors-Wizard th,
background-color:hsl(262, 100%, 60%); /* Primary */
tr.colors-wizard th,
border-color: hsl(261, 100%, 55%); /* Primary Bold */
tr.colors-Wizard th {
}
  background-color: var(--wizard-primary);
  border-color: var(--wizard-opaque);
}
.colors-wizard td,
.colors-wizard td,
tr.colors-wizard td {
.colors-Wizard td,
background-color:hsl(256, 69%, 92%); /* Very Light */
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,
: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 {
.colors-Wizard td.capital,
background-color: hsl(260, 100%, 70%); /* Secondary */
:not(.regular) tr.colors-wizard td:not(.regular):first-of-type,
color: hsl(0, 0%, 0%); /* Secondary Text */
:not(.regular) tr.colors-Wizard td:not(.regular):first-of-type {
border-color: hsl(261, 100%, 55%); /* Primary Bold */
  background-color: var(--wizard-light);
}
  color: var(--color-text);
  border-color: var(--wizard-opaque);
}


/* Цвета похитнического отдела */
/* Цвета похитнического отдела */
.colors-abductor,
.colors-abductor,
tr.colors-abductor {
.colors-Abductor,
background-color:hsl(0, 0%, 80%); /* Light */
tr.colors-abductor,
border-color: hsl(0, 0%, 90%); /* Secondary */
tr.colors-Abductor {
}
  background-color: var(--gray-light);
  border-color: var(--gray-secondary);
}
.colors-abductor th,
.colors-abductor th,
tr.colors-abductor th {
.colors-Abductor th,
background-color:hsl(0, 0%, 50%); /* Primary */
tr.colors-abductor th,
border-color: hsl(0, 0%, 60%); /* Primary Bold */
tr.colors-Abductor th {
}
  background-color: var(--gray-primary);
  border-color: var(--gray-opaque);
}
.colors-abductor td,
.colors-abductor td,
tr.colors-abductor td {
.colors-Abductor td,
background-color:hsl(0, 0%, 95%); /* Very Light */
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,
: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 {
.colors-Abductor td.capital,
background-color: hsl(0, 0%, 90%); /* Secondary */
:not(.regular) tr.colors-abductor td:not(.regular):first-of-type,
color: hsl(0, 0%, 0%); /* Secondary Text */
:not(.regular) tr.colors-Abductor td:not(.regular):first-of-type {
border-color: hsl(0, 0%, 60%); /* Primary Bold */
  background-color: var(--gray-light);
}
  color: var(--color-text);
  border-color: var(--gray-opaque);
}


/* Отступы сворачиваемого меню */
/* Таблица брони и оружия */
.vector-menu-portal {
.weapon-table td,
margin-left: 0.1em;
.armor-table {
}
  text-align: center;
#mw-panel.collapsible-nav .portal .vector-menu-content {
  font-weight: bold;
margin-left: 0.5em;
}
}
/* Цвет заголовков сворачиваемых разделов в 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: #54595d;
text-decoration: none;
}


/* Таблица брони */
/* Последний столбец */
.sticky-head th {
.weapon-table td:last-of-type,
background-image: none !important;
.armor-table td:last-of-type {
}
  text-align: left;
.sticky-head abbr {
  font-weight: unset;
writing-mode:vertical-rl;
}
transform: rotate(0.5turn);
display: inline-block;
}
.sticky-head thead {
position: sticky;
top: 0.1em;
}
 
.armor-table {
text-align: center;
table-layout: fixed;
}
.armor-table td:last-of-type {
text-align: left;
}

Текущая версия от 21:29, 31 мая 2025

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

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

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

/**
 * MARK: MainPage/Splash
 */
.paradise-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  background-color: var(--color-second);
  border: var(--border-classic);
  border-radius: var(--border-radius-large);
  backdrop-filter: var(--blur-default);
}

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

.paradise-welcome {
  display: inline-flex;
  text-align: center;
  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;
  text-align: center;
}

.paradise-info-string {
  overflow: hidden;
  display: flex;
  max-width: 90%;
  margin-bottom: 0.25em;
  background-color: var(--color-second);
  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);
}

.paradise-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;
  }
}

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

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

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

.paradise-info-string .paradise-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);
}

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

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

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

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

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

.paradise-info-string .paradise-info-link a i {
  font-size: 1.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: 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);
}

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

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

.items-table td {
  background-color: var(--color-second);
  color: var(--color-text);
  padding: 0.2em;
}

.items-table:not(.regular) td:not(.regular):first-of-type,
td.capital {
  background-color: var(--color-second);
  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);
}

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

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