Module:HeroData: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m some attrs now brown instad of grey |
m stat_infobox color shades slightly distinguished |
||
| Line 310: | Line 310: | ||
if (icon_color == "Brown") then | if (icon_color == "Brown") then | ||
image_file = '<span style="position: relative; bottom: 2px; filter: invert(42%) sepia(10%) saturate(2912%) hue-rotate(351deg) brightness(90%) contrast(87%);">' .. image_file .. '</span>' | image_file = '<span style="position: relative; bottom: 2px; filter: invert(42%) sepia(10%) saturate(2912%) hue-rotate(351deg) brightness(90%) contrast(87%);">' .. image_file .. '</span>' | ||
end | end | ||
-- use white instead of grey if grey is returned | |||
-- Add an empty cell following some stats to align them correctly as seen in game | -- Add an empty cell following some stats to align them correctly as seen in game | ||
| Line 320: | Line 319: | ||
extra_blank_cell = "" | extra_blank_cell = "" | ||
end | end | ||
-- bold the stat value | |||
stat_value = '<b>' .. stat_value .. '</b>' | |||
-- slightly lighter color for stat name | |||
label = '<span style="color: #3d3d3d;">' .. label .. '</span>' | |||
-- Add the scaling str if it scales | -- Add the scaling str if it scales | ||