Шаблон:GradientHeaderFrame/Sub: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
Строка 1: | Строка 1: | ||
<div class="gradient-header-frame-sub" style=" | <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( | 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}}}