Pas de barre noire YouTube
This commit is contained in:
parent
b18a8c1085
commit
03bc7d98fb
@ -51,7 +51,9 @@
|
||||
</nav>
|
||||
|
||||
<header class="masthead">
|
||||
<div id="player"></div>
|
||||
<div class="video-container">
|
||||
<div id="player"></div>
|
||||
</div>
|
||||
|
||||
<a class="btn btn-default btn-xl" href="#about">
|
||||
<i class="fa fa-angle-down fa-2x" aria-hidden="true"></i>
|
||||
|
@ -39,7 +39,7 @@ header.masthead {
|
||||
padding: .5rem 1rem;
|
||||
}
|
||||
|
||||
iframe {
|
||||
.video-container, iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
@ -47,6 +47,12 @@ header.masthead {
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
@media (min-aspect-ratio: 16/9) {
|
||||
.video-container { height: 300%; top: -100%; }
|
||||
}
|
||||
@media (max-aspect-ratio: 16/9) {
|
||||
.video-container { width: 300%; left: -100%; }
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
height: 100%;
|
||||
|
Loading…
Reference in New Issue
Block a user