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

imported>Gevron
мНет описания правки
мНет описания правки
 
(не показано 111 промежуточных версий 2 участников)
Строка 1: Строка 1:
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Hide noscript only elements */
/* Всплывающие окна с информацией */
.client-js *.noscript {
.tooltip{
  display: none;
   position: relative;
}
 
/* Disable blur */
.blurless {
   backdrop-filter: blur(0) !important;
}
}


.tooltiptext,
/* Fill */
.tooltiptext2 {
.fill {
   position: absolute;
   position: absolute;
   width: 18em;
   top: 0;
   visibility: hidden;
   bottom: 0;
   opacity: 0;
   left: 0;
   white-space: normal;
   right: 0;
   text-align: left;
  z-index: var(--index-low);
   transition: all 0.2s;
}
   border: 1px solid #aaa;
 
/**
* 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
*/
.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);
}
}
.tooltiptext {
 
   display: block;
.paradise-logo a img {
  z-index: 2;
   width: 100%;
  padding: 20px;
   height: auto;
   background-color: #ffdd66;
}
}
.tooltiptext2 {
 
display:inline;
.paradise-welcome {
z-index: 100;
  display: inline-flex;
padding: 0.2em;
  text-align: center;
background-color: #FEF6E7;
  font-weight: bold;
border-radius: .2em;
  padding: 0 1em;
top:1.5em;
  margin: -1.5em 0.5em 0.5em 0.5em;
left:1em;
  background-color: var(--color-primary);
box-shadow: 0 0 .3em #999;
  color: var(--color-white);
  border-radius: var(--border-radius-large);
}
}


.tooltiptable {
.paradise-info {
  position: absolute;
   display: flex;
   display: block;
   flex-direction: column;
   z-index: 2;
   align-items: center;
   max-width:600px;
   text-align: center;
  width:max-content;
  padding: 10px;
  top:11pt;
  right:-55px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
   text-align: left;
  transition: all 0.2s;
  border: 1px solid #666;
  background-color: #ff6666;
}
}


.tooltip:hover>.tooltiptext,
.paradise-info-string {
.tooltip:hover>.tooltiptext2,
  overflow: hidden;
.tooltip:hover>.tooltiptable {
  display: flex;
   visibility: visible;
  max-width: 90%;
   opacity: 1;
  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);
}
}


/* hide the "Retrieved from" message */
.paradise-info-string span:not([class]) {
.printfooter {
  padding: 0.5em 0.75em;
  display: none;
  border-right: var(--border-classic);
  border-left: var(--border-classic);
 
  @media (max-width: 719px) {
    display: none;
  }
}
}


div.tabcontent{
.paradise-info-string .paradise-info-link {
     display:none
  min-width: 3em;
 
  @media (max-width: 719px) {
     min-width: 10em;
    height: 2.5em;
  }
}
}
div.tabcontent.current{
 
     display:block
.paradise-info-string .paradise-info-link:first-of-type {
  @media (max-width: 719px) {
     border-right: var(--border-classic);
  }
}
}
div.switchtab.label.current{
 
    color:#000;
.paradise-info-string .paradise-info-link a {
    background-color:#00FF00
  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);
}
}
div.kaskadavionics{
 
    background-image:url(https://wiki.armaproject.ru/resources/assets/Kaskad_avionics.png)
.paradise-info-string .paradise-info-link a:hover {
  background-color: var(--color-bg-hover);
  color: var(--color-text) !important;
}
}
div.divbutton:target{
 
    cursor: pointer;
.paradise-info-string .paradise-info-link a:after {
  content: "";
  font: unset;
 
  @media (min-width: 720px) {
     display: none;
     display: none;
     width: auto;
  }
     height: auto;
}
 
.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: 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;
}
 
/**
* 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;
}
}
div.divbutton:target::before{
 
    cursor: pointer;
.navbar-button a:hover {
    width: 80%;
  background-color: var(--color-bg-hover);
    height: auto;
}
}
.kaskadavionics_menu_button a{
 
    display:block;
/**
    text-align:center;
* MARK: TGUI Buttons
    line-height:19px !important;
*/
    font-size:13px;
.custom-link a {
    color:#00FF00 !important;
  display: inline-block;
    text-decoration:none
  margin: 0.25em;
  padding: 0em 0.5em;
  vertical-align: middle;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--border-radius-small);
  transition: background-color var(--transition-time);
}
}
.kaskadavionics_menu_button a:hover{
 
    text-decoration:none;
.custom-link a:hover {
    display:block;
  background-color: var(--color-primary-light);
    background:rgba(0,256,0,1) none repeat scroll 0% 0%;
    line-height:19px !important;
    font-size:13px;
    color:#000 !important
}
}


img {
/**
    image-rendering: optimizeSpeed;
* MARK: Template/Notice
    image-rendering: -webkit-optimize-contrast;
*/
    image-rendering: optimize-contrast;
.notice-wrapper {
    image-rendering: -moz-crisp-edges;
  overflow: hidden;
    image-rendering: -o-crisp-edges;
  position: relative;
    image-rendering: crisp-edges;
  width: 100%;
    image-rendering: pixelated;
  border-radius: var(--border-radius-large);
    -ms-interpolation-mode: nearest-neighbor;
  box-shadow: var(--shadow-template--small);
}
}


/* Горизонтальный список */
.notice-lines {
#mw-content-text .hlist ul {
  flex: 1;
    display: inline;
  min-width: 10%;
    margin: 0;
  height: 40px;
    padding: 0;
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-base);
}
}
#mw-content-text .hlist li {
 
    display: inline;
.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);
}
}
#mw-content-text .hlist li:not(:last-child) {
 
    padding-right: 0.286em;
.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);
}
}
#mw-content-text .hlist li:not(:last-child)::after {
 
    content: "";
.notice-content {
    display: inline-block;
  display: flex;
    position: relative;
  align-items: center;
    left: 0.286em;
  flex-direction: column;
    bottom: 0.214em;
  margin: 1em;
    background-color: #000;
    height: 3px;
    width: 3px;
}
}
#mw-content-text .hlist li li:first-child::before {
 
    content: "(";
.notice-content-text {
    font-weight: normal;
  font-size: 0.85rem;
  font-family: "Comic Sans MS";
  text-align: center;
  color: var(--color-text);
}
}
#mw-content-text .hlist li li:last-child::after {
 
    content: ")";
/* Palette Preview */
    font-weight: normal;
.palette-preview {
  flex: 1 14em;
  text-align: center;
  margin: 0.25em;
}
}
#mw-content-text .hlist li li li {
 
    font-size: x-small;
/**
* MARK: Типы урона
*/
.brute {
  color: var(--color-red);
  font-weight: bold;
}
}


/* Simulate link styling for JS only links */
.burn {
.jslink {
  color: var(--color-orange);
    color: #0645AD;
  font-weight: bold;
    -webkit-user-select: none;
      -moz-user-select: none;
        -ms-user-select: none;
    outline: none;
}
}
.jslink:hover {
 
    text-decoration: underline;
.oxygen {
    cursor: pointer;
  color: var(--color-blue);
  font-weight: bold;
}
}
.jslink:active {
 
    color: #FAA700;
.toxic {
  color: var(--color-green);
  font-weight: bold;
}
}


/* Hide noscript only elements */
.gene {
.client-js *.noscript {
  color: var(--color-purple);
    display: none;
  font-weight: bold;
}
 
.electric {
  color: var(--color-teal);
  font-weight: bold;
}
 
/**
* MARK: Коды угроз
*/
.code-green {
  color: var(--color-green);
}
 
.code-blue {
  color: var(--color-blue);
}
 
.code-red {
  color: var(--color-red);
}
 
.code-gamma {
  color: var(--color-orange);
}
 
.code-delta {
  color: var(--color-purple);
}
 
/**
* 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;
}
}
/* Mark internal links as plain */
 
#content a.external[href^="http://wiki.ss220.space/index.php"],
.rule-number {
#content a.external[href^="https://wiki.ss220.space/index.php"],
  display: inline-flex;
#content a.external[href^="//wiki.ss220.space/index.php"] {
  justify-content: center;
    background: none;
  align-items: center;
    padding-right: 0;
  white-space: nowrap;
  padding: 0.33rem 0.75rem 0.15rem;
  width: 3.75em;
}
}


/* Кнопка "Вверх": [[Файл:Scroll_top.png]] */
.rule-hidden {
#scroll-top
  display: none;
{
}
display: none;
background: url(https://wiki.ss220.space/images/f/f4/Scroll_top.gif) 0% 0%/38px 38px no-repeat;
opacity: 0.3;
width: 38px;
height: 38px;
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
.rule-name {
{
  padding: 0.33rem 0.75rem 0.15rem;
opacity: 0.8;
}
}


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


/* Стиль таблиц с предметами и т.п. */
/* Стиль таблиц с предметами и т.п. */
.items-table {
.items-table {
width:100%;
  width: 100%;
border:.2em solid #7F7F7F;
  border: var(--border-classic);
border-radius:.5em;
  border-radius: var(--border-radius-medium);
background-color:#CCCCCC;
  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 th {
.items-table td {
border: .2em double #999999;
  background-color: var(--color-bg-section-light);
border-radius:.2em;
  color: var(--color-text);
background-color:#7F7F7F;
  padding: 0.2em;
color:#FFFFFF;
}
padding: .2em;
}


.items-table td {
background-color:#F2F2F2;
color:#000000;
padding: .2em;
}
.items-table:not(.regular) td:not(.regular):first-of-type,
.items-table:not(.regular) td:not(.regular):first-of-type,
td.capital {
td.capital {
background-color: #E5E5E5;
  background-color: var(--color-bg-section-light);
font-weight: bold;
  font-weight: bold;
color: #000;
  color: var(--color-text);
border: .2em solid #999;
  border: var(--border-classic);
border-radius: .2em;
  border-radius: var(--border-radius-small);
text-align: center;
  text-align: center;
}
}
 
/* Цвета охранного отдела */
/* Цвета охранного отдела */
.colors-secure,
.colors-secure,
.colors-Security,
.colors-Security,
tr.colors-secure,
tr.colors-secure,
tr.colors-Security {
tr.colors-Security {
background-color:#BFB9B9; /* Light */
  background-color: var(--security-light);
border-color: #BF4C4C; /* Secondary */
  border-color: var(--security-secondary);
}
}
.colors-secure th,
.colors-secure th,
.colors-Security th,
.colors-Security th,
tr.colors-secure th,
tr.colors-secure th,
tr.colors-Security th {
tr.colors-Security th {
background-color:#BF2626; /* Primary */
  background-color: var(--security-primary);
border-color: #BF1313; /* Primary Bold */
  border-color: var(--security-opaque);
}
}
.colors-secure td,
.colors-secure td,
.colors-Security td,
.colors-Security td,
tr.colors-secure td,
tr.colors-secure td,
tr.colors-Security td {
tr.colors-Security td {
background-color:#F2F2F2; /* Very Light */
  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,
:not(.regular).colors-Security td:not(.regular):first-of-type,
Строка 262: Строка 508:
.colors-Security td.capital,
.colors-Security td.capital,
:not(.regular) tr.colors-secure td:not(.regular):first-of-type,
:not(.regular) tr.colors-secure td:not(.regular):first-of-type,
:not(.regular) tr.colors-Security td:not(.regular):first-of-type {
:not(.regular) tr.colors-Security td:not(.regular):first-of-type {
background-color: #BF4C4C; /* Secondary */
  background-color: var(--security-light);
color: #000000; /* Secondary Text */
  color: var(--color-text);
border-color: #BF1313; /* Primary Bold */
  border-color: var(--security-opaque);
}
}


/* Цвета научного отдела */
/* Цвета научного отдела */
Строка 272: Строка 518:
.colors-Science,
.colors-Science,
tr.colors-science,
tr.colors-science,
tr.colors-Science {
tr.colors-Science {
background-color:#CAC6CC; /* Light */
  background-color: var(--science-light);
border-color: #AA66CC; /* Secondary */
  border-color: var(--science-secondary);
}
}
.colors-science th,
.colors-science th,
.colors-Science th,
.colors-Science th,
tr.colors-science th,
tr.colors-science th,
tr.colors-Science th {
tr.colors-Science th {
background-color:#9C3DCC; /* Primary */
  background-color: var(--science-primary);
border-color: #9528CC; /* Primary Bold */
  border-color: var(--science-opaque);
}
}
.colors-science td,
.colors-science td,
.colors-Science td,
.colors-Science td,
tr.colors-science td,
tr.colors-science td,
tr.colors-Science td {
tr.colors-Science td {
background-color:#F0EBF2; /* Very Light */
  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,
:not(.regular).colors-Science td:not(.regular):first-of-type,
Строка 294: Строка 540:
.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,
:not(.regular) tr.colors-Science td:not(.regular):first-of-type {
:not(.regular) tr.colors-Science td:not(.regular):first-of-type {
background-color: #AA66CC; /* Secondary */
  background-color: var(--science-light);
color: #061306; /* Secondary Text */
  color: var(--color-text);
border-color: #9528CC; /* Primary Bold */
  border-color: var(--science-opaque);
}
}


/* Цвета сервисного отдела */
/* Цвета сервисного отдела */
Строка 304: Строка 550:
.colors-Service,
.colors-Service,
tr.colors-service,
tr.colors-service,
tr.colors-Service {
tr.colors-Service {
background-color:#C6CCC7; /* Light */
  background-color: var(--civilian-light);
border-color: #65B36C; /* Secondary */
  border-color: var(--civilian-secondary);
}
}
.colors-service th,
.colors-service th,
.colors-Service th,
.colors-Service th,
tr.colors-service th,
tr.colors-service th,
tr.colors-Service th {
tr.colors-Service th {
background-color:#2A9633; /* Primary */
  background-color: var(--civilian-primary);
border-color: #0F961A; /* Primary Bold */
  border-color: var(--civilian-opaque);
}
}
.colors-service td,
.colors-service td,
.colors-Service td,
.colors-Service td,
tr.colors-service td,
tr.colors-service td,
tr.colors-Service td {
tr.colors-Service td {
background-color:#EBF2EC; /* Very Light */
  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,
:not(.regular).colors-Service td:not(.regular):first-of-type,
Строка 326: Строка 572:
.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,
:not(.regular) tr.colors-Service td:not(.regular):first-of-type {
:not(.regular) tr.colors-Service td:not(.regular):first-of-type {
background-color: #65B36C; /* Secondary */
  background-color: var(--civilian-light);
color: #000000; /* Secondary Text */
  color: var(--color-text);
border-color: #0F961A; /* Primary Bold */
  border-color: var(--civilian-opaque);
}
}


/* Цвета инженерного отдела */
/* Цвета инженерного отдела */
Строка 336: Строка 582:
.colors-Engineering,
.colors-Engineering,
tr.colors-engine,
tr.colors-engine,
tr.colors-Engineering {
tr.colors-Engineering {
background-color:#CCC0B1; /* Light */
  background-color: var(--engineer-light);
border-color: #FFBA4C; /* Secondary */
  border-color: var(--engineer-secondary);
}
}
.colors-engine th,
.colors-engine th,
.colors-Engineering th,
.colors-Engineering th,
tr.colors-engine th,
tr.colors-engine th,
tr.colors-Engineering th {
tr.colors-Engineering th {
background-color:#FFAA19; /* Primary */
  background-color: var(--engineer-primary);
border-color: #FFA500; /* Primary Bold */
  border-color: var(--engineer-opaque);
}
}
.colors-engine td,
.colors-engine td,
.colors-Engineering td,
.colors-Engineering td,
tr.colors-engine td,
tr.colors-engine td,
tr.colors-Engineering td {
tr.colors-Engineering td {
background-color:#F2E9DE; /* Very Light */
  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,
:not(.regular).colors-Engineering td:not(.regular):first-of-type,
Строка 358: Строка 604:
.colors-Engineering td.capital,
.colors-Engineering td.capital,
:not(.regular) tr.colors-engine td:not(.regular):first-of-type,
:not(.regular) tr.colors-engine td:not(.regular):first-of-type,
:not(.regular) tr.colors-Engineering td:not(.regular):first-of-type {
:not(.regular) tr.colors-Engineering td:not(.regular):first-of-type {
background-color: #FFBA4C; /* Secondary */
  background-color: var(--engineer-light);
color: #000000; /* Secondary Text */
  color: var(--color-text);
border-color: #FFA500; /* Primary Bold */
  border-color: var(--engineer-opaque);
}
}


/* Цвета командного отдела */
/* Цвета командного отдела */
Строка 368: Строка 614:
.colors-Command,
.colors-Command,
tr.colors-command,
tr.colors-command,
tr.colors-Command {
tr.colors-Command {
background-color:#9DAACC; /* Light */
  background-color: var(--command-light);
border-color: #6691FF; /* Secondary */
  border-color: var(--command-secondary);
}
}
.colors-command th,
.colors-command th,
.colors-Command th,
.colors-Command th,
tr.colors-command th,
tr.colors-command th,
tr.colors-Command th {
tr.colors-Command th {
background-color:#3269FF; /* Primary */
  background-color: var(--command-primary);
border-color: #195AFF; /* Primary Bold */
  border-color: var(--command-opaque);
}
}
.colors-command td,
.colors-command td,
.colors-Command td,
.colors-Command td,
tr.colors-command td,
tr.colors-command td,
tr.colors-Command td {
tr.colors-Command td {
background-color:#DEE4F6; /* Very Light */
  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,
:not(.regular).colors-Command td:not(.regular):first-of-type,
Строка 390: Строка 636:
.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,
:not(.regular) tr.colors-Command td:not(.regular):first-of-type {
:not(.regular) tr.colors-Command td:not(.regular):first-of-type {
background-color: #6691FF; /* Secondary */
  background-color: var(--command-light);
color: #FFFFFF; /* Secondary Text */
  color: var(--color-white);
border-color: #195AFF; /* Primary Bold */
  border-color: var(--command-opaque);
}
}


/* Цвета медицинского отдела */
/* Цвета медицинского отдела */
Строка 400: Строка 646:
.colors-Medical,
.colors-Medical,
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,
.colors-Medical th,
.colors-Medical th,
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,
.colors-Medical td,
.colors-Medical td,
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,
:not(.regular).colors-Medical td:not(.regular):first-of-type,
:not(.regular).colors-Medical td:not(.regular):first-of-type,
Строка 422: Строка 668:
.colors-Medical td.capital,
.colors-Medical td.capital,
: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);
}
}


/* Цвета снабжающего отдела */
/* Цвета снабжающего отдела */
Строка 432: Строка 678:
.colors-Supply,
.colors-Supply,
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,
.colors-Supply th,
.colors-Supply th,
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,
.colors-Supply td,
.colors-Supply td,
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,
:not(.regular).colors-Supply td:not(.regular):first-of-type,
:not(.regular).colors-Supply td:not(.regular):first-of-type,
Строка 454: Строка 700:
.colors-Supply td.capital,
.colors-Supply td.capital,
: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);
}
}


/* Цвета планетарного отдела */
/* Цвета планетарного отдела */
Строка 464: Строка 710:
.colors-Lavaland,
.colors-Lavaland,
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,
.colors-Lavaland th,
.colors-Lavaland th,
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,
.colors-Lavaland td,
.colors-Lavaland td,
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,
:not(.regular).colors-Lavaland td:not(.regular):first-of-type,
:not(.regular).colors-Lavaland td:not(.regular):first-of-type,
Строка 486: Строка 732:
.colors-Lavaland td.capital,
.colors-Lavaland td.capital,
: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);
}
}


/* Цвета синтетического отдела */
/* Цвета синтетического отдела */
Строка 496: Строка 742:
.colors-Synthetic,
.colors-Synthetic,
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,
.colors-Synthetic th,
.colors-Synthetic th,
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,
.colors-Synthetic td,
.colors-Synthetic td,
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,
:not(.regular).colors-Synthetic td:not(.regular):first-of-type,
:not(.regular).colors-Synthetic td:not(.regular):first-of-type,
Строка 518: Строка 764:
.colors-Synthetic td.capital,
.colors-Synthetic td.capital,
: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);
}
}


/* Цвета антагского отдела */
/* Цвета антагского отдела */
Строка 528: Строка 774:
.colors-Antagonist,
.colors-Antagonist,
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,
.colors-Antagonist th,
.colors-Antagonist th,
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,
.colors-Antagonist td,
.colors-Antagonist td,
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,
:not(.regular).colors-Antagonist td:not(.regular):first-of-type,
:not(.regular).colors-Antagonist td:not(.regular):first-of-type,
Строка 550: Строка 796:
.colors-Antagonist td.capital,
.colors-Antagonist td.capital,
: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);
}
}


/* Цвета культистского отдела */
/* Цвета культистского отдела */
Строка 560: Строка 806:
.colors-Cultist,
.colors-Cultist,
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,
.colors-Cultist th,
.colors-Cultist th,
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,
.colors-Cultist td,
.colors-Cultist td,
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,
:not(.regular).colors-Cultist td:not(.regular):first-of-type,
:not(.regular).colors-Cultist td:not(.regular):first-of-type,
Строка 582: Строка 828:
.colors-Cultist td.capital,
.colors-Cultist td.capital,
: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);
}
}


/* Цвета ратваровского отдела */
/* Цвета ратваровского отдела */
Строка 592: Строка 838:
.colors-Ratvar,
.colors-Ratvar,
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,
.colors-Ratvar th,
.colors-Ratvar th,
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,
.colors-Ratvar td,
.colors-Ratvar td,
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,
:not(.regular).colors-Ratvar td:not(.regular):first-of-type,
:not(.regular).colors-Ratvar td:not(.regular):first-of-type,
Строка 614: Строка 860:
.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,
: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);
}
}


/* Цвета ксеноморфного отдела */
/* Цвета ксеноморфного отдела */
Строка 624: Строка 870:
.colors-Xenomorph,
.colors-Xenomorph,
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,
.colors-Xenomorph th,
.colors-Xenomorph th,
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,
.colors-Xenomorph td,
.colors-Xenomorph td,
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,
:not(.regular).colors-Xenomorph td:not(.regular):first-of-type,
:not(.regular).colors-Xenomorph td:not(.regular):first-of-type,
Строка 646: Строка 892:
.colors-Xenomorph td.capital,
.colors-Xenomorph td.capital,
: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);
}
}


/* Цвета марининого отдела */
/* Цвета марининого отдела */
Строка 656: Строка 902:
.colors-Marine,
.colors-Marine,
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,
.colors-Marine th,
.colors-Marine th,
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,
.colors-Marine td,
.colors-Marine td,
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,
:not(.regular).colors-Marine td:not(.regular):first-of-type,
:not(.regular).colors-Marine td:not(.regular):first-of-type,
Строка 678: Строка 924:
.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,
: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);
}
}


/* Цвета волшебного отдела */
/* Цвета волшебного отдела */
Строка 688: Строка 934:
.colors-Wizard,
.colors-Wizard,
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,
.colors-Wizard th,
.colors-Wizard th,
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,
.colors-Wizard td,
.colors-Wizard td,
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,
:not(.regular).colors-Wizard td:not(.regular):first-of-type,
:not(.regular).colors-Wizard td:not(.regular):first-of-type,
Строка 710: Строка 956:
.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,
: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);
}
}


/* Цвета похитнического отдела */
/* Цвета похитнического отдела */
Строка 720: Строка 966:
.colors-Abductor,
.colors-Abductor,
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,
.colors-Abductor th,
.colors-Abductor th,
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,
.colors-Abductor td,
.colors-Abductor td,
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,
:not(.regular).colors-Abductor td:not(.regular):first-of-type,
:not(.regular).colors-Abductor td:not(.regular):first-of-type,
Строка 742: Строка 988:
.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,
: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);
}
}


/* Отступы сворачиваемого меню */
.vector-menu-portal {
margin-left: 0.1em;
}
#mw-panel.collapsible-nav .portal .vector-menu-content {
margin-left: 0.5em;
}
/* Цвет заголовков сворачиваемых разделов в sidebar обратно в серый */
/* Цвет заголовков сворачиваемых разделов в sidebar обратно в серый */
#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading,
#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading,
#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;
}
}


/* Прилипающий заголовок */
/* Таблица брони и оружия */
.sticky-head th {
.weapon-table td,
background-image: none !important;
.armor-table {
}
  text-align: center;
.sticky-head abbr {
  table-layout: fixed;
writing-mode:vertical-rl;
  font-weight: bold;
transform: rotate(0.5turn);
}
display: inline-block;
}
.sticky-head thead {
position: sticky;
top: 0.1em;
}
 
{
text-align: center;
font-weight: bold;
}
 
 
.weapon-table td, /* Таблица брони */
.armor-table /* Таблица оружия */ {
text-align: center;
table-layout: fixed;
font-weight: bold;
}


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


/* Таблица контрабанды */
/* Таблица контрабанды */
.ContrabandItemList {
  backdrop-filter: var(--blur-intensity);
}
.ContrabandItemCore {
.ContrabandItemCore {
display:flex;
  display: flex;
flex-flow: row wrap
  flex-flow: row wrap;
}
}
 
.ContrabandItem {
.ContrabandItem {
hyphens: auto;
  hyphens: auto;
text-align:center;
  text-align: center;
border: 1px solid #8d8d8d;
  background-color: var(--color-bg-section);
padding: .25em;
  border: var(--border-classic);
margin: 1px;
  border-radius: var(--border-radius-medium);
flex: 1 0 12em;
  padding: 0.25em;
}
  margin: 0.25em;
  flex: 1 0 12em;
  justify-content: center;
}

Текущая версия от 16:06, 7 ноября 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
 */
.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-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-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);
}

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

/**
 * 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 a {
  display: inline-block;
  margin: 0.25em;
  padding: 0em 0.5em;
  vertical-align: middle;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--border-radius-small);
  transition: background-color var(--transition-time);
}

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

/**
 * 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: Коды угроз
 */
.code-green {
  color: var(--color-green);
}

.code-blue {
  color: var(--color-blue);
}

.code-red {
  color: var(--color-red);
}

.code-gamma {
  color: var(--color-orange);
}

.code-delta {
  color: var(--color-purple);
}

/**
 * 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.5rem 0.6rem;
  text-align: left;
}

/* Стиль таблиц с предметами и т.п. */
.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);
  border-radius: var(--border-radius-medium);
  padding: 0.25em;
  margin: 0.25em;
  flex: 1 0 12em;
  justify-content: center;
}