
color: #fff;
background: linear-gradient(135deg, #3b82f6, #00f0ff);
padding: 4px 12px;
font-weight: 600;
display: inline-block;
position: relative;
text-transform: uppercase;
letter-spacing: 0.5px;
/* Flattened corners */
clip-path: polygon(
8px 0%,
100% 0%,
100% calc(100% - 8px),
calc(100% - 8px) 100%,
0% 100%,
0% 8px
);
/* Neon Glow */
box-shadow:
0 0 6px #00f0ff,
0 0 12px rgba(0, 240, 255, 0.6),
0 0 18px rgba(59, 130, 246, 0.5);
/* Smooth edges */
transition: all 0.2s ease-in-out;
/* Admin (ID 3 Example) */
.username--style3:before {
content: "👑 ";
}
/* Senior Mod (ID 4 Example) */
.username--style4:before {
content: "🛡 ";
}
/* Expert */
.username--style7:before {
content: "⚙ ";
}
/* Contributor */
.username--style8:before {
content: "🏆 ";
}
/styles/icons/crown.svg
/styles/icons/shield.svg
/styles/icons/cog.svg
/styles/icons/trophy.svg
/* =========================================
SELF-HOSTED ICON VERSION
This version loads SVG/PNG icons directly
from your own server.
========================================= */
/* Administrator (Usergroup ID 3) */
.memberListLegend .username--style3::before {
content: "";
display: inline-block;
width: 14px;
height: 14px;
margin-right: 6px;
background: url('/styles/icons/crown.svg') no-repeat center;
background-size: contain;
vertical-align: middle;
}
/* Senior Moderator (Usergroup ID 4) */
.memberListLegend .username--style4::before {
content: "";
display: inline-block;
width: 14px;
height: 14px;
margin-right: 6px;
background: url('/styles/icons/shield.svg') no-repeat center;
background-size: contain;
vertical-align: middle;
}
/* Expert (Usergroup ID 7) */
.memberListLegend .username--style7::before {
content: "";
display: inline-block;
width: 14px;
height: 14px;
margin-right: 6px;
background: url('/styles/icons/cog.svg') no-repeat center;
background-size: contain;
vertical-align: middle;
}
/* Contributor (Usergroup ID 8) */
.memberListLegend .username--style8::before {
content: "";
display: inline-block;
width: 14px;
height: 14px;
margin-right: 6px;
background: url('/styles/icons/trophy.svg') no-repeat center;
background-size: contain;
vertical-align: middle;
}