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

Материал из Space Station 14 Вики
мНет описания правки
мНет описания правки
 
(не показано 20 промежуточных версий этого же участника)
Строка 1: Строка 1:
{{#switch: {{{2|}}}
{{#switch: {{{2|}}}
|h1|#default = <h1 class="modern-title__h1" style="--background-color:{{{background-color|#363649}}};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|#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, #33333f -30%, #212126 80%)}}};color:{{{color|#dddddd}}};margin:{{{margin|1.25em 0 0.7em 0}}};><span class="modern-title-h2">{{{1}}}</span></h2>
|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.2em 0 0.5em 0}}};><span class="modern-title-h2">{{{1}}}</span></h3>
|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.15rem !important;
     font-size: 1.2em !important;
    font-family: "noto sans" !important;
     font-weight: bold !important;
     font-weight: bold !important;
     padding: 6px 8px;
     padding: 6px 8px;
Строка 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: 0.95rem !important;
     font-size: 1.15em !important;
     font-weight: bold !important;
     font-weight: bold !important;
    font-family: "noto sans" !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;
}
}}
}}

Текущая версия от 21:14, 17 февраля 2025

{{{1}}}