Changeset 21933
- Timestamp:
- 09/20/2012 09:51:48 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
r21932 r21933 10 10 11 11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 12 <div class="entry-header"> 13 <header> 14 <h1><?php the_author(); ?></h1> 15 <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> 16 </header> 17 <?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentytwelve_status_avatar', '48' ) ); ?> 18 </div><!-- .entry-header --> 19 12 20 <div class="entry-content"> 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>20 21 <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?> 21 22 </div><!-- .entry-content --> -
trunk/wp-content/themes/twentytwelve/rtl.css
r21932 r21933 94 94 95 95 /* Status posts */ 96 .format-status div.avatar img {96 .format-status .entry-header img { 97 97 float: right; 98 98 margin-left: 21px; -
trunk/wp-content/themes/twentytwelve/style.css
r21932 r21933 159 159 /* Clearing floats */ 160 160 .clear:after, 161 .wrapper:after { 161 .wrapper:after, 162 .format-status .entry-header:after { 162 163 clear: both; 163 164 } … … 165 166 .clear:after, 166 167 .wrapper:before, 167 .wrapper:after { 168 .wrapper:after, 169 .format-status .entry-header:before, 170 .format-status .entry-header:after { 168 171 display: table; 169 172 content: ""; … … 1028 1031 1029 1032 /* Status posts */ 1030 .format-status div.avatar {1033 .format-status .entry-header { 1031 1034 margin-bottom: 24px; 1032 1035 margin-bottom: 1.714285714rem; 1033 1036 } 1034 .format-status div.avatar header {1037 .format-status .entry-header header { 1035 1038 display: inline-block; 1036 1039 } 1037 .format-status div.avatar h1 {1040 .format-status .entry-header h1 { 1038 1041 font-size: 15px; 1039 1042 font-size: 1.071428571rem; … … 1042 1045 margin: 0; 1043 1046 } 1044 .format-status div.avatar h2 {1047 .format-status .entry-header h2 { 1045 1048 font-size: 12px; 1046 1049 font-size: 0.857142857rem; … … 1049 1052 margin: 0; 1050 1053 } 1051 .format-status div.avatar a {1054 .format-status .entry-header header a { 1052 1055 color: #777; 1053 1056 } 1054 .format-status div.avatar a:hover {1057 .format-status .entry-header header a:hover { 1055 1058 color: #21759b; 1056 1059 } 1057 .format-status div.avatar img {1060 .format-status .entry-header img { 1058 1061 float: left; 1059 1062 margin-right: 21px;
Note: See TracChangeset
for help on using the changeset viewer.