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

Материал из Space Station 14 Вики
мНет описания правки
Метки: с мобильного устройства из мобильной версии через расширенный мобильный режим
Нет описания правки
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
{{#switch: {{{2|}}}
{{#switch: {{{2|}}}
|h1|#default = <h1 class="modern-title__h1" style="--background-color:{{{background-color|{{{bg|var(--theme-bg-color-350)}}}}}};color:{{{color|var(--theme-text-color-header)}}};margin:{{{margin|1.25em 0 0.7em 0}}};>{{{1}}}</h1>
|h1|#default = <h2 class="modern-title__h1" style="--background-color:{{{background-color|{{{bg|var(--theme-bg-color-300)}}}}}};color:{{{color|var(--theme-text-color-header)}}};margin:{{{margin|1.25em 0 0.7em 0}}};>{{{1}}}</h2>
|h2          = <h2 class="modern-title__h2" style="--background-color:{{{background-color|{{{bg|linear-gradient(90deg, var(--theme-bg-color-350) -50%, transparent 130%)}}}}}};color:{{{color|var(--theme-text-color-header)}}};margin:{{{margin|28px 0 12px}}};>{{{1}}}</h2>
|h2          = <h3 class="modern-title__h2" style="--background-color:{{{background-color|{{{bg|linear-gradient(90deg, var(--theme-bg-color-300) -50%, transparent 130%)}}}}}};color:{{{color|var(--theme-text-color-header)}}};margin:{{{margin|28px 0 12px}}};>{{{1}}}</h3>
|h3          = <h3 class="modern-title__h3" style="color:{{{color|var(--theme-text-color-header)}}};margin:{{{margin|1.1em 0 0.5em}}};>{{{1}}}</h3>
|h3          = <h4 class="modern-title__h3" style="color:{{{color|var(--theme-text-color-header)}}};margin:{{{margin|1.1em 0 0.5em}}};>{{{1}}}</h4>
|h4          = <div class="modern-title__h4" style="color:{{{color|var(--theme-text-color-header)}}};margin:{{{margin|1.1em 0 0.5em}}};font-size:0.95rem>'''{{{1}}}'''</div>
|h4          = <div class="modern-title__h4" style="color:{{{color|var(--theme-text-color-header)}}};margin:{{{margin|1.1em 0 0.5em}}};font-size:0.95rem>'''{{{1}}}'''</div>
}}<!--
}}<!--
Строка 71: Строка 71:
<!-- Заголовок h2 -->
<!-- Заголовок h2 -->
.modern-title__h2 {
.modern-title__h2 {
    font-size: 1.2em !important;
    font-weight: bold !important;
     padding: 6px 8px !important;
     padding: 6px 8px !important;
     background: var(--background-color);
     background: var(--background-color);
Строка 80: Строка 78:
<!-- Сброс стилей -->
<!-- Сброс стилей -->
.modern-title__h2 {
.modern-title__h2 {
    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;
     font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif !important;
Строка 88: Строка 85:
.modern-title__h3 {
.modern-title__h3 {
     font-size: 1.15em !important;
     font-size: 1.15em !important;
    font-weight: bold !important;
}
}



Текущая версия от 19:00, 24 февраля 2026

{{{1}}}