reduce pfp border opacity

This commit is contained in:
Til Schmitter 2026-04-20 22:11:38 +02:00
parent 89ce0578b8
commit 46457fca85
2 changed files with 6 additions and 1 deletions

View file

@ -21,6 +21,7 @@
--fg-weak: color-mix(var(--fg-max) 70%, var(--bg-max) 30%);
--bg: color-mix(var(--bg-max) 85%, var(--fg-max) 15%);
--bg-half: color-mix(var(--bg) 50%, transparent 50%);
--bg-u1: color-mix(var(--bg-max) 80%, var(--fg-max) 20%);
--bg-u2: color-mix(var(--bg-max) 75%, var(--fg-max) 25%);
--bg-u3: color-mix(var(--bg-max) 70%, var(--fg-max) 30%);
@ -1567,7 +1568,10 @@ html.y #ops svg circle {
border-radius: .3em;
justify-content: center;
display: flex;
text-shadow: 1px 1px 0 var(--bg), 1px -1px 0 var(--bg), -1px -1px 0 var(--bg), -1px 1px 0 var(--bg);
text-shadow: none;
}
#acc_pfp.placeholder {
text-shadow: 1px 1px 0 var(--bg-half), 1px -1px 0 var(--bg-half), -1px -1px 0 var(--bg-half), -1px 1px 0 var(--bg-half);
}
.opbox {
padding: .5em;

View file

@ -8465,6 +8465,7 @@ function apply_perms(res) {
ebi('acc_pfp').innerHTML = '👤';
ebi('acc_button').onclick = goHome;
}
clmod(ebi('acc_pfp'), 'placeholder', acct == '*');
var o = QSA('#ops>a[data-perm]');
for (var a = 0; a < o.length; a++) {