- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 11:
Line 11:
− +
− +
− +
Change layered display method to positioned spans; keeps image as inline and avoids baseline weirdness
flagship = {image = "Flagship battle card icon.png", top = "5px", left = "137px"},
flagship = {image = "Flagship battle card icon.png", top = "5px", left = "137px"},
},
},
_battle_card_wrapper = [[<div style="position: relative; width: 160px; height: 40px;">${layers}</div>]],
_battle_card_wrapper = [[<span style="display: inline-block; position: relative;">${layers}</span>]],
_battle_card_layer = [[<div style="position: absolute;">${image}</div>]],
_battle_card_layer = [[<span style="position: absolute;">${image}</span>]],
_image_layer = [[<div style="position: absolute; top: ${top}; left: ${left};">${image}</div>]],
_image_layer = [[<span style="position: absolute; top: ${top}; left: ${left};">${image}</span>]],
}
}