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

Материал из Space Station 14 Вики
мНет описания правки
Нет описания правки
Строка 1: Строка 1:
<div class="gradient-header-frame-sub" style="background-color:{{{background-color|#23232a}}};margin:{{{margin|16px 0px}}};>
<div class="gradient-header-frame-sub" style="margin:{{{margin|16px 0px}}};>
<div class="gradient-header-frame-sub__header">
<div class="gradient-header-frame-sub__header">
<div>'''{{{title}}}'''</div>
<div>'''{{{title}}}'''</div>
Строка 7: Строка 7:
-->{{#css:
-->{{#css:
.gradient-header-frame-sub {
.gradient-header-frame-sub {
    display: flex;
    flex-direction: column;
   
     border: 1px solid #373741;
     border: 1px solid #373741;
     border-radius: 0.3em;
     border-radius: 0.3em;
Строка 16: Строка 19:
     font-family: "noto sans";
     font-family: "noto sans";
     padding: 6px 10px;
     padding: 6px 10px;
     background: linear-gradient(90deg, #383843 0%, #303039 80%);
     background: linear-gradient(120deg, #33333d, #292931);
     text-align: left;
     text-align: left;
}
}


.gradient-header-frame-sub__content {
.gradient-header-frame-sub__content {
 
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    background: #232329;
    flex-grow: 2;
    border-radius: 0 0 0.3em 0.3em;
}
}
}}
}}

Версия от 05:16, 28 января 2025

{{{title}}}
{{{content}}}