Move controller on YT using relative positioning

This commit is contained in:
Arjun Rao
2016-06-21 22:01:47 -07:00
parent 32c9fd11ff
commit 8224e4a59f

View File

@@ -2,7 +2,8 @@
/* YouTube player */
.ytp-hide-info-bar .vsc-controller {
margin-top: 10px;
position: relative;
top: 10px;
}
.ytp-autohide .vsc-controller {
@@ -19,12 +20,14 @@
/* YouTube embedded player */
/* e.g. https://www.igvita.com/2012/09/12/web-fonts-performance-making-pretty-fast/ */
.full-frame .html5-video-player:not(.ytp-fullscreen) .vsc-controller {
margin-top: 45px;
position: relative;
top: 45px;
}
.ytp-fullscreen .vsc-controller {
display: block;
margin-top: 60px;
position: relative;
top: 60px;
}
/* shift controller on vine.co */