Шаблон:RulesBox: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
(не показаны 3 промежуточные версии этого же участника) | |||
Строка 1: | Строка 1: | ||
<div class="rules__block" style="margin: {{{margin|20px 5px}}};border-left: {{{border-size|5px}}} solid {{{border-color|# | <div class="rules__block" style="margin:{{{margin|20px 5px}}};border-left:{{{border-size|5px}}} solid {{{border-color|#404053}}};padding:{{{padding|12px}}};color:{{{color|lightgrey}}};> | ||
<div class="rules__container"> | <div class="rules__container"> | ||
{{#if: {{{title|}}} | | {{#if: {{{title|}}} | | ||
Строка 5: | Строка 5: | ||
}} | }} | ||
{{#if: {{{content|}}} | | {{#if: {{{content|}}} | | ||
<div class="rules__content" style="margin-top: {{{margin-top-content|10px}}};>{{{content}}}</div> | <div class="rules__content" style="margin-top:{{{margin-top-content|10px}}};>{{{content}}}</div> | ||
}} | }} | ||
</div> | </div> | ||
Строка 14: | Строка 14: | ||
</div> | </div> | ||
}} | }} | ||
</div> | </div><!-- | ||
<!-- | |||
-->{{#css: | |||
.rules__block { | .rules__block { | ||
position: relative; | position: relative; | ||
Строка 32: | Строка 32: | ||
} | } | ||
.rules__block li { | .rules__block li { | ||
margin-top: {{{margin-li| | margin-top: {{{margin-li|8px}}}; | ||
} | } | ||
.rules__container { | .rules__container { | ||
Строка 101: | Строка 101: | ||
} | } | ||
} | } | ||
}} | |||
Текущая версия от 15:39, 20 сентября 2024