편집 요약 없음 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
<div style="display: inline-block; padding: 0px;">[[파일:고속도로.svg|{{{2}}}px]]<div class="highwaytemplate" style="width: {{{2}}}px; margin: 0px; padding: 0px; font-size: calc({{{2}}}px * 0.43); | <div style="display: inline-block; padding: 0px; vertical-align: middle;"> | ||
[[파일:고속도로.svg|{{{2}}}px]] | |||
<div class="highwaytemplate" style=" | |||
width: {{{2}}}px; | |||
margin: 0px; | |||
padding: 0px; | |||
font-size: calc({{{2}}}px * 0.43); | |||
text-align: center; | |||
color: #fff; | |||
font-family: Youth; | |||
{{#ifexpr:{{{1}}}>99|letter-spacing: calc(-{{{2}}}px * 0.025);}} | |||
{{#ifexpr:{{{1}}}>99|transform: scale(0.85,1);|transform: scale(0.95,1);}} | |||
margin-left: calc(-{{{2}}}px * 0.007);"> | |||
{{{1}}} | |||
</div> | |||
</div> | |||
{{#css: | {{#css: | ||
.highwaytemplate { | .highwaytemplate { | ||
margin-top: calc({{#ifexpr:{{{2}}}<30|-11px|-10.5px}} + -{{{2}}}px * 0.43) !important; | margin-top: calc({{#ifexpr:{{{2}}}<30|-11px|-10.5px}} + -{{{2}}}px * 0.43) !important; | ||
display: inline-block; | |||
vertical-align: middle; | |||
} | } | ||
}} | }} | ||