Template:HeroRosterCard: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) No edit summary |
Set fixed width and height for cards to resolve layout issues caused by variable image sizes and text lengths. |
||
| Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
<div style="display:inline-block; margin: 15px 10px 15px 10px; width: | <div style="display:inline-block; margin: 15px 10px 15px 10px; width: 720px;"> | ||
{|- style="text-align:left; background-image: linear-gradient(30deg, #e8be86, #fdf5e8); border-collapse:collapse; border-radius: 55px; font-size: 12px; color:#000000; font-family:'Retail Demo Regular','Open Sans', 'PT Serif','Palatino','Georgia',serif;" | {|- style="width: 100%; text-align:left; background-image: linear-gradient(30deg, #e8be86, #fdf5e8); border-collapse:collapse; border-radius: 55px; font-size: 12px; color:#000000; font-family:'Retail Demo Regular','Open Sans', 'PT Serif','Palatino','Georgia',serif;" | ||
| rowspan="4" | <div class="HeroCard2 hide-parent-td-mobile" style=" | | rowspan="4" style="width: 300px;" | <div class="HeroCard2 hide-parent-td-mobile" style="height: 280px; display: flex; align-items: center; justify-content: center; transition: 0.08s transform ease-in-out;">[[File:{{{hero|Abrams}}} Render.png|256x300px|link={{{hero|Abrams}}}{{If_lang}}]]</div> | ||
| style="text-align:center; font-family: 'Forevs Demo','Open Sans'; background-color: #FCEED4; height:45px; font-size:25px; color:#000000; line-height:8px; vertical-align: middle;" colspan="2" | {{If lang | | style="text-align:center; font-family: 'Forevs Demo','Open Sans'; background-color: #FCEED4; height:45px; font-size:25px; color:#000000; line-height:8px; vertical-align: middle;" colspan="2" | {{If lang | ||
| <!-- 1st Parameter: English/Default --> | | <!-- 1st Parameter: English/Default --> | ||