Skip to content

Commit

Permalink
Merge pull request #137 from wpcomvip/AC-1542
Browse files Browse the repository at this point in the history
Styles for header video
  • Loading branch information
Max Harris authored Jul 15, 2020
2 parents ae8eadb + 87f1db7 commit b21df59
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 0 deletions.
26 changes: 26 additions & 0 deletions themes/jolteon/css/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions themes/jolteon/css/app.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 62 additions & 0 deletions themes/jolteon/css/scss/06-components/_components.hero-slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,66 @@
color: $white-color;
}
}

&.hero--video {
flex-flow: column;
min-height: 500px;

.header-video-container {
margin-top: 80px;
padding: $padding-large-horizontal 0;
z-index: 5;

video {
background-color: $white;
border: 1px solid $white;
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
height: auto;
margin: ($padding-large-horizontal * 4) auto 0;
max-width: 90%;
width: auto;

@include mq($from: phablet) {
max-width: 550px;
}

@include mq($from: tablet) {
max-width: 700px;
}

@include mq($from: desktop) {
max-width: 800px;
}
}

@include mq($from: tablet) {
margin-top: 0;
}

@include mq($from: desktop) {
margin-top: inherit;
}
}

.button-container {
z-index: 5;

.cta-button {
display: block;

@include mq($from: phablet) {
display: inline-block;
}
}
}

@include mq($from: tablet) {
height: auto;
max-height: 650px;
}

@include mq($from: desktop) {
max-height: 720px;
}
}
}

0 comments on commit b21df59

Please sign in to comment.