blob: 157669866952d6cfac11903ba8d575f3e079ca87 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Avatars
.avatar {
display: inline-block;
width: 3.2rem;
height: 3.2rem;
font-size: 1.4rem;
font-weight: 300;
line-height: 1;
border-radius: 50%;
vertical-align: middle;
position: relative;
&::after {
content: attr(data-initial);
position: absolute;
top: 50%;
left: 50%;
color: #fff;
transform: translate(-50%, -50%);
}
&.avatar-xs {
width: 1.6rem;
height: 1.6rem;
font-size: .8rem;
}
&.avatar-sm {
width: 2.4rem;
height: 2.4rem;
font-size: 1rem;
}
&.avatar-lg {
width: 4.8rem;
height: 4.8rem;
font-size: 2rem;
}
&.avatar-xl {
width: 6.4rem;
height: 6.4rem;
font-size: 2.6rem;
}
}
|