IP.Board Tutorials
How to add a rank in css
Submitted by one_finger_man1, 10-11-2021, 04:25 AM, Thread ID: 224867
Thread Closed
Users browsing this thread: 4 Guest(s)
<span class='defaultGroup admin'>Administrator</span>
/ * Groups * /
.defaultGroup {
border-radius: 2px;
color: #fff;
display: inline-block;
font-weight: 500;
letter-spacing: 0;
padding: 0 15px;
text-shadow: none;
vertical-align: middle;
font-size: 12px;
height: 30px;
line-height: 30px;
box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.15) inset;
}
.admin {
background-color: #c75050;
}
.admin:before {
content: "\f005";
font-family: 'FontAwesome';
margin-right: 3px;
}
/* Grupy */
.ipsComment_author .defaultGroup {
border-radius: 2px;
color: #fff;
display: inline-block;
font-weight: 500;
letter-spacing: 0;
padding: 0 15px;
text-shadow: none;
vertical-align: middle;
font-size: 12px;
height: 30px;
line-height: 30px;
box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.15) inset;
}
.ipsComment_author .admin {
background-color: #c75050;
}
.ipsComment_author .admin:before {
content: "\f005";
font-family: 'FontAwesome';
margin-right: 3px;
}
Loading Info...