same as last commit but includes all right-to-left emojis

pull/216/head
Aevann 2023-10-17 23:32:44 +03:00
parent fd0a9322cb
commit 0d2d704b64
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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>