Skip to content

Instantly share code, notes, and snippets.

@nfreear
Created December 14, 2012 09:31
Show Gist options
  • Select an option

  • Save nfreear/4284028 to your computer and use it in GitHub Desktop.

Select an option

Save nfreear/4284028 to your computer and use it in GitHub Desktop.
Drupal 6.x theme CSS: override 3rd party oEmbed consumer/client stylesheet (Garland theme) / nfreear / IET-at-OU
/*
Override default oEmbed styles.
See also - 'remove' PHP: https://gist.github.com/1892457
*/
/*div.oembed,*/
.oembed iframe {
margin:0;
padding:0;
float:none;
background:transparent;
border:1px solid #ddd;
border-radius:0;
/*max-width:100%;*/
width:100%; /*auto*/
height:400px; /*auto*/
}
.oembed iframe, .oembed .oembed-title, .oembed .oembed-content{
border:none;
}
iframe.ou.video.player.XX-embed-rsp {
width:560px;
height:315px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment