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]
This commit is contained in:
parent
1219e3e74c
commit
0f5f069a53
2 changed files with 10 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
/* AVATAR-TEMPLATE-BEGIN */
|
/* AVATAR-TEMPLATE-BEGIN */
|
||||||
/* Custom avatar for {id} */
|
/* Custom avatar for {id} */
|
||||||
[style*="https://cdn.discordapp.com/avatars/{id}"],
|
div:is([style*="{id}"]),
|
||||||
[src*="{id}"] {
|
img: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;
|
||||||
|
|
@ -11,13 +11,10 @@
|
||||||
|
|
||||||
/* BADGE-TEMPLATE-BEGIN */
|
/* BADGE-TEMPLATE-BEGIN */
|
||||||
/* Custom badge for {id} */
|
/* 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,
|
: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 {
|
||||||
.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: "";
|
content: "";
|
||||||
width: 22px;
|
width: 22px;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
background: url({img}) center / 100% 100%;
|
background: url({img}) center / 100% 100%;
|
||||||
}
|
}
|
||||||
/* BADGE-TEMPLATE-END */
|
/* BADGE-TEMPLATE-END */
|
||||||
|
|
@ -7,3 +7,9 @@
|
||||||
|
|
||||||
/* Avatar Import */
|
/* Avatar Import */
|
||||||
@import url("https://userpfp.github.io/UserPFP/import.css");
|
@import url("https://userpfp.github.io/UserPFP/import.css");
|
||||||
|
[class^=userAvatar_] {
|
||||||
|
border: 3px solid transparent;
|
||||||
|
}
|
||||||
|
:not([class^=avatarStack_])>[class*=avatarSpeaking_] {
|
||||||
|
border: 3px solid var(--green-360) !important;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue