Template:Ability card v2/Card/UpgradeBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
dynamic font sizes Tags: Mobile edit Mobile web edit |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="display:flex; flex-direction:column; flex-grow: 1; flex-basis: 0; max-height: 100px | <div style="display:flex; flex-direction:column; flex-grow: 1; flex-basis: 0; max-height: 100px; overflow: hidden; {{#ifeq: {{{scale_type}}} | spirit | background: rgb(42,41,43); | ||
background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%); |background-color: #2A2A2A}}; padding: 20px 0px 20px 0px; margin: 5px; text-align: center; border: 3px solid {{#ifeq: {{{scale_type}}} | spirit | #583D6F | #2A2A2A}}; box-shadow: 0 0 10px {{#ifeq: {{{scale_type}}} | spirit | #3d2c4d | #2A2A2A}}; border-radius: 1px"> | background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%); |background-color: #2A2A2A}}; padding: 20px 0px 20px 0px; margin: 5px; text-align: center; border: 3px solid {{#ifeq: {{{scale_type}}} | spirit | #583D6F | #2A2A2A}}; box-shadow: 0 0 10px {{#ifeq: {{{scale_type}}} | spirit | #3d2c4d | #2A2A2A}}; border-radius: 1px"> | ||
<div>{{Ap|{{{cost}}}}}</div> | <div style="font-size: clamp(10px, 2vw, 16px);">{{Ap|{{{cost}}}}}</div> | ||
<div style="font-size: {{{fontsize|1em}}}; padding: 5px;">{{{description}}}{{#ifeq: {{{scale_type}}}|spirit|{{ss|{{{scale_value}}}}}}}</div> | <div style="font-size: clamp(10px, 2vw, {{{fontsize|1em}}}); padding: 5px;">{{{description}}}{{#ifeq: {{{scale_type}}}|spirit|{{ss|{{{scale_value}}}}}}}</div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Revision as of 19:38, 23 September 2024
Script error: The function "get_ability_card" does not exist.