From 4bc13cfe4b38b4ee1f36866838aca7cbe1cc6084 Mon Sep 17 00:00:00 2001 From: zhegal Date: Fri, 26 Jan 2018 12:47:08 +0200 Subject: [PATCH] main page + carousel + contacts --- frontend/web/css/main.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+), 0 deletions(-) diff --git a/frontend/web/css/main.css b/frontend/web/css/main.css index 4bb6e31..a8cd232 100644 --- a/frontend/web/css/main.css +++ b/frontend/web/css/main.css @@ -414,6 +414,20 @@ footer .social-logos a:hover { background-size: 9%; padding-left: 30px; } +.portfolio .box-image { + position: relative; + overflow: hidden; + text-align: center; + margin: 15px 0; + height: 0; + padding-top: 75%; +} +.portfolio .box-image .image { + position: absolute; + top: 0; + width: 100%; + height: 100%; +} @media(min-width:992px) and (max-width:1199px){ .pr_cover { -- libgit2 0.21.4