topic.css
2.43 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
/***************************************************
* feature : 变量配置;
* update : 2015/02/05;
* use : ;
* extend : ;
* example : ;
* desc : ;
* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
.bg-img {
background: url('../../images/icon/icon.png') no-repeat;
background-size: 150px;
}
.m-to-top {
position: fixed;
right: 10px;
bottom: 20px;
display: block;
width: 37px;
height: 37px;
background: url(../../images/icon_top.png) center center no-repeat;
background-size: cover;
}
.topicPage {
background-color: #f0f5f6;
}
.topicPage .m-page {
padding-bottom: 0;
}
.topicPage .cover {
position: relative;
height: 120px;
background: url(../../images/upload/topic_pic.jpg) center center no-repeat;
background-size: cover;
margin-bottom: 10px;
}
.topicPage .banner {
position: absolute;
bottom: -50px;
left: 0;
width: 100%;
height: 50px;
background: url(../../images/upload/topic_banner.png) center center no-repeat;
background-size: cover;
}
.topicPage .list {
padding: 0 5px 10px;
}
.topicPage .list li {
float: left;
width: 50%;
padding: 0 5px 10px;
box-sizing: border-box;
}
.topicPage .list a {
display: block;
background-color: #fff;
padding-bottom: 5px;
position: relative;
}
.topicPage .list .hot {
position: absolute;
top: -1px;
right: 10px;
width: 20px;
height: 56px;
background: url(../../images/icon_mark.png) 0 0 no-repeat;
background-size: 100%;
font-size: 0;
overflow: hidden;
}
.topicPage .list img {
display: block;
width: 100%;
height: 90px;
margin: 0 auto 5px;
}
.topicPage .list .pic {
display: block;
width: 100%;
height: 90px;
margin: 0 auto 5px;
background: url(../../images/upload/p_1.jpg) center center no-repeat;
background-size: cover;
}
.topicPage .list h3 {
font-size: 12px;
padding: 0 5px;
font-weight: 700;
color: #5d6065;
text-align: left;
line-height: 16px;
height: 32px;
overflow: hidden;
}
.topicPage .list em {
text-align: left;
display: block;
padding: 0 5px;
font-size: 14px;
font-weight: 700;
font-style: normal;
color: #fe4442;
}
.topicPage .list .origin-price {
font-size: 12px;
text-align: center;
color: #9c9c9c;
text-decoration: line-through;
}