Шаблон:ModernTitle: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
(не показана 21 промежуточная версия этого же участника) | |||
Строка 1: | Строка 1: | ||
{{#switch: {{{2|}}} | {{#switch: {{{2|}}} | ||
|h1|#default = <h1 class="modern-title__h1" style="--background-color:{{{background-color|# | |h1|#default = <h1 class="modern-title__h1" style="--background-color:{{{background-color|#31313f}}};color:{{{color|#dddddd}}};margin:{{{margin|1.25em 0 0.7em 0}}};>{{{1}}}</h1> | ||
|h2 = <h2 class="modern-title__h2" style="--background-color:{{{background-color|linear-gradient(90deg, # | |h2 = <h2 class="modern-title__h2" style="--background-color:{{{background-color|linear-gradient(90deg, #b2b2ff1b -50%, #ffffff00 130%)}}};color:{{{color|#dddddd}}};margin:{{{margin|28px 0 12px}}};>{{{1}}}</h2> | ||
|h3 = <h3 class="modern-title__h3" style="color:{{{color|#dddddd}}};margin:{{{margin|1. | |h3 = <h3 class="modern-title__h3" style="color:{{{color|#dddddd}}};margin:{{{margin|1.1em 0 0.5em}}};>{{{1}}}</h3> | ||
|h4 = <div class="modern-title__h4" style="color:{{{color|#dddddd}}};margin:{{{margin|1.1em 0 0.5em}}};font-size:0.95rem>'''{{{1}}}'''</div> | |||
}}<!-- | }}<!-- | ||
Строка 68: | Строка 69: | ||
<!-- Заголовок h2 --> | <!-- Заголовок h2 --> | ||
.modern-title__h2 { | .modern-title__h2 { | ||
font-size: 1. | font-size: 1.2em !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
padding: 6px; | padding: 6px 8px; | ||
background: var(--background-color); | background: var(--background-color); | ||
border-radius: 0.2em; | border-radius: 0.2em; | ||
Строка 80: | Строка 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; | |||
} | } | ||
<!-- Заголовок h3 --> | <!-- Заголовок h3 --> | ||
.modern-title__h3 { | .modern-title__h3 { | ||
font-size: | font-size: 1.15em !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; | |||
} | |||
}} | }} |