Шаблон:ModernTitle: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
(не показаны 2 промежуточные версии этого же участника) | |||
Строка 1: | Строка 1: | ||
{{#switch: {{{2|}}} | {{#switch: {{{2|}}} | ||
|h1|#default = <h1 class="modern-title__h1" style="--background-color:{{{background-color|#343445}}};color:{{{color|#dddddd}}};margin:{{{margin|1.25em 0 0.7em 0}}};><span class="modern-title-h2">{{{1}}}</span></h1> | |h1|#default = <h1 class="modern-title__h1" style="--background-color:{{{background-color|#343445}}};color:{{{color|#dddddd}}};margin:{{{margin|1.25em 0 0.7em 0}}};><span class="modern-title-h2">{{{1}}}</span></h1> | ||
|h2 = <h2 class="modern-title__h2" style="--background-color:{{{background-color|linear-gradient( | |h2 = <h2 class="modern-title__h2" style="--background-color:{{{background-color|linear-gradient(90deg, #363645 -40%, #212126 100%)}}};color:{{{color|#dddddd}}};margin:{{{margin|1.25em 0 0.7em 0}}};><span class="modern-title-h2">{{{1}}}</span></h2> | ||
|h3 = <h3 class="modern-title__h3" style="color:{{{color|#dddddd}}};margin:{{{margin|1.2em 0 0. | |h3 = <h3 class="modern-title__h3" style="color:{{{color|#dddddd}}};margin:{{{margin|1.2em 0 0.7em 0}}};><span class="modern-title-h2">{{{1}}}</span></h3> | ||
}}<!-- | }}<!-- | ||
Строка 69: | Строка 69: | ||
.modern-title__h2 { | .modern-title__h2 { | ||
font-size: 1.15rem !important; | font-size: 1.15rem !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
padding: 6px 8px; | padding: 6px 8px; | ||
Строка 81: | Строка 80: | ||
border-bottom: none !important; | border-bottom: none !important; | ||
line-height: unset !important; | line-height: unset !important; | ||
font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif !important; | |||
} | } | ||
Строка 87: | Строка 87: | ||
font-size: 0.95rem !important; | font-size: 0.95rem !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
} | } | ||
<!-- Сброс стилей --> | <!-- Сброс стилей --> | ||
.modern-title__h3 { | |||
font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif !important; | |||
} | |||
}} | }} |