userPFP/source/template.css

23 lines
993 B
CSS

/* AVATAR-TEMPLATE-BEGIN */
/* Custom avatar for {id} */
[style*="https://cdn.discordapp.com/avatars/{id}"],
[src^="https://cdn.discordapp.com/avatars/{id}"] {
content: url({img});
object-fit: scale-down;
aspect-ratio: 1;
background-image: none !important;
}
/* AVATAR-TEMPLATE-END */
/* BADGE-TEMPLATE-BEGIN */
/* Custom badge for {id} */
.userProfileInner-1ngKnf:has(.avatar-31d8He:is([src^="https://cdn.discordapp.com/avatars/{id}"]))>.topSection-13QKHs>header>.header-S26rhB>.headerTop-1PNKck>.container-1gYwHN:before,
.userPopoutInner-nv9Y92:has(.avatar-31d8He:is([src^="https://cdn.discordapp.com/avatars/{id}"]))>.container-1gYwHN:before,
.userInfo-regn9W:has([src^="https://cdn.discordapp.com/avatars/{id}"])>.wrapper-3Un6-K+div>.container-1gYwHN:before,
.userPopoutInner-nv9Y92:has(.imageUploaderInner-IIRaFr:is([style*="{id}"]))>.container-1gYwHN:before {
content: "";
width: 22px;
height: 22px;
background: url({img}) center / 100% 100%;
}
/* BADGE-TEMPLATE-END */