_detail.scss
3.37 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
139
140
141
142
143
144
145
.detail-title {
margin: (15rem / $remNum) 0;
padding: 0 0 0 (14rem / $remNum);
.title {
line-height: 24rem / $remNum;
font-size: 20rem / $remNum;
font-weight: bold;
}
.subtitle {
margin: (5rem / $remNum) 0 0 0;
font-size: 12rem / $remNum;
line-height: 15rem / $remNum;
color: #a5a5a5;
}
}
.detail-slide {
.slide-box {
height: 206rem / $remNum;
.slide-wrap .box img {
height: 206rem / $remNum;
}
}
}
.brand-title {
margin: (8rem / $remNum) 0;
.title {
font-size: 16rem / $remNum;
text-align: center;
}
}
.detail-article {
margin: (15rem / $remNum) (15rem / $remNum) 0;
font-size: 14rem / $remNum;
line-height: 24rem / $remNum;
img {
margin-left: -15rem / $remNum;
width: 320rem / $remNum;
}
p {
margin: (10rem / $remNum) 0;
font-size: 14rem / $remNum;
line-height: 24rem / $remNum;
}
a {
color: #000;
text-decoration: underline;
}
}
.related-post {
margin: (28rem / $remNum) (17rem / $remNum) 0 (17rem / $remNum);
h2 {
font-weight: bold;
font-size: 16rem / $remNum;
line-height: 18rem / $remNum;
}
ul {
margin: (4rem / $remNum) 0 0 0;
li {
margin: (16rem / $remNum) 0 0 0;
padding: (16rem / $remNum) 0 0 0;
border-top: 1px solid #e5e5e5;
a {
display: block;
}
.image-box {
float: left;
width: 96rem / $remNum;
height: 61rem / $remNum;
vertical-align: middle;
text-align: center;
img {
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
}
.content {
float: left;
width: 182rem / $remNum;
margin: (8rem / $remNum) 0 0 (8rem / $remNum);
font-size: 14rem / $remNum;
line-height: 22rem / $remNum;
color: #000;
}
&:first-child {
border-top: none;
}
}
}
}
.share {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-image: linear-gradient(rgba(255, 255, 255, 0), #ffffff);
text-align: center;
ul {
display: inline-block;
}
li {
float: left;
margin-left: 41rem / $remNum;
a {
display: block;
width: 46px;
height: 48px;
background-image: image-url("share.png");
background-size: 100% auto;
}
&:first-child {
margin-left: 0;
}
}
.yohoo-share-button-sina {
a {
background-position: 0 -151px;
}
}
.yohoo-share-button-qq {
a {
background-position: 0 -50px;
}
}
}
.enter-store {
display: block;
width: 94rem / $remNum;
height: 33rem / $remNum;
margin: (15rem / $remNum) auto 0;
padding-left: 34px;
line-height: 35rem / $remNum;
border: 1px solid #000;
border-radius: 4px;
background: #fff;
color: #000;
background: url("../images/yohood/enter-store.png") no-repeat 10px center;
text-decoration: none !important;
}