Skip to content

Instantly share code, notes, and snippets.

@johndhancock
Created September 12, 2017 15:23
Show Gist options
  • Save johndhancock/51e6ffbb7f1f98ecc114a7c1911a7ebd to your computer and use it in GitHub Desktop.
Save johndhancock/51e6ffbb7f1f98ecc114a7c1911a7ebd to your computer and use it in GitHub Desktop.
Style overrides for ooyala player in interactives
.video-block {
width: 55%;
margin: 4.8rem 0;
font-size: 15px;
img {
max-width: 170px !important;
max-height: 18px !important;
}
}
.video-wrapper {
position: relative;
padding-bottom: 56.25%;
padding-top: 25px;
height: 0;
}
.video-wrapper iframe, .video-wrapper embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
@media (max-width: 900px) {
.video-block {
width: 100%;
}
}
@media (max-width: 767px) {
.video-block {
margin: 2.4rem 0;
}
}
@media (max-width: 681px) {
.video-block {
img {
max-width: 130px !important;
}
}
}
@media (max-width: 500px) {
.video-block {
img {
max-width: 80px !important;
max-height: 14px !important;
}
}
}
.oo-state-screen-info {
font-size: 1.6rem !important;
}
.oo-state-screen-description {
font-size: 1.1rem !important;
}
.video-block {
width: 55%;
margin: 4.8rem 0;
font-size: 15px;
img {
max-width: 170px !important;
max-height: 18px !important;
}
}
.video-wrapper {
position: relative;
padding-bottom: 56.25%;
padding-top: 25px;
height: 0;
}
.video-wrapper iframe, .video-wrapper embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
@media (max-width: 900px) {
.video-block {
width: 100%;
}
}
@media (max-width: 767px) {
.video-block {
margin: 2.4rem 0;
}
}
@media (max-width: 681px) {
.video-block {
img {
max-width: 130px !important;
}
}
}
@media (max-width: 500px) {
.video-block {
img {
max-width: 80px !important;
max-height: 14px !important;
}
}
}
.oo-player-container {
min-width: 0px !important;
}
.oo-state-screen-title, .oo-state-screen-description {
max-width: 90% !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment