Ticket #23128: 23128.diff
| File 23128.diff, 1.9 KB (added by , 13 years ago) |
|---|
-
wp-content/themes/twentytwelve/style.css
240 240 input[type="button"], 241 241 input[type="reset"], 242 242 article.post-password-required input[type=submit], 243 li.bypostauthor cite span {243 li.bypostauthor cite + span { 244 244 padding: 6px 10px; 245 245 padding: 0.428571429rem 0.714285714rem; 246 246 font-size: 11px; … … 302 302 box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4; 303 303 border: none; 304 304 } 305 li.bypostauthor cite span {305 li.bypostauthor cite + span { 306 306 color: #fff; 307 307 background-color: #21759b; 308 308 background-image: none; … … 1177 1177 padding: 0; 1178 1178 line-height: 0; 1179 1179 } 1180 .comments-area article header cite,1180 .comments-area article header > span, 1181 1181 .comments-area article header time { 1182 1182 display: block; 1183 1183 margin-left: 85px; … … 1229 1229 border-radius: 3px; 1230 1230 border: 1px solid #007cbd; 1231 1231 } 1232 .comments-area li.bypostauthor cite span {1232 .comments-area li.bypostauthor cite + span { 1233 1233 position: absolute; 1234 1234 margin-left: 5px; 1235 1235 margin-left: 0.357142857rem; -
wp-content/themes/twentytwelve/functions.php
286 286 <header class="comment-meta comment-author vcard"> 287 287 <?php 288 288 echo get_avatar( $comment, 44 ); 289 printf( '< cite class="fn">%1$s %2$s</cite>',289 printf( '<span><cite class="fn">%1$s</cite>%2$s</span>', 290 290 get_comment_author_link(), 291 291 // If current post author is also comment author, make it known visually. 292 292 ( $comment->user_id === $post->post_author ) ? '<span> ' . __( 'Post author', 'twentytwelve' ) . '</span>' : ''