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

Материал из Space Station 14 Вики
мНет описания правки
мНет описания правки
 
(не показана 1 промежуточная версия этого же участника)
Строка 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>
Строка 15: Строка 15:
}}
}}
</div>
</div>
<!-- Не изменяемый CSS -->
{{#css:
<div class="customCSS" style="display:none">
.rules__block {
.rules__block {
position: relative;
position: relative;
Строка 101: Строка 100:
}
}
}
}
 
}}
</div>

Текущая версия от 18:05, 19 сентября 2024