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

м (no autonum)
Нет описания правки
Строка 1: Строка 1:
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Hide noscript only elements */
.client-js *.noscript {
  display: none;
}
/* Всплывающие окна с информацией */
/* Всплывающие окна с информацией */
.tooltip{
.tooltip {
  display: inline-flex;
   position: relative;
   position: relative;
  align-items: baseline;
}
}


Строка 8: Строка 16:
.tooltiptext2 {
.tooltiptext2 {
   position: absolute;
   position: absolute;
   width: 18em;
  display: inline;
   width: 250px;
  padding: 10px;
  margin-top: 2.5em;
   visibility: hidden;
   visibility: hidden;
   opacity: 0;
   opacity: 0;
   white-space: normal;
   white-space: normal;
   text-align: left;
   text-align: left;
   transition: all 0.2s;
  border: 1px solid var(--color-border);
   border: 1px solid #aaa;
   transition: all var(--transition-time);
   transition-delay: var(--transition-delay);
  z-index: 5;
}
}
.tooltiptext {
.tooltiptext {
   display: block;
   background-color: var(--color-bg);
  z-index: 2;
  padding: 20px;
  background-color: #ffdd66;
}
}
.tooltiptext2 {
.tooltiptext2 {
display:inline;
  background-color: var(--color-bg-section-light-opaque);
z-index: 100;
padding: 0.2em;
background-color: #FEF6E7;
border-radius: .2em;
top:1.5em;
left:1em;
box-shadow: 0 0 .3em #999;
}
}


Строка 37: Строка 42:
   display: block;
   display: block;
   z-index: 2;
   z-index: 2;
   max-width:600px;
   max-width: 600px;
   width:max-content;
   width: max-content;
   padding: 10px;
   padding: 10px;
   top:11pt;
   top: 11pt;
   right:-55px;
   right: -55px;
   visibility: hidden;
   visibility: hidden;
   opacity: 0;
   opacity: 0;
Строка 47: Строка 52:
   text-align: left;
   text-align: left;
   transition: all 0.2s;
   transition: all 0.2s;
   border: 1px solid #666;
   border: var(--border-classic);
   background-color: #ff6666;
   background-color: var(--color-notice-brown);
}
}


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


/* hide the "Retrieved from" message */
.tooltip:hover > .tooltiptable {
.printfooter {
   visibility: visible;
   display: none;
  opacity: 1;
}
}


div.tabcontent{
/* Mark internal links as plain */
    display:none
#content a.external[href^="http://wiki.ss220.space/index.php"],
}
  #content a.external[href^="https://wiki.ss220.space/index.php"],
div.tabcontent.current{
  #content a.external[href^="//wiki.ss220.space/index.php"]
    display:block
{
}
  background: none;
div.switchtab.label.current{
  padding-right: 0;
    color:#000;
    background-color:#00FF00
}
div.kaskadavionics{
    background-image:url(https://wiki.armaproject.ru/resources/assets/Kaskad_avionics.png)
}
div.divbutton:target{
    cursor: pointer;
    display: none;
    width: auto;
    height: auto;
}
div.divbutton:target::before{
    cursor: pointer;
    width: 80%;
    height: auto;
}
.kaskadavionics_menu_button a{
    display:block;
    text-align:center;
    line-height:19px !important;
    font-size:13px;
    color:#00FF00 !important;
    text-decoration:none
}
.kaskadavionics_menu_button a:hover{
    text-decoration:none;
    display:block;
    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;
.items-table {
    image-rendering: -webkit-optimize-contrast;
  width: 100%;
    image-rendering: optimize-contrast;
  border: var(--border-classic);
    image-rendering: -moz-crisp-edges;
  border-radius: var(--border-radius-medium);
    image-rendering: -o-crisp-edges;
  background-color: var(--color-bg-section-light-opaque);
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}
}


/* Горизонтальный список */
.items-table th {
#mw-content-text .hlist ul {
  border: 0.2em double var(--color-border);
    display: inline;
  border-radius: var(--border-radius-small);
    margin: 0;
  background-color: var(--color-bg-section-light);
    padding: 0;
  color: var(--color-text);
}
  padding: 0.2em;
#mw-content-text .hlist li {
    display: inline;
}
#mw-content-text .hlist li:not(:last-child) {
    padding-right: 0.286em;
}
#mw-content-text .hlist li:not(:last-child)::after {
    content: "";
    display: inline-block;
    position: relative;
    left: 0.286em;
    bottom: 0.214em;
    background-color: #000;
    height: 3px;
    width: 3px;
}
#mw-content-text .hlist li li:first-child::before {
    content: "(";
    font-weight: normal;
}
#mw-content-text .hlist li li:last-child::after {
    content: ")";
    font-weight: normal;
}
#mw-content-text .hlist li li li {
    font-size: x-small;
}
}


/* Simulate link styling for JS only links */
.items-table td {
.jslink {
  background-color: var(--color-bg-section-light);
    color: #0645AD;
  color: var(--color-text);
    -webkit-user-select: none;
  padding: 0.2em;
      -moz-user-select: none;
        -ms-user-select: none;
    outline: none;
}
}
.jslink:hover {
.items-table:not(.regular) td:not(.regular):first-of-type,
    text-decoration: underline;
td.capital {
    cursor: pointer;
  background-color: var(--color-bg-section-light);
}
  font-weight: bold;
.jslink:active {
  color: var(--color-text);
    color: #FAA700;
  border: var(--border-classic);
}
  border-radius: var(--border-radius-small);
 
  text-align: center;
/* Hide noscript only elements */
.client-js *.noscript {
    display: none;
}
}
/* Mark internal links as plain */
#content a.external[href^="http://wiki.ss220.space/index.php"],
#content a.external[href^="https://wiki.ss220.space/index.php"],
#content a.external[href^="//wiki.ss220.space/index.php"] {
    background: none;
    padding-right: 0;
}
/* Кнопка "Вверх": [[Файл:Scroll_top.png]] */
#scroll-top
{
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
{
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,
.colors-Security,
.colors-Security,
tr.colors-secure,
tr.colors-secure,
tr.colors-Security {
tr.colors-Security {
background-color:#BFB9B9; /* Light */
  background-color: #bfb9b9; /* Light */
border-color: #BF4C4C; /* Secondary */
  border-color: #bf4c4c; /* 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: #bf2626; /* Primary */
border-color: #BF1313; /* Primary Bold */
  border-color: #bf1313; /* Primary Bold */
}
}
.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: #f2f2f2; /* Very Light */
}
}
: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: Строка 136:
.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: #bf4c4c; /* Secondary */
color: #000000; /* Secondary Text */
  color: #000000; /* Secondary Text */
border-color: #BF1313; /* Primary Bold */
  border-color: #bf1313; /* Primary Bold */
}
}


/* Цвета научного отдела */
/* Цвета научного отдела */
Строка 272: Строка 146:
.colors-Science,
.colors-Science,
tr.colors-science,
tr.colors-science,
tr.colors-Science {
tr.colors-Science {
background-color:#CAC6CC; /* Light */
  background-color: #cac6cc; /* Light */
border-color: #AA66CC; /* Secondary */
  border-color: #aa66cc; /* 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: #9c3dcc; /* Primary */
border-color: #9528CC; /* Primary Bold */
  border-color: #9528cc; /* Primary Bold */
}
}
.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: #f0ebf2; /* Very Light */
}
}
: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: Строка 168:
.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: #aa66cc; /* Secondary */
color: #061306; /* Secondary Text */
  color: #061306; /* Secondary Text */
border-color: #9528CC; /* Primary Bold */
  border-color: #9528cc; /* Primary Bold */
}
}


/* Цвета сервисного отдела */
/* Цвета сервисного отдела */
Строка 304: Строка 178:
.colors-Service,
.colors-Service,
tr.colors-service,
tr.colors-service,
tr.colors-Service {
tr.colors-Service {
background-color:#C6CCC7; /* Light */
  background-color: #c6ccc7; /* Light */
border-color: #65B36C; /* Secondary */
  border-color: #65b36c; /* 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: #2a9633; /* Primary */
border-color: #0F961A; /* Primary Bold */
  border-color: #0f961a; /* Primary Bold */
}
}
.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: #ebf2ec; /* Very Light */
}
}
: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: Строка 200:
.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: #65b36c; /* Secondary */
color: #000000; /* Secondary Text */
  color: #000000; /* Secondary Text */
border-color: #0F961A; /* Primary Bold */
  border-color: #0f961a; /* Primary Bold */
}
}


/* Цвета инженерного отдела */
/* Цвета инженерного отдела */
Строка 336: Строка 210:
.colors-Engineering,
.colors-Engineering,
tr.colors-engine,
tr.colors-engine,
tr.colors-Engineering {
tr.colors-Engineering {
background-color:#CCC0B1; /* Light */
  background-color: #ccc0b1; /* Light */
border-color: #FFBA4C; /* Secondary */
  border-color: #ffba4c; /* 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: #ffaa19; /* Primary */
border-color: #FFA500; /* Primary Bold */
  border-color: #ffa500; /* Primary Bold */
}
}
.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: #f2e9de; /* Very Light */
}
}
: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: Строка 232:
.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: #ffba4c; /* Secondary */
color: #000000; /* Secondary Text */
  color: #000000; /* Secondary Text */
border-color: #FFA500; /* Primary Bold */
  border-color: #ffa500; /* Primary Bold */
}
}


/* Цвета командного отдела */
/* Цвета командного отдела */
Строка 368: Строка 242:
.colors-Command,
.colors-Command,
tr.colors-command,
tr.colors-command,
tr.colors-Command {
tr.colors-Command {
background-color:#9DAACC; /* Light */
  background-color: #9daacc; /* Light */
border-color: #6691FF; /* Secondary */
  border-color: #6691ff; /* 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: #3269ff; /* Primary */
border-color: #195AFF; /* Primary Bold */
  border-color: #195aff; /* Primary Bold */
}
}
.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: #dee4f6; /* Very Light */
}
}
: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: Строка 264:
.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: #6691ff; /* Secondary */
color: #FFFFFF; /* Secondary Text */
  color: #ffffff; /* Secondary Text */
border-color: #195AFF; /* Primary Bold */
  border-color: #195aff; /* Primary Bold */
}
}


/* Цвета медицинского отдела */
/* Цвета медицинского отдела */
Строка 400: Строка 274:
.colors-Medical,
.colors-Medical,
tr.colors-medik,
tr.colors-medik,
tr.colors-Medical {
tr.colors-Medical {
background-color:#9DBACC; /* Light */
  background-color: #9dbacc; /* Light */
border-color: #66C6FF; /* Secondary */
  border-color: #66c6ff; /* 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: #32b0ff; /* Primary */
border-color: #19A7FF; /* Primary Bold */
  border-color: #19a7ff; /* Primary Bold */
}
}
.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: #daedf9; /* Very Light */
}
}
: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: Строка 296:
.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: #66c6ff; /* Secondary */
color: #000000; /* Secondary Text */
  color: #000000; /* Secondary Text */
border-color: #19A7FF; /* Primary Bold */
  border-color: #19a7ff; /* Primary Bold */
}
}


/* Цвета снабжающего отдела */
/* Цвета снабжающего отдела */
Строка 432: Строка 306:
.colors-Supply,
.colors-Supply,
tr.colors-suply,
tr.colors-suply,
tr.colors-Supply {
tr.colors-Supply {
background-color:#CCB49D; /* Light */
  background-color: #ccb49d; /* Light */
border-color: #77552F; /* Secondary */
  border-color: #77552f; /* 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: #7c4c18; /* Primary */
border-color: #7A450C; /* Primary Bold */
  border-color: #7a450c; /* Primary Bold */
}
}
.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: #f9eadc; /* Very Light */
}
}
: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: Строка 328:
.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: #77552f; /* Secondary */
color: #0D150D; /* Secondary Text */
  color: #0d150d; /* Secondary Text */
border-color: #7A450C; /* Primary Bold */
  border-color: #7a450c; /* Primary Bold */
}
}


/* Цвета планетарного отдела */
/* Цвета планетарного отдела */
Строка 464: Строка 338:
.colors-Lavaland,
.colors-Lavaland,
tr.colors-lava,
tr.colors-lava,
tr.colors-Lavaland {
tr.colors-Lavaland {
background-color:#CCA99D; /* Light */
  background-color: #cca99d; /* Light */
border-color: #ED8A63; /* Secondary */
  border-color: #ed8a63; /* 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: #ee6a34; /* Primary */
border-color: #ED571C; /* Primary Bold */
  border-color: #ed571c; /* Primary Bold */
}
}
.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: #f8e9e4; /* Very Light */
}
}
: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: Строка 360:
.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: #ed8a63; /* Secondary */
color: #000000; /* Secondary Text */
  color: #000000; /* Secondary Text */
border-color: #ED571C; /* Primary Bold */
  border-color: #ed571c; /* Primary Bold */
}
}


/* Цвета синтетического отдела */
/* Цвета синтетического отдела */
Строка 496: Строка 370:
.colors-Synthetic,
.colors-Synthetic,
tr.colors-synth,
tr.colors-synth,
tr.colors-Synthetic {
tr.colors-Synthetic {
background-color:#9DB3CC; /* Light */
  background-color: #9db3cc; /* Light */
border-color: #4C82BF; /* Secondary */
  border-color: #4c82bf; /* 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: #2770c4; /* Primary */
border-color: #1364C1; /* Primary Bold */
  border-color: #1364c1; /* Primary Bold */
}
}
.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: #deebf9; /* Very Light */
}
}
: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: Строка 392:
.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: #4c82bf; /* Secondary */
color: #FFFFFF; /* Secondary Text */
  color: #ffffff; /* Secondary Text */
border-color: #1364C1; /* Primary Bold */
  border-color: #1364c1; /* Primary Bold */
}
}


/* Цвета антагского отдела */
/* Цвета антагского отдела */
Строка 528: Строка 402:
.colors-Antagonist,
.colors-Antagonist,
tr.colors-antag,
tr.colors-antag,
tr.colors-Antagonist {
tr.colors-Antagonist {
background-color:#CC9D9D; /* Light */
  background-color: #cc9d9d; /* Light */
border-color: #4C1E1E; /* Secondary */
  border-color: #4c1e1e; /* 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: #190505; /* Primary */
border-color: #160202; /* Primary Bold */
  border-color: #160202; /* Primary Bold */
}
}
.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: #faeaea; /* Very Light */
}
}
: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: Строка 424:
.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: #4c1e1e; /* Secondary */
color: #D80A0A; /* Secondary Text */
  color: #d80a0a; /* Secondary Text */
border-color: #160202; /* Primary Bold */
  border-color: #160202; /* Primary Bold */
}
}


/* Цвета культистского отдела */
/* Цвета культистского отдела */
Строка 560: Строка 434:
.colors-Cultist,
.colors-Cultist,
tr.colors-cult,
tr.colors-cult,
tr.colors-Cultist {
tr.colors-Cultist {
background-color:#CC9D9D; /* Light */
  background-color: #cc9d9d; /* Light */
border-color: #4C1E1E; /* Secondary */
  border-color: #4c1e1e; /* 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: #190505; /* Primary */
border-color: #160202; /* Primary Bold */
  border-color: #160202; /* Primary Bold */
}
}
.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: #faeaea; /* Very Light */
}
}
: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: Строка 456:
.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: #4c1e1e; /* Secondary */
color: #D80A0A; /* Secondary Text */
  color: #d80a0a; /* Secondary Text */
border-color: #160202; /* Primary Bold */
  border-color: #160202; /* Primary Bold */
}
}


/* Цвета ратваровского отдела */
/* Цвета ратваровского отдела */
Строка 592: Строка 466:
.colors-Ratvar,
.colors-Ratvar,
tr.colors-ratvar,
tr.colors-ratvar,
tr.colors-Ratvar {
tr.colors-Ratvar {
background-color:#4A340D; /* Light */
  background-color: #4a340d; /* Light */
border-color: #332409; /* Secondary */
  border-color: #332409; /* 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: #825b17; /* Primary */
border-color: #6C4B13; /* Primary Bold */
  border-color: #6c4b13; /* Primary Bold */
}
}
.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: #e1d9c6; /* Very Light */
}
}
: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: Строка 488:
.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: #332409; /* Secondary */
color: #FFFFFF; /* Secondary Text */
  color: #ffffff; /* Secondary Text */
border-color: #6C4B13; /* Primary Bold */
  border-color: #6c4b13; /* Primary Bold */
}
}


/* Цвета ксеноморфного отдела */
/* Цвета ксеноморфного отдела */
Строка 624: Строка 498:
.colors-Xenomorph,
.colors-Xenomorph,
tr.colors-xenom,
tr.colors-xenom,
tr.colors-Xenomorph {
tr.colors-Xenomorph {
background-color:#958FB2; /* Light */
  background-color: #958fb2; /* Light */
border-color: #4C4666; /* Secondary */
  border-color: #4c4666; /* 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: #312d43; /* Primary */
border-color: #252138; /* Primary Bold */
  border-color: #252138; /* Primary Bold */
}
}
.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: #e5def9; /* Very Light */
}
}
: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: Строка 520:
.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: #4c4666; /* Secondary */
color: #FFFFFF; /* Secondary Text */
  color: #ffffff; /* Secondary Text */
border-color: #252138; /* Primary Bold */
  border-color: #252138; /* Primary Bold */
}
}


/* Цвета марининого отдела */
/* Цвета марининого отдела */
Строка 656: Строка 530:
.colors-Marine,
.colors-Marine,
tr.colors-marine,
tr.colors-marine,
tr.colors-Marine {
tr.colors-Marine {
background-color:#90A1B8; /* Light */
  background-color: #90a1b8; /* Light */
border-color: #48648A; /* Secondary */
  border-color: #48648a; /* 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: #2c4c7b; /* Primary */
border-color: #27426D; /* Primary Bold */
  border-color: #27426d; /* Primary Bold */
}
}
.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: #d2def0; /* Very Light */
}
}
: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: Строка 552:
.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: #48648a; /* Secondary */
color: #000000; /* Secondary Text */
  color: #000000; /* Secondary Text */
border-color: #27426D; /* Primary Bold */
  border-color: #27426d; /* Primary Bold */
}
}


/* Цвета волшебного отдела */
/* Цвета волшебного отдела */
Строка 688: Строка 562:
.colors-Wizard,
.colors-Wizard,
tr.colors-wizard,
tr.colors-wizard,
tr.colors-Wizard {
tr.colors-Wizard {
background-color:#AB9DCC; /* Light */
  background-color: #ab9dcc; /* Light */
border-color: #9866FF; /* Secondary */
  border-color: #9866ff; /* 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: #7d32ff; /* Primary */
border-color: #6919FF; /* Primary Bold */
  border-color: #6919ff; /* Primary Bold */
}
}
.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: #e5def9; /* Very Light */
}
}
: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: Строка 584:
.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: #9866ff; /* Secondary */
color: #000000; /* Secondary Text */
  color: #000000; /* Secondary Text */
border-color: #6919FF; /* Primary Bold */
  border-color: #6919ff; /* Primary Bold */
}
}


/* Цвета похитнического отдела */
/* Цвета похитнического отдела */
Строка 720: Строка 594:
.colors-Abductor,
.colors-Abductor,
tr.colors-abductor,
tr.colors-abductor,
tr.colors-Abductor {
tr.colors-Abductor {
background-color:#CCCCCC; /* Light */
  background-color: #cccccc; /* Light */
border-color: #E5E5E5; /* Secondary */
  border-color: #e5e5e5; /* 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: #7f7f7f; /* Primary */
border-color: #999999; /* Primary Bold */
  border-color: #999999; /* Primary Bold */
}
}
.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: #f2f2f2; /* Very Light */
}
}
: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: Строка 616:
.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: #e5e5e5; /* Secondary */
color: #000000; /* Secondary Text */
  color: #000000; /* Secondary Text */
border-color: #999999; /* Primary Bold */
  border-color: #999999; /* Primary Bold */
}
}


/* Отступы сворачиваемого меню */
.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: #54595d;
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;
}
}


/* Таблица контрабанды */
/* Таблица контрабанды */
.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;
  border: var(--border-classic);
padding: .25em;
  padding: 0.25em;
margin: 1px;
  margin: 1px;
flex: 1 0 12em;
  flex: 1 0 12em;
}
}
 
.noautonum .tocnumber { display: none; }

Версия от 14:54, 18 мая 2024

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Цвета охранного отдела */
.colors-secure,
.colors-Security,
tr.colors-secure,
tr.colors-Security {
  background-color: #bfb9b9; /* Light */
  border-color: #bf4c4c; /* Secondary */
}
.colors-secure th,
.colors-Security th,
tr.colors-secure th,
tr.colors-Security th {
  background-color: #bf2626; /* Primary */
  border-color: #bf1313; /* Primary Bold */
}
.colors-secure td,
.colors-Security td,
tr.colors-secure td,
tr.colors-Security td {
  background-color: #f2f2f2; /* Very Light */
}
: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: #bf4c4c; /* Secondary */
  color: #000000; /* Secondary Text */
  border-color: #bf1313; /* Primary Bold */
}

/* Цвета научного отдела */
.colors-science,
.colors-Science,
tr.colors-science,
tr.colors-Science {
  background-color: #cac6cc; /* Light */
  border-color: #aa66cc; /* Secondary */
}
.colors-science th,
.colors-Science th,
tr.colors-science th,
tr.colors-Science th {
  background-color: #9c3dcc; /* Primary */
  border-color: #9528cc; /* Primary Bold */
}
.colors-science td,
.colors-Science td,
tr.colors-science td,
tr.colors-Science td {
  background-color: #f0ebf2; /* Very Light */
}
: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: #aa66cc; /* Secondary */
  color: #061306; /* Secondary Text */
  border-color: #9528cc; /* Primary Bold */
}

/* Цвета сервисного отдела */
.colors-service,
.colors-Service,
tr.colors-service,
tr.colors-Service {
  background-color: #c6ccc7; /* Light */
  border-color: #65b36c; /* Secondary */
}
.colors-service th,
.colors-Service th,
tr.colors-service th,
tr.colors-Service th {
  background-color: #2a9633; /* Primary */
  border-color: #0f961a; /* Primary Bold */
}
.colors-service td,
.colors-Service td,
tr.colors-service td,
tr.colors-Service td {
  background-color: #ebf2ec; /* Very Light */
}
: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: #65b36c; /* Secondary */
  color: #000000; /* Secondary Text */
  border-color: #0f961a; /* Primary Bold */
}

/* Цвета инженерного отдела */
.colors-engine,
.colors-Engineering,
tr.colors-engine,
tr.colors-Engineering {
  background-color: #ccc0b1; /* Light */
  border-color: #ffba4c; /* Secondary */
}
.colors-engine th,
.colors-Engineering th,
tr.colors-engine th,
tr.colors-Engineering th {
  background-color: #ffaa19; /* Primary */
  border-color: #ffa500; /* Primary Bold */
}
.colors-engine td,
.colors-Engineering td,
tr.colors-engine td,
tr.colors-Engineering td {
  background-color: #f2e9de; /* Very Light */
}
: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: #ffba4c; /* Secondary */
  color: #000000; /* Secondary Text */
  border-color: #ffa500; /* Primary Bold */
}

/* Цвета командного отдела */
.colors-command,
.colors-Command,
tr.colors-command,
tr.colors-Command {
  background-color: #9daacc; /* Light */
  border-color: #6691ff; /* Secondary */
}
.colors-command th,
.colors-Command th,
tr.colors-command th,
tr.colors-Command th {
  background-color: #3269ff; /* Primary */
  border-color: #195aff; /* Primary Bold */
}
.colors-command td,
.colors-Command td,
tr.colors-command td,
tr.colors-Command td {
  background-color: #dee4f6; /* Very Light */
}
: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: #6691ff; /* Secondary */
  color: #ffffff; /* Secondary Text */
  border-color: #195aff; /* Primary Bold */
}

/* Цвета медицинского отдела */
.colors-medik,
.colors-Medical,
tr.colors-medik,
tr.colors-Medical {
  background-color: #9dbacc; /* Light */
  border-color: #66c6ff; /* Secondary */
}
.colors-medik th,
.colors-Medical th,
tr.colors-medik th,
tr.colors-Medical th {
  background-color: #32b0ff; /* Primary */
  border-color: #19a7ff; /* Primary Bold */
}
.colors-medik td,
.colors-Medical td,
tr.colors-medik td,
tr.colors-Medical td {
  background-color: #daedf9; /* Very Light */
}
: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: #66c6ff; /* Secondary */
  color: #000000; /* Secondary Text */
  border-color: #19a7ff; /* Primary Bold */
}

/* Цвета снабжающего отдела */
.colors-suply,
.colors-Supply,
tr.colors-suply,
tr.colors-Supply {
  background-color: #ccb49d; /* Light */
  border-color: #77552f; /* Secondary */
}
.colors-suply th,
.colors-Supply th,
tr.colors-suply th,
tr.colors-Supply th {
  background-color: #7c4c18; /* Primary */
  border-color: #7a450c; /* Primary Bold */
}
.colors-suply td,
.colors-Supply td,
tr.colors-suply td,
tr.colors-Supply td {
  background-color: #f9eadc; /* Very Light */
}
: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: #77552f; /* Secondary */
  color: #0d150d; /* Secondary Text */
  border-color: #7a450c; /* Primary Bold */
}

/* Цвета планетарного отдела */
.colors-lava,
.colors-Lavaland,
tr.colors-lava,
tr.colors-Lavaland {
  background-color: #cca99d; /* Light */
  border-color: #ed8a63; /* Secondary */
}
.colors-lava th,
.colors-Lavaland th,
tr.colors-lava th,
tr.colors-Lavaland th {
  background-color: #ee6a34; /* Primary */
  border-color: #ed571c; /* Primary Bold */
}
.colors-lava td,
.colors-Lavaland td,
tr.colors-lava td,
tr.colors-Lavaland td {
  background-color: #f8e9e4; /* Very Light */
}
: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: #ed8a63; /* Secondary */
  color: #000000; /* Secondary Text */
  border-color: #ed571c; /* Primary Bold */
}

/* Цвета синтетического отдела */
.colors-synth,
.colors-Synthetic,
tr.colors-synth,
tr.colors-Synthetic {
  background-color: #9db3cc; /* Light */
  border-color: #4c82bf; /* Secondary */
}
.colors-synth th,
.colors-Synthetic th,
tr.colors-synth th,
tr.colors-Synthetic th {
  background-color: #2770c4; /* Primary */
  border-color: #1364c1; /* Primary Bold */
}
.colors-synth td,
.colors-Synthetic td,
tr.colors-synth td,
tr.colors-Synthetic td {
  background-color: #deebf9; /* Very Light */
}
: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: #4c82bf; /* Secondary */
  color: #ffffff; /* Secondary Text */
  border-color: #1364c1; /* Primary Bold */
}

/* Цвета антагского отдела */
.colors-antag,
.colors-Antagonist,
tr.colors-antag,
tr.colors-Antagonist {
  background-color: #cc9d9d; /* Light */
  border-color: #4c1e1e; /* Secondary */
}
.colors-antag th,
.colors-Antagonist th,
tr.colors-antag th,
tr.colors-Antagonist th {
  background-color: #190505; /* Primary */
  border-color: #160202; /* Primary Bold */
}
.colors-antag td,
.colors-Antagonist td,
tr.colors-antag td,
tr.colors-Antagonist td {
  background-color: #faeaea; /* Very Light */
}
: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: #4c1e1e; /* Secondary */
  color: #d80a0a; /* Secondary Text */
  border-color: #160202; /* Primary Bold */
}

/* Цвета культистского отдела */
.colors-cult,
.colors-Cultist,
tr.colors-cult,
tr.colors-Cultist {
  background-color: #cc9d9d; /* Light */
  border-color: #4c1e1e; /* Secondary */
}
.colors-cult th,
.colors-Cultist th,
tr.colors-cult th,
tr.colors-Cultist th {
  background-color: #190505; /* Primary */
  border-color: #160202; /* Primary Bold */
}
.colors-cult td,
.colors-Cultist td,
tr.colors-cult td,
tr.colors-Cultist td {
  background-color: #faeaea; /* Very Light */
}
: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: #4c1e1e; /* Secondary */
  color: #d80a0a; /* Secondary Text */
  border-color: #160202; /* Primary Bold */
}

/* Цвета ратваровского отдела */
.colors-ratvar,
.colors-Ratvar,
tr.colors-ratvar,
tr.colors-Ratvar {
  background-color: #4a340d; /* Light */
  border-color: #332409; /* Secondary */
}
.colors-ratvar th,
.colors-Ratvar th,
tr.colors-ratvar th,
tr.colors-Ratvar th {
  background-color: #825b17; /* Primary */
  border-color: #6c4b13; /* Primary Bold */
}
.colors-ratvar td,
.colors-Ratvar td,
tr.colors-ratvar td,
tr.colors-Ratvar td {
  background-color: #e1d9c6; /* Very Light */
}
: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: #332409; /* Secondary */
  color: #ffffff; /* Secondary Text */
  border-color: #6c4b13; /* Primary Bold */
}

/* Цвета ксеноморфного отдела */
.colors-xenom,
.colors-Xenomorph,
tr.colors-xenom,
tr.colors-Xenomorph {
  background-color: #958fb2; /* Light */
  border-color: #4c4666; /* Secondary */
}
.colors-xenom th,
.colors-Xenomorph th,
tr.colors-xenom th,
tr.colors-Xenomorph th {
  background-color: #312d43; /* Primary */
  border-color: #252138; /* Primary Bold */
}
.colors-xenom td,
.colors-Xenomorph td,
tr.colors-xenom td,
tr.colors-Xenomorph td {
  background-color: #e5def9; /* Very Light */
}
: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: #4c4666; /* Secondary */
  color: #ffffff; /* Secondary Text */
  border-color: #252138; /* Primary Bold */
}

/* Цвета марининого отдела */
.colors-marine,
.colors-Marine,
tr.colors-marine,
tr.colors-Marine {
  background-color: #90a1b8; /* Light */
  border-color: #48648a; /* Secondary */
}
.colors-marine th,
.colors-Marine th,
tr.colors-marine th,
tr.colors-Marine th {
  background-color: #2c4c7b; /* Primary */
  border-color: #27426d; /* Primary Bold */
}
.colors-marine td,
.colors-Marine td,
tr.colors-marine td,
tr.colors-Marine td {
  background-color: #d2def0; /* Very Light */
}
: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: #48648a; /* Secondary */
  color: #000000; /* Secondary Text */
  border-color: #27426d; /* Primary Bold */
}

/* Цвета волшебного отдела */
.colors-wizard,
.colors-Wizard,
tr.colors-wizard,
tr.colors-Wizard {
  background-color: #ab9dcc; /* Light */
  border-color: #9866ff; /* Secondary */
}
.colors-wizard th,
.colors-Wizard th,
tr.colors-wizard th,
tr.colors-Wizard th {
  background-color: #7d32ff; /* Primary */
  border-color: #6919ff; /* Primary Bold */
}
.colors-wizard td,
.colors-Wizard td,
tr.colors-wizard td,
tr.colors-Wizard td {
  background-color: #e5def9; /* Very Light */
}
: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: #9866ff; /* Secondary */
  color: #000000; /* Secondary Text */
  border-color: #6919ff; /* Primary Bold */
}

/* Цвета похитнического отдела */
.colors-abductor,
.colors-Abductor,
tr.colors-abductor,
tr.colors-Abductor {
  background-color: #cccccc; /* Light */
  border-color: #e5e5e5; /* Secondary */
}
.colors-abductor th,
.colors-Abductor th,
tr.colors-abductor th,
tr.colors-Abductor th {
  background-color: #7f7f7f; /* Primary */
  border-color: #999999; /* Primary Bold */
}
.colors-abductor td,
.colors-Abductor td,
tr.colors-abductor td,
tr.colors-Abductor td {
  background-color: #f2f2f2; /* Very Light */
}
: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: #e5e5e5; /* Secondary */
  color: #000000; /* Secondary Text */
  border-color: #999999; /* Primary Bold */
}

/* Цвет заголовков сворачиваемых разделов в 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;
}

/* Таблица брони и оружия */
.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;
}

/* Таблица контрабанды */
.ContrabandItemCore {
  display: flex;
  flex-flow: row wrap;
}

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