Ticket #947: 947.diff
File 947.diff, 2.2 KB (added by , 10 years ago) |
---|
-
wp-content/themes/pub/wporg-themes/header.php
13 13 <div id="headline"> 14 14 <div class="wrapper"> 15 15 <h2 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h2> 16 <nav id="site-navigation" class="main-navigation" role="navigation">17 <?php18 wp_nav_menu( array(19 'theme_location' => 'primary',20 'container' => false,21 'depth' => 1,22 ) );23 ?>24 </nav>25 16 </div> 26 17 </div> 18 <nav id="site-navigation" class="main-navigation" role="navigation"> 19 <?php 20 wp_nav_menu( array( 21 'theme_location' => 'primary', 22 'container' => false, 23 'depth' => 1, 24 ) ); 25 ?> 26 </nav> 27 No newline at end of file -
wp-content/themes/pub/wporg-themes/style.css
71 71 } 72 72 73 73 /* assorted overrides */ 74 #headline {75 height: auto;76 }77 78 74 #headline h2 { 79 75 margin-bottom: 16px; 80 76 } … … 403 399 -webkit-box-sizing: border-box; 404 400 -moz-box-sizing: border-box; 405 401 box-sizing: border-box; 406 margin: 12px 0 25px;402 margin: 20px 0 25px; 407 403 padding: 0 20px; 408 404 width: 100%; 409 405 -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04); … … 762 758 } 763 759 764 760 /* Secondary header design */ 761 .main-navigation { 762 background: #dfdfdf; 763 } 764 765 765 .main-navigation .menu { 766 float: right; 767 font-size: 14px; 766 font-size: 13px; 768 767 font-weight: bold; 769 768 list-style: none; 770 margin-right: 15px; 771 padding-top: 22px; 769 margin: 0 auto; 770 padding: 10px 0; 771 width: 960px; 772 772 } 773 773 774 774 .main-navigation .menu li { … … 779 779 padding-left: 10px; 780 780 } 781 781 782 #site-navigation.main-navigation a { 783 color: #636363; 784 } 785 782 786 #site-navigation.main-navigation a:hover, 783 787 #site-navigation.main-navigation a:focus { 784 788 color: #2ea2cc; … … 790 794 float: none; 791 795 } 792 796 .main-navigation .menu { 793 background: #f5f5f5;794 border-top: 1px solid #d7d7d7;795 797 margin: 0; 796 798 padding: 8px 0; 797 799 width: 100%;