Make WordPress Core

Ticket #27147: 27147.2.2.diff

File 27147.2.2.diff, 1.6 KB (added by joedolson, 11 years ago)

Update to 27147.2; this time actually having been saved.

  • wp-content/themes/twentyfourteen/header.php

     
    4949                        </div>
    5050
    5151                        <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>
    5353                                <a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a>
    5454                                <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
    5555                        </nav>
  • wp-content/themes/twentyfourteen/style.css

     
    985985}
    986986
    987987.menu-toggle {
     988        background-color: #000;
     989        border-radius: 0;
    988990        cursor: pointer;
    989991        font-size: 0;
    990992        height: 48px;
    991993        margin: 0;
    992994        overflow: hidden;
     995        padding: 0;
    993996        position: absolute;
    994997        top: 0;
    995998        right: 0;
     
    10001003.menu-toggle:before {
    10011004        color: #fff;
    10021005        content: "\f419";
     1006        display: inline;
    10031007        margin-top: 16px;
    10041008}
    10051009
     1010.menu-toggle:active,
     1011.menu-toggle:focus,
     1012.menu-toggle:hover {
     1013        background-color: #444;
     1014}
    10061015
     1016.menu-toggle:focus {
     1017        outline: 1px dotted;
     1018}
     1019
     1020
    10071021/**
    10081022 * 6.0 Content
    10091023 * -----------------------------------------------------------------------------