From 57587835b42ba00aacdbd370bce626abbfc721c8 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 12 Mar 2013 22:41:58 +0000 Subject: [PATCH] Twenty Thirteen: improve header area padding to ensure stable layout at any size screen. Props jvisick77, fixes #23732. (Small props also to Google TV for revealing the bug.) git-svn-id: https://develop.svn.wordpress.org/trunk@23678 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentythirteen/css/ie.css | 2 +- wp-content/themes/twentythirteen/style.css | 19 +++++-------------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/wp-content/themes/twentythirteen/css/ie.css b/wp-content/themes/twentythirteen/css/ie.css index f1ad206ed6..d2504d6e2c 100644 --- a/wp-content/themes/twentythirteen/css/ie.css +++ b/wp-content/themes/twentythirteen/css/ie.css @@ -184,7 +184,7 @@ img.alignleft { } .ie7 .main-navigation { - max-width: 890px; + max-width: 930px; padding-right: 150px; } diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index 29c45e3699..d4bab50f80 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -801,7 +801,8 @@ img.wp-smiley, .site-header hgroup { margin: 0 auto; - max-width: 1040px; + max-width: 1080px; + padding: 0 20px; min-height: 230px; width: 100%; } @@ -837,14 +838,14 @@ img.wp-smiley, .main-navigation { clear: both; margin: 0 auto; - max-width: 1040px; + max-width: 1080px; min-height: 45px; position: relative; } ul.nav-menu, div.nav-menu > ul { - margin: 0 0 0 -20px; + margin: 0; padding: 0 40px 0 0; } @@ -928,7 +929,7 @@ ul.nav-menu li:hover > ul, .site-header .searchform { position: absolute; - right: 0; + right: 20px; top: 1px; } @@ -2699,11 +2700,6 @@ footer.entry-meta { margin-right: 0; } - ul.nav-menu, - div.nav-menu > ul { - margin-left: 0; - } - .sidebar .format-image .entry-content .size-full { margin: 0; } @@ -2716,7 +2712,6 @@ footer.entry-meta { width: 100%; } - .site-header hgroup, .archive-header, .search .page-header, .archive .page-header, @@ -2751,10 +2746,6 @@ footer.entry-meta { position: static; } - .main-navigation .searchform { - right: 20px; - } - .site-main .widget-area { margin-right: 60px; }