diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index 918fcea..ba30ff7 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -108,22 +108,23 @@ } } &,& .jp-jplayer{ + height: calc(100vw /16 * 9) !important; @media(min-width:1801px){ - height: 1080px; + height: 840px; .ad-overlay{ bottom: 50%; position: absolute; } } @media screen and (min-width:1451px) and (max-width:1800px){ - height: 800px; + height: 760px; .ad-overlay{ bottom: 40%; position: absolute; } } @media screen and (min-width:1281px) and (max-width:1450px){ - height: 800px; + height: 760px; .ad-overlay{ bottom: 50%; position: absolute; @@ -151,7 +152,7 @@ } } @media(max-width: $screen-xs){ - height: 800px; + height: 760px; .ad-overlay{ top: 17%; position: absolute;