diff --git a/source/template.css b/source/template.css index 28875bc2..baf54fea 100644 --- a/source/template.css +++ b/source/template.css @@ -1,12 +1,9 @@ -/* AVATAR-TEMPLATE-BEGIN */ -/* Custom avatar for {id} */ -.userAvatar_c4f005:is([style*="{id}"]), -.avatar__08316:is([src^="https://cdn.discordapp.com/avatars/{id}"]), -.avatar__991e2:is([src^="https://cdn.discordapp.com/avatars/{id}"]) - { +/*{id} is userid in data.json and {img} is the image link, usually gif*/ +.userAvatar_c4f005[style*="{id}"] +,.avatar__08316[src^="https://cdn.discordapp.com/avatars/{id}"] +,.avatar__991e2[src^="https://cdn.discordapp.com/avatars/{id}"] { content: url({img}); object-fit: scale-down; aspect-ratio: 1; background-image: none !important; } -/* AVATAR-TEMPLATE-END */