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

Материал из Space Station 14 Вики
мНет описания правки
Нет описания правки
Строка 1: Строка 1:
<div class="gradient-header-frame" style="background-color:{{{background-color|#23232a}}};margin:{{{margin|16px 0px}}};>
<div class="gradient-header-frame" style="margin:{{{margin|16px 0px}}};>


<div class="gradient-header-frame__header" style="justify-content:{{#if:{{{picture|}}}|space-between|center}};>
<div class="gradient-header-frame__header" style="justify-content:{{#if:{{{picture|}}}|space-between|center}};>
Строка 12: Строка 12:
-->{{#css:
-->{{#css:
.gradient-header-frame {
.gradient-header-frame {
    display: flex;
    flex-direction: column;
   
     border: 1px solid #373741;
     border: 1px solid #373741;
     border-radius: 0.3em;
     border-radius: 0.3em;
Строка 23: Строка 26:
     font-family: "noto sans";
     font-family: "noto sans";
     padding: 6px 10px;
     padding: 6px 10px;
     background: linear-gradient(90deg, #303039 0%, #383843 50%, #303039 100%);
     background: linear-gradient(120deg, #292931 0%, #33333d 50%, #292931 100%);
     text-align: center;
     text-align: center;
}
}


.gradient-header-frame__content {
.gradient-header-frame__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:17, 28 января 2025

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