Changeset 23673
- Timestamp:
- 03/12/2013 05:44:27 PM (12 years ago)
- Location:
- trunk/wp-content/themes/twentythirteen
- Files:
-
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/404.php
r23452 r23673 22 22 <p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentythirteen' ); ?></p> 23 23 24 <?php get_search_form( ); ?>24 <?php get_search_form( true, 'html5' ); ?> 25 25 </div><!-- .page-content --> 26 26 </div><!-- .page-wrapper --> -
trunk/wp-content/themes/twentythirteen/comments.php
r23452 r23673 39 39 ?> 40 40 <nav class="navigation comment-navigation" role="navigation"> 41 <h1 class=" assistive-text section-heading"><?php _e( 'Comment navigation', 'twentythirteen' ); ?></h1>41 <h1 class="screen-reader-text section-heading"><?php _e( 'Comment navigation', 'twentythirteen' ); ?></h1> 42 42 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentythirteen' ) ); ?></div> 43 43 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentythirteen' ) ); ?></div> -
trunk/wp-content/themes/twentythirteen/content-none.php
r23452 r23673 21 21 22 22 <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with different keywords.', 'twentythirteen' ); ?></p> 23 <?php get_search_form( ); ?>23 <?php get_search_form( true, 'html5' ); ?> 24 24 25 25 <?php else : ?> 26 26 27 27 <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentythirteen' ); ?></p> 28 <?php get_search_form( ); ?>28 <?php get_search_form( true, 'html5' ); ?> 29 29 30 30 <?php endif; ?> -
trunk/wp-content/themes/twentythirteen/css/ie.css
r23611 r23673 33 33 } 34 34 35 .site-header .searchform .field{35 .site-header .searchform [type="search"] { 36 36 padding-top: 6px; 37 37 } … … 175 175 } 176 176 177 .ie7 .assistive-text, 178 .ie7 .site .screen-reader-text { 177 .ie7 .screen-reader-text { 179 178 clip: rect(1px 1px 1px 1px); /* IE7 */ 180 179 } … … 205 204 } 206 205 207 .ie7 .site-header .searchform .field{206 .ie7 .site-header .searchform [type="search"] { 208 207 background-color: #fff; 209 208 border: 2px solid #c3c0ab; -
trunk/wp-content/themes/twentythirteen/functions.php
r23672 r23673 304 304 ?> 305 305 <nav class="navigation paging-navigation" role="navigation"> 306 <h1 class=" assistive-text"><?php _e( 'Posts navigation', 'twentythirteen' ); ?></h1>306 <h1 class="screen-reader-text"><?php _e( 'Posts navigation', 'twentythirteen' ); ?></h1> 307 307 <div class="nav-links"> 308 308 … … 340 340 ?> 341 341 <nav class="navigation post-navigation" role="navigation"> 342 <h1 class=" assistive-text"><?php _e( 'Post navigation', 'twentythirteen' ); ?></h1>342 <h1 class="screen-reader-text"><?php _e( 'Post navigation', 'twentythirteen' ); ?></h1> 343 343 <div class="nav-links"> 344 344 -
trunk/wp-content/themes/twentythirteen/header.php
r23492 r23673 50 50 <nav id="site-navigation" class="navigation main-navigation" role="navigation"> 51 51 <h3 class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></h3> 52 <a class=" assistive-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>52 <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a> 53 53 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> 54 <?php get_search_form( ); ?>54 <?php get_search_form( true, 'html5' ); ?> 55 55 </nav><!-- #site-navigation --> 56 56 </div><!-- #navbar --> -
trunk/wp-content/themes/twentythirteen/style.css
r23671 r23673 538 538 539 539 /* Assistive text */ 540 . assistive-text {540 .screen-reader-text { 541 541 position: absolute !important; 542 542 clip: rect(1px, 1px, 1px, 1px); 543 543 } 544 544 545 . assistive-text:hover,546 . assistive-text:active,547 . assistive-text:focus {545 .screen-reader-text:hover, 546 .screen-reader-text:active, 547 .screen-reader-text:focus { 548 548 background-color: #f1f1f1; 549 549 border-radius: 3px; … … 927 927 } 928 928 929 . main-navigation.searchform {929 .site-header .searchform { 930 930 position: absolute; 931 931 right: 0; … … 933 933 } 934 934 935 .site-header .searchform .field{935 .site-header .searchform [type="search"] { 936 936 background-color: transparent; 937 937 background-image: url(images/search-icon.png); … … 950 950 } 951 951 952 .site-header .searchform .field:focus {952 .site-header .searchform [type="search"]:focus { 953 953 background-color: #fff; 954 954 border: 2px solid #c3c0ab; … … 2550 2550 2551 2551 /* Search widget */ 2552 .searchform .submit{2552 .searchform [type="submit"] { 2553 2553 display: none; 2554 2554 } 2555 2555 2556 .widget .searchform .field{2556 .widget .searchform [type="text"] { 2557 2557 width: 100%; 2558 2558 } … … 3163 3163 (min-resolution: 120dpi) { 3164 3164 3165 .site-header .searchform .field{3165 .site-header .searchform [type="search"] { 3166 3166 background-image: url(images/search-icon-2x.png); 3167 3167 } … … 3183 3183 } 3184 3184 3185 footer a[rel= bookmark]:link:after,3186 footer a[rel= bookmark]:visited:after {3185 footer a[rel="bookmark"]:link:after, 3186 footer a[rel="bookmark"]:visited:after { 3187 3187 content: " [" attr(href) "] "; /* Show URLs */ 3188 3188 }
Note: See TracChangeset
for help on using the changeset viewer.