userPFP/source/template.css
coolesding aa2671102f
fix fetching template
i didnt know the template begin and end comments were important, i should have known considering they were functional with the badges haha
2024-03-10 13:19:57 +01:00

12 lines
462 B
CSS

/* AVATAR-TEMPLATE-BEGIN */
/*{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}"]
,.avatar__777a6[src^="https://cdn.discordapp.com/avatars/{id}"] {
content: url({img});
object-fit: scale-down;
aspect-ratio: 1;
background-image: none !important;
}
/* AVATAR-TEMPLATE-END */