Commit 9c4480a9da4b2eda0556a7f2fd9d455b47aaf91f

Authored by Eugeny Galkovskiy
1 parent fbad3175

- contacts photo

- video background styles
frontend/views/site/contact.php
... ... @@ -39,6 +39,7 @@ JS;
39 39 </div>
40 40  
41 41 <p class="lead"><?= \Yii::t('app', 'contact_text1') ?></p>
  42 + <div class="contacts_photo"><img src="/img/contacts_photo.jpg" alt=""></div>
42 43 </section>
43 44 </div>
44 45 </div>
... ...
frontend/web/css/main.css
... ... @@ -280,7 +280,11 @@ section.blue-fon {padding-top: 25px;}
280 280 background: rgba(0, 0, 0, 0.1);
281 281 box-shadow: inset 0px 250px 250px -250px black, inset 0px -250px 250px -250px black;
282 282 }
283   -.video_main{background-color: #000;z-index: -1000;}
  283 +.video_main {
  284 + background-color: #0080ca;
  285 + z-index: -1000;
  286 + background-image: url(/img/slide_two_fon.png);
  287 +}
284 288 .share_social{width:48px;height:48px;background-image:url('../img/socnets.png');display:inline-block;margin:0;padding:0;border-radius:50%;overflow:hidden;margin-top:5px;margin-right:3px;}
285 289 .share_social.vk{background-position:0px 0px;}
286 290 .share_social.fb{background-position:-56px 0px;}
... ... @@ -736,6 +740,18 @@ ul.list-wr span{color: #555;}
736 740 left: -20px;
737 741 top: -2px;
738 742 }
  743 +.contacts_photo{
  744 + width: 100%;
  745 + position: relative;
  746 + display: flex;
  747 + align-items: center;
  748 + justify-content: center;
  749 + height: auto;
  750 + max-height: 520px;
  751 + overflow: hidden;
  752 + border-radius: 10px;
  753 +}
  754 +.contacts_photo img{width:100%;}
739 755  
740 756 @media(min-width:1201px){
741 757 .links-ses-for-wr .container .row p {margin: 7px 20px;}
... ... @@ -860,6 +876,12 @@ ul.list-wr span{color: #555;}
860 876 margin-bottom: 20px;
861 877 padding-top: 40%;
862 878 }
  879 + .contacts_photo {
  880 + width: calc(100% + 30px);
  881 + max-height: 230px;
  882 + margin-left: -15px;
  883 + border-radius: 0px;
  884 + }
863 885 }
864 886 @media(min-width:768px){
865 887 .navbar-collapse.collapse{
... ...
frontend/web/img/contacts_photo.jpg 0 → 100644

83.9 KB