Created
October 11, 2016 15:18
-
-
Save djak250/65ec9711ff3aded38a7b581b59c7a6b3 to your computer and use it in GitHub Desktop.
Floats Youtube video above comments to scroll while keeping video in view.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.watch-stage-mode #player { | |
position: fixed !important; | |
width: 100% !important; | |
z-index: 9999 !important; | |
top: 60px; | |
} | |
.watch-stage-mode #placeholder-player { | |
display: none; | |
} | |
@media(min-width: 1320px) { | |
.watch-stage-mode #watch7-main { | |
padding-top: 720px; | |
} | |
} | |
@media (max-width: 1319px) and (min-width: 657px) { | |
.watch-stage-mode #watch7-main { | |
padding-top: 480px; | |
} | |
} | |
@media(max-width: 656px) { | |
.watch-stage-mode #watch7-main { | |
padding-top: 250px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment