_editorial.css
3.05 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
.favorite-editorials {
position: relative;
.num {
position: absolute;
top: -30px;
left: 600px;
font-size: 16px;
color: #666;
}
.editorial-raw > div {
float: left;
}
.editorial-raw.choose,
.editorial-raw:hover {
.fav-cancel {
display: block;
}
}
.editorial-raw {
padding: 30px 0;
border-bottom: 1px solid #eee;
position: relative;
.fav-cancel {
position: absolute;
display: none;
top: 30px;
right: 30px;
cursor: pointer;
.iconfont {
color: #999;
font-size: 14px;
}
}
.check {
padding: 80px 0;
margin-right: 20px;
cursor: pointer;
.iconfont {
font-size: 16px;
color: #666;
}
}
.editorial-cover {
width: 240px;
height: 160px;
position: relative;
.editorial-cate {
position: absolute;
top: 0;
left: 0;
padding: 5px 10px;
background-color: #000;
color: #fff;
font-size: 14px;
}
}
.editorial-info {
width: 520px;
height: 160px;
margin-left: 30px;
position: relative;
.editorial-title {
font-size: 18px;
line-height: 28px;
a {
display: block;
width: 505px;
overflow: hidden;
word-wrap: break-word;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
}
.summer {
display: block;
overflow: hidden;
font-size: 14px;
margin-top: 10px;
white-space: nowrap;
text-overflow: ellipsis;
height: 18px;
line-height: 18px;
}
}
.editorial-tags {
position: absolute;
bottom: 0;
.tags-wrap {
position: relative;
height: 25px;
overflow: hidden;
}
span {
background-color: #bbb;
color: #fff;
display: inline-block;
padding: 5px 10px;
font-size: 14px;
margin-right: 10px;
margin-bottom: 5px;
}
}
.editorial-some {
margin-top: 15px;
font-size: 14px;
.author {
margin-right: 50px;
color: #1b1b1b;
}
span {
margin-right: 30px;
color: #999;
}
}
}
}