From 7f333ad540386f367592552d1de83443d83ccafa Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Tue, 7 Jun 2011 21:45:34 +0000 Subject: [PATCH] Twenty Eleven: updating editor styles to match main stylesheet git-svn-id: https://develop.svn.wordpress.org/trunk@18182 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentyeleven/editor-style.css | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/wp-content/themes/twentyeleven/editor-style.css b/wp-content/themes/twentyeleven/editor-style.css index eaa0f2877c..ada4be932f 100644 --- a/wp-content/themes/twentyeleven/editor-style.css +++ b/wp-content/themes/twentyeleven/editor-style.css @@ -234,17 +234,18 @@ td { } /* Images */ -img.size-auto, -img.size-large, -img.size-full, -img.size-medium, -img.size-thumbnail { +img[class*="wp-image-"] { height: auto; max-width: 100%; } +img.size-full { + width: auto; /* Prevent stretching of full-size images in IE8 */ +} img.wp-smiley { + border: none; margin-bottom: 0; margin-top: 0; + padding: 0; } p img, .wp-caption { @@ -293,9 +294,9 @@ img.aligncenter { left: 10px; top: 7px; } -a:focus img, -a:hover img, -a:active img { +a:focus img[class*="wp-image-"], +a:hover img[class*="wp-image-"], +a:active img[class*="wp-image-"] { background: #eee; border-color: #bbb; }