diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-07-23 00:23:50 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-07-23 00:26:00 -0400 |
commit | a2bc6f97627d78d42230061125252f074ce4f4cd (patch) | |
tree | 9b1fad420abb561f01c45712082d4c4b897f9f96 /.themes | |
parent | 8e489ac2daf35f81d4567f959219decd6836b024 (diff) | |
download | my_new_personal_website-a2bc6f97627d78d42230061125252f074ce4f4cd.tar.xz my_new_personal_website-a2bc6f97627d78d42230061125252f074ce4f4cd.zip |
1. Added image tag plugin
2. Removed figure tag plugin
3. Renamed custom_filters to octopress_filters
4. Added styles to support new image tag plugin
Diffstat (limited to '')
-rw-r--r-- | .themes/classic/sass/partials/_blog.scss | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/.themes/classic/sass/partials/_blog.scss b/.themes/classic/sass/partials/_blog.scss index 26ad19b4..cc8c6848 100644 --- a/.themes/classic/sass/partials/_blog.scss +++ b/.themes/classic/sass/partials/_blog.scss @@ -42,14 +42,32 @@ article { font-size: 2.0em; font-style: italic; line-height: 1.3em; } - .entry-content { - img, video { max-width: 100%; height: auto; } - video { - width: 100%; display: block; margin-bottom: 1.5em; - padding: .8em; background: #fff; border: 1px solid #eee; - @include box-sizing(border-box); + img { + max-width: 100%; + border: .5em solid #fff; + @include border-radius(.3em); + @include box-shadow(rgba(#000, .15) 0 1px 4px); + @include box-sizing(border-box); + display: block; + margin: 0 auto 1.5em; + &.left { + float: left; + margin-right: 1.5em; + } + &.right { + float: right; + margin-left: 1.5em; + } + &.left, &.right { + margin-bottom: .8em; } } + img, video { max-width: 100%; height: auto; } + video { + width: 100%; display: block; margin-bottom: 1.5em; + padding: .8em; background: #fff; border: 1px solid #eee; + @include box-sizing(border-box); + } .flash-video { max-width: 100%; margin-bottom: 1.5em; |