_personal-details.css
2.54 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
.personal-details {
width: 100%;
height: auto;
overflow: hidden;
margin-top: 20px;
background-color: #fff;
border-bottom: 1px solid #e0e0e0;
ul {
width: 95%;
height: auto;
overflow: hidden;
float: right;
li {
&:first-of-type {
height: 100px;
line-height: 100px;
}
height: 80px;
border-bottom: 1px solid #e0e0e0;
.user-avatar {
width: 100%;
height: 100%;
background-image: resolve("home/index/user-avatar.png");
background-size: 100%;
}
> span {
&:first-of-type {
color: #444;
}
width: 42%;
height: 100%;
line-height: 80px;
font-size: 32px;
margin-right: 8%;
float: left;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
.head-portrait {
width: 90px;
height: 90px;
overflow: hidden;
float: right;
border-radius: 50%;
border: 1px solid #eee;
}
.grade {
width: 100%;
height: 100%;
overflow: hidden;
display: block;
position: relative;
i {
width: 72px;
height: 32px;
overflow: hidden;
display: block;
position: absolute;
right: 40px;
top: 50%;
transform: translateY(-50%);
}
span {
color: #b0b0b0;
}
}
.vip-3 {
background: url("/home/vip/vip-3.png");
}
.vip-2 {
background: url("/home/vip/vip-2.png");
}
.vip-1 {
background: url("/home/vip/vip-1.png");
}
&:last-of-type {
color: #b0b0b0;
text-align: right;
}
}
&:last-of-type {
border-bottom: none;
}
}
}
}