Commit 4bc13cfe4b38b4ee1f36866838aca7cbe1cc6084
1 parent
94fc00a8
main page + carousel + contacts
Showing
1 changed file
with
14 additions
and
0 deletions
Show diff stats
frontend/web/css/main.css
| @@ -414,6 +414,20 @@ footer .social-logos a:hover { | @@ -414,6 +414,20 @@ footer .social-logos a:hover { | ||
| 414 | background-size: 9%; | 414 | background-size: 9%; |
| 415 | padding-left: 30px; | 415 | padding-left: 30px; |
| 416 | } | 416 | } |
| 417 | +.portfolio .box-image { | ||
| 418 | + position: relative; | ||
| 419 | + overflow: hidden; | ||
| 420 | + text-align: center; | ||
| 421 | + margin: 15px 0; | ||
| 422 | + height: 0; | ||
| 423 | + padding-top: 75%; | ||
| 424 | +} | ||
| 425 | +.portfolio .box-image .image { | ||
| 426 | + position: absolute; | ||
| 427 | + top: 0; | ||
| 428 | + width: 100%; | ||
| 429 | + height: 100%; | ||
| 430 | +} | ||
| 417 | 431 | ||
| 418 | @media(min-width:992px) and (max-width:1199px){ | 432 | @media(min-width:992px) and (max-width:1199px){ |
| 419 | .pr_cover { | 433 | .pr_cover { |