WordPress.org

Make WordPress Core

Changeset 23678


Ignore:
Timestamp:
03/12/2013 10:41:58 PM (9 years ago)
Author:
lancewillett
Message:

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.)

Location:
trunk/wp-content/themes/twentythirteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/css/ie.css

    r23673 r23678  
    185185
    186186.ie7 .main-navigation {
    187     max-width: 890px;
     187    max-width: 930px;
    188188    padding-right: 150px;
    189189}
  • trunk/wp-content/themes/twentythirteen/style.css

    r23675 r23678  
    802802.site-header hgroup {
    803803    margin: 0 auto;
    804     max-width: 1040px;
     804    max-width: 1080px;
     805    padding: 0 20px;
    805806    min-height: 230px;
    806807    width: 100%;
     
    838839    clear: both;
    839840    margin: 0 auto;
    840     max-width: 1040px;
     841    max-width: 1080px;
    841842    min-height: 45px;
    842843    position: relative;
     
    845846ul.nav-menu,
    846847div.nav-menu > ul {
    847     margin: 0 0 0 -20px;
     848    margin: 0;
    848849    padding: 0 40px 0 0;
    849850}
     
    929930.site-header .searchform {
    930931    position: absolute;
    931     right: 0;
     932    right: 20px;
    932933    top: 1px;
    933934}
     
    27002701    }
    27012702
    2702     ul.nav-menu,
    2703     div.nav-menu > ul {
    2704         margin-left: 0;
    2705     }
    2706 
    27072703    .sidebar .format-image .entry-content .size-full {
    27082704        margin: 0;
     
    27172713    }
    27182714
    2719     .site-header hgroup,
    27202715    .archive-header,
    27212716    .search .page-header,
     
    27502745    .image-navigation .nav-next {
    27512746        position: static;
    2752     }
    2753 
    2754     .main-navigation .searchform {
    2755         right: 20px;
    27562747    }
    27572748
Note: See TracChangeset for help on using the changeset viewer.