Template:ItemBox: Difference between revisions

Jump to navigation Jump to search
fixed active word not fitting
Moved component icons in their places
Line 26: Line 26:
  | Vitality = background-color: #FFFFE7; color: #1C1E18;
  | Vitality = background-color: #FFFFE7; color: #1C1E18;
  | Spirit = background-color: #FFEFD7; color: #131610;
  | Spirit = background-color: #FFEFD7; color: #131610;
  | background-color: #FFF0D7; color: #151912;}}">{{Icon/Black|[[File:{{#invoke:ItemData|get_component_name|{{{item_name|{{{1}}}}}}}}.png|20px|link={{#invoke:ItemData|get_component_name|{{{item_name|{{{1}}}}}}}}]]}}</div></div>
  | background-color: #FFF0D7; color: #151912;}}"><div style="display: flex; justify-content: center; align-items: center; width: 100%; height: 100%;">
  <div style="position: relative; top: 4px; left: -13px;">
    {{Icon/Black|[[File:{{#invoke:ItemData|get_component_name|{{{item_name|{{{1}}}}}}}}.png|16px|link={{#invoke:ItemData|get_component_name|{{{item_name|{{{1}}}}}}}}]]}}
  </div>
</div></div></div>
}}
}}
|- style="display:flex;justify-content: center; align-items: center;border-radius: 0px 0px 5px 5px; height:60px; font-size: 12px; {{
|- style="display:flex;justify-content: center; align-items: center;border-radius: 0px 0px 5px 5px; height:60px; font-size: 12px; {{