From 929e606111b920a2da2f8c21a1d58d1ffeadd91a Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Mon, 13 Jun 2011 16:41:03 -0400 Subject: 1. Removed pullquote and improved semantics of blockquote plugin. 2. Removed iterator plugin as it was not being used. 3. Added initial support for html5 video with flash fallback. 4. Added responsive scaling for embedded youtube and vimeo videos. 5. Improved footer styleing. --- themes/classic/sass/default/partials/_blog.scss | 25 ++++++++++++++++++++++- themes/classic/sass/default/partials/_footer.scss | 2 ++ 2 files changed, 26 insertions(+), 1 deletion(-) (limited to 'themes/classic/sass') diff --git a/themes/classic/sass/default/partials/_blog.scss b/themes/classic/sass/default/partials/_blog.scss index 07cba020..916e78c8 100644 --- a/themes/classic/sass/default/partials/_blog.scss +++ b/themes/classic/sass/default/partials/_blog.scss @@ -35,7 +35,30 @@ $border: inline-image('dotted-border.png'); } } .entry-content { - img { max-width: 100%; } + img, video { max-width: 100%; height: auto; } + video { display: block; margin-bottom: 1.5em; + padding: .8em; background: #fff; border: 1px solid #eee; + @include box-sizing(border-box); + } + .flash-video { + max-width: 100%; + padding: .8em; background: #fff; border: 1px solid #eee; + > div { + position: relative; + display: block; + padding-bottom: 56.25%; + padding-top: 1px; + height: 0; + overflow: hidden; + iframe, object, embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + } + } } #disqus_thread { } .meta { diff --git a/themes/classic/sass/default/partials/_footer.scss b/themes/classic/sass/default/partials/_footer.scss index 4ec28b7a..a04b3df9 100644 --- a/themes/classic/sass/default/partials/_footer.scss +++ b/themes/classic/sass/default/partials/_footer.scss @@ -9,6 +9,8 @@ body > footer { position: relative; padding-top: 1em; padding-bottom: 1em; + margin-bottom: 3em; + @include border-bottom-radius(.4em); z-index: 1; a { @include link-colors($nav-color, $nav-color-hover); -- cgit v1.2.1