-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.pcss
48 lines (47 loc) · 982 Bytes
/
style.pcss
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
43
44
45
46
47
48
@keyframes nodeInserted {
from { opacity: 0.99; }
to { opacity: 1; }
}
[data-fulltitle],[data-avatar]{
animation-duration: 0.001s;
animation-name: nodeInserted;
}
.thumb-avatar-wrapper{
position: relative;
min-width: 30px;
min-height: 30px;
display: inline-block;
[data-avatar]{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
font-size: 100%;
line-height: 0;
overflow: hidden;
&:before{
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: block;
text-align: center;
content: attr(data-avatar);
font-size: 72px;
font-family: "Open Sans","Helvetica Neue", Arial, Tahoma;
color: #fff;
margin-top: 50%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: auto;
}
img{
position: relative;
width: 100%;
height: 100%;
display: none;
&[src]{ display: inline-block;}
}
}
}