mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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: http://core.svn.wordpress.org/trunk@23678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6355d286ba
commit
2c38199fd2
@ -184,7 +184,7 @@ img.alignleft {
|
||||
}
|
||||
|
||||
.ie7 .main-navigation {
|
||||
max-width: 890px;
|
||||
max-width: 930px;
|
||||
padding-right: 150px;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user