Changeset 18117
- Timestamp:
- 06/02/2011 07:30:07 PM (14 years ago)
- Location:
- trunk/wp-content/themes/twentyeleven
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/colors/dark.css
r18072 r18117 36 36 } 37 37 input[type=text], 38 .post-password-required input[type=password], 38 39 textarea { 39 40 border: 1px solid #222; … … 125 126 } 126 127 .page-link { 127 background: #0e0e0e;128 border-color: #222;129 color: #777;130 128 } 131 129 .page-link a { 132 background: #2 72727;130 background: #242424; 133 131 color: #bbb; 134 132 } 135 133 .page-link a:hover { 136 background: # 888;134 background: #999; 137 135 color: #000; 138 136 } 139 137 .entry-meta .edit-link a { 140 background: # 555;141 color: # 000;138 background: #242424; 139 color: #bbb; 142 140 } 143 141 .entry-meta .edit-link a:hover, 144 142 .entry-meta .edit-link a:focus, 145 143 .entry-meta .edit-link a:active { 146 background: #888; 144 background: #999; 145 color: #000; 146 } 147 148 /* Password Protected Posts */ 149 .post-password-required input[type=password] { 150 background: #ddd; 151 } 152 .post-password-required input[type=password]:focus { 153 background: #fff; 147 154 } 148 155 … … 167 174 /* Comments link */ 168 175 .entry-header .comments-link a { 169 background: # 1a1a1a;176 background: #242424; 170 177 border-color: #222; 171 178 color: #888; … … 178 185 .singular .entry-title { 179 186 color: #fff; 180 }181 .singular .entry-meta .edit-link a {182 color: #000;183 187 } 184 188 … … 318 322 section.recent-posts .other-recent-posts .comments-link a, 319 323 section.recent-posts .other-recent-posts .comments-link > span { 320 border-color: # 666;324 border-color: #959595; 321 325 color: #bbb; 322 326 } … … 439 443 border-color: #2c2c2c; 440 444 } 445 .commentlist > li.bypostauthor .comment-meta { 446 color: #a8a8a8; 447 } 441 448 442 449 /* Comment Form */ … … 444 451 background: #222; 445 452 border-color: #2c2c2c; 446 color: #bbb;447 453 } 448 454 #respond input[type="text"], … … 539 545 } 540 546 .commentlist > li.bypostauthor .comment-meta { 541 color: # 666;547 color: #959595; 542 548 } 543 549 .commentlist > li:before { … … 552 558 .commentlist .children > li.bypostauthor > article, 553 559 .commentlist .children > li.bypostauthor > article .comment-meta { 554 color: # 666;555 } 556 } 560 color: #959595; 561 } 562 } -
trunk/wp-content/themes/twentyeleven/comments.php
r18039 r18117 38 38 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> 39 39 <nav id="comment-nav-above"> 40 <h1 class=" section-heading"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>40 <h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1> 41 41 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyeleven' ) ); ?></div> 42 42 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyeleven' ) ); ?></div> … … 58 58 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> 59 59 <nav id="comment-nav-below"> 60 <h1 class=" section-heading"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>60 <h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1> 61 61 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyeleven' ) ); ?></div> 62 62 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyeleven' ) ); ?></div> -
trunk/wp-content/themes/twentyeleven/functions.php
r18040 r18117 442 442 if ( $wp_query->max_num_pages > 1 ) : ?> 443 443 <nav id="<?php echo $nav_id; ?>"> 444 <h1 class=" section-heading"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h1>444 <h1 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h1> 445 445 <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyeleven' ) ); ?></div> 446 446 <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></div> -
trunk/wp-content/themes/twentyeleven/header.php
r17959 r18117 111 111 112 112 <nav id="access" role="navigation"> 113 <h1 class=" section-heading"><?php _e( 'Main menu', 'twentyeleven' ); ?></h1>113 <h1 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h1> 114 114 <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?> 115 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyeleven' ); ?>"><?php _e( 'Skip to content', 'twentyeleven' ); ?></a></div> 115 <div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div> 116 <div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div> 116 117 <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?> 117 118 <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> -
trunk/wp-content/themes/twentyeleven/inc/theme-options.php
r18101 r18117 200 200 <tr valign="top" class="image-radio-option"><th scope="row"><?php _e( 'Color Scheme', 'twentyeleven' ); ?></th> 201 201 <td> 202 <fieldset><legend class=" screen-reader-text"><span><?php _e( 'Color Scheme', 'twentyeleven' ); ?></span></legend>202 <fieldset><legend class="assistive-text"><span><?php _e( 'Color Scheme', 'twentyeleven' ); ?></span></legend> 203 203 <?php 204 204 foreach ( twentyeleven_color_schemes() as $color ) { … … 222 222 <tr valign="top"><th scope="row"><?php _e( 'Link Color', 'twentyeleven' ); ?></th> 223 223 <td> 224 <fieldset><legend class=" screen-reader-text"><span><?php _e( 'Link Color', 'twentyeleven' ); ?></span></legend>224 <fieldset><legend class="assistive-text"><span><?php _e( 'Link Color', 'twentyeleven' ); ?></span></legend> 225 225 <input type="text" name="twentyeleven_theme_options[link_color]" id="link-color" value="<?php echo esc_attr( $options['link_color'] ); ?>" /> 226 226 <a href="#" class="pickcolor hide-if-no-js" id="link-color-example"></a> … … 235 235 <tr valign="top" class="image-radio-option"><th scope="row"><?php _e( 'Default Layout', 'twentyeleven' ); ?></th> 236 236 <td> 237 <fieldset><legend class=" screen-reader-text"><span><?php _e( 'Color Scheme', 'twentyeleven' ); ?></span></legend>237 <fieldset><legend class="assistive-text"><span><?php _e( 'Color Scheme', 'twentyeleven' ); ?></span></legend> 238 238 <?php 239 239 foreach ( twentyeleven_layouts() as $layout ) { -
trunk/wp-content/themes/twentyeleven/single.php
r17959 r18117 16 16 17 17 <nav id="nav-single"> 18 <h1 class=" section-heading"><?php _e( 'Post navigation', 'toolbox' ); ?></h1>18 <h1 class="assistive-text"><?php _e( 'Post navigation', 'toolbox' ); ?></h1> 19 19 <span class="nav-previous"><?php previous_post_link( '%link', __( '← Previous', 'twentyeleven' ) ); ?></span> 20 20 <span class="nav-next"><?php next_post_link( '%link', __( 'Next →', 'twentyeleven' ) ); ?></span> -
trunk/wp-content/themes/twentyeleven/style.css
r18099 r18117 310 310 311 311 body, input, textarea { 312 color: #3 33;312 color: #373737; 313 313 font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; 314 314 font-weight: 300; … … 429 429 /* Forms */ 430 430 input[type=text], 431 input[type=password], 431 432 textarea { 432 433 background: #fafafa; … … 439 440 input[type=text]:focus, 440 441 textarea:focus { 441 color: #3 33;442 color: #373737; 442 443 } 443 444 textarea { … … 463 464 /* Links */ 464 465 a { 465 color: #1 b8be0;466 color: #1982d1; 466 467 text-decoration: none; 467 468 } … … 472 473 } 473 474 474 /* Assitive text */ 475 .section-heading, 476 .screen-reader-text { 475 /* Assistive text */ 476 .assistive-text { 477 477 position: absolute !important; 478 478 clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 479 479 clip: rect(1px, 1px, 1px, 1px); 480 } 481 #access a.assistive-text:active, 482 #access a.assistive-text:focus { 483 background: #eee; 484 border-bottom: 1px solid #ddd; 485 color: #1982d1; 486 clip: auto !important; 487 font-size: 12px; 488 position: absolute; 489 text-decoration: underline; 490 top: 0; 491 left: 7.6%; 480 492 } 481 493 … … 504 516 #site-title a:focus, 505 517 #site-title a:active { 506 color: #1 b8be0;518 color: #1982d1; 507 519 } 508 520 #site-description { … … 591 603 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */ 592 604 background: -webkit-linear-gradient(#f9f9f9, #e5e5e5); 593 color: #3 33;605 color: #373737; 594 606 } 595 607 #access ul li:hover > ul { … … 711 723 .entry-title a:focus, 712 724 .entry-title a:active { 713 color: #1 b8be0;725 color: #1982d1; 714 726 } 715 727 .entry-meta { … … 778 790 } 779 791 .page-link { 780 background: #f1f1f1;781 border-top: 1px solid #ddd;782 792 clear: both; 783 color: #888; 784 display: block; 785 font-size: 13px; 786 margin: 1.625em -30px; 787 padding: 4px 30px; 788 text-decoration: none; 793 display: block; 794 margin: 0 0 1.625em; 789 795 } 790 796 .page-link a { 791 background: # d8d8d8;792 color: # 444;797 background: #eee; 798 color: #373737; 793 799 margin: 0; 794 800 padding: 2px 3px; … … 796 802 } 797 803 .page-link a:hover { 798 background: # 777;804 background: #888; 799 805 color: #fff; 800 806 font-weight: bold; … … 804 810 } 805 811 .entry-meta .edit-link a { 806 background: # aaa;812 background: #eee; 807 813 -moz-border-radius: 3px; 808 814 border-radius: 3px; 809 color: # fff;815 color: #666; 810 816 float: right; 811 817 font-size: 12px; … … 815 821 } 816 822 .entry-meta .edit-link a:hover { 817 background: #777; 823 background: #888; 824 color: #fff; 818 825 } 819 826 .entry-content .edit-link { 820 827 clear: both; 821 828 display: block; 829 } 830 831 /* Password Protected Posts */ 832 .post-password-required .entry-header .comments-link { 833 margin: 1.625em 0 0; 834 } 835 .post-password-required input[type=password] { 836 margin: 0.8125em 0; 837 } 838 .post-password-required input[type=password]:focus { 839 background: #f7f7f7; 822 840 } 823 841 … … 885 903 .entry-header .comments-link a:focus, 886 904 .entry-header .comments-link a:active { 887 background: #1 b8be0;905 background: #1982d1; 888 906 border-color: #1573bb; 889 907 border-color: rgba(0,0,0,0.2); … … 993 1011 .singular .entry-meta .edit-link a { 994 1012 bottom: auto; 995 color: #fff;996 1013 left: 50px; 997 1014 position: absolute; … … 1043 1060 float: left; 1044 1061 display: block; 1045 margin -right: 1.625em;1062 margin: .375em 1.625em 0 0; 1046 1063 } 1047 1064 … … 1278 1295 } 1279 1296 article.feature-image.small .entry-summary p a:hover { 1280 background: #1 b8be0;1297 background: #1982d1; 1281 1298 color: #eee; 1282 1299 color: rgba(255,255,255,0.8); … … 1424 1441 } 1425 1442 section.recent-posts .other-recent-posts a[rel="bookmark"] { 1426 color: #3 33;1443 color: #373737; 1427 1444 float: left; 1428 1445 max-width: 84%; … … 1456 1473 } 1457 1474 section.recent-posts .other-recent-posts .comments-link a:hover { 1458 color: #1 b8be0;1459 border-color: #1 b8be0;1475 color: #1982d1; 1476 border-color: #1982d1; 1460 1477 } 1461 1478 section.recent-posts .other-recent-posts li:after { … … 1546 1563 .gallery { 1547 1564 margin: 0 auto 1.625em !important; 1565 } 1566 #content .gallery a img { 1567 border: none; 1548 1568 } 1549 1569 .gallery-caption { … … 1663 1683 } 1664 1684 .widget_search #searchsubmit:active { 1665 background: #1 b8be0;1685 background: #1982d1; 1666 1686 border-color: #0861a5; 1667 1687 -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); … … 1861 1881 border-color: #d3d3d3; 1862 1882 } 1883 .commentlist > li.bypostauthor .comment-meta { 1884 color: #575757; 1885 } 1863 1886 .commentlist > li.bypostauthor .comment-meta a:focus, 1864 1887 .commentlist > li.bypostauthor .comment-meta a:active, … … 1893 1916 -moz-border-radius: 3px; 1894 1917 border-radius: 3px; 1895 color: #444;1896 1918 margin: 0 auto 1.625em; 1897 1919 padding: 1.625em; … … 1991 2013 } 1992 2014 #respond input#submit:active { 1993 background: #1 b8be0;2015 background: #1982d1; 1994 2016 color: #bfddf3; 1995 2017 } … … 2008 2030 } 2009 2031 #reply-title { 2010 color: #3 33;2032 color: #373737; 2011 2033 font-size: 24px; 2012 2034 font-weight: bold; … … 2195 2217 margin: 2.2em -8.8% 0px; 2196 2218 padding: 20px 8.8%; 2197 }2198 .page-link {2199 margin: 1.625em 0;2200 2219 } 2201 2220 /* Make sure we have room for our comment avatars */
Note: See TracChangeset
for help on using the changeset viewer.