Commit e97aac3df8cc5224bff5972e7d3d49f4b4ef17c0
1 parent
6796bcc7
правки
Showing
4 changed files
with
10 additions
and
2 deletions
Show diff stats
frontend/views/site/individual.php
@@ -22,8 +22,16 @@ | @@ -22,8 +22,16 @@ | ||
22 | $this->params[ 'breadcrumbs' ][] = $this->params['h1']; | 22 | $this->params[ 'breadcrumbs' ][] = $this->params['h1']; |
23 | ?> | 23 | ?> |
24 | <div id="individual-wr"> | 24 | <div id="individual-wr"> |
25 | - <div class="individual-cover" style="background-image: url(/img/accord/<?=\Yii::t('app', 'individ_header_cover')?>);"></div> | ||
26 | <div id="content"> | 25 | <div id="content"> |
26 | + <section class="video_main"> | ||
27 | + <div id="video-bg"> | ||
28 | + <video width="100%" height="auto" muted="" autoplay="autoplay" loop="loop" preload="auto"> | ||
29 | + <source src="/video/kbcover2.mp4" type="video/mp4"> | ||
30 | + <source src="/video/kbcover2.ogg" type="video/ogg"> | ||
31 | + </video> | ||
32 | + </div> | ||
33 | + | ||
34 | + </section> | ||
27 | <section class="no-mb mtop-25"> | 35 | <section class="no-mb mtop-25"> |
28 | <div class="container"> | 36 | <div class="container"> |
29 | <div class="row"> | 37 | <div class="row"> |
frontend/web/css/main.css
@@ -280,7 +280,7 @@ section.blue-fon {padding-top: 25px;} | @@ -280,7 +280,7 @@ 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 | -#legal-wr .video_main{background-color: #000;z-index: -1000;} | 283 | +.video_main{background-color: #000;z-index: -1000;} |
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;} | 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;} |
285 | .share_social.vk{background-position:0px 0px;} | 285 | .share_social.vk{background-position:0px 0px;} |
286 | .share_social.fb{background-position:-56px 0px;} | 286 | .share_social.fb{background-position:-56px 0px;} |
No preview for this file type
No preview for this file type