Template:Clickable button: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<div class="mw-ui-button" style="position: relative; display: inline-block; padding: 100px; font-size: 1.5em; | <div class="mw-ui-button" style=" | ||
position: relative; | |||
display: inline-block; | |||
padding: 100px; | |||
font-size: 1.5em; | |||
text-align: center; | |||
background-size: contain; | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
background-image: url({{filepath:{{{image|}}}}}); | |||
"> | |||
<!-- Button Text --> | <!-- Button Text --> | ||
<div style="position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #facc91;"> | <div style=" | ||
position: absolute; | |||
bottom: 20px; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
color: #facc91; | |||
"> | |||
{{{text|{{{1|Button text}}}}}} | {{{text|{{{1|Button text}}}}}} | ||
</div> | </div> |