Ticket #10214: smallFormattingToStyles.patch
| File smallFormattingToStyles.patch, 6.0 KB (added by , 17 years ago) |
|---|
-
archive.php
37 37 <?php while (have_posts()) : the_post(); ?> 38 38 <div <?php post_class() ?>> 39 39 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> 40 <s mall><?php the_time('l, F jS, Y') ?></small>40 <span class="permlink"><?php the_time('l, F jS, Y') ?></span> 41 41 42 42 <div class="entry"> 43 43 <?php the_content() ?> -
comments.php
53 53 <h3><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3> 54 54 55 55 <div class="cancel-comment-reply"> 56 < small><?php cancel_comment_reply_link(); ?></small>56 <?php cancel_comment_reply_link(); ?> 57 57 </div> 58 58 59 59 <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> … … 69 69 <?php else : ?> 70 70 71 71 <p><input type="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> /> 72 <label for="author" ><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>72 <label for="author" class="comment-reply">Name <?php if ($req) echo "(required)"; ?></label></p> 73 73 74 74 <p><input type="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> 75 <label for="email" ><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>75 <label for="email" class="comment-reply">Mail (will not be published) <?php if ($req) echo "(required)"; ?></label></p> 76 76 77 77 <p><input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" /> 78 <label for="url" ><small>Website</small></label></p>78 <label for="url" class="comment-reply">Website</label></p> 79 79 80 80 <?php endif; ?> 81 81 82 <!--<p><s mall><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->82 <!--<p><strong class="comment-reply">XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></p>--> 83 83 84 84 <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> 85 85 -
image.php
26 26 <br class="clear" /> 27 27 28 28 <p class="postmetadata alt"> 29 <s mall>29 <span class="postmetadata"> 30 30 This entry was posted on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> 31 31 and is filed under <?php the_category(', ') ?>. 32 32 <?php the_taxonomies(); ?> … … 50 50 51 51 <?php } edit_post_link('Edit this entry.','',''); ?> 52 52 53 </s mall>53 </span> 54 54 </p> 55 55 56 56 </div> -
index.php
14 14 15 15 <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> 16 16 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> 17 <s mall><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>17 <span class="permlink"><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></span> 18 18 19 19 <div class="entry"> 20 20 <?php the_content('Read the rest of this entry »'); ?> -
search.php
22 22 23 23 <div <?php post_class() ?>> 24 24 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> 25 <s mall><?php the_time('l, F jS, Y') ?></small>25 <span class="permlink"><?php the_time('l, F jS, Y') ?></span> 26 26 27 27 <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> 28 28 </div> -
single.php
26 26 <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?> 27 27 28 28 <p class="postmetadata alt"> 29 <s mall>29 <span class="postmetadata"> 30 30 This entry was posted 31 31 <?php /* This is commented, because it requires a little adjusting sometimes. 32 32 You'll need to download this plugin, and follow the instructions: … … 54 54 55 55 <?php } edit_post_link('Edit this entry','','.'); ?> 56 56 57 </s mall>57 </span> 58 58 </p> 59 59 60 60 </div> -
style.css
85 85 border: none; 86 86 } 87 87 88 small{88 .permlink { 89 89 font-family: Arial, Helvetica, Sans-Serif; 90 90 font-size: 0.9em; 91 91 line-height: 1.5em; 92 92 } 93 93 .permlink { 94 color:#777777; 95 } 94 96 h1, h2, h3 { 95 97 font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; 96 98 font-weight: bold; … … 190 192 font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif; 191 193 } 192 194 193 small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {195 #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, .cancel-comment-reply, .comment-reply, blockquote, strike { 194 196 color: #777; 195 197 } 196 198 … … 442 444 list-style-type: none; 443 445 list-style-image: none; 444 446 } 445 447 span.postmetadata, .cancel-comment-reply, .comment-reply { 448 font-size: 0.9em; 449 } 446 450 #sidebar ul, #sidebar ul ol { 447 451 margin: 0; 448 452 padding: 0;