diff options
Diffstat (limited to 'themes/classic/sass')
-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); |