Changeset 17791
- Timestamp:
- 05/04/2011 12:45:50 AM (12 years ago)
- Location:
- trunk/wp-content/themes/twentyeleven
- Files:
-
- 4 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/colors/dark.css
r17772 r17791 393 393 border-color: #222; 394 394 } 395 .rtl .commentlist .children li.comment { 396 border-color: #222; 397 } 395 398 .comment-meta { 396 399 color: #999; … … 398 401 .commentlist > li:before { 399 402 content: url(../images/comment-arrow-dark.png); 403 } 404 .rtl .commentlist > li:before { 405 content: url(../images/comment-arrow-dark-rtl.png); 400 406 } 401 407 … … 407 413 .commentlist > li.bypostauthor:before { 408 414 content: url(../images/comment-arrow-bypostauthor-dark.png); 415 } 416 .rtl .commentlist > li.bypostauthor:before { 417 content: url(../images/comment-arrow-bypostauthor-dark-rtl.png); 409 418 } 410 419 … … 425 434 background: #000; 426 435 border: 4px solid #111; 427 -webkit-box-shadow: inset 0 1px 3px #333;428 -moz-box-shadow: inset 0 1px 3px #333;429 box-shadow: inset 0 1px 3px #333;436 -webkit-box-shadow: inset 0 1px 3px rgba(51,51,51,0.95); 437 -moz-box-shadow: inset 0 1px 3px rgba(51,51,51,0.95); 438 box-shadow: inset 0 1px 3px rgba(51,51,51,0.95); 430 439 } 431 440 #respond .comment-form-author label, … … 434 443 #respond .comment-form-comment label { 435 444 background: #111; 436 -webkit-box-shadow: 1px 1px 2px #333;437 -moz-box-shadow: 1px 1px 2px #333;438 box-shadow: 1px 1px 2px #333;445 -webkit-box-shadow: 1px 2px 2px rgba(51,51,51,0.8); 446 -moz-box-shadow: 1px 2px 2px rgba(51,51,51,0.8); 447 box-shadow: 1px 1px 2px rgba(51,51,51,0.8); 439 448 color: #aaa; 449 } 450 .rtl #respond .comment-form-author label, 451 .rtl #respond .comment-form-email label, 452 .rtl #respond .comment-form-url label, 453 .rtl #respond .comment-form-comment label { 454 -webkit-box-shadow: -1px 2px 2px rgba(51,51,51,0.8); 455 -moz-box-shadow: -1px 2px 2px rgba(51,51,51,0.8); 456 box-shadow: -1px 1px 2px rgba(51,51,51,0.8); 440 457 } 441 458 #respond .comment-form-author .required, -
trunk/wp-content/themes/twentyeleven/content-gallery.php
r17788 r17791 4 4 * 5 5 * Learn more: http://codex.wordpress.org/Post_Formats 6 * 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty Eleven … … 66 66 67 67 <footer class="entry-meta"> 68 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyeleven' ); ?></span><?php the_category( ', ' ); ?></span> 68 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in', 'twentyeleven' ); ?></span> <?php the_category( ', ' ); ?></span> 69 <?php the_tags( '<span class="sep"> | </span> <span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __( 'Tagged', 'twentyeleven' ) . '</span> ', ', ', '</span>' ); ?> 70 71 <?php if ( comments_open() ) : ?> 69 72 <span class="sep"> | </span> 70 <?php the_tags( '<span class="tag-links">' . __( 'Tagged ', 'twentyeleven' ) . '</span>', ', ', '<span class="sep"> | </span>' ); ?> 71 <span class="comments-link"><?php comments_popup_link( __( 'Leave a reply', 'twentyeleven' ), __( '1 reply', 'twentyeleven' ), __( '% replies', 'twentyeleven' ) ); ?></span> 73 <span class="comments-link"><?php comments_popup_link( __( '<span class="leave-reply">Leave a reply</span>', 'twentyeleven' ), __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> 74 <?php endif; ?> 75 72 76 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 73 77 </footer><!-- #entry-meta --> -
trunk/wp-content/themes/twentyeleven/content-image.php
r17788 r17791 4 4 * 5 5 * Learn more: http://codex.wordpress.org/Post_Formats 6 * 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty Eleven … … 51 51 </div><!-- .entry-meta --> 52 52 <div class="entry-meta"> 53 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyeleven' ); ?></span><?php the_category( ', ' ); ?></span><br /> 54 <?php the_tags( '<span class="tag-links">' . __( 'Tagged ', 'twentyeleven' ) . '</span>', ', ', '' ); ?><br /> 53 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyeleven' ); ?></span><?php the_category( ', ' ); ?></span> 54 <?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __( 'Tagged', 'twentyeleven' ) . '</span> ', ', ', '</span>' ); ?> 55 <?php if ( comments_open() ) : ?> 56 <span class="comments-link"><?php comments_popup_link( __( '<span class="leave-reply">Leave a reply</span>', 'twentyeleven' ), __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> 55 57 <?php endif; ?> 56 57 58 </div><!-- .entry-meta --> 59 <?php endif; ?> 58 60 59 61 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> -
trunk/wp-content/themes/twentyeleven/content-quote.php
r17788 r17791 51 51 <footer class="entry-meta"> 52 52 <?php if ( 'post' == $post->post_type ) : // Hide category and tag text for pages on Search ?> 53 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyeleven' ); ?></span><?php the_category( ', ' ); ?></span>54 <?php the_tags( '<span class="sep"> | </span> <span class="tag-links">' . __( 'Tagged ', 'twentyeleven' ) . '</span>', ', ', '' ); ?>53 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in', 'twentyeleven' ); ?></span> <?php the_category( ', ' ); ?></span> 54 <?php the_tags( '<span class="sep"> | </span> <span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __( 'Tagged', 'twentyeleven' ) . '</span> ', ', ', '</span>' ); ?> 55 55 <?php endif; ?> 56 56 -
trunk/wp-content/themes/twentyeleven/content.php
r17787 r17791 48 48 <footer class="entry-meta"> 49 49 <?php if ( 'post' == $post->post_type ) : // Hide category and tag text for pages on Search ?> 50 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyeleven' ); ?></span><?php the_category( ', ' ); ?></span>51 <?php the_tags( '<span class="sep"> | </span> <span class="tag-links">' . __( 'Tagged ', 'twentyeleven' ) . '</span>', ', ', '' ); ?>50 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in', 'twentyeleven' ); ?></span> <?php the_category( ', ' ); ?></span> 51 <?php the_tags( '<span class="sep"> | </span> <span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __( 'Tagged', 'twentyeleven' ) . '</span> ', ', ', '</span>' ); ?> 52 52 <?php endif; ?> 53 53 -
trunk/wp-content/themes/twentyeleven/rtl.css
r17790 r17791 46 46 float: right; 47 47 right: 0; 48 right: auto;49 48 } 50 49 #access ul ul ul { 51 50 right: 100%; 52 right: auto;53 51 } 54 52 … … 57 55 left: 7.6%; 58 56 text-align: left; 59 left: auto;60 57 } 61 58 … … 63 60 float: left; 64 61 padding: 4px 28px 4px 10px; 62 width: 8%; 63 } 64 #branding #s:focus { 65 width: 26%; 65 66 } 66 67 … … 115 116 .singular .entry-header .entry-meta { 116 117 right: 0; 117 right: auto;118 118 } 119 119 .singular .pull.alignright { … … 189 189 article.intro .edit-link a { 190 190 left: 20px; 191 left: auto;192 191 } 193 192 … … 203 202 margin: -10px 0 1.625em -8.9%; 204 203 left: -35px; 205 left: auto;206 204 border-right: none; 207 205 } … … 212 210 right: -23.8%; 213 211 padding: 4px 85px 4px 26px; 214 right: auto;215 212 } 216 213 … … 219 216 right: 9%; 220 217 margin: 1.625em 0 0 9%; 221 right: auto;222 218 } 223 219 … … 229 225 .featured-posts section.featured-post { 230 226 right: 0; 231 right: auto;232 227 } 233 228 #content .feature-slider { 234 229 right: 8.9%; 235 right: auto;236 230 } 237 231 .feature-slider li { … … 248 242 left: 0; 249 243 text-align: left; 250 left: auto;251 244 } 252 245 … … 261 254 margin-left: 5px; 262 255 right: 10px; 263 right: auto;264 256 margin-right: auto; 265 257 } … … 280 272 #nav-single { 281 273 left: 0; 282 left: auto;274 right: auto; 283 275 } 284 276 #nav-single .nav-next { … … 309 301 .commentlist .children li.comment { 310 302 border-right: 1px solid #ddd; 311 -moz-border-radius: 0 0 3px3px;312 border-radius: 0 0 3px3px;303 -moz-border-radius: 3px 0 0 3px; 304 border-radius: 3px 0 0 3px; 313 305 border-left: none; 314 306 } … … 319 311 .commentlist .avatar { 320 312 right: -102px; 321 right: auto;322 313 } 323 314 .commentlist > li:before { 315 content: url(images/comment-arrow-rtl.png); 324 316 right: -21px; 325 right: auto; 317 } 318 .commentlist > li.bypostauthor:before { 319 content: url(images/comment-arrow-bypostauthor-rtl.png); 326 320 } 327 321 .commentlist .children .avatar { 328 322 right: 2.2em; 329 right: auto;330 323 } 331 324 … … 336 329 #respond .comment-form-comment label { 337 330 right: 4px; 338 right: auto;339 331 } 340 332 #respond .comment-form-author .required, 341 333 #respond .comment-form-email .required { 342 334 right: 68%; 343 right: auto;344 335 } 345 336 #respond .form-submit { … … 349 340 right: 30px; 350 341 padding: 5px 22px 5px 42px; 351 right: auto;352 342 } 353 343 #respond #cancel-comment-reply-link { … … 357 347 #cancel-comment-reply-link { 358 348 left: 1.625em; 359 left: auto;360 349 } 361 350 … … 396 385 article.feature-image.small .entry-summary a { 397 386 right: -9%; 398 right: auto; 399 } 400 401 402 /* =Responsive Structure 403 ----------------------------------------------- */ 404 405 @media (max-width: 800px) { 406 407 /* Three Footer Widget Areas */ 408 #supplementary.three .widget-area { 409 float: right; 410 margin-left: 3.7%; 411 margin-right: auto; 412 } 413 #supplementary.three .widget-area + .widget-area + .widget-area { 414 margin-left: 0; 415 margin-right: auto; 416 } 417 418 /* Simplify the showcase template when small feature */ 419 section.featured-post .attachment-small-feature, 420 .one-column section.featured-post .attachment-small-feature { 421 float: right; 422 } 423 article.feature-image.small { 424 float: left; 425 } 426 article.feature-image.small .entry-summary a { 427 right: -9%; 428 right: auto; 429 } 430 } 431 432 /* Make sure the logo and search form don't collide */ 433 #branding #searchform { 434 left: 1px; 435 } 436 437 @media (max-width: 650px) { 438 439 /* Remove the margin on singular articles */ 387 } 388 440 389 441 390 /* =Responsive Structure … … 465 414 article.feature-image.small .entry-summary a { 466 415 right: -9%; 416 } 417 418 /* Make sure the logo and search form don't collide */ 419 #branding #searchform { 420 left: 1px; 421 } 422 } 423 424 @media (max-width: 800px) { 425 426 /* Three Footer Widget Areas */ 427 #supplementary.three .widget-area { 428 float: right; 429 margin-left: 3.7%; 430 margin-right: auto; 431 } 432 #supplementary.three .widget-area + .widget-area + .widget-area { 433 margin-left: 0; 434 margin-right: auto; 435 } 436 437 /* Simplify the showcase template when small feature */ 438 section.featured-post .attachment-small-feature, 439 .one-column section.featured-post .attachment-small-feature { 440 float: right; 441 } 442 article.feature-image.small { 443 float: left; 444 } 445 article.feature-image.small .entry-summary a { 446 right: -9%; 467 447 right: auto; 468 448 } … … 471 451 #branding #searchform { 472 452 left: 1px; 473 left: auto;474 453 } 475 454 } … … 481 460 .commentlist .avatar { 482 461 right: 2.2em; 483 right: auto;484 462 } 485 463 } … … 497 475 .commentlist .avatar { 498 476 right: 2.2em; 499 right: auto;500 477 } 501 478 } -
trunk/wp-content/themes/twentyeleven/style.css
r17790 r17791 472 472 padding-bottom: 10px; 473 473 position: relative; 474 z-index: 1;474 z-index: 2; 475 475 } 476 476 #site-title { … … 837 837 font-size: 18px; 838 838 font-weight: 300; 839 line-height: 4 6px;839 line-height: 48px; 840 840 overflow: hidden; 841 841 position: absolute; … … 855 855 font-size: 14px; 856 856 font-weight: bold; 857 position: relative; 857 858 text-transform: lowercase; 859 top: -1px; 858 860 } 859 861 /* … … 1035 1037 margin-top: -6px; 1036 1038 padding: 20px 30px; 1039 overflow: hidden; 1037 1040 } 1038 1041 .format-image div.entry-meta { … … 1044 1047 float: none; 1045 1048 width: 65%; 1049 } 1050 .format-image .entry-meta span.cat-links, 1051 .format-image .entry-meta span.tag-links, 1052 .format-image .entry-meta span.comments-link { 1053 display: block; 1046 1054 } 1047 1055 .format-image .wp-caption { … … 1494 1502 top: -4px; 1495 1503 right: 0; 1504 z-index: 1; 1496 1505 } 1497 1506 #nav-single .nav-previous, … … 1789 1798 -moz-border-radius: 5px; 1790 1799 border-radius: 5px; 1791 -webkit-box-shadow: inset 0 1px 3px #ccc;1792 -moz-box-shadow: inset 0 1px 3px #ccc;1793 box-shadow: inset 0 1px 3px #ccc;1800 -webkit-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); 1801 -moz-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); 1802 box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); 1794 1803 position: relative; 1795 1804 padding: 10px; … … 1807 1816 #respond .comment-form-comment label { 1808 1817 background: #eee; 1809 -webkit-box-shadow: 1px 1px 2px #ccc;1810 -moz-box-shadow: 1px 1px 2px #ccc;1811 box-shadow: 1px 1px 2px #ccc;1818 -webkit-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); 1819 -moz-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); 1820 box-shadow: 1px 2px 2px rgba(204,204,204,0.8); 1812 1821 color: #555; 1813 1822 display: inline-block; … … 1817 1826 padding: 4px 10px; 1818 1827 position: relative; 1819 top: 4 1px;1828 top: 40px; 1820 1829 z-index: 1; 1830 } 1831 .rtl #respond .comment-form-author label, 1832 .rtl #respond .comment-form-email label, 1833 .rtl #respond .comment-form-url label, 1834 .rtl #respond .comment-form-comment label { 1835 -webkit-box-shadow: -1px 2px 2px rgba(204,204,204,0.8); 1836 -moz-box-shadow: -1px 2px 2px rgba(204,204,204,0.8); 1837 box-shadow: -1px 2px 2px rgba(204,204,204,0.8); 1821 1838 } 1822 1839 #respond input[type="text"]:focus, … … 1833 1850 font-size: 22px; 1834 1851 font-weight: bold; 1835 left: 68%;1852 left: 75%; 1836 1853 position: absolute; 1837 top: 52px;1854 top: 45px; 1838 1855 z-index: 1; 1839 1856 } … … 1912 1929 #respond input[type=text] { 1913 1930 display: block; 1931 height: 24px; 1914 1932 width: 75%; 1915 1933 }
Note: See TracChangeset
for help on using the changeset viewer.