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

Материал из Space Station 14 Вики
мНет описания правки
мНет описания правки
 
(не показаны 3 промежуточные версии этого же участника)
Строка 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>
Строка 32: Строка 32:
}
}
.rules__block li {
.rules__block li {
margin-top: 12px;
margin-top: {{{margin-li|8px}}};
}
}
.rules__container {
.rules__container {
Строка 62: Строка 62:
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
transition: background 0.3s ease;
transition: background 0.3s ease;
}
.rules__container--addition:hover {
background: #373743;
}
}
.rules__content--addition {
.rules__content--addition {

Текущая версия от 11:23, 7 сентября 2024