From d27efabb08c5c1c9831cbb1dadf93f48df889744 Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Wed, 28 Apr 2010 04:46:10 +0000 Subject: [PATCH] In Twenty Ten, remove margins from normal inline images, set vertical alignment of inline images, and apply bottom margin to alignnone class. git-svn-id: https://develop.svn.wordpress.org/trunk@14269 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentyten/style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyten/style.css b/wp-content/themes/twentyten/style.css index 2ba6e7c4b0..96800cf8d7 100644 --- a/wp-content/themes/twentyten/style.css +++ b/wp-content/themes/twentyten/style.css @@ -758,9 +758,10 @@ div.menu li { /* Images -------------------------------------------------------------- */ -.entry-content img { - margin: 0 0 24px 0; +#content img { + margin: 0; max-width: 640px; + vertical-align: baseline; } .alignleft, img.alignleft { @@ -788,6 +789,9 @@ img.alignright, img.aligncenter { margin-bottom: 12px; } +img.alignnone { + margin-bottom: 24px; +} #content .wp-caption { background: #f1f1f1; color: #888;