-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brian Kelleher
authored and
Brian Kelleher
committed
Apr 2, 2016
1 parent
c1b3268
commit 4139bae
Showing
5 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
www/wp-content/themes/ation2016/src/styles/components/_home.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
html, body { | ||
height: 100%; | ||
} | ||
|
||
.home-bg { | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
$video-height: $header-height; | ||
|
||
.videoWrapper { | ||
position: relative; | ||
padding-bottom: 56.25%; /* 16:9 */ | ||
padding-top: -$header-height; | ||
height: 0; | ||
} | ||
.videoWrapper iframe { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% extends 'base.twig' %} | ||
|
||
{% block content %} | ||
<div class="home-bg"> | ||
<div class="videoWrapper"> | ||
<iframe src="https://player.vimeo.com/video/148449065" width="100%" height="100%" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> | ||
</div> | ||
</div> | ||
|
||
{% endblock %} |