From 34546db4e1957bcb28f5b8b19e30cc0d1efa6485 Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Mon, 24 Oct 2016 16:17:25 +0300 Subject: [PATCH] 123 --- frontend/web/css/style.css | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index 12ddc62..5be3d77 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -2379,20 +2379,32 @@ p.right{text-align: right;} } } @media (max-width: 729px) { + .blog_block a img{ + max-height: 175px; + width: 100%; + max-width: 308px; + } .main-box1 a img{ max-width:305px; } .main-box1{ - padding-bottom: 30px; + padding-bottom: 10px; } .main-box2{ padding-bottom: 30px; + padding-top: 15px; } .post_cont{ justify-content: center; overflow: hidden; max-width: 308px; margin: 0 auto;} + .post_cont .picture{ + max-height: 175px; + display: flex; + align-items: center; + overflow: hidden; + } .post_cont .text{ width: 100%; max-width: 308px; @@ -2407,7 +2419,7 @@ p.right{text-align: right;} } .main-box4 .picture{ width: 100%; - padding-top: 45%; + padding-top: 48.21%; max-width: 305px; max-height: 175px!important; } -- libgit2 0.21.4