Commit 34546db4e1957bcb28f5b8b19e30cc0d1efa6485
1 parent
44ec55ce
123
Showing
1 changed file
with
14 additions
and
2 deletions
Show diff stats
frontend/web/css/style.css
... | ... | @@ -2379,20 +2379,32 @@ p.right{text-align: right;} |
2379 | 2379 | } |
2380 | 2380 | } |
2381 | 2381 | @media (max-width: 729px) { |
2382 | + .blog_block a img{ | |
2383 | + max-height: 175px; | |
2384 | + width: 100%; | |
2385 | + max-width: 308px; | |
2386 | + } | |
2382 | 2387 | .main-box1 a img{ |
2383 | 2388 | max-width:305px; |
2384 | 2389 | } |
2385 | 2390 | .main-box1{ |
2386 | - padding-bottom: 30px; | |
2391 | + padding-bottom: 10px; | |
2387 | 2392 | } |
2388 | 2393 | .main-box2{ |
2389 | 2394 | padding-bottom: 30px; |
2395 | + padding-top: 15px; | |
2390 | 2396 | } |
2391 | 2397 | .post_cont{ |
2392 | 2398 | justify-content: center; |
2393 | 2399 | overflow: hidden; |
2394 | 2400 | max-width: 308px; |
2395 | 2401 | margin: 0 auto;} |
2402 | + .post_cont .picture{ | |
2403 | + max-height: 175px; | |
2404 | + display: flex; | |
2405 | + align-items: center; | |
2406 | + overflow: hidden; | |
2407 | + } | |
2396 | 2408 | .post_cont .text{ |
2397 | 2409 | width: 100%; |
2398 | 2410 | max-width: 308px; |
... | ... | @@ -2407,7 +2419,7 @@ p.right{text-align: right;} |
2407 | 2419 | } |
2408 | 2420 | .main-box4 .picture{ |
2409 | 2421 | width: 100%; |
2410 | - padding-top: 45%; | |
2422 | + padding-top: 48.21%; | |
2411 | 2423 | max-width: 305px; |
2412 | 2424 | max-height: 175px!important; |
2413 | 2425 | } | ... | ... |