Ticket #21743: 21743.diff
File 21743.diff, 2.6 KB (added by , 13 years ago) |
---|
-
wp-content/themes/twentytwelve/style.css
1027 1027 } 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; 1038 1033 } 1034 .format-status div.avatar header { 1035 display: inline-block; 1036 } 1037 .format-status div.avatar h1 { 1038 margin: 0; 1039 font-size: 15px; 1040 font-size: 1.071428571rem; 1041 line-height: 1.6; 1042 font-weight: normal; 1043 } 1044 .format-status div.avatar h2 { 1045 margin: 0; 1046 font-size: 12px; 1047 font-size: 0.857142857rem; 1048 line-height: 2; 1049 font-weight: normal; 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; 1061 } 1039 1062 1040 1063 1041 1064 /* =Comments -
wp-content/themes/twentytwelve/content-status.php
10 10 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 clear"> 14 <header> 15 <h1><?php the_author_meta( 'display_name' ); ?></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 --> 21 26 </article><!-- #post -->