userPFP/source/template.css
coolesding 0f5f069a53
Changed usrpfp.theme.css to userpfp.theme.css
Added fix for voice chat speaking rings to userpfp.theme.css
Changed template to test performance and allow future optimization [EXPERIMENTAL]
2023-10-25 15:32:02 +02:00

20 lines
No EOL
650 B
CSS

/* AVATAR-TEMPLATE-BEGIN */
/* Custom avatar for {id} */
div:is([style*="{id}"]),
img:is([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} */
:is([class^=userPopoutInner], [class^=header_], [class^=userInfo_], [class^=none_]):has(img[src^="https://cdn.discordapp.com/avatars/{id}"]) div:is([class^=profileBadges_], [class^=badgeList_]):before {
content: "";
width: 22px;
height: 22px;
background: url({img}) center / 100% 100%;
}
/* BADGE-TEMPLATE-END */