aboutsummaryrefslogtreecommitdiff
path: root/.themes
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-08-18 15:00:47 -0400
committerBrandon Mathis <brandon@imathis.com>2011-08-18 15:01:00 -0400
commit178a198ea7f932307bbe2affeba10240a3168ff3 (patch)
treeee3b469e6301d216cc70cda19ef32a4240213d1a /.themes
parentcf31601d4be22ebc8ef1c5259a2b2bbd65f147f5 (diff)
downloadmy_new_personal_website-178a198ea7f932307bbe2affeba10240a3168ff3.tar.xz
my_new_personal_website-178a198ea7f932307bbe2affeba10240a3168ff3.zip
updated blog theme to default to left aligned images. To center images, use classname "center"
Diffstat (limited to '.themes')
-rw-r--r--.themes/classic/sass/partials/_blog.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/.themes/classic/sass/partials/_blog.scss b/.themes/classic/sass/partials/_blog.scss
index 8d9d5f80..3416347b 100644
--- a/.themes/classic/sass/partials/_blog.scss
+++ b/.themes/classic/sass/partials/_blog.scss
@@ -51,14 +51,15 @@ article {
@include box-shadow(rgba(#000, .15) 0 1px 4px);
@include box-sizing(border-box);
display: block;
- margin: 0 auto 1.5em;
}
img {
&.left { float: left; margin-right: 1.5em; }
&.right { float: right; margin-left: 1.5em; }
+ &.center { margin: 0 auto 1.5em; }
&.left, &.right { margin-bottom: .8em; }
}
- video { display: block; margin-bottom: 1.5em; width: 100%; }
+ video, .flash-video { margin: 0 auto 1.5em; }
+ video { display: block; width: 100%; }
.flash-video {
> div {
position: relative;