Ticket #7635: comment-styling-kubrick-rev1.patch
| File comment-styling-kubrick-rev1.patch, 2.6 KB (added by noel, 4 years ago) |
|---|
-
wp-includes/js/comment-reply.js
32 32 document.location.href = "#respond"; 33 33 document.getElementById("comment").focus(); 34 34 document.getElementById("comment-parent").value = "0"; 35 } 36 No newline at end of file 35 } -
wp-includes/comment-template.php
927 927 ?> 928 928 <<?php echo $tag ?> <?php comment_class() ?> id="comment-<?php comment_ID() ?>"> 929 929 <?php if ( 'list' == $args['style'] ) : ?> 930 <div id=" div-comment-<?php comment_ID() ?>">930 <div id="comment-<?php comment_ID() ?>"> 931 931 <?php endif; ?> 932 932 <div class="comment-author vcard"> 933 933 <?php echo get_avatar( $comment, 32 ) ?> … … 943 943 <?php echo apply_filters('comment_text', get_comment_text()) ?> 944 944 945 945 <div class='reply'> 946 <?php echo comment_reply_link(array('add_below' => 'div-comment', 'depth' => $depth, 'max_depth' => $args['depth'])) ?>947 <?php if ( 'list' == $args['style'] ) : ?>946 <p><?php echo comment_reply_link(array('add_below' => 'comment', 'depth' => $depth, 'max_depth' => $args['depth'])) ?></p> 947 <?php if ( 'list' == $args['style'] ) : ?> 948 948 </div> 949 949 <?php endif; ?> 950 950 </div> -
wp-content/themes/default/style.css
65 65 text-align: center; 66 66 } 67 67 68 .alt {68 .alt, .even, .alt .even, .alt > .alt { 69 69 background-color: #f8f8f8; 70 70 border-top: 1px solid #ddd; 71 71 border-bottom: 1px solid #ddd; 72 } 72 } 73 .even .alt, .even > .even { 74 border-top: 1px solid #ddd; 75 background-color: white; 76 } 77 .commentlist .children li { 78 border-bottom: 0px; 79 } 73 80 74 81 #footer { 75 82 background: #eee url('images/kubrickfooter.jpg') no-repeat top; … … 134 141 .commentlist li, #commentform input, #commentform textarea { 135 142 font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif; 136 143 } 144 .commentlist li ul li { 145 font-size: 1em; 146 } 137 147 138 148 .commentlist li { 139 149 font-weight: bold; 140 }150 } 141 151 142 152 .commentlist li .avatar { 143 153 float: right; … … 513 523 } 514 524 515 525 .commentlist li { 516 margin: 15px 0 3px;517 padding: 5px 10px 3px;526 margin: 15px 0 10px; 527 padding: 5px 10px 10px; 518 528 list-style: none; 529 519 530 } 531 .commentlist li ul li { 532 margin-right: -10px; 533 margin-left: 10px; 534 } 520 535 521 536 .commentlist p { 522 537 margin: 10px 5px 10px 0;
