tiny performance up, modern format
This commit is contained in:
parent
83dc54773d
commit
6b858685f2
1 changed files with 4 additions and 7 deletions
|
|
@ -1,12 +1,9 @@
|
||||||
/* AVATAR-TEMPLATE-BEGIN */
|
/*{id} is userid in data.json and {img} is the image link, usually gif*/
|
||||||
/* Custom avatar for {id} */
|
.userAvatar_c4f005[style*="{id}"]
|
||||||
.userAvatar_c4f005:is([style*="{id}"]),
|
,.avatar__08316[src^="https://cdn.discordapp.com/avatars/{id}"]
|
||||||
.avatar__08316:is([src^="https://cdn.discordapp.com/avatars/{id}"]),
|
,.avatar__991e2[src^="https://cdn.discordapp.com/avatars/{id}"] {
|
||||||
.avatar__991e2:is([src^="https://cdn.discordapp.com/avatars/{id}"])
|
|
||||||
{
|
|
||||||
content: url({img});
|
content: url({img});
|
||||||
object-fit: scale-down;
|
object-fit: scale-down;
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
background-image: none !important;
|
background-image: none !important;
|
||||||
}
|
}
|
||||||
/* AVATAR-TEMPLATE-END */
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue