More tweaks to the video.

This commit is contained in:
Scott Erickson 2014-03-16 22:57:16 -07:00
parent 1fa18fe2e0
commit 729a016b1f
2 changed files with 10 additions and 6 deletions
app
styles
templates

View file

@ -9,14 +9,17 @@
#trailer-wrapper
position: relative
margin: 0 auto 40px
width: 950px
iframe
display: block
margin: 0 auto
position: relative
top: 8px
img
position: absolute
left: 10px
width: 976px
top: -7px
left: 0
top: 0
pointer-events: none
.game-mode-wrapper
@ -57,8 +60,9 @@
&:hover div
color: lighten($yellow, 20%)
&:hover img
filter: brightness(1.1)
-webkit-filter: brightness(1.1)
filter: brightness(1.2)
-webkit-filter: brightness(1.2)
box-shadow: 0 0 5px black
#multiplayer-launch-modal
.modal-dialog

View file

@ -5,7 +5,7 @@ block content
h1#site-slogan(data-i18n="home.slogan") Learn to Code JavaScript by Playing a Game
#trailer-wrapper
<iframe width="949" height="534" src="//www.youtube.com/embed/1zjaA13k-dA?rel=0&controls=0&modestbranding=1&showinfo=0&iv_load_policy=3" frameborder="0" allowfullscreen></iframe>
<iframe width="920" height="518" src="//www.youtube.com/embed/1zjaA13k-dA?rel=0&controls=0&modestbranding=1&showinfo=0&iv_load_policy=3" frameborder="0" allowfullscreen></iframe>
img(src="/images/pages/home/video_border.png")
hr