36degrees
Member
At the minute, any username styling classes (
This means that if you want to change the colour of these usernames, the text will change but any text-decoration applied by the link will not, resulting in something like this:
If the classes were instead added to the link (wherever the username is a link), users would be able to style the text-decoration as well, and it would allow you to remove an otherwise redundant
username--staff
, username--moderator
, username--admin
, username--banned
and any username--style[X]
) are applied to a <span>
within the link:
HTML:
<a href="/members/admin.1/" class="username ">
<span class="username--style3 username--staff username--moderator username--admin">Admin</span>
</a>
This means that if you want to change the colour of these usernames, the text will change but any text-decoration applied by the link will not, resulting in something like this:
If the classes were instead added to the link (wherever the username is a link), users would be able to style the text-decoration as well, and it would allow you to remove an otherwise redundant
<span>
HTML:
<a href="/members/admin.1/" class="username username--style3 username--staff username--moderator username--admin">Admin</a>
Upvote
0