Permalink
Browse files

added way better support for captions and image alignments

  • Loading branch information...
1 parent 2d83380 commit d0fc5084274d6df949b41c521bd16a9a493d662d @curtismchale committed Mar 22, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 assets/css/layout.css
View
@@ -44,11 +44,11 @@ input[type=submit]{cursor:pointer;}
/*** IMAGES AND CAPTIONS ***/
.aligncenter{display:block; margin:0 auto;}
- .alignleft{float:left;}
- .alignright{float:right;}
+ .alignleft, .wp-caption.alignleft{float:left; margin-right:10px;}
+ .alignright, .wp-caption.alignright{float:right; margin-left:10px;}
/* captions */
- .wp-caption{border:1px solid #666; text-align:center; background:#ccc; padding:10px; margin:10px;}
+ .wp-caption{border:1px solid #666; text-align:center; background:#ccc; padding:10px; margin:10px auto 10px auto;}
.wp-caption-text{}
.gallery-caption{}
@@ -66,4 +66,4 @@ input[type=submit]{cursor:pointer;}
-/* === FOOTER === */
+/* === FOOTER === */

0 comments on commit d0fc508

Please sign in to comment.