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