Шаблон:RulesBox: различия между версиями

Материал из Space Station 14 Вики
мНет описания правки
мНет описания правки
 
(не показаны 4 промежуточные версии этого же участника)
Строка 1: Строка 1:
<div class="rules__block" style="margin: {{{margin|20px 5px}}};border-left: {{{border-size|5px}}} solid {{{border-color|#2B30BD}}};padding: {{{padding|12px}}};color: {{{color|lightgrey}}};>
<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 -->
 
<div class="customCSS" style="display:none">
-->{{#css:
.rules__block {
.rules__block {
position: relative;
position: relative;
Строка 32: Строка 32:
}
}
.rules__block li {
.rules__block li {
margin-top: 12px;
margin-top: {{{margin-li|8px}}};
}
}
.rules__container {
.rules__container {
Строка 101: Строка 101:
}
}
}
}
 
}}
</div>

Текущая версия от 15:39, 20 сентября 2024