From 0d2d704b64495a8984a16ce9c2e41a9c10d5579a Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 17 Oct 2023 23:32:44 +0300 Subject: [PATCH] same as last commit but includes all right-to-left emojis --- files/assets/css/awards.css | 4 ++-- files/templates/awards.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/assets/css/awards.css b/files/assets/css/awards.css index 29ce225c6..49dbf9a05 100644 --- a/files/assets/css/awards.css +++ b/files/assets/css/awards.css @@ -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); } diff --git a/files/templates/awards.html b/files/templates/awards.html index ce0b876d3..09cb1478f 100644 --- a/files/templates/awards.html +++ b/files/templates/awards.html @@ -17,7 +17,7 @@ {% set alt = 'emoji-award-' + emoji %} {% set delay = 'animation-delay-' ~ ((loop.index-1)/4)|int %}
- {{alt}} + {{alt}}
{% endfor %}