Changeset 21932
- Timestamp:
- 09/20/2012 07:42:19 PM (12 years ago)
- Location:
- trunk/wp-content/themes/twentytwelve
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/content-status.php
r21732 r21932 11 11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 12 12 <div class="entry-content"> 13 <div class="avatar"><?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentytwelve_status_avatar', '48' ) ); ?></div> 13 <div class="avatar"> 14 <header> 15 <h1><?php the_author(); ?></h1> 16 <h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a></h2> 17 </header> 18 <?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentytwelve_status_avatar', '48' ) ); ?> 19 </div> 14 20 <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?> 15 21 </div><!-- .entry-content --> 16 22 17 23 <footer class="entry-meta"> 18 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>19 24 <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> 20 25 </footer><!-- .entry-meta --> -
trunk/wp-content/themes/twentytwelve/rtl.css
r21886 r21932 94 94 95 95 /* Status posts */ 96 .format-status .entry-content p { 97 margin-left: 48px; 98 margin-left: 3.428571429rem; 99 margin-right: auto; 100 } 101 .format-status div.avatar { 102 float: left; 103 margin-left: auto; 104 margin-right: 14px; 105 margin-right: 1rem; 96 .format-status div.avatar img { 97 float: right; 98 margin-left: 21px; 99 margin-left: 1.5rem; 100 margin-right: 0; 106 101 } 107 102 -
trunk/wp-content/themes/twentytwelve/style.css
r21930 r21932 1028 1028 1029 1029 /* Status posts */ 1030 .format-status .entry-content p {1031 margin-right: 48px;1032 margin-right: 3.428571429rem;1033 }1034 1030 .format-status div.avatar { 1035 float: right; 1036 margin-left: 14px; 1037 margin-left: 1rem; 1031 margin-bottom: 24px; 1032 margin-bottom: 1.714285714rem; 1033 } 1034 .format-status div.avatar header { 1035 display: inline-block; 1036 } 1037 .format-status div.avatar h1 { 1038 font-size: 15px; 1039 font-size: 1.071428571rem; 1040 font-weight: normal; 1041 line-height: 1.6; 1042 margin: 0; 1043 } 1044 .format-status div.avatar h2 { 1045 font-size: 12px; 1046 font-size: 0.857142857rem; 1047 font-weight: normal; 1048 line-height: 2; 1049 margin: 0; 1050 } 1051 .format-status div.avatar a { 1052 color: #777; 1053 } 1054 .format-status div.avatar a:hover { 1055 color: #21759b; 1056 } 1057 .format-status div.avatar img { 1058 float: left; 1059 margin-right: 21px; 1060 margin-right: 1.5rem; 1038 1061 } 1039 1062
Note: See TracChangeset
for help on using the changeset viewer.