Шаблон:Pageframecollapse: различия между версиями
Admin (обсуждение | вклад) обновление контента вики Мини-станции |
Admin (обсуждение | вклад) СРП: стили приведены к теме вики (цвета, рамки, контраст) |
||
| Строка 1: | Строка 1: | ||
<div class="pageframe-container" style="display: flex; flex-direction: column; border-radius: var(--border-radius-medium); border: 1px solid var(--color-border); margin: 1em 0.2em 1em 0.2em; box-shadow: 0 0 5px rgba(0, 0, 0, 0.25) | <div class="pageframe-container" style="display: flex; flex-direction: column; border-radius: var(--border-radius-medium); border: 1px solid var(--color-border); margin: 1em 0.2em 1em 0.2em; box-shadow: 0 0 5px rgba(0, 0, 0, 0.25)"> | ||
<div class="pageframe-header" style="background-color: {{ColorPalette|{{{color}}}|Primary}}; border-bottom: 2px solid {{ColorPalette|{{{color}}}|Opaque}}; color: var(--color-text); padding: 0.75em 0.5em 0; border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0 | <div class="pageframe-header" style="background-color: {{ColorPalette|{{{color}}}|Primary}}; border-bottom: 2px solid {{ColorPalette|{{{color}}}|Opaque}}; color: var(--color-text); padding: 0.75em 0.5em 0; border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0"><center style="color: var(--color-white)">{{#if:{{{image|}}}|[[file:{{{image}}}|left|24px]]|}}'''{{{title}}}'''{{#if:{{{image|}}}|[[file:{{{image}}}|right|24px]]|}}</center></div> | ||
<div style="background: {{ColorPalette|{{{color}}}|Transparent}}; border-radius: 0 0 .2em .2em | <div style="background: {{ColorPalette|{{{color}}}|Transparent}}; border-radius: 0 0 .2em .2em"> | ||
{| class="mw-collapsible mw-collapsed wikitable" style="background: transparent; border: 0; padding: 0.5em; width: 100% | {| class="mw-collapsible mw-collapsed wikitable" style="background: transparent; border: 0; padding: 0.5em; width: 100%" | ||
|- | |- | ||
! style="background: transparent; border: 0; width: 100%; text-align: left; font-weight: normal | ! style="background: transparent; border: 0; width: 100%; text-align: left; font-weight: normal" | {{{header}}} | ||
|- | |- | ||
! style="background: transparent; border: 0; margin-top: 1em; width: 100%; text-align: left; font-weight: normal | ! style="background: transparent; border: 0; margin-top: 1em; width: 100%; text-align: left; font-weight: normal" | {{{content}}} | ||
|} | |} | ||
</div></div></div> | </div></div></div> | ||
Версия от 00:39, 22 сентября 2026
| {{{header}}} |
|---|
| {{{content}}} |