Commit 63db734cf582cd91bf37884b69c9699ea4306277

Authored by Leonardo Merlin
1 parent 6eb5a578

Reduce the main video (issue #352)

Showing 2 changed files with 7 additions and 1 deletions   Show diff stats
@@ -128,7 +128,7 @@ @@ -128,7 +128,7 @@
128 <div class="article-content"></div> 128 <div class="article-content"></div>
129 </div> 129 </div>
130 130
131 - <div id="content" class="container"> 131 + <div id="content" class="container video-smaller">
132 <div class="embed-responsive embed-responsive-16by9"> 132 <div class="embed-responsive embed-responsive-16by9">
133 {{{article.abstract}}} 133 {{{article.abstract}}}
134 </div> 134 </div>
sass/style.sass
@@ -427,6 +427,12 @@ h1 @@ -427,6 +427,12 @@ h1
427 margin-bottom: $gutter * 1.5 427 margin-bottom: $gutter * 1.5
428 .embed-responsive 428 .embed-responsive
429 border: 1px solid #333 429 border: 1px solid #333
  430 +
  431 + &.video-smaller
  432 + @media (min-width: $screen-md)
  433 + width: 60%
  434 + margin-left: auto
  435 + margin-right: auto
430 436
431 // 6.4 - background do conteudo 437 // 6.4 - background do conteudo
432 .content 438 .content