Module:Sprite: Difference between revisions

Jump to navigation Jump to search
401 bytes removed ,  29 May 2022
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 32: Line 32:
['vertical-align'] = 'middle',
['vertical-align'] = 'middle',
['--blackstroke-color'] = outline
['--blackstroke-color'] = outline
})
:tag('span')
:css({
position = 'absolute',
height = tostring(sheetHeight * ratio) .. 'px',
width = tostring(sheetWidth * ratio) .. 'px',
top = tostring((offsetY - cellHeight * row) * ratio) .. 'px',
left = tostring((offsetX - cellWidth * col) * ratio) .. 'px'
})
:tag('img')
:attr({
class = imageClass,
src = "https://wiki.rhythm.cafe/w/images/c/c7/IanSpriteS.png"
})
})
:allDone()
:allDone()

Navigation menu