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

Материал из Space Station 14 Вики
мНет описания правки
мНет описания правки
(не показаны 4 промежуточные версии этого же участника)
Строка 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(90deg, #393949 -40%, #212126 100%)}}};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, #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.5em 0}}};><span class="modern-title-h2">{{{1}}}</span></h3>
|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-family: "noto sans" !important;
     font-weight: bold !important;
     font-weight: bold !important;
     padding: 6px 8px;
     padding: 6px 8px;
     background: var(--background-color);
     background: var(--background-color);
     border-radius: 0.2em;
     border-radius: 0.2em;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
}


Строка 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;
}
}


Строка 86: Строка 87:
     font-size: 0.95rem !important;
     font-size: 0.95rem !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;
}
}}
}}

Версия от 02:50, 30 января 2025

{{{1}}}