From 809cdf944d786972a54700da98701f6bcf7bb208 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Mon, 6 Jun 2011 19:41:25 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyeleven/style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css index c523c67e31..9a7bc1add1 100644 --- a/wp-content/themes/twentyeleven/style.css +++ b/wp-content/themes/twentyeleven/style.css @@ -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,