Ticket #24114: 24114.1.diff
File 24114.1.diff, 4.5 KB (added by , 10 years ago) |
---|
-
wp-content/themes/twentythirteen/style.css
70 70 figure, 71 71 footer, 72 72 header, 73 hgroup,74 73 nav, 75 74 section, 76 75 summary { … … 807 806 position: relative; 808 807 } 809 808 810 .site-header hgroup { 809 .site-header .masthead { 810 color: #141412; 811 display: block; 811 812 margin: 0 auto; 812 813 max-width: 1080px; 813 814 padding: 0 20px; 814 815 min-height: 230px; 815 816 width: 100%; 816 }817 818 .site-header a {819 color: #141412;820 817 text-decoration: none; 821 818 } 822 819 … … 991 988 z-index: 3; 992 989 } 993 990 994 .navbar-fixed #masthead .site-title {991 .navbar-fixed .masthead .site-title { 995 992 color: #141412; 996 993 } 997 994 … … 3256 3253 background-image: none !important; 3257 3254 } 3258 3255 3259 .site-header hgroup{3256 .site-header .masthead { 3260 3257 min-height: 0; 3261 3258 max-width: none; 3262 3259 } -
wp-content/themes/twentythirteen/js/theme-customizer.js
22 22 value.bind( function( to ) { 23 23 if ( 'blank' == to ) { 24 24 if ( 'remove-header' == _wpCustomizeSettings.values.header_image ) 25 $( ' #masthead hgroup' ).css( 'min-height', '0' );25 $( '.masthead' ).css( 'min-height', '0' ); 26 26 $( '.site-title, .site-description' ).css( { 27 27 'clip': 'rect(1px, 1px, 1px, 1px)', 28 28 'position': 'absolute' 29 29 } ); 30 30 } else { 31 $( ' #masthead hgroup' ).css( 'min-height', '230px' );31 $( '.masthead' ).css( 'min-height', '230px' ); 32 32 $( '.site-title, .site-description' ).css( { 33 33 'clip': 'auto', 34 34 'color': to, -
wp-content/themes/twentythirteen/header.php
38 38 39 39 <body <?php body_class(); ?>> 40 40 <div id="page" class="hfeed site"> 41 <header id="masthead" class="site-header" role="banner"> 42 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> 43 <hgroup> 44 <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1> 45 <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> 46 </hgroup> 41 <header class="site-header" role="banner"> 42 <a class="masthead" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> 43 <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1> 44 <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> 47 45 </a> 48 46 49 47 <div id="navbar" class="navbar"> … … 54 52 <?php get_search_form(); ?> 55 53 </nav><!-- #site-navigation --> 56 54 </div><!-- #navbar --> 57 </header><!-- #masthead-->55 </header><!-- .site-header --> 58 56 59 57 <div id="main" class="site-main"> -
wp-content/themes/twentythirteen/css/ie.css
34 34 left: 100%; 35 35 } 36 36 37 .site-header hgroup{37 .site-header .masthead { 38 38 max-width: 1040px; 39 39 } 40 40 -
wp-content/themes/twentythirteen/inc/custom-header.php
103 103 <?php 104 104 if ( empty( $header_image ) ) : 105 105 ?> 106 .site-header hgroup{106 .site-header .masthead { 107 107 min-height: 0; 108 108 } 109 109 <?php … … 141 141 } ?> 142 142 padding: 0 20px; 143 143 } 144 #headimg . hgroup{144 #headimg .masthead { 145 145 -webkit-box-sizing: border-box; 146 146 -moz-box-sizing: border-box; 147 147 box-sizing: border-box; … … 195 195 ?> 196 196 <div id="headimg" style="background: url(<?php header_image(); ?>) no-repeat scroll top; background-size: 1600px auto;"> 197 197 <?php $style = ' style="color:#' . get_header_textcolor() . ';"'; ?> 198 <div class=" hgroup">198 <div class="masthead"> 199 199 <h1><a id="name"<?php echo $style; ?> onclick="return false;" href="#"><?php bloginfo( 'name' ); ?></a></h1> 200 200 <h2 id="desc"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></h2> 201 201 </div>