same as last commit but includes all right-to-left emojis
parent
fd0a9322cb
commit
0d2d704b64
|
@ -114,11 +114,11 @@
|
|||
transform: translateX(-10vw);
|
||||
}
|
||||
|
||||
.emoji-hz-award img[src="/e/marseywalking.webp"] {
|
||||
.emoji-hz-award img.reversed {
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
|
||||
.emoji-hz-award:nth-child(odd) img[src="/e/marseywalking.webp"] {
|
||||
.emoji-hz-award:nth-child(odd) img.reversed {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
{% set alt = 'emoji-award-' + emoji %}
|
||||
{% set delay = 'animation-delay-' ~ ((loop.index-1)/4)|int %}
|
||||
<div class="{{kind}}-award {{delay}}">
|
||||
<img class="{{delay}}" loading="lazy" alt="{{alt}}" src="{{src}}">
|
||||
<img class="{{delay}} {% if emoji in ['marseywalking', 'capywalking', 'capycarp', 'marseyskinnedwalk', 'reindeer', 'marseyzombiewolftrample', 'taywalking', 'parrotmoonwalking', 'donkeykongwalk', 'dixiekongwalk', 'boosterwalking', 'marseydance', 'hamtarotreadmill',] %}reversed{% endif %}" loading="lazy" alt="{{alt}}" src="{{src}}">
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue