diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-06-13 16:41:03 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-06-13 16:41:03 -0400 |
commit | 929e606111b920a2da2f8c21a1d58d1ffeadd91a (patch) | |
tree | 45576296c835d9ae25937547e6097c0544374fd0 /themes/classic/sass | |
parent | 913fa105c4a6793e6522ca45b85d8f06c803c6b9 (diff) | |
download | my_new_personal_website-929e606111b920a2da2f8c21a1d58d1ffeadd91a.tar.xz my_new_personal_website-929e606111b920a2da2f8c21a1d58d1ffeadd91a.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | themes/classic/sass/default/partials/_blog.scss | 25 | ||||
-rw-r--r-- | themes/classic/sass/default/partials/_footer.scss | 2 |
2 files changed, 26 insertions, 1 deletions
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); |