Twenty Eleven: visual fixes

* Prevent the sidebar-content layout from breaking singular post and page views
* Prevent smileys from inheriting borders and padding


git-svn-id: https://develop.svn.wordpress.org/trunk@18171 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Stewart 2011-06-06 19:41:25 +00:00
parent 43a3346ed9
commit 809cdf944d

View File

@ -100,7 +100,8 @@ body {
.singular #primary {
margin: 0;
}
.singular #content {
.singular #content,
.sidebar-content.singular #content {
margin: 0 7.6%;
position: relative;
width: auto;
@ -307,6 +308,7 @@ body {
width: auto;
}
/* =Global
----------------------------------------------- */
@ -842,9 +844,11 @@ img.size-thumbnail {
img.size-full {
width: auto; /* Prevent stretching of full-size images in IE8 */
}
img.wp-smiley {
.entry-content img.wp-smiley {
border: none;
margin-bottom: 0;
margin-top: 0;
padding: 0;
}
img.alignleft,
img.alignright,