Commit e8e5c86f9c62588efe7c957dfe73f5d88087baa9
1 parent
0f0efb30
Modify the style.
Showing
6 changed files
with
92 additions
and
39 deletions
css/common.css
... | ... | @@ -1231,11 +1231,16 @@ Pagination Styles |
1231 | 1231 | border-radius: 8px; |
1232 | 1232 | margin: 5px 0 10px 0; |
1233 | 1233 | } |
1234 | +.redtheme .redrow .rbox { | |
1235 | + background: url(../images/dist/boxbor.png) no-repeat right top; | |
1236 | + background-size: 155px; | |
1237 | +} | |
1234 | 1238 | .redtheme .redrow .rtitle { |
1235 | - background-color: #e0ce8d; | |
1236 | - color: #7e0907; | |
1239 | + text-align: center; | |
1237 | 1240 | margin-left: 10px; |
1238 | - padding: 20px 5px; | |
1241 | + padding: 10px 5px; | |
1242 | + background: url(../images/dist/bor.png) 0 bottom no-repeat; | |
1243 | + background-size: 134px; | |
1239 | 1244 | } |
1240 | 1245 | .redtheme .redrow .rtitle > span { |
1241 | 1246 | display: block; |
... | ... | @@ -1243,29 +1248,38 @@ Pagination Styles |
1243 | 1248 | height: 40px; |
1244 | 1249 | font-size: 14px; |
1245 | 1250 | } |
1251 | +.redtheme .redrow .rrt { | |
1252 | + background-color: #de0010; | |
1253 | + color: #fff1d6; | |
1254 | + height: 18px; | |
1255 | + line-height: 18px; | |
1256 | + text-align: center; | |
1257 | + margin: 5px 5px 0 10px; | |
1258 | + letter-spacing: 5px; | |
1259 | +} | |
1246 | 1260 | .redtheme .redrow .rprice { |
1247 | - background-color: #7e0907; | |
1248 | - color: #fff; | |
1261 | + color: #d50902; | |
1249 | 1262 | margin-left: 10px; |
1250 | - line-height: 40px; | |
1251 | - font-size: 15px; | |
1252 | - text-align: right; | |
1253 | - padding-right: 10px; | |
1263 | + line-height: 38px; | |
1264 | + font-size: 16px; | |
1265 | + text-align: center; | |
1254 | 1266 | } |
1255 | 1267 | .redtheme .redrow .rprice .big { |
1256 | - font-size: 24px; | |
1268 | + font-size: 30px; | |
1257 | 1269 | } |
1258 | 1270 | .redtheme .redrow .icon_link { |
1259 | 1271 | background: url(../images/src/wap/linkbig.png) no-repeat 0 0; |
1260 | - background-size: 72px; | |
1261 | - width: 72px; | |
1262 | - height: 17px; | |
1272 | + background-size: 90px; | |
1273 | + width: 90px; | |
1274 | + height: 18px; | |
1263 | 1275 | display: inline-block; |
1264 | 1276 | } |
1265 | 1277 | .redtheme .redrow .linkword { |
1266 | - text-align: right; | |
1267 | - margin-top: 10px; | |
1268 | - padding-right: 5px; | |
1278 | + text-align: center; | |
1279 | + padding: 5px 5px 0 0; | |
1280 | + background: url(../images/dist/bor.png) 0 top no-repeat; | |
1281 | + background-size: 134px; | |
1282 | + margin-left: 10px; | |
1269 | 1283 | } |
1270 | 1284 | .redtheme .redline { |
1271 | 1285 | height: 250px; |
... | ... | @@ -1298,12 +1312,24 @@ Pagination Styles |
1298 | 1312 | } |
1299 | 1313 | .redtheme .redline .rprice { |
1300 | 1314 | color: #d50902; |
1301 | - font-size: 15px; | |
1302 | - text-align: center; | |
1315 | + font-size: 14px; | |
1316 | + text-align: right; | |
1317 | + padding-right: 5px; | |
1318 | + position: relative; | |
1303 | 1319 | } |
1304 | 1320 | .redtheme .redline .rprice .big { |
1305 | 1321 | font-size: 24px; |
1306 | 1322 | } |
1323 | +.redtheme .redline .rprice > .rrt { | |
1324 | + position: absolute; | |
1325 | + color: #fadcc3; | |
1326 | + left: 0; | |
1327 | + top: 8px; | |
1328 | + font-size: 13px; | |
1329 | + padding: 1px 3px; | |
1330 | + background: url(../images/dist/sp.jpg) no-repeat 0 0; | |
1331 | + background-size: 42px; | |
1332 | +} | |
1307 | 1333 | .redtheme .redline .linkword { |
1308 | 1334 | text-align: center; |
1309 | 1335 | position: relative; | ... | ... |
css/common.less
... | ... | @@ -88,11 +88,16 @@ |
88 | 88 | background: #fff1d6; |
89 | 89 | border-radius: 8px; |
90 | 90 | margin: 5px 0 10px 0; |
91 | + .rbox { | |
92 | + background: url(../images/dist/boxbor.png) no-repeat right top; | |
93 | + background-size: 155px; | |
94 | + } | |
91 | 95 | .rtitle { |
92 | - background-color: #e0ce8d; | |
93 | - color: #7e0907; | |
96 | + text-align: center; | |
94 | 97 | margin-left: 10px; |
95 | - padding: 20px 5px; | |
98 | + padding: 10px 5px; | |
99 | + background: url(../images/dist/bor.png) 0 bottom no-repeat; | |
100 | + background-size: 134px; | |
96 | 101 | >span { |
97 | 102 | display: block; |
98 | 103 | overflow: hidden; |
... | ... | @@ -100,29 +105,38 @@ |
100 | 105 | font-size: 14px; |
101 | 106 | } |
102 | 107 | } |
108 | + .rrt { | |
109 | + background-color: #de0010; | |
110 | + color: #fff1d6; | |
111 | + height: 18px; | |
112 | + line-height: 18px; | |
113 | + text-align: center; | |
114 | + margin: 5px 5px 0 10px; | |
115 | + letter-spacing: 5px; | |
116 | + } | |
103 | 117 | .rprice { |
104 | - background-color: #7e0907; | |
105 | - color: #fff; | |
118 | + color: #d50902; | |
106 | 119 | margin-left: 10px; |
107 | - line-height: 40px; | |
108 | - font-size: 15px; | |
109 | - text-align: right; | |
110 | - padding-right: 10px; | |
120 | + line-height: 38px; | |
121 | + font-size: 16px; | |
122 | + text-align: center; | |
111 | 123 | .big { |
112 | - font-size: 24px; | |
124 | + font-size: 30px; | |
113 | 125 | } |
114 | 126 | } |
115 | 127 | .icon_link { |
116 | 128 | background: url(../images/src/wap/linkbig.png) no-repeat 0 0; |
117 | - background-size: 72px; | |
118 | - width: 72px; | |
119 | - height: 17px; | |
129 | + background-size: 90px; | |
130 | + width: 90px; | |
131 | + height: 18px; | |
120 | 132 | display: inline-block; |
121 | 133 | } |
122 | 134 | .linkword { |
123 | - text-align: right; | |
124 | - margin-top: 10px; | |
125 | - padding-right: 5px; | |
135 | + text-align: center; | |
136 | + padding: 5px 5px 0 0; | |
137 | + background: url(../images/dist/bor.png) 0 top no-repeat; | |
138 | + background-size: 134px; | |
139 | + margin-left: 10px; | |
126 | 140 | } |
127 | 141 | } |
128 | 142 | .redline { |
... | ... | @@ -154,13 +168,24 @@ |
154 | 168 | background-size: contain; |
155 | 169 | } |
156 | 170 | .rprice { |
157 | - text-align: center; | |
158 | 171 | color: #d50902; |
159 | - font-size: 15px; | |
160 | - text-align: center; | |
172 | + font-size: 14px; | |
173 | + text-align: right; | |
174 | + padding-right: 5px; | |
175 | + position: relative; | |
161 | 176 | .big { |
162 | 177 | font-size: 24px; |
163 | 178 | } |
179 | + >.rrt { | |
180 | + position: absolute; | |
181 | + color: #fadcc3; | |
182 | + left: 0; | |
183 | + top: 8px; | |
184 | + font-size: 13px; | |
185 | + padding: 1px 3px; | |
186 | + background: url(../images/dist/sp.jpg) no-repeat 0 0; | |
187 | + background-size: 42px; | |
188 | + } | |
164 | 189 | } |
165 | 190 | .linkword { |
166 | 191 | text-align: center; | ... | ... |
html/index.html
... | ... | @@ -27,7 +27,7 @@ |
27 | 27 | <div class="spec2"> |
28 | 28 | <img src="../temp/fnow.png" alt="" /> |
29 | 29 | </div> |
30 | - <div class="spec2"> | |
30 | + <div class="spec2 rbox"> | |
31 | 31 | <p class="rtitle"> |
32 | 32 | <span> |
33 | 33 | ็ฒพๅๆฐดๆ้ๅ |
... | ... | @@ -35,6 +35,7 @@ |
35 | 35 | ็ฒพๅๆฐดๆ้ๅ |
36 | 36 | </span> |
37 | 37 | </p> |
38 | + <p class="rrt">็นไพไปท</p> | |
38 | 39 | <p class="rprice"> |
39 | 40 | <span>๏ฟฅ</span><span class="big">2000</span><span>.00</span> |
40 | 41 | </p> |
... | ... | @@ -49,7 +50,7 @@ |
49 | 50 | <div class="spec2"> |
50 | 51 | <img src="../temp/fnow.png" alt="" /> |
51 | 52 | </div> |
52 | - <div class="spec2"> | |
53 | + <div class="spec2 rbox"> | |
53 | 54 | <p class="rtitle"> |
54 | 55 | <span> |
55 | 56 | ็ฒพๅๆฐดๆ้ๅ |
... | ... | @@ -80,6 +81,7 @@ |
80 | 81 | </span> |
81 | 82 | </p> |
82 | 83 | <p class="rprice"> |
84 | + <span class="rrt">็นไพไปท</span> | |
83 | 85 | <span>๏ฟฅ</span><span class="big">2000</span><span>.00</span> |
84 | 86 | </p> |
85 | 87 | <p class="linkword"> | ... | ... |
images/dist/boxbor.png
0 โ 100644
2.19 KB
images/dist/sp.jpg
0 โ 100644
1.49 KB
images/src/wap/linkbig.png