Commit e97aac3df8cc5224bff5972e7d3d49f4b4ef17c0

Authored by Eugeny Galkovskiy
1 parent 6796bcc7

правки

frontend/views/site/individual.php
... ... @@ -22,8 +22,16 @@
22 22 $this->params[ 'breadcrumbs' ][] = $this->params['h1'];
23 23 ?>
24 24 <div id="individual-wr">
25   - <div class="individual-cover" style="background-image: url(/img/accord/<?=\Yii::t('app', 'individ_header_cover')?>);"></div>
26 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 35 <section class="no-mb mtop-25">
28 36 <div class="container">
29 37 <div class="row">
... ...
frontend/web/css/main.css
... ... @@ -280,7 +280,7 @@ 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   -#legal-wr .video_main{background-color: #000;z-index: -1000;}
  283 +.video_main{background-color: #000;z-index: -1000;}
284 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 285 .share_social.vk{background-position:0px 0px;}
286 286 .share_social.fb{background-position:-56px 0px;}
... ...
frontend/web/video/kbcover2.mp4 0 → 100644
No preview for this file type
frontend/web/video/kbcover2.ogg 0 → 100644
No preview for this file type