Шаблон:CWLShuttle: различия между версиями
Материал из Space Station 14 Вики
Mofkkol1 (обсуждение | вклад) мНет описания правки |
Mofkkol1 (обсуждение | вклад) мНет описания правки |
||
| Строка 1: | Строка 1: | ||
<div class=" | <div class="stationwl-header"> | ||
<div><center>[[File:{{{images|Mousegif.gif}}}|64px|link=]]</center></div><!-- | <div><center>[[File:{{{images|Mousegif.gif}}}|64px|link=]]</center></div><!-- | ||
-->{{#if: {{{ | -->{{#if: {{{typeS|}}} | <div>{{AltTooltip|color=#d5e3e9|'''Тип станции:'''|Космическая}} {{{typeS|-}}}</div>}}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{minP|}}} | <div>{{AltTooltip|color=#d5e3e9|'''Мин. Игроков:'''|0}} {{{minP|-}}}</div>}}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{maxP|}}} | <div>{{AltTooltip|color=#d5e3e9|'''Макс. Игроков:'''|Без ограничений}} {{{maxP|-}}}</div>}}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{mappers|}}} | <div>{{AltTooltip|color=#d5e3e9|'''Мапперы:'''|Неизвестно}} {{{mappers|-}}}</div>}}<!-- | ||
--></div> | --></div> | ||
{{#css: | {{#css: | ||
. | .stationwl-header { | ||
background: #3e3e4d; | background: #3e3e4d; | ||
float: right; | float: right; | ||
| Строка 21: | Строка 20: | ||
} | } | ||
. | .stationwl-header > div:not(:first-child) { | ||
border-top: 1px solid #242631; | border-top: 1px solid #242631; | ||
} | } | ||
. | .stationwl-header > div { | ||
padding: 8px 10px; | padding: 8px 10px; | ||
} | } | ||
@media screen and (max-width: 851px) { | @media screen and (max-width: 851px) { | ||
. | .stationwl-header { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
width: 100%; | width: 100%; | ||