Browse code

updated blog theme to default to left aligned images. To center images, use classname "center"

Brandon Mathis authored on 18/08/2011 at 19:00:47
Showing 1 changed files
... ...
@@ -51,14 +51,15 @@ article {
51 51
     @include box-shadow(rgba(#000, .15) 0 1px 4px);
52 52
     @include box-sizing(border-box);
53 53
     display: block;
54
-    margin: 0 auto 1.5em;
55 54
   }
56 55
   img {
57 56
     &.left { float: left; margin-right: 1.5em; }
58 57
     &.right { float: right; margin-left: 1.5em; }
58
+    &.center { margin: 0 auto 1.5em; }
59 59
     &.left, &.right { margin-bottom: .8em; }
60 60
   }
61
-  video { display: block; margin-bottom: 1.5em; width: 100%; }
61
+  video, .flash-video { margin: 0 auto 1.5em; }
62
+  video { display: block; width: 100%; }
62 63
   .flash-video {
63 64
     > div {
64 65
       position: relative;