Commit 9cb7b5d35222a75d2c7909ab8ba51d45a24e390c
1 parent
e8e5c86f
Add react css.
Showing
2 changed files
with
44 additions
and
4 deletions
css/common.css
... | ... | @@ -1316,6 +1316,8 @@ Pagination Styles |
1316 | 1316 | text-align: right; |
1317 | 1317 | padding-right: 5px; |
1318 | 1318 | position: relative; |
1319 | + height: 36px; | |
1320 | + line-height: 36px; | |
1319 | 1321 | } |
1320 | 1322 | .redtheme .redline .rprice .big { |
1321 | 1323 | font-size: 24px; |
... | ... | @@ -1325,13 +1327,30 @@ Pagination Styles |
1325 | 1327 | color: #fadcc3; |
1326 | 1328 | left: 0; |
1327 | 1329 | top: 8px; |
1328 | - font-size: 13px; | |
1329 | - padding: 1px 3px; | |
1330 | + font-size: 12px; | |
1331 | + padding: 0 3px; | |
1330 | 1332 | background: url(../images/dist/sp.jpg) no-repeat 0 0; |
1331 | 1333 | background-size: 42px; |
1334 | + line-height: 20px; | |
1332 | 1335 | } |
1333 | 1336 | .redtheme .redline .linkword { |
1334 | 1337 | text-align: center; |
1335 | 1338 | position: relative; |
1336 | 1339 | top: 5px; |
1337 | 1340 | } |
1341 | +@media screen and (max-device-width: 340px) { | |
1342 | + .redtheme .redline .rprice { | |
1343 | + font-size: 12px; | |
1344 | + } | |
1345 | + .redtheme .redline .rprice .big { | |
1346 | + font-size: 13px; | |
1347 | + } | |
1348 | +} | |
1349 | +@media screen and (min-device-width: 341px) and (max-device-width: 400px) { | |
1350 | + .redtheme .redline .rprice { | |
1351 | + font-size: 14px; | |
1352 | + } | |
1353 | + .redtheme .redline .rprice .big { | |
1354 | + font-size: 18px; | |
1355 | + } | |
1356 | +} | ... | ... |
css/common.less
... | ... | @@ -173,6 +173,8 @@ |
173 | 173 | text-align: right; |
174 | 174 | padding-right: 5px; |
175 | 175 | position: relative; |
176 | + height: 36px; | |
177 | + line-height: 36px; | |
176 | 178 | .big { |
177 | 179 | font-size: 24px; |
178 | 180 | } |
... | ... | @@ -181,10 +183,11 @@ |
181 | 183 | color: #fadcc3; |
182 | 184 | left: 0; |
183 | 185 | top: 8px; |
184 | - font-size: 13px; | |
185 | - padding: 1px 3px; | |
186 | + font-size: 12px; | |
187 | + padding: 0 3px; | |
186 | 188 | background: url(../images/dist/sp.jpg) no-repeat 0 0; |
187 | 189 | background-size: 42px; |
190 | + line-height: 20px; | |
188 | 191 | } |
189 | 192 | } |
190 | 193 | .linkword { |
... | ... | @@ -194,3 +197,21 @@ |
194 | 197 | } |
195 | 198 | } |
196 | 199 | } |
200 | + | |
201 | +@media screen and (max-device-width: 340px) { | |
202 | + .redtheme .redline .rprice { | |
203 | + font-size: 12px; | |
204 | + } | |
205 | + .redtheme .redline .rprice .big { | |
206 | + font-size: 13px; | |
207 | + } | |
208 | +} | |
209 | + | |
210 | +@media screen and (min-device-width: 341px) and (max-device-width: 400px) { | |
211 | + .redtheme .redline .rprice { | |
212 | + font-size: 14px; | |
213 | + } | |
214 | + .redtheme .redline .rprice .big { | |
215 | + font-size: 18px; | |
216 | + } | |
217 | +} | ... | ... |