Showing
1 changed file
with
15 additions
and
4 deletions
| ... | @@ -8232,26 +8232,37 @@ label { | ... | @@ -8232,26 +8232,37 @@ label { |
| 8232 | margin-bottom: 0; | 8232 | margin-bottom: 0; |
| 8233 | } | 8233 | } |
| 8234 | .item__img { | 8234 | .item__img { |
| 8235 | - position: relative; | ||
| 8236 | float: left; | 8235 | float: left; |
| 8237 | - width: 33.33333333%; | 8236 | + width: 100%; |
| 8237 | + position: relative; | ||
| 8238 | min-height: 1px; | 8238 | min-height: 1px; |
| 8239 | padding-left: 10px; | 8239 | padding-left: 10px; |
| 8240 | padding-right: 10px; | 8240 | padding-right: 10px; |
| 8241 | max-height: 400px; | 8241 | max-height: 400px; |
| 8242 | } | 8242 | } |
| 8243 | +@media (min-width: 550px) { | ||
| 8244 | + .item__img { | ||
| 8245 | + float: left; | ||
| 8246 | + width: 33.33333333%; | ||
| 8247 | + } | ||
| 8248 | +} | ||
| 8243 | .item__img img { | 8249 | .item__img img { |
| 8244 | width: 100%; | 8250 | width: 100%; |
| 8245 | max-height: 100%; | 8251 | max-height: 100%; |
| 8246 | } | 8252 | } |
| 8247 | .item__description { | 8253 | .item__description { |
| 8254 | + width: 64.58333333%; | ||
| 8248 | position: relative; | 8255 | position: relative; |
| 8249 | float: left; | 8256 | float: left; |
| 8250 | - width: 64.58333333%; | 8257 | + width: 100%; |
| 8251 | min-height: 1px; | 8258 | min-height: 1px; |
| 8252 | padding-left: 10px; | 8259 | padding-left: 10px; |
| 8253 | padding-right: 10px; | 8260 | padding-right: 10px; |
| 8254 | - margin-left: 2.08333333%; | 8261 | +} |
| 8262 | +@media (min-width: 550px) { | ||
| 8263 | + .item__description { | ||
| 8264 | + margin-left: 2.08333333%; | ||
| 8265 | + } | ||
| 8255 | } | 8266 | } |
| 8256 | .item__title { | 8267 | .item__title { |
| 8257 | font-family: inherit; | 8268 | font-family: inherit; | ... | ... |
-
Please register or login to post a comment