Changeset 27594
- Timestamp:
- 03/18/2014 10:36:12 PM (11 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/header.php
r26810 r27594 50 50 51 51 <nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation"> 52 < h1 class="menu-toggle"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></h1>52 <button class="menu-toggle"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></button> 53 53 <a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a> 54 54 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> -
trunk/src/wp-content/themes/twentyfourteen/style.css
r27587 r27594 821 821 822 822 /* Ensure that there is no gap between the header and 823 823 the admin bar for WordPress versions before 3.8. */ 824 824 #wpadminbar { 825 825 min-height: 32px; … … 987 987 988 988 .menu-toggle { 989 background-color: #000; 990 border-radius: 0; 989 991 cursor: pointer; 990 992 font-size: 0; … … 992 994 margin: 0; 993 995 overflow: hidden; 996 padding: 0; 994 997 position: absolute; 995 998 top: 0; … … 1002 1005 color: #fff; 1003 1006 content: "\f419"; 1007 display: inline; 1004 1008 margin-top: 16px; 1009 } 1010 1011 .menu-toggle:active, 1012 .menu-toggle:focus, 1013 .menu-toggle:hover { 1014 background-color: #444; 1015 } 1016 1017 .menu-toggle:focus { 1018 outline: 1px dotted; 1005 1019 } 1006 1020
Note: See TracChangeset
for help on using the changeset viewer.