blob: cd4a70d1cd2c61732bb4a8babaa38155d3ccde4f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Badges
.badge {
position: relative;
&::after {
content: attr(data-badge);
color: #fff;
font-size: 1.2rem;
text-align: center;
line-height: 1.4rem;
background-color: @core-color;
display: inline-block;
min-width: 2rem;
height: 2rem;
padding: .2rem .5rem;
border: .1rem solid #fff;
border-radius: 1rem;
white-space: nowrap;
transform: translate(-.2rem, -.8rem);
}
}
|