Commit 9c4480a9da4b2eda0556a7f2fd9d455b47aaf91f
1 parent
fbad3175
- contacts photo
- video background styles
Showing
3 changed files
with
24 additions
and
1 deletions
Show diff stats
frontend/views/site/contact.php
@@ -39,6 +39,7 @@ JS; | @@ -39,6 +39,7 @@ JS; | ||
39 | </div> | 39 | </div> |
40 | 40 | ||
41 | <p class="lead"><?= \Yii::t('app', 'contact_text1') ?></p> | 41 | <p class="lead"><?= \Yii::t('app', 'contact_text1') ?></p> |
42 | + <div class="contacts_photo"><img src="/img/contacts_photo.jpg" alt=""></div> | ||
42 | </section> | 43 | </section> |
43 | </div> | 44 | </div> |
44 | </div> | 45 | </div> |
frontend/web/css/main.css
@@ -280,7 +280,11 @@ section.blue-fon {padding-top: 25px;} | @@ -280,7 +280,11 @@ section.blue-fon {padding-top: 25px;} | ||
280 | background: rgba(0, 0, 0, 0.1); | 280 | background: rgba(0, 0, 0, 0.1); |
281 | box-shadow: inset 0px 250px 250px -250px black, inset 0px -250px 250px -250px black; | 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 | .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;} | 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 | .share_social.vk{background-position:0px 0px;} | 289 | .share_social.vk{background-position:0px 0px;} |
286 | .share_social.fb{background-position:-56px 0px;} | 290 | .share_social.fb{background-position:-56px 0px;} |
@@ -736,6 +740,18 @@ ul.list-wr span{color: #555;} | @@ -736,6 +740,18 @@ ul.list-wr span{color: #555;} | ||
736 | left: -20px; | 740 | left: -20px; |
737 | top: -2px; | 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 | @media(min-width:1201px){ | 756 | @media(min-width:1201px){ |
741 | .links-ses-for-wr .container .row p {margin: 7px 20px;} | 757 | .links-ses-for-wr .container .row p {margin: 7px 20px;} |
@@ -860,6 +876,12 @@ ul.list-wr span{color: #555;} | @@ -860,6 +876,12 @@ ul.list-wr span{color: #555;} | ||
860 | margin-bottom: 20px; | 876 | margin-bottom: 20px; |
861 | padding-top: 40%; | 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 | @media(min-width:768px){ | 886 | @media(min-width:768px){ |
865 | .navbar-collapse.collapse{ | 887 | .navbar-collapse.collapse{ |
83.9 KB