Replace Osu! emojis with Twemoji

This commit is contained in:
Foorack / Max Faxälv
2022-08-03 21:42:21 +02:00
parent 1c5cc90069
commit 6dd0dd7c64
3 changed files with 23 additions and 6 deletions

View File

@@ -1,13 +1,13 @@
:root {
--offx: 20px; /* flag size */
--offy: calc(var(--offx) / 70 * 46);
--offy: calc(var(--offx) / 72 * 52);
}
.flags {
background: url('/images/flags.png') no-repeat;
background-size: calc(var(--offx) * 6);
width: var(--offx);
height: var(--offy);
transform: translateY(calc(var(--offx) / 16));
transform: translateY(2px); /* move flag down */
background-position: calc(var(--offx) * -5) calc(var(--offy) * -4);
}
span[class='flags'] {