userPFP/db/template.css

22 lines
743 B
CSS

/* AVATAR-TEMPLATE-BEGIN */
/* Custom avatar for {id} */
[src^="https://cdn.discordapp.com/avatars/{id}/"]
{
content: url("{img}");
}
/* AVATAR-TEMPLATE-END */
/* BADGE-TEMPLATE-BEGIN */
/* Custom badge for {username} */
#app-mount [aria-label="{username}"] .badgeList-2aoHPw::before,
#app-mount [aria-label="{username}"] .profileBadges-2pItdR::before,
#app-mount [aria-label="{username}"] .profileBadge22-3GAYRy::before,
#app-mount [aria-label="{username}"] .profileBadge-12r2Nm::before,
#app-mount [aria-label="{username}"] .profileBadge24-sH1efV::before,
#app-mount [aria-label="{username}"] .badges-XRnWAp::before {
content: "";
width: 22px;
height: 22px;
background: url("{img}") center / 100% 100%;
}
/* BADGE-TEMPLATE-END */