Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
video background responsive fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugosolar committed Apr 30, 2019
1 parent 776ff37 commit 3767afd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4711,6 +4711,16 @@ table.hover:not(.unstriped) tr:nth-of-type(even):hover {
@media screen and (min-width: 75em) {
.main-feature .feature-video .featured-video-element {
margin-top: 0; } }
@media screen and (min-width: 40em) and (max-width: 63.99875em) {
.main-feature .feature-video .featured-video-element {
margin-top: 0;
margin-left: -13%;
width: 130%; } }
@media screen and (max-width: 39.99875em) {
.main-feature .feature-video .featured-video-element {
margin-top: 0;
margin-left: -30%;
width: 180%; } }
.main-feature .content-wrap {
position: absolute;
top: 0;
Expand Down
10 changes: 10 additions & 0 deletions frontend/scss/modules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
@include breakpoint(xlarge) {
margin-top: 0;
}
@include breakpoint(medium only) {
margin-top: 0;
margin-left: -13%;
width: 130%;
}
@include breakpoint(small only) {
margin-top: 0;
margin-left: -30%;
width: 180%;
}
}
}
.content-wrap {
Expand Down

0 comments on commit 3767afd

Please sign in to comment.