Add support for checkmarks in profiles

This commit is contained in:
Sofía Aritz 2023-10-25 21:03:18 +00:00
parent f553701e95
commit a86c362fcf

View file

@ -42,33 +42,39 @@ div.page-content.user.profile div.ui.container div.ui.stackable.grid div.ui.four
/* === Verified Users and Organizations === */ /* === Verified Users and Organizations === */
.ui.user.list a[href="/Infrastructure"]::after { /** ===== Organizations ===== **/
.ui.user.list a[href="/Infrastructure"]::after, #org-info a[href="/Infrastructure.rss"]::after {
display: inline-block; display: inline-block;
content: var(--fj-tweaks--checkmark); content: var(--fj-tweaks--checkmark);
color: var(--fj-tweaks--official-color); color: var(--fj-tweaks--official-color);
border: solid 2px var(--fj-tweaks--official-color); border: solid 2px var(--fj-tweaks--official-color);
padding: 0 2px 1px 3px;
margin-left: 3px; margin-left: 3px;
border-radius: 99999px; border-radius: 99999px;
} }
.ui.user.list a[href="/Infrastructure"]:hover::after { .ui.user.list a[href="/Infrastructure"]::after { padding: 0 2px 1px 3px; }
#org-info a[href="/Infrastructure.rss"]::after { padding: 0 10px 1px 10px; }
.ui.user.list a[href="/Infrastructure"]:hover::after, #org-info a[href="/Infrastructure.rss"]:hover::after {
content: var(--fj-tweaks--official-text); content: var(--fj-tweaks--official-text);
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
} }
.ui.user.list a[href="/sofia"]::after { /** ===== Users ===== **/
.ui.user.list a[href="/sofia"]::after, .profile-avatar-name a[href="/sofia.rss"]::after {
display: inline-block; display: inline-block;
content: var(--fj-tweaks--checkmark); content: var(--fj-tweaks--checkmark);
color: var(--fj-tweaks--verified-color); color: var(--fj-tweaks--verified-color);
border: solid 2px var(--fj-tweaks--verified-color); border: solid 2px var(--fj-tweaks--verified-color);
padding: 0 2px 1px 3px;
margin-left: 3px; margin-left: 3px;
border-radius: 99999px; border-radius: 99999px;
} }
.ui.user.list a[href="/sofia"]:hover::after { .ui.user.list a[href="/sofia"]::after { padding: 0 2px 1px 3px; }
.profile-avatar-name a[href="/sofia.rss"]::after { padding: 0 3.5px 1px 3.5px; }
.ui.user.list a[href="/sofia"]:hover::after, .profile-avatar-name a[href="/sofia.rss"]:hover::after {
content: var(--fj-tweaks--verified-text); content: var(--fj-tweaks--verified-text);
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;