MediaWiki:Custom-common.less/roles.less

/* For wiki's role styling */

/* Role Colors, URLs */ body { /* URLs */ --custom-rolebadge-bot: url("https://static.wikia.nocookie.net/hypixel-skyblock/images/0/08/Badge-Bot.png/revision/latest"); --custom-rolebadge-bureaucrat: url("https://static.wikia.nocookie.net/hypixel-skyblock/images/2/27/Badge-Bureaucrat.png/revision/latest"); --custom-rolebadge-sysop: url("https://static.wikia.nocookie.net/hypixel-skyblock/images/e/e1/Badge-Administrator.png/revision/latest"); --custom-rolebadge-codeeditor: url("https://static.wikia.nocookie.net/hypixel-skyblock/images/b/b9/Badge-CodeEditor.png/revision/latest"); --custom-rolebadge-content-moderator: url("https://static.wikia.nocookie.net/hypixel-skyblock/images/0/03/Badge-ContentModerator.png/revision/latest"); --custom-rolebadge-threadmoderator: url("https://static.wikia.nocookie.net/hypixel-skyblock/images/a/aa/Badge-DiscussionsModerator.png/revision/latest"); --custom-rolebadge-rollback: url("https://static.wikia.nocookie.net/hypixel-skyblock/images/6/68/Badge-Rollback.png/revision/latest"); --custom-rolebadge-ard: url("https://static.wikia.nocookie.net/hypixel-skyblock/images/e/e2/Badge-ARD.png/revision/latest"); --custom-rolebadge-dev: url("https://static.wikia.nocookie.net/hypixel-skyblock/images/7/70/Badge-Dev.png/revision/latest"); /* Colors */ --custom-rolecolor-bot: darkgray; --custom-rolecolor-bureaucrat: #ff3f43; --custom-rolecolor-sysop: #a431fc; --custom-rolecolor-codeeditor: #5874f3; --custom-rolecolor-content-moderator: #31AF84; --custom-rolecolor-threadmoderator: #1f9921; --custom-rolecolor-rollback: #ff992b; --custom-rolecolor-ard: #ec3b83; --custom-rolecolor-dev: #ec593b; --custom-rolecolor-abusefilter: #494fa6; --custom-rolecolor-wiki-representative: #c0b706; }

/* Role Styling for Usernames */ /* Bureaucrats */ .user-link-bcrat { font-weight: bold; color: var(--custom-rolecolor-bureaucrat) !important; text-shadow: 0 0 4px var(--custom-rolecolor-bureaucrat) !important; } /* Admins */ .user-link-admin { font-weight: bold; color: var(--custom-rolecolor-sysop) !important; text-shadow: 0 0 4px var(--custom-rolecolor-sysop) !important; } /* Code Editors */ .user-link-codeeditor { font-weight: bold; color: var(--custom-rolecolor-codeeditor) !important; text-shadow: 0 0 3px var(--custom-rolecolor-codeeditor) !important; } /* Content moderators */ .user-link-mod { font-weight: bold; color: var(--custom-rolecolor-content-moderator) !important; text-shadow: 0 0 3px var(--custom-rolecolor-content-moderator) !important; } /* Discussion moderators */ .user-link-dmod { font-weight: bold; color: var(--custom-rolecolor-threadmoderator) !important; text-shadow: 0 0 3px var(--custom-rolecolor-threadmoderator) !important; } /* Rollbackers */ .user-link-rollback { font-weight: bold; color: var(--custom-rolecolor-rollback) !important; text-shadow: 0 0 4px var(--custom-rolecolor-rollback) !important; } /* Bots */ .user-link-bot { font-weight: bold; color: var(--custom-rolecolor-bot) !important; text-shadow: 0 0 3px var(--custom-rolecolor-bot) !important; } /* Username Styling (Specialists) */ /* ARD Specialists */ .user-link-ard { font-weight: bold; color: var(--custom-rolecolor-ard) !important; text-shadow: 0 0 3px var(--custom-rolecolor-ard) !important; } /* Dev Specialists */ .user-link-dev { font-weight: bold; color: var(--custom-rolecolor-dev) !important; text-shadow: 0 0 3px var(--custom-rolecolor-dev) !important; }