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

Материал из Space Station 14 Вики
мНет описания правки
мНет описания правки
 
(не показано 14 промежуточных версий этого же участника)
Строка 1: Строка 1:
<div class="wikitable" style="text-align:left;border-radius:0.7em;border:0.15em solid #{{{border-color}}}">
<div class="frame__container" style="
<div style="margin:0;font-size:1em;font-weight:500;normal;color:{{{color}}};">{{{content}}}</div></div>
margin: {{{margin|4px 2px}}};
text-align: {{{text-align|left}}};
padding: {{{padding|clamp(8px, 1vw, 12px)}}};
background: {{{background-color|#27272e}}};
border: {{{border-size|0.25em}}} solid {{{border-color|#4c4c61}}};
border-radius: {{{border-radius|0.3em}}};
">
<div class="frame__content" style="color: {{{color}}};font-size: {{{font-size|1em}}};font-weight: {{{font-weight|500}}};>{{{content}}}</div>
</div>
{{#css:
.frame__container dl {
margin: 0 !important;
}
.frame__container dd {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
}}

Текущая версия от 18:04, 19 сентября 2024

{{{content}}}