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

Материал из Space Station 14 Вики
мНет описания правки
Нет описания правки
Строка 1: Строка 1:
<div class="rules__container"
<div class="rules__block">
style="
<div class="rules__container">
margin: {{{margin|14px 2px}}};
<div class="rules__title">'''{{{title}}}'''</div>
text-align: {{{text-align|left}}};
<div class="rules__content">{{{content}}}</div>
border-left: 4px solid {{{border-color|#2B30BD}}};
</div>
">
<div class="rules__container--addition">
<div class="rules__title"
<div class="rules__title--addition">'''{{{title-addition}}}'''</div>
style="
<div class="rules__content--addition">{{{content-addition}}}</div>
color: {{{color|white}}};
">'''{{{title}}}'''</div>
<div class="rules__content"
style="
color: {{{color|white}}};
">{{{content}}}</div>
</div>
</div>
<!-- Не изменяемый CSS -->
<!-- Не изменяемый CSS -->
<div class="customCSS" style="display:none">
<div class="customCSS" style="display:none">
.rules__container {
.rules__block {
display: flex;
justify-content: space-between;
text-align: left;
margin: 14px 2px;
padding: 12px;
padding: 12px;
background: #27272e;
background: #27272e;
border-left: 4px solid #2B30BD;
border-radius: 0.3em;
border-radius: 0.3em;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
}
.rules__container:hover {
.rules__block li {
margin-bottom: 15px;
}
.rules__block:hover {
background-color: #26262C;
background-color: #26262C;
}
}
.rules__title {
.rules__container {
 
}
.rules__title,
.rules__title--addition {
font-size: 1.3em;
font-size: 1.3em;
}
}
.rules__content {
.rules__content,
.rules__content--addition {
margin-top: 10px;
margin-top: 10px;
}
}
.rules__content li {
 
margin-bottom: 15px;
.rules__container--addition {
width: 30%;
padding-left: 12px;
border-left: 3px solid #494953;
}
}
</div>
</div>

Версия от 14:30, 21 июля 2024

{{{title}}}
{{{content}}}
{{{title-addition}}}
{{{content-addition}}}