MediaWiki:Common.css
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Всплывающие окна с информацией */
.tooltip{
position: relative;
}
.tooltiptext,
.tooltiptext2 {
position: absolute;
width: 18em;
visibility: hidden;
opacity: 0;
white-space: normal;
text-align: left;
transition: all 0.2s;
border: 1px solid #aaa;
}
.tooltiptext {
display: block;
z-index: 2;
padding: 20px;
background-color: #ffdd66;
}
.tooltiptext2 {
display:inline;
z-index: 100;
padding: 0.2em;
background-color: #FEF6E7;
border-radius: .2em;
top:1.5em;
left:1em;
box-shadow: 0 0 .3em #999;
}
.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: 1px solid #666;
background-color: #ff6666;
}
.tooltip:hover>.tooltiptext,
.tooltip:hover>.tooltiptext2,
.tooltip:hover>.tooltiptable {
visibility: visible;
opacity: 1;
}
/* hide the "Retrieved from" message */
.printfooter {
display: none;
}
div.tabcontent{
display:none
}
div.tabcontent.current{
display:block
}
div.switchtab.label.current{
color:#000;
background-color:#00FF00
}
div.divbutton:target{
cursor: pointer;
display: none;
width: auto;
height: auto;
}
div.divbutton:target::before{
cursor: pointer;
width: 80%;
height: auto;
}
/* Убираем размытие со всех изображений */
img {
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;
}
/* Горизонтальный список */
#mw-content-text .hlist ul {
display: inline;
margin: 0;
padding: 0;
}
#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 */
.jslink {
color: #0645AD;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
outline: none;
}
.jslink:hover {
text-decoration: underline;
cursor: pointer;
}
.jslink:active {
color: #FAA700;
}
/* 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-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:#E59E1F; /* Primary */
border-color: #CC8800; /* 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: #CC8800; /* 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 */
}
/* Отступы сворачиваемого меню */
.vector-menu-portal {
margin-left: 0.1em;
}
#mw-panel.collapsible-nav .portal .vector-menu-content {
margin-left: 0.5em;
}
/* Цвет заголовков сворачиваемых разделов в sidebar обратно в серый */
#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading,
#mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading:hover,
#mw-panel.collapsible-nav .portal .vector-menu-heading * {
color: #54595d;
text-decoration: none;
}
/* Прилипающий заголовок */
.sticky-head th {
background-image: none !important;
min-width: 1.67em;
padding-right: 0.2em !important;
}
.sticky-head abbr {
writing-mode:vertical-rl;
transform: rotate(0.5turn);
display: inline-block;
}
.sortable.sticky-head thead,
:not(.sortable).sticky-head tr:first-of-type {
position: sticky;
top: 0.1em;
}
.proto-table, /* Таблица для факбрикатора, принтера плат и т.п. */
.weapon-table td, /* Таблица брони */
.armor-table td /* Таблица оружия */ {
text-align: center;
table-layout: fixed;
}
.weapon-table td,
.armor-table td {
font-weight: bold;
}
/* Таблица охранного снаряжения (просто центриурет ячейки кроме последней */
.sec-table td:not(:last-of-type) {
text-align: center;
}
/* Последний столбец */
.proto-table td:last-of-type,
.weapon-table td:last-of-type,
.armor-table td:last-of-type {
text-align: left;
font-weight: unset;
}
.proto-table td:nth-of-type(3n) {
background-color: #e6d1ee;
}
/* Таблица контрабанды */
.ContrabandItemCore {
display:flex;
flex-flow: row wrap
}
.ContrabandItem {
hyphens: auto;
text-align:center;
border: 1px solid #8d8d8d;
padding: .25em;
margin: 1px;
flex: 1 0 12em;
}
/* Таблицы емага */
.emag-table td:nth-of-type(2) {
text-align: center;
}
/* Таблицы имплантов и таблицы ящиков из карго */
.implants td:nth-of-type(2),
.kargotable td:nth-of-type(2),
.kargotable td:nth-of-type(5) {
text-align: center;
font-weight: bold;
}
/* Какую ширину указываем, та и будет применятся без растягивания */
.hard-table {
table-layout: fixed;
}
/* [[Шаблон:Main]] */
.dablink {
margin-left: 2em;
margin-bottom: 0.5em;
font-style: italic;
}
.dablink a {
font-weight: bold;
}
/* [[Шаблон:Кнопка]] */
.keyboard-key {
border: 0.1em solid #AAA;
border-radius: 0.2em;
box-shadow: 0.1em 0.2em 0.2em(#DDD);
background-color: #F9F9F9;
background-image: -moz-linear-gradient(#EEE, #F9F9F9, #EEE);
background-image: -ms-linear-gradient(#EEE, #F9F9F9, #EEE);
background-image: -o-linear-gradient(#EEE, #F9F9F9, #EEE);
background-image: -webkit-linear-gradient(#EEE, #F9F9F9, #EEE);
background-image: linear-gradient(#EEE, #F9F9F9, #EEE);
padding: 0.1em 0.3em;
font-family: inheri;
font-size: 0.85em;
}
/* Generic styling for animation class */
.animated > *:not(.active):not(.skip),
.paused > *:not(.active):not(.skip) {
display: none;
}
/* ---- Карточки страниц (PageButton), оформление под скин TGUI ---- */
.pagebutton {
--pagebutton-transition: calc(var(--transition-time) * 2);
--color-tmp-100: var(--tmp-100);
--color-tmp-75: var(--tmp-75);
--color-tmp-50: var(--tmp-50);
--color-tmp-25: var(--tmp-25);
--color-tmp-10: var(--tmp-10);
user-select: none;
position: relative;
display: inline-flex;
flex-direction: column;
overflow: hidden;
outline: 1px outset var(--color-tmp-25);
border-radius: var(--border-radius-small);
transition-property: box-shadow, outline-color, transform;
transition-duration: var(--pagebutton-transition);
transition-timing-function: var(--linear-bounce);
z-index: 1;
}
.pagebutton:hover {
--pagebutton-transition: var(--transition-time);
--color-tmp-100: var(--hover-100, var(--tmp-100));
--color-tmp-75: var(--hover-75, var(--tmp-75));
--color-tmp-50: var(--hover-50, var(--tmp-50));
--color-tmp-25: var(--hover-25, var(--tmp-25));
--color-tmp-10: var(--hover-10, var(--tmp-10));
box-shadow: 0 0.2rem 0.4rem var(--color-tmp-75);
transform: translateY(-0.25rem);
transition-timing-function: ease;
z-index: 2;
}
.pagebutton-image {
flex: 1;
display: inline-flex;
justify-content: center;
background-color: var(--color-tmp-10);
transition-property: background-color;
transition-duration: var(--pagebutton-transition);
}
.pagebutton-image a {
transition-property: filter;
transition-duration: var(--transition-time);
}
.pagebutton:active .pagebutton-image a {
filter: drop-shadow(0 0 6px var(--color-tmp-75));
transition-duration: 0s;
}
.pagebutton-image a,
.pagebutton-image span {
display: inline-flex;
justify-content: center;
width: 100%;
}
.pagebutton-image img {
padding: 0.5em;
}
.pagebutton-text {
overflow: hidden;
display: inline-flex;
align-items: center;
justify-content: center;
height: calc(1.25rem + 1px);
font-weight: bold;
white-space: nowrap;
background-color: hsl(from var(--color-tmp-75) h var(--adjust-s) var(--adjust-bg-l));
color: var(--color-white) !important;
border-top: 1px solid hsl(from var(--color-tmp-75) h var(--adjust-s) var(--adjust-bd-l));
transition-property: background-color, border;
transition-duration: var(--pagebutton-transition);
}
.pagebutton-text a {
color: var(--color-white) !important;
}
.pagebutton-text a:before {
content: '';
position: absolute;
inset: 0;
}
/* Совместимость старых шаблонов и таблиц с тёмной темой.
* Элемент с собственным непрозрачным фоном не должен наследовать
* светлый цвет текста от тёмного оформления.
*/
.mw-parser-output [style*="background" i]:not([style*="background: transparent" i]):not([style*="background:transparent" i]):not([style*="background-color: transparent" i]):not([style*="background-color:transparent" i]):not([style*="background: inherit" i]):not([style*="background:inherit" i]):not([style*="background-color: inherit" i]):not([style*="background-color:inherit" i]):not([style*=";color" i]):not([style*=" color" i]):not([style^="color" i]) {
color: #202122;
}
/* Ссылки внутри светлых цветных блоков также должны оставаться читаемыми. */
.mw-parser-output [style*="background" i]:not([style*="background: transparent" i]):not([style*="background:transparent" i]):not([style*="background-color: transparent" i]):not([style*="background-color:transparent" i]):not([style*="background: inherit" i]):not([style*="background:inherit" i]):not([style*="background-color: inherit" i]):not([style*="background-color:inherit" i]):not([style*=";color" i]):not([style*=" color" i]):not([style^="color" i]) a {
color: #0645ad;
text-decoration: underline;
}
.mw-parser-output [style*="background" i]:not([style*="background: transparent" i]):not([style*="background:transparent" i]):not([style*="background-color: transparent" i]):not([style*="background-color:transparent" i]):not([style*="background: inherit" i]):not([style*="background:inherit" i]):not([style*="background-color: inherit" i]):not([style*="background-color:inherit" i]):not([style*=";color" i]):not([style*=" color" i]):not([style^="color" i]) a.new {
color: #ba0000;
}
/* Фоны, заданные в этом файле, тоже получают явный цвет текста. */
.tooltiptext,
.tooltiptext2,
.tooltiptable,
.keyboard-key,
.proto-table td:nth-of-type(3n) {
color: #202122;
}
/* Старые HTML-фоны (bgcolor) и тематические таблицы. */
.mw-parser-output [bgcolor]:not([color]):not([style*=";color" i]):not([style*=" color" i]):not([style^="color" i]) {
color: #202122;
}
.mw-parser-output [bgcolor]:not([color]):not([style*=";color" i]):not([style*=" color" i]):not([style^="color" i]) a {
color: inherit;
text-decoration: underline;
}
.items-table {
color: #202122;
}
.items-table td a {
color: inherit;
text-decoration: underline;
}
/* Эти элементы получают собственный цвет от скина; внутри светлого блока
* им следует наследовать уже исправленный цвет контейнера.
*/
.mw-parser-output [style*="background" i]:not([style*="background: transparent" i]):not([style*="background:transparent" i]):not([style*="background-color: transparent" i]):not([style*="background-color:transparent" i]):not([style*="background: inherit" i]):not([style*="background:inherit" i]):not([style*="background-color: inherit" i]):not([style*="background-color:inherit" i]):not([style*=";color" i]):not([style*=" color" i]):not([style^="color" i]) code,
.mw-parser-output [style*="background" i]:not([style*="background: transparent" i]):not([style*="background:transparent" i]):not([style*="background-color: transparent" i]):not([style*="background-color:transparent" i]):not([style*="background: inherit" i]):not([style*="background:inherit" i]):not([style*="background-color: inherit" i]):not([style*="background-color:inherit" i]):not([style*=";color" i]):not([style*=" color" i]):not([style^="color" i]) pre,
.mw-parser-output [style*="background" i]:not([style*="background: transparent" i]):not([style*="background:transparent" i]):not([style*="background-color: transparent" i]):not([style*="background-color:transparent" i]):not([style*="background: inherit" i]):not([style*="background:inherit" i]):not([style*="background-color: inherit" i]):not([style*="background-color:inherit" i]):not([style*=";color" i]):not([style*=" color" i]):not([style^="color" i]) abbr {
color: inherit;
}
/* Явный контраст для заголовков цветовых схем отделов. */
.colors-service th,
.colors-Service th,
.colors-engine th,
.colors-Engineering th,
.colors-command th,
.colors-Command th,
.colors-medik th,
.colors-Medical th,
.colors-lava th,
.colors-Lavaland th,
.colors-abductor th,
.colors-Abductor th {
color: #202122;
}
.colors-secure th,
.colors-Security th,
.colors-science th,
.colors-Science th,
.colors-suply th,
.colors-Supply th,
.colors-synth th,
.colors-Synthetic th,
.colors-antag th,
.colors-Antagonist th,
.colors-cult th,
.colors-Cultist th,
.colors-ratvar th,
.colors-Ratvar th,
.colors-xenom th,
.colors-Xenomorph th,
.colors-marine th,
.colors-Marine th,
.colors-wizard th,
.colors-Wizard th {
color: #ffffff;
}
/* Pageframe: полупрозрачные карточки должны использовать текст и ссылки
* текущей темы, а не цвета светлых непрозрачных таблиц.
*/
body.skin-tgui .mw-parser-output .pageframe-container,
body.skin-tgui .mw-parser-output .pageframe-container > div:not(.pageframe-header) {
color: var(--color-base) !important;
}
body.skin-tgui .mw-parser-output .pageframe-container > div:not(.pageframe-header) a {
color: var(--color-progressive) !important;
}
/* Pagebutton внутри Pageframe: сохраняем собственные цвета компонента
* и не растягиваем немногочисленные карточки последнего ряда.
*/
body.skin-tgui #mw-content-text .pageframe-container .pagebutton .pagebutton-text a {
color: var(--color-white) !important;
}
body.skin-tgui #mw-content-text .pageframe-container .pagebutton[style*="flex: 1 0 92px"] {
max-width: 7.5rem;
}
/* Главная страница: вводный текст использует основной белый цвет тёмной темы. */
body.skin-tgui.page-Заглавная_страница .mw-parser-output > div[style*="color: #484848" i] {
color: var(--color-text, #ffffff) !important;
}
/* Тёмная тема: старые большие таблицы данных. */
body.skin-tgui .mw-parser-output table.wikitable[style*="background" i],
body.skin-tgui .mw-parser-output table.items-table {
background: #1f1f1f !important;
color: #d6d9dc !important;
border-color: #4b4b4b !important;
}
body.skin-tgui .mw-parser-output table.wikitable[style*="background" i] th:not([style*="background" i]) a,
body.skin-tgui .mw-parser-output table.wikitable[style*="background" i] td:not([style*="background" i]) a,
body.skin-tgui .mw-parser-output table.items-table th:not([style*="background" i]) a,
body.skin-tgui .mw-parser-output table.items-table td:not([style*="background" i]) a {
color: var(--color-progressive, #8ab4ff) !important;
}
body.skin-tgui .mw-parser-output table.wikitable[style*="background" i] th:not([style*="background" i]) a.new,
body.skin-tgui .mw-parser-output table.wikitable[style*="background" i] td:not([style*="background" i]) a.new,
body.skin-tgui .mw-parser-output table.items-table th:not([style*="background" i]) a.new,
body.skin-tgui .mw-parser-output table.items-table td:not([style*="background" i]) a.new {
color: #ff7b7b !important;
}
/* === DP UX v1 START — 2026-08-22 === */
/* Обратимый пакет адаптивности. Для отката удалите блок до DP UX v1 END
* или отмените ревизию с комментарием «UX v1».
*/
/* Крупнее поиск и понятнее фокус с клавиатуры. */
body.skin-tgui .tgui-search-box input[type="search"] {
min-height: 40px;
font-size: 0.95rem;
}
body.skin-tgui .pagebutton a:focus-visible,
body.skin-tgui .dp-department-tabs a:focus-visible,
body.skin-tgui .dp-card a:focus-visible,
body.skin-tgui .dp-link-card a:focus-visible {
outline: 3px solid #66a3ff;
outline-offset: 3px;
border-radius: 4px;
}
/* Главная: читаемая типографика и адаптивный баннер. */
body.skin-tgui.page-Заглавная_страница #mw-content-text {
font-size: 15px;
line-height: 1.55;
}
body.skin-tgui.page-Заглавная_страница img[src*="Splash.gif"] {
width: 100%;
max-width: 900px;
height: auto;
}
body.skin-tgui.page-Заглавная_страница .pageframe-header {
font-size: 1rem;
font-weight: 700;
}
/* Затемняем только три слишком светлых заголовка, сохраняя белый текст. */
body.skin-tgui.page-Заглавная_страница .pageframe-header[style*="background: #FF6347" i] {
background: #b84430 !important;
}
body.skin-tgui.page-Заглавная_страница .pageframe-header[style*="background: #B17FE0" i] {
background: #714f9d !important;
}
body.skin-tgui.page-Заглавная_страница .pageframe-header[style*="background: #FF8C00" i] {
background: #955200 !important;
}
/* Порталы: ровная сетка вкладок без растянутой последней вкладки. */
body.skin-tgui .dp-department-tabs {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}
body.skin-tgui .dp-department-tabs > div {
min-width: 0;
}
/* Телефон: одна колонка главной, прокручиваемые вкладки и локальная
* прокрутка широких таблиц вместо расширения всей страницы.
*/
@media (max-width: 720px) {
body.skin-tgui.page-Заглавная_страница
.mw-parser-output > div:first-child > div[style*="top: 270px"] {
position: relative !important;
top: auto !important;
left: auto !important;
width: 100% !important;
height: auto !important;
margin: 0 !important;
}
body.skin-tgui.page-Заглавная_страница
.wiki-mainpage-column > div[style*="width: 49.7%"] {
float: none !important;
width: 100% !important;
}
body.skin-tgui .dp-department-tabs {
display: flex;
flex-wrap: nowrap;
gap: 1px;
overflow-x: auto;
scroll-snap-type: x proximity;
scrollbar-width: thin;
-webkit-overflow-scrolling: touch;
}
body.skin-tgui .dp-department-tabs > div {
flex: 0 0 9.5rem;
scroll-snap-align: start;
}
body.skin-tgui .dp-department-tabs a,
body.skin-tgui .dp-department-tabs span,
body.skin-tgui .dp-department-tabs .selflink {
white-space: nowrap;
}
body.skin-tgui:not(.page-Заглавная_страница) #mw-content-text .mw-parser-output table {
display: block;
width: 100% !important;
max-width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
body.skin-tgui #mw-content-text .tabs-content {
box-sizing: border-box;
width: 100% !important;
max-width: 100% !important;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
}
/* === DP UX v1 END === */
/* === DP UX v2 START — 2026-08-22 === */
/* Откат: удалить этот блок или восстановить oldid 39958. */
body.skin-tgui.page-Заглавная_страница .dp-home-actions {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.6rem;
max-width: 780px;
margin: 1rem auto 0.75rem;
}
body.skin-tgui.page-Заглавная_страница .dp-home-actions > p {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.6rem;
margin: 0;
}
body.skin-tgui.page-Заглавная_страница .dp-home-action {
display: inline-flex;
border: 1px solid #57738d;
border-radius: 8px;
background: #25384a;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}
body.skin-tgui.page-Заглавная_страница .dp-home-action--primary {
border-color: #6aa8dc;
background: #2f6fa5;
}
body.skin-tgui.page-Заглавная_страница .dp-home-action a {
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
min-height: 42px;
padding: 0.15rem 1rem;
color: #fff !important;
font-weight: 700;
line-height: 1.2;
text-decoration: none !important;
}
body.skin-tgui.page-Заглавная_страница .dp-home-action:hover {
border-color: #8bc4f0;
background: #31506a;
transform: translateY(-1px);
}
body.skin-tgui.page-Заглавная_страница .dp-home-action--primary:hover {
background: #397fb8;
}
body.skin-tgui.page-Заглавная_страница .dp-home-meta {
margin: 0 auto 0.9rem;
color: #d6d9dc;
font-size: 0.9rem;
line-height: 1.5;
text-align: center;
}
body.skin-tgui.page-Заглавная_страница .dp-home-meta a {
color: #75b8f3;
}
@media (max-width: 720px) {
body.skin-tgui.page-Заглавная_страница .dp-home-action {
flex: 1 1 calc(50% - 0.6rem);
}
body.skin-tgui.page-Заглавная_страница .dp-home-action a {
width: 100%;
}
}
@media (max-width: 420px) {
body.skin-tgui.page-Заглавная_страница .dp-home-action {
flex-basis: 100%;
}
}
@media (prefers-reduced-motion: reduce) {
body.skin-tgui.page-Заглавная_страница .dp-home-action {
transition: none;
}
body.skin-tgui.page-Заглавная_страница .dp-home-action:hover {
transform: none;
}
}
/* === DP UX v2 END === */
/* === DP UX v3 START — 2026-08-22 === */
/* Откат: удалить этот блок или восстановить Common.css oldid 39964. */
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper {
margin: 0.65rem 0 1.25rem;
border-radius: 10px;
box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
scrollbar-color: #526b82 #171a1f;
}
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table {
overflow: hidden;
border-width: 1px !important;
border-style: solid !important;
border-radius: 10px !important;
border-spacing: 0;
background: #191d22 !important;
color: #edf1f5 !important;
}
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table > tbody > tr:first-child {
background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) !important;
color: #fff !important;
}
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table > tbody > tr:not(:first-child) {
background: #20262d !important;
color: #e8edf2 !important;
transition: background-color 120ms ease;
}
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table > tbody > tr:not(:first-child):nth-child(odd) {
background: #1b2026 !important;
}
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table > tbody > tr:not(:first-child):hover {
background: #29333d !important;
}
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table td {
padding: 0.55rem 0.65rem !important;
border-width: 0 1px 1px 0 !important;
border-style: solid !important;
border-color: rgba(255, 255, 255, 0.11) !important;
color: inherit !important;
line-height: 1.45;
}
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table td:last-child {
border-right-width: 0 !important;
}
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table > tbody > tr:last-child > td {
border-bottom-width: 0 !important;
}
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table a {
color: #75b8f3;
}
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table s,
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table strike {
color: #aeb7c0;
}
@media (max-width: 720px) {
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table {
min-width: 880px;
}
}
@media (prefers-reduced-motion: reduce) {
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table > tbody > tr {
transition: none;
}
}
/* === DP UX v3 END === */
/* === DP UX v4 START — 2026-08-22 === */
/* Откат: удалить этот блок или восстановить Common.css oldid 39967. */
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine,
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard {
border-width: 1px !important;
border-style: solid !important;
border-radius: 10px !important;
box-shadow: 0 3px 14px rgba(0, 0, 0, 0.26);
}
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine {
border-color: #d99a27 !important;
}
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard {
border-color: #7d4cc7 !important;
}
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine > tbody > tr:not(:first-child) > td,
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard > tbody > tr:not(:first-child) > td {
padding: 0.55rem 0.65rem;
border-color: rgba(255, 255, 255, 0.11);
line-height: 1.45;
}
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine > tbody > tr:not(:first-child) > td:nth-last-child(-n + 2),
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard > tbody > tr:not(:first-child) > td:not(:first-child) {
background: #20262d !important;
color: #e8edf2 !important;
transition: background-color 120ms ease;
}
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine > tbody > tr:nth-child(odd):not(:first-child) > td:nth-last-child(-n + 2),
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard > tbody > tr:nth-child(odd):not(:first-child) > td:not(:first-child) {
background: #1b2026 !important;
}
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine > tbody > tr:not(:first-child):hover > td:nth-last-child(-n + 2),
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard > tbody > tr:not(:first-child):hover > td:not(:first-child) {
background: #29333d !important;
}
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine td:nth-last-child(-n + 2) a,
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard td:not(:first-child) a {
color: #75b8f3;
}
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine .mw-collapsible-toggle,
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard .mw-collapsible-toggle {
margin: 0.2rem;
padding: 0.2rem 0.45rem;
border: 1px solid rgba(255, 255, 255, 0.24);
border-radius: 5px;
background: rgba(0, 0, 0, 0.24);
}
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine .mw-collapsible-toggle a,
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard .mw-collapsible-toggle a {
color: #fff !important;
}
@media (prefers-reduced-motion: reduce) {
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine > tbody > tr > td,
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard > tbody > tr > td {
transition: none;
}
}
/* === DP UX v4 END === */
/* === DP UX v5 START — 2026-08-22 === */
/* Откат: удалить этот блок или восстановить Common.css oldid 39968. */
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard > tbody > tr > td a:not(.image):not(.mw-file-description):not(:has(img)),
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine > tbody > tr > td a:not(.image):not(.mw-file-description):not(:has(img)),
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table td a:not(.image):not(.mw-file-description):not(:has(img)),
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table th a:not(.image):not(.mw-file-description):not(:has(img)),
body.skin-tgui.page-Космический_Закон .mw-parser-output table td a:not(.image):not(.mw-file-description):not(:has(img)),
body.skin-tgui.page-Космический_Закон .mw-parser-output table th a:not(.image):not(.mw-file-description):not(:has(img)) {
padding: 0;
border-radius: 0;
background: transparent;
color: inherit !important;
font-weight: 700;
}
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard > tbody > tr > td a:not(.image):not(.mw-file-description):not(:has(img)):hover,
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine > tbody > tr > td a:not(.image):not(.mw-file-description):not(:has(img)):hover,
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table td a:not(.image):not(.mw-file-description):not(:has(img)):hover,
body.skin-tgui.page-Космический_Закон .mw-parser-output table td a:not(.image):not(.mw-file-description):not(:has(img)):hover,
body.skin-tgui.page-Космический_Закон .mw-parser-output table th a:not(.image):not(.mw-file-description):not(:has(img)):hover {
color: inherit !important;
opacity: 0.82;
}
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard > tbody > tr > td a:not(.image):not(.mw-file-description):not(:has(img)):focus-visible,
body.skin-tgui.page-Руководство_по_инженерии table.items-table.colors-engine > tbody > tr > td a:not(.image):not(.mw-file-description):not(:has(img)):focus-visible,
body.skin-tgui.page-Должности .mw-parser-output .tgui-table-wrapper > table td a:not(.image):not(.mw-file-description):not(:has(img)):focus-visible,
body.skin-tgui.page-Космический_Закон .mw-parser-output table td a:not(.image):not(.mw-file-description):not(:has(img)):focus-visible,
body.skin-tgui.page-Космический_Закон .mw-parser-output table th a:not(.image):not(.mw-file-description):not(:has(img)):focus-visible {
outline: 2px solid currentColor;
outline-offset: 2px;
}
body.skin-tgui.page-Руководство_по_напиткам table.items-table.colors-wizard > tbody > tr.colors-Security > td:first-child a:not(:has(img)),
body.skin-tgui.page-Космический_Закон .mw-parser-output table :is(td, th)[style*="#BF4C4C"] a:not(.image):not(.mw-file-description):not(:has(img)) {
color: #fff !important;
}
body.skin-tgui.page-Космический_Закон .mw-parser-output table :is(td, th)[style*="#BF5F5F"] a:not(.image):not(.mw-file-description):not(:has(img)) {
color: #000 !important;
}
/* === DP UX v5 END === */
/* === DP UX v6 START — 2026-08-22 === */
/* Откат: удалить этот блок или восстановить Common.css oldid 39974. */
body.skin-tgui.page-Руководство_по_фармакологии .mw-parser-output table :is(td, th) a:not(.image):not(.mw-file-description):not(:has(img)),
body.skin-tgui.page-Руководство_по_напиткам .mw-parser-output table :is(td, th) a:not(.image):not(.mw-file-description):not(:has(img)),
body.skin-tgui.page-Лазис .mw-parser-output table :is(td, th) a:not(.image):not(.mw-file-description):not(:has(img)) {
padding: 0 !important;
border-radius: 0 !important;
background: transparent !important;
color: inherit !important;
font-weight: 600;
}
body.skin-tgui.page-Лазис .mw-parser-output table :is(td, th)[style*="#BF4C4C"] a:not(.image):not(.mw-file-description):not(:has(img)),
body.skin-tgui.page-Лазис .mw-parser-output table :is(td, th)[style*="#77552F"] a:not(.image):not(.mw-file-description):not(:has(img)) {
color: #fff !important;
}
body.skin-tgui.page-Руководство_по_фармакологии .mw-parser-output table :is(td, th) a:not(.image):not(.mw-file-description):not(:has(img)):focus-visible,
body.skin-tgui.page-Руководство_по_напиткам .mw-parser-output table :is(td, th) a:not(.image):not(.mw-file-description):not(:has(img)):focus-visible,
body.skin-tgui.page-Лазис .mw-parser-output table :is(td, th) a:not(.image):not(.mw-file-description):not(:has(img)):focus-visible {
outline: 2px solid currentColor;
outline-offset: 2px;
}
body.skin-tgui.page-Руководство_по_фармакологии .mw-parser-output table span[style*="#FF0000"] a:not(.image):not(.mw-file-description):not(:has(img)) {
color: #ff8a8a !important;
}
body.skin-tgui.page-Лазис .mw-parser-output table :is(td, th)[style*="#AA66CC"] a:not(.image):not(.mw-file-description):not(:has(img)) {
color: #000 !important;
}
/* === DP UX v6 END === */
/* === DP UX v7 START — 2026-08-22 === */
/* Откат: удалить этот блок или восстановить Common.css oldid 39977. */
body.skin-tgui.page-Руководство_по_фармакологии .mw-parser-output table a:not(:has(img)),
body.skin-tgui.page-Руководство_по_напиткам .mw-parser-output table a:not(:has(img)),
body.skin-tgui.page-Руководство_по_инженерии .mw-parser-output table a:not(:has(img)),
body.skin-tgui.page-Должности .mw-parser-output table a:not(:has(img)),
body.skin-tgui.page-Космический_Закон .mw-parser-output table a:not(:has(img)),
body.skin-tgui.page-Лазис .mw-parser-output table a:not(:has(img)) {
text-decoration: none !important;
}
/* === DP UX v7 END === */
/* === DP UX v8 START — 2026-08-22 === */
/* Откат: удалить этот блок или восстановить Common.css oldid 39979. */
body.skin-tgui.page-Лор .mw-parser-output table :is(td, th) a:not(.image):not(.mw-file-description):not(:has(img)) {
padding: 0 !important;
background: transparent !important;
color: inherit !important;
font-weight: 600;
text-decoration: none !important;
}
body.skin-tgui.page-Должности .mw-parser-output table :is(td, th)[style*="#6691FF"] a:not(.image):not(.mw-file-description):not(:has(img)),
body.skin-tgui.page-Должности .mw-parser-output table :is(td, th)[style*="#4C82BF"] a:not(.image):not(.mw-file-description):not(:has(img)) {
color: #000 !important;
}
body.skin-tgui.page-Должности .mw-parser-output table :is(td, th)[style*="#BF4C4C"] a:not(.image):not(.mw-file-description):not(:has(img)),
body.skin-tgui.page-Должности .mw-parser-output table :is(td, th)[style*="#77552F"] a:not(.image):not(.mw-file-description):not(:has(img)) {
color: #fff !important;
}
body.skin-tgui.page-Должности .mw-parser-output table :is(td, th)[style*="#4C1E1E"] a:not(.image):not(.mw-file-description):not(:has(img)) {
color: #ff9a9a !important;
}
/* === DP UX v8 END === */
/* === Dark Paradise: Pharmacology catalog v1 START === */
.pharma-catalog {
--pharma-accent: #e3a824;
--pharma-accent-soft: color-mix(in srgb, var(--pharma-accent) 14%, transparent);
margin: 0.75rem 0 1.5rem;
color: var(--color-base, #d6d9dc);
}
.pharma-catalog__lead {
position: relative;
overflow: hidden;
display: grid;
gap: 0.35rem;
margin-bottom: 0.75rem;
padding: 1rem 1.1rem;
border: 1px solid color-mix(in srgb, var(--pharma-accent) 42%, var(--border-color-base, #555));
border-radius: 10px;
background:
radial-gradient(circle at 100% 0, var(--pharma-accent-soft), transparent 42%),
var(--background-color-neutral-subtle, #202020);
}
.pharma-catalog__eyebrow,
.pharma-card__label {
color: var(--pharma-accent);
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.075em;
line-height: 1.25;
text-transform: uppercase;
}
.pharma-catalog__title {
font-size: 1.25rem;
font-weight: 800;
line-height: 1.25;
}
.pharma-catalog__help {
max-width: 74ch;
color: var(--color-subtle, #92989e);
line-height: 1.5;
}
.pharma-catalog__toolbar {
position: sticky;
top: 4.25rem;
z-index: 5;
display: grid;
grid-template-columns: minmax(220px, 1fr) auto;
gap: 0.55rem 0.75rem;
align-items: center;
margin-bottom: 0.75rem;
padding: 0.65rem;
border: 1px solid var(--border-color-base, #444);
border-radius: 9px;
background: color-mix(in srgb, var(--background-color-neutral-subtle, #181818) 90%, transparent);
box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
backdrop-filter: blur(12px);
}
.pharma-catalog__search {
min-width: 0;
height: 2.4rem;
box-sizing: border-box;
padding: 0 0.8rem 0 2.25rem;
border: 1px solid var(--border-color-base, #555);
border-radius: 7px;
color: var(--color-base, #eee);
background:
linear-gradient(90deg, transparent 2.1rem, var(--border-color-base, #555) 2.1rem, var(--border-color-base, #555) calc(2.1rem + 1px), transparent calc(2.1rem + 1px)),
var(--background-color-base, #222);
font: inherit;
}
.pharma-catalog__search-wrap {
position: relative;
min-width: 0;
}
.pharma-catalog__search-wrap::before {
position: absolute;
top: 50%;
left: 0.72rem;
z-index: 1;
color: var(--color-subtle, #92989e);
content: "⌕";
font-size: 1.25rem;
line-height: 1;
transform: translateY(-52%);
pointer-events: none;
}
.pharma-catalog__search:focus {
outline: 2px solid color-mix(in srgb, var(--pharma-accent) 68%, transparent);
outline-offset: 1px;
border-color: var(--pharma-accent);
}
.pharma-catalog__filters,
.pharma-catalog__actions {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
}
.pharma-catalog__filter,
.pharma-catalog__action {
min-height: 2.15rem;
padding: 0.34rem 0.68rem;
border: 1px solid var(--border-color-base, #555);
border-radius: 999px;
color: var(--color-base, #eee);
background: var(--background-color-base, #242424);
font: inherit;
font-size: 0.84rem;
font-weight: 700;
cursor: pointer;
}
.pharma-catalog__filter:hover,
.pharma-catalog__action:hover {
border-color: color-mix(in srgb, var(--pharma-accent) 65%, var(--border-color-base, #555));
background: var(--pharma-accent-soft);
}
.pharma-catalog__filter[aria-pressed="true"] {
border-color: var(--pharma-accent);
color: #16120a;
background: var(--pharma-accent);
}
.pharma-catalog__meta {
grid-column: 1 / -1;
display: flex;
justify-content: space-between;
gap: 0.75rem;
color: var(--color-subtle, #92989e);
font-size: 0.8rem;
}
.pharma-catalog__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.7rem;
align-items: start;
}
.pharma-card {
min-width: 0;
overflow: clip;
border: 1px solid var(--border-color-base, #444);
border-radius: 9px;
background: var(--background-color-neutral-subtle, #1c1c1c);
box-shadow: 0 2px 10px rgb(0 0 0 / 9%);
transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.pharma-card:hover {
border-color: color-mix(in srgb, var(--pharma-accent) 48%, var(--border-color-base, #555));
box-shadow: 0 5px 18px rgb(0 0 0 / 14%);
transform: translateY(-1px);
}
.pharma-card.is-open {
grid-column: 1 / -1;
border-color: color-mix(in srgb, var(--pharma-accent) 68%, var(--border-color-base, #555));
}
.pharma-card[hidden] {
display: none !important;
}
.pharma-card__summary {
position: relative;
display: grid;
gap: 0.65rem;
padding: 0.85rem 0.95rem 0.72rem;
list-style: none;
cursor: pointer;
}
.pharma-card__summary::-webkit-details-marker {
display: none;
}
.pharma-card__summary::marker {
display: none;
content: "";
}
.pharma-card__summary:focus-visible {
outline: 2px solid var(--pharma-accent);
outline-offset: -3px;
border-radius: 8px;
}
.pharma-card__top,
.pharma-card__identity {
display: flex;
align-items: center;
}
.pharma-card__top {
justify-content: space-between;
gap: 0.65rem;
}
.pharma-card__identity {
min-width: 0;
gap: 0.65rem;
}
.pharma-card__swatch {
width: 0.82rem;
height: 2.2rem;
flex: 0 0 auto;
border: 1px solid rgb(255 255 255 / 22%);
border-radius: 999px;
box-shadow: 0 0 12px rgb(255 255 255 / 8%);
}
.pharma-card__names {
display: grid;
min-width: 0;
gap: 0.05rem;
}
.pharma-card__name {
color: var(--color-base, #f2f2f2);
font-size: 1rem;
font-weight: 800;
line-height: 1.25;
}
.pharma-card__alias {
overflow: hidden;
color: var(--color-subtle, #92989e);
font-size: 0.78rem;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
.pharma-card__type {
flex: 0 0 auto;
padding: 0.24rem 0.48rem;
border: 1px solid color-mix(in srgb, var(--pharma-accent) 35%, transparent);
border-radius: 999px;
color: var(--pharma-accent);
background: var(--pharma-accent-soft);
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.pharma-card__short {
min-height: 2.6em;
color: var(--color-base, #d6d9dc);
line-height: 1.42;
}
.pharma-card__recipe {
display: grid;
grid-template-columns: 4.5rem minmax(0, 1fr);
gap: 0.55rem;
align-items: start;
min-height: 2.9rem;
padding: 0.55rem 0.65rem;
border: 1px solid var(--border-color-base, #444);
border-radius: 7px;
background: color-mix(in srgb, var(--background-color-base, #242424) 88%, var(--pharma-accent) 12%);
}
.pharma-card__recipe-value {
min-width: 0;
color: var(--color-base, #e4e6e8);
font-size: 0.88rem;
line-height: 1.42;
}
.pharma-card__recipe-value a {
font-weight: 700;
}
.pharma-card__toggle {
display: inline-flex;
align-items: center;
justify-self: end;
gap: 0.35rem;
color: var(--pharma-accent);
font-size: 0.78rem;
font-weight: 800;
}
.pharma-card__toggle::after {
content: "⌄";
font-size: 1rem;
transition: transform 140ms ease;
}
.pharma-card.is-open .pharma-card__toggle::after {
transform: rotate(180deg);
}
.pharma-card__toggle-less,
.pharma-card.is-open .pharma-card__toggle-more {
display: none;
}
.pharma-card.is-open .pharma-card__toggle-less {
display: inline;
}
.pharma-card__details {
display: none;
gap: 0.7rem;
padding: 0.8rem 0.95rem 1rem;
border-top: 1px solid var(--border-color-base, #444);
background: color-mix(in srgb, var(--background-color-base, #222) 78%, transparent);
}
.pharma-card.is-open .pharma-card__details {
display: grid;
}
.pharma-card__section {
display: grid;
grid-template-columns: 5.4rem minmax(0, 1fr);
gap: 0.65rem;
align-items: start;
}
.pharma-card__text {
min-width: 0;
line-height: 1.55;
}
.pharma-card__text > :first-child {
margin-top: 0;
}
.pharma-card__text > :last-child {
margin-bottom: 0;
}
.pharma-card__warning {
padding: 0.65rem 0.75rem;
border: 1px solid color-mix(in srgb, var(--color-destructive, #d84040) 55%, transparent);
border-left-width: 4px;
border-radius: 7px;
color: var(--color-base, #eee);
background: color-mix(in srgb, var(--color-destructive, #d84040) 13%, transparent);
line-height: 1.45;
}
.pharma-catalog__empty {
grid-column: 1 / -1;
padding: 1.2rem;
border: 1px dashed var(--border-color-base, #555);
border-radius: 9px;
color: var(--color-subtle, #92989e);
text-align: center;
}
@media (max-width: 760px) {
.pharma-catalog__toolbar {
position: static;
grid-template-columns: 1fr;
}
.pharma-catalog__grid {
grid-template-columns: 1fr;
}
.pharma-card.is-open {
grid-column: auto;
}
.pharma-catalog__filters {
flex-wrap: nowrap;
overflow-x: auto;
padding-bottom: 0.2rem;
scrollbar-width: thin;
}
.pharma-catalog__filter {
flex: 0 0 auto;
}
.pharma-card__section {
grid-template-columns: 1fr;
gap: 0.3rem;
}
}
@media (max-width: 460px) {
.pharma-card__type {
display: none;
}
.pharma-card__recipe {
grid-template-columns: 1fr;
gap: 0.25rem;
}
.pharma-catalog__lead,
.pharma-card__summary,
.pharma-card__details {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
}
@media (prefers-reduced-motion: reduce) {
.pharma-card,
.pharma-card__toggle::after {
transition: none;
}
}
/* === Dark Paradise: Pharmacology catalog v1 END === */
/* === Dark Paradise: Pharmacology full catalog v2 START === */
.page-Руководство_по_фармакологии.pharma-directory-ready .pharma-catalog > .pharma-catalog__toolbar {
display: none;
}
.pharma-directory {
--pharma-accent: #58a6ff;
margin: 0.9rem 0 1.5rem;
}
.pharma-directory__hero {
position: relative;
overflow: hidden;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 0.85rem 1.25rem;
align-items: center;
margin-bottom: 0.75rem;
padding: 1.1rem 1.2rem;
border: 1px solid color-mix(in srgb, var(--pharma-accent) 44%, var(--border-color-base, #555));
border-radius: 11px;
background:
radial-gradient(circle at 94% 12%, color-mix(in srgb, var(--pharma-accent) 18%, transparent), transparent 40%),
linear-gradient(135deg, color-mix(in srgb, var(--background-color-neutral-subtle, #181818) 94%, var(--pharma-accent) 6%), var(--background-color-neutral-subtle, #181818));
}
.pharma-directory__eyebrow {
color: var(--pharma-accent);
font-size: 0.72rem;
font-weight: 850;
letter-spacing: 0.085em;
text-transform: uppercase;
}
.pharma-directory__title {
margin-top: 0.18rem;
color: var(--color-base, #eee);
font-size: clamp(1.25rem, 2vw, 1.65rem);
font-weight: 850;
line-height: 1.2;
}
.pharma-directory__description {
max-width: 76ch;
margin-top: 0.35rem;
color: var(--color-subtle, #92989e);
line-height: 1.5;
}
.pharma-directory__count {
display: grid;
min-width: 7rem;
padding: 0.65rem 0.85rem;
border: 1px solid color-mix(in srgb, var(--pharma-accent) 34%, transparent);
border-radius: 9px;
background: color-mix(in srgb, var(--pharma-accent) 10%, transparent);
text-align: center;
}
.pharma-directory__count strong {
color: var(--color-base, #eee);
font-size: 1.55rem;
line-height: 1;
}
.pharma-directory__count span {
margin-top: 0.22rem;
color: var(--color-subtle, #92989e);
font-size: 0.72rem;
text-transform: uppercase;
}
.pharma-directory .pharma-catalog__toolbar {
top: 4.15rem;
}
.pharma-directory__empty {
margin-top: 0.75rem;
padding: 1rem;
border: 1px dashed var(--border-color-base, #555);
border-radius: 9px;
color: var(--color-subtle, #92989e);
background: var(--background-color-neutral-subtle, #181818);
text-align: center;
}
.pharma-source-table {
display: none !important;
}
.pharma-auto-catalog {
--pharma-accent: #d7a52a;
margin: 0.7rem 0 1.25rem;
}
.pharma-auto-catalog[hidden] {
display: none !important;
}
.pharma-auto-catalog__meta {
display: flex;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 0.55rem;
padding: 0 0.1rem;
color: var(--color-subtle, #92989e);
font-size: 0.79rem;
}
.pharma-auto-catalog__meta strong {
color: var(--pharma-accent);
font-weight: 800;
}
.pharma-card--auto {
--pharma-accent-soft: color-mix(in srgb, var(--pharma-accent) 13%, transparent);
}
.pharma-card--auto .pharma-card__short {
min-height: 2.7em;
}
.pharma-card__auto-name {
display: grid;
min-width: 0;
gap: 0.05rem;
color: var(--color-base, #eee);
font-size: 1rem;
font-weight: 800;
line-height: 1.25;
}
.pharma-card__auto-name p {
margin: 0;
}
.pharma-card__auto-name p + p,
.pharma-card__auto-name small {
color: var(--color-subtle, #92989e);
font-size: 0.78rem;
font-weight: 500;
}
.pharma-card__auto-name .tooltip {
font-weight: inherit;
}
.pharma-card__facts {
display: flex;
flex-wrap: wrap;
gap: 0.32rem;
margin-top: -0.1rem;
}
.pharma-card__fact {
display: inline-flex;
align-items: center;
gap: 0.25rem;
max-width: 100%;
padding: 0.22rem 0.45rem;
border: 1px solid var(--border-color-base, #444);
border-radius: 999px;
color: var(--color-subtle, #92989e);
background: color-mix(in srgb, var(--background-color-base, #222) 88%, transparent);
font-size: 0.72rem;
line-height: 1.2;
}
.pharma-card__fact strong {
overflow: hidden;
max-width: 14rem;
color: var(--color-base, #ddd);
font-weight: 750;
text-overflow: ellipsis;
white-space: nowrap;
}
.pharma-card__fields {
display: grid;
gap: 0.6rem;
}
.pharma-card__field {
display: grid;
grid-template-columns: minmax(8.5rem, 0.23fr) minmax(0, 1fr);
gap: 0.75rem;
align-items: start;
padding-bottom: 0.6rem;
border-bottom: 1px solid var(--border-color-base, #3e3e3e);
}
.pharma-card__field:last-child {
padding-bottom: 0;
border-bottom: 0;
}
.pharma-card__field-name {
color: var(--pharma-accent);
font-size: 0.7rem;
font-weight: 850;
letter-spacing: 0.055em;
line-height: 1.35;
text-transform: uppercase;
}
.pharma-card__field-value {
min-width: 0;
color: var(--color-base, #d6d9dc);
line-height: 1.52;
}
.pharma-card__field-value > :first-child {
margin-top: 0;
}
.pharma-card__field-value > :last-child {
margin-bottom: 0;
}
.pharma-card--auto[data-pharma-category="medicine"] {
--pharma-accent: #58c5b7;
}
.pharma-card--auto[data-pharma-category="narcotics"] {
--pharma-accent: #a978e8;
}
.pharma-card--auto[data-pharma-category="pyro"] {
--pharma-accent: #ef9b46;
}
.pharma-card--auto[data-pharma-category="toxins"],
.pharma-card--auto[data-pharma-category="syndicate"] {
--pharma-accent: #e05a62;
}
.pharma-card--auto[data-pharma-category="botany"] {
--pharma-accent: #70bd68;
}
.pharma-card--auto[data-pharma-category="food"] {
--pharma-accent: #4fc2c8;
}
.pharma-card--auto[data-pharma-category="paint"] {
--pharma-accent: #d879c9;
}
.pharma-card--auto[data-pharma-category="pure"] {
--pharma-accent: #91a3b5;
}
.pharma-card--auto[data-pharma-category="other"] {
--pharma-accent: #d7a52a;
}
@media (max-width: 760px) {
.pharma-directory__hero {
grid-template-columns: 1fr;
}
.pharma-directory__count {
grid-template-columns: auto auto;
justify-content: start;
align-items: baseline;
min-width: 0;
gap: 0.4rem;
text-align: left;
}
.pharma-card__field {
grid-template-columns: 1fr;
gap: 0.25rem;
}
}
@media print {
.pharma-directory,
.pharma-catalog__toolbar,
.pharma-auto-catalog__meta,
.pharma-card__toggle {
display: none !important;
}
.pharma-card__details {
display: grid !important;
}
.pharma-catalog__grid {
grid-template-columns: 1fr !important;
}
.pharma-card {
break-inside: avoid;
box-shadow: none;
}
}
.pharma-auto-catalog__expand {
margin-left: auto;
padding: 0.25rem 0.58rem;
border: 1px solid color-mix(in srgb, var(--pharma-accent) 45%, var(--border-color-base, #555));
border-radius: 999px;
color: var(--pharma-accent);
background: color-mix(in srgb, var(--pharma-accent) 9%, transparent);
font: inherit;
font-size: 0.75rem;
font-weight: 800;
cursor: pointer;
}
.pharma-auto-catalog__expand:hover {
background: color-mix(in srgb, var(--pharma-accent) 18%, transparent);
}
.pharma-auto-catalog.is-condensed:not(.is-filtering) .pharma-auto-catalog__grid > .pharma-card:nth-child(n+9) {
display: none;
}
/* === Dark Paradise: Pharmacology full catalog v2 END === */