Twenty Eleven: updating editor styles to match main stylesheet

git-svn-id: http://svn.automattic.com/wordpress/trunk@18182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
iandstewart 2011-06-07 21:45:34 +00:00
parent af7b7c70ab
commit 8c1ace0e1f
1 changed files with 9 additions and 8 deletions

View File

@ -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;
}