Changeset 18072
- Timestamp:
- 05/30/2011 01:29:55 AM (14 years ago)
- Location:
- trunk/wp-content/themes/twentyeleven
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/colors/dark.css
r18057 r18072 42 42 textarea:focus { 43 43 } 44 input#s { 45 background-color: #ddd; 46 } 44 47 45 48 /* Links */ 46 49 a { 47 color: #e4741f;48 50 } 49 51 … … 53 55 54 56 #branding { 55 border-top: 2px solid # 444;57 border-top: 2px solid #0a0a0a; 56 58 } 57 59 #site-title a { … … 61 63 #site-title a:focus, 62 64 #site-title a:active { 63 color: #e4741f;64 65 } 65 66 #site-description { … … 101 102 .entry-title a:focus, 102 103 .entry-title a:active { 103 color: #e4741f;104 104 } 105 105 .entry-meta { … … 167 167 /* Comments link */ 168 168 .entry-header .comments-link a { 169 background: #1 11;169 background: #1a1a1a; 170 170 border-color: #222; 171 171 color: #888; 172 172 } 173 .entry-header .comments-link a:hover, 174 .entry-header .comments-link a:focus, 175 .entry-header .comments-link a:active { 176 background: #888; 177 border-color: #aaa; 178 color: #000; 173 .entry-header .comments-link a .leave-reply { 174 background-position-y: -24px; 179 175 } 180 176 … … 206 202 207 203 204 /* =Image 205 ----------------------------------------------- */ 206 207 .format-image .entry-meta .edit-link a { 208 color: #ddd; 209 } 210 .format-image .entry-meta .edit-link a:hover { 211 color: #fff; 212 } 213 214 208 215 /* =error404 209 216 ----------------------------------------------- */ … … 256 263 } 257 264 article.feature-image.small .entry-summary p a:hover { 258 background: #e4741f;259 265 color: #40220c; 260 266 } … … 309 315 } 310 316 section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { 311 color: #e4741f;312 317 } 313 318 section.recent-posts .other-recent-posts .comments-link a, … … 321 326 } 322 327 section.recent-posts .other-recent-posts .comments-link a:hover { 323 color: #e4741f;324 border-color: #e4741f;325 328 } 326 329 … … 369 372 } 370 373 .widget_search #searchsubmit:active { 371 background: #e4741f;372 border-color: #f79e5a;373 374 -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); 374 375 -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); … … 485 486 } 486 487 #respond input#submit:active { 487 background: #e4741f;488 488 color: #40220c; 489 489 } … … 514 514 #site-generator { 515 515 background: #060606; 516 border-color: # 222;516 border-color: #000; 517 517 } 518 518 -
trunk/wp-content/themes/twentyeleven/content-single.php
r18029 r18072 54 54 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 55 55 56 <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries ?>56 <?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries ?> 57 57 <div id="author-info"> 58 58 <div id="author-avatar"> -
trunk/wp-content/themes/twentyeleven/image.php
r17959 r18072 37 37 ); 38 38 ?> 39 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class=" sep">|</span> <span class="edit-link">', '</span>' ); ?>39 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 40 40 </div><!-- .entry-meta --> 41 41 -
trunk/wp-content/themes/twentyeleven/inc/theme-options.php
r18057 r18072 328 328 border-color: <?php echo $link_color; ?>; 329 329 } 330 article.feature-image.small .entry-summary p a:hover { 330 article.feature-image.small .entry-summary p a:hover, 331 .entry-header .comments-link a:hover, 332 .entry-header .comments-link a:focus, 333 .entry-header .comments-link a:active { 331 334 background: <?php echo $link_color; ?>; 332 } 335 } 333 336 </style> 334 337 <?php -
trunk/wp-content/themes/twentyeleven/sidebar.php
r17959 r18072 7 7 * @since Twenty Eleven 1.0 8 8 */ 9 10 $options = twentyeleven_get_theme_options(); 11 $current_layout = $options['theme_layout']; 12 13 if ( 'content' != $current_layout ) : 9 14 ?> 10 15 <div id="secondary" class="widget-area" role="complementary"> … … 29 34 <?php endif; // end sidebar widget area ?> 30 35 </div><!-- #secondary .widget-area --> 36 <?php endif; ?> -
trunk/wp-content/themes/twentyeleven/style.css
r18060 r18072 425 425 top: .5ex; 426 426 } 427 428 /* Forms */ 427 429 input[type=text], 428 430 textarea { … … 444 446 input[type=text] { 445 447 padding: 3px; 448 } 449 input#s { 450 background: url(images/search.png) no-repeat 5px 6px; 451 -moz-border-radius: 2px; 452 border-radius: 2px; 453 font-size: 14px; 454 height: 22px; 455 line-height: 1.2em; 456 padding: 4px 10px 4px 28px; 457 } 458 input#searchsubmit { 459 display: none; 446 460 } 447 461 … … 596 610 } 597 611 #branding #s { 598 background: url(images/search.png) no-repeat 5px 6px;599 -moz-border-radius: 2px;600 border-radius: 2px;601 612 float: right; 602 font-size: 14px;603 height: 22px;604 line-height: 1.2em;605 padding: 4px 10px 4px 28px;606 613 -webkit-transition-duration: 400ms; 607 614 -webkit-transition-property: width, background; … … 666 673 text-transform: none; 667 674 } 668 .hentry { 675 .hentry, 676 .no-results { 669 677 border-bottom: 1px solid #ddd; 670 678 margin: 0 0 1.625em; … … 672 680 position: relative; 673 681 } 674 .hentry:last-child { 682 .hentry:last-child, 683 .no-results { 675 684 border-bottom: none; 676 685 } … … 750 759 border-top: 1px solid #ddd; 751 760 padding: 6px 10px 6px 0; 761 } 762 .entry-content #s { 763 width: 75%; 752 764 } 753 765 .comment-content ul, … … 864 876 text-align: center; 865 877 text-decoration: none; 866 top: 0;878 top: .5em; 867 879 right: 0; 868 880 width: 48px; … … 872 884 .entry-header .comments-link a:focus, 873 885 .entry-header .comments-link a:active { 874 background: #777; 875 border-color: #555; 886 background: #1b8be0; 887 border-color: #1573bb; 888 border-color: rgba(0,0,0,0.2); 876 889 color: #fff; 890 color: rgba(255,255,255,0.8); 877 891 } 878 892 .entry-header .comments-link .leave-reply { 879 font-size: 14px; 880 font-weight: bold; 893 background: url(images/icon-comment.png) no-repeat; 894 color: transparent; 895 display: inline-block; 896 font-family: "Arial Unicode MS", "Helvetica Neue", Helvetica, Arial, sans-serif; 897 font-size: 26px; 898 height: 24px; 899 line-height: 12px; 900 opacity: 0.25; 881 901 position: relative; 882 text-transform: lowercase; 883 top: -1px; 902 width: 24px; 903 } 904 .entry-header .comments-link a:hover .leave-reply { 905 background-position-y: -24px; 906 opacity: 0.5; 884 907 } 885 908 /* … … 937 960 left: 0; 938 961 } 939 .singularblockquote.pull {962 blockquote.pull { 940 963 font-size: 21px; 941 964 font-weight: bold; 942 965 line-height: 1.6125em; 966 margin: 0 0 1.625em; 967 text-align: center; 968 } 969 .singular blockquote.pull { 943 970 margin: 0 -22.25% 1.625em; 971 } 972 .pull.alignleft { 973 margin: 0 1.625em 0 0; 974 text-align: right; 975 width: 33%; 944 976 } 945 977 .singular .pull.alignleft { 946 978 margin: 0 1.625em 0 -22.25%; 979 } 980 .pull.alignright { 981 margin: 0 0 0 1.625em; 982 text-align: left; 983 width: 33%; 947 984 } 948 985 .singular .pull.alignright { … … 1247 1284 section.feature-image.large { 1248 1285 border: none; 1249 max-height: 300px;1286 max-height: 288px; 1250 1287 padding: 0; 1251 1288 width: 100%; … … 1291 1328 border-bottom: 1px solid #e8e8e8; 1292 1329 display: block; 1293 height: 3 40px;1330 height: 328px; 1294 1331 margin: 1.625em -8.9% 20px; 1295 1332 max-width: 1000px; … … 1302 1339 .featured-posts section.featured-post { 1303 1340 background: #fff; 1304 height: 300px;1341 height: 288px; 1305 1342 left: 0; 1306 1343 margin: 0; … … 1310 1347 } 1311 1348 .featured-posts section.featured-post.large { 1349 max-width: 100%; 1312 1350 overflow: hidden; 1313 1351 } … … 1504 1542 top: 7px; 1505 1543 } 1544 .gallery { 1545 margin: 0 auto 1.625em !important; 1546 } 1506 1547 .gallery-caption { 1507 1548 } … … 1527 1568 #nav-above { 1528 1569 padding: 0 0 1.625em; 1570 } 1571 #nav-above { 1572 display: none; 1573 } 1574 .paged #nav-above { 1575 display: block; 1529 1576 } 1530 1577 .nav-previous { … … 1599 1646 } 1600 1647 .widget_search #s { 1601 width: 58%;1648 width: 77%; 1602 1649 } 1603 1650 .widget_search #searchsubmit { … … 2077 2124 /* Simplify the showcase template */ 2078 2125 .page-template-showcase-php .featured-posts { 2079 height: 280px; 2126 min-height: 280px; 2127 } 2128 .featured-posts section.featured-post { 2129 height: auto; 2080 2130 } 2081 2131 .page-template-showcase-php section.recent-posts { … … 2186 2236 #branding #searchform { 2187 2237 top: 1.625em !important; 2238 } 2239 /* Floated content doesn't work well at this size */ 2240 .alignleft, 2241 .alignright { 2242 float: none; 2243 margin-left: 0; 2244 margin-right: 0; 2188 2245 } 2189 2246 /* Make sure the post-post navigation doesn't collide with anything */
Note: See TracChangeset
for help on using the changeset viewer.