Changeset 24072
- Timestamp:
- 04/23/2013 05:55:55 PM (12 years ago)
- Location:
- trunk/wp-content/themes/twentythirteen
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/css/ie.css
r24035 r24072 35 35 } 36 36 37 .site-header hgroup{37 .site-header .home-link { 38 38 max-width: 1040px; 39 39 } -
trunk/wp-content/themes/twentythirteen/header.php
r23799 r24072 40 40 <div id="page" class="hfeed site"> 41 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> 42 <a class="home-link" 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 -
trunk/wp-content/themes/twentythirteen/inc/custom-header.php
r24050 r24072 104 104 if ( empty( $header_image ) ) : 105 105 ?> 106 .site-header hgroup{106 .site-header .home-link { 107 107 min-height: 0; 108 108 } … … 142 142 padding: 0 20px; 143 143 } 144 #headimg .h group{144 #headimg .home-link { 145 145 -webkit-box-sizing: border-box; 146 146 -moz-box-sizing: border-box; … … 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="h group">198 <div class="home-link"> 199 199 <h1 class="displaying-header-text"><a id="name"<?php echo $style; ?> onclick="return false;" href="#"><?php bloginfo( 'name' ); ?></a></h1> 200 200 <h2 id="desc" class="displaying-header-text"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></h2> -
trunk/wp-content/themes/twentythirteen/js/theme-customizer.js
r23680 r24072 23 23 if ( 'blank' == to ) { 24 24 if ( 'remove-header' == _wpCustomizeSettings.values.header_image ) 25 $( ' #masthead hgroup' ).css( 'min-height', '0' );25 $( '.home-link' ).css( 'min-height', '0' ); 26 26 $( '.site-title, .site-description' ).css( { 27 27 'clip': 'rect(1px, 1px, 1px, 1px)', … … 29 29 } ); 30 30 } else { 31 $( ' #masthead hgroup' ).css( 'min-height', '230px' );31 $( '.home-link' ).css( 'min-height', '230px' ); 32 32 $( '.site-title, .site-description' ).css( { 33 33 'clip': 'auto', -
trunk/wp-content/themes/twentythirteen/style.css
r24071 r24072 71 71 footer, 72 72 header, 73 hgroup,74 73 nav, 75 74 section, … … 808 807 } 809 808 810 .site-header hgroup { 809 .site-header .home-link { 810 color: #141412; 811 display: block; 811 812 margin: 0 auto; 812 813 max-width: 1080px; … … 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 } … … 992 989 } 993 990 994 .navbar-fixed #masthead.site-title {991 .navbar-fixed .site-title { 995 992 color: #141412; 996 993 } … … 3239 3236 } 3240 3237 3241 .site-header hgroup{3238 .site-header .home-link { 3242 3239 min-height: 0; 3243 3240 max-width: none;
Note: See TracChangeset
for help on using the changeset viewer.