Changeset 780
- Timestamp:
- 08/12/2014 06:20:51 AM (10 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-handbook.php
r591 r780 6 6 */ 7 7 ?> 8 <li id="prologue-<?php the_ID(); ?>" <?php post_class(); ?>>9 <h4>10 <span class="meta">11 <span class="actions">12 <a href="<?php the_permalink(); ?>" class="thepermalink printer-only" title="<?php esc_attr_e( 'Permalink', 'wporg' ); ?>"><?php _e( 'Permalink', 'wporg' ); ?></a>13 <?php14 if ( comments_open() && ! post_password_required() ) {15 echo post_reply_link( array(16 'before' => isset( $before_reply_link ) ? $before_reply_link : '',17 'after' => '',18 'reply_text' => __( 'Reply', 'wporg' ),19 'add_below' => 'comments'20 ), get_the_ID() );21 }22 8 23 if ( current_user_can( 'edit_post', get_the_ID() ) ) : ?> | <a href="<?php echo ( get_edit_post_link( get_the_ID() ) ); ?>" class="edit-post-link" rel="<?php the_ID(); ?>" title="<?php esc_attr_e( 'Edit', 'wporg' ); ?>"><?php _e( 'Edit', 'wporg' ); ?></a> 24 <?php endif; ?> 9 <h1><?php the_title(); ?></h1> 25 10 26 <?php do_action( 'wporg_action_links' ); ?> 27 </span> 28 <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : ?> 29 <span class="tags"> 30 <?php tags_with_count( '', __( '<br />Tags:' , 'wporg' ) .' ', ', ', ' ' ); ?> 31 </span> 32 <?php endif; ?> 33 </span> 34 </h4> 11 <?php 12 /* 13 * Content 14 */ 15 ?> 35 16 36 <?php 37 /* 38 * Content 39 */ 40 ?> 17 <?php the_content( __( '(More ...)' , 'wporg' ) ); ?> 41 18 42 <div id="content-<?php the_ID(); ?>" class="postcontent"> 43 <?php the_content( __( '(More ...)' , 'wporg' ) ); ?> 44 </div> 45 46 <?php 47 /* 48 * Comments 49 */ 50 51 $comment_field = '<div class="form"><textarea id="comment" class="expand50-100" name="comment" cols="45" rows="3"></textarea></div> <label class="post-error" for="comment" id="commenttext_error"></label>'; 52 53 $comment_notes_before = '<p class="comment-notes">' . ( get_option( 'require_name_email' ) ? sprintf( ' ' . __( 'Required fields are marked %s', 'wporg' ), '<span class="required">*</span>' ) : '' ) . '</p>'; 54 55 $wporg_comment_args = array( 56 'title_reply' => __( 'Reply', 'wporg' ), 57 'comment_field' => $comment_field, 58 'comment_notes_before' => $comment_notes_before, 59 'comment_notes_after' => '<span class="progress spinner-comment-new"></span>', 60 'label_submit' => __( 'Reply', 'wporg' ), 61 'id_submit' => 'comment-submit', 62 ); 63 64 ?> 65 66 <?php if ( get_comments_number() > 0 && ! post_password_required() ) : ?> 67 <div class="discussion" style="display: none"> 68 <p> 69 <?php wporg_discussion_links(); ?> 70 <a href="#" class="show-comments"><?php _e( 'Toggle Comments', 'wporg' ); ?></a> 71 </p> 72 </div> 73 <?php endif; 74 75 wp_link_pages( array( 'before' => '<p class="page-nav">' . __( 'Pages:', 'wporg' ) ) ); ?> 76 77 <div class="bottom-of-entry"> </div> 78 79 </li> 19 <div class="bottom-of-entry"> </div> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/global.scss
r591 r780 21 21 h1, h2, h3, h4, h5, h6 { 22 22 clear: both; 23 font-family: $header-font; 24 font-weight: 300; 23 25 } 24 26 hr { -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss
r744 r780 34 34 h6 { 35 35 color: #1e1e1e; 36 font-family: $header-font; 37 } 38 39 } 40 41 h2.widget-title, 42 h3.widget-title { 43 font-family: $header-font; 36 } 37 44 38 } 45 39 … … 53 47 } 54 48 55 h 2{49 h1 { 56 50 font-size: 28px; 57 51 font-size: 2.8rem; … … 59 53 line-height: 3.2rem; 60 54 } 61 h 3{55 h2 { 62 56 font-size: 22px; 63 57 font-size: 2.2rem; 64 58 line-height: 26px; 65 59 line-height: 2.6rem; 60 } 61 h3 { 62 font-size: 20px; 63 font-size: 2rem; 64 line-height: 24px; 65 line-height: 2.4rem; 66 66 } 67 67 h4 { … … 372 372 373 373 .site-header { 374 background: none repeat scroll 0 0 #F7F7F7; 375 border-bottom: 1px solid #DFDFDF; 376 height: 62px; 374 background: none repeat scroll 0 0 #F7F7F7; 375 border-bottom: 1px solid #DFDFDF; 376 height: 62px; 377 margin-bottom: 1em; 377 378 } 378 379 .site-branding { … … 400 401 font-size: 13px; 401 402 font-size: 1.3rem; 402 }403 .breadcrumb-trail {404 margin-top: 1em;405 403 } 406 404 h1.entry-title, … … 1069 1067 1070 1068 } 1069 1070 nav.post-navigation .nav-links a { 1071 width: 49%; 1072 display: inline-block; 1073 &[rel="prev"] { 1074 text-align: left; 1075 } 1076 &[rel="next"] { 1077 text-align: right; 1078 } 1079 } 1071 1080 } 1072 1081 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single-plugin-handbook.php
r591 r780 12 12 <?php breadcrumb_trail(); ?> 13 13 14 <main id="main" class="site-main"role="main">14 <main id="main" <?php post_class( 'site-main' ); ?> role="main"> 15 15 16 16 <?php while ( have_posts() ) : the_post(); ?> … … 20 20 <?php wporg_developer_post_nav(); ?> 21 21 22 <?php23 // If comments are open or we have at least one comment, load up the comment template24 if ( comments_open() || '0' != get_comments_number() ) :25 comments_template();26 endif;27 ?>28 29 22 <?php endwhile; // end of the loop. ?> 30 23 31 24 </main><!-- #main --> 32 <?php get_sidebar(); ?>25 <?php get_sidebar(); ?> 33 26 </div><!-- #primary --> 34 27 <?php get_footer(); ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single-theme-handbook.php
r591 r780 12 12 <?php breadcrumb_trail(); ?> 13 13 14 <main id="main" class="site-main"role="main">14 <main id="main" <?php post_class( 'site-main' ); ?> role="main"> 15 15 16 16 <?php while ( have_posts() ) : the_post(); ?> … … 20 20 <?php wporg_developer_post_nav(); ?> 21 21 22 <?php23 // If comments are open or we have at least one comment, load up the comment template24 if ( comments_open() || '0' != get_comments_number() ) :25 comments_template();26 endif;27 ?>28 29 22 <?php endwhile; // end of the loop. ?> 30 23 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/global.css
r591 r780 16 16 h1, h2, h3, h4, h5, h6 { 17 17 clear: both; 18 font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; 19 font-weight: 300; 18 20 } 19 21 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css
r744 r780 323 323 .devhub-wrap .site-main h6 { 324 324 color: #1e1e1e; 325 font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;326 }327 .devhub-wrap h2.widget-title,328 .devhub-wrap h3.widget-title {329 font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;330 325 } 331 326 .devhub-wrap #headline h2 a { … … 335 330 line-height: 1em; 336 331 text-shadow: #fff 0px 1px 0px; 337 font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; 338 } 339 .devhub-wrap h2 { 332 } 333 .devhub-wrap h1 { 340 334 font-size: 28px; 341 335 font-size: 2.8rem; … … 343 337 line-height: 3.2rem; 344 338 } 345 .devhub-wrap h 3{339 .devhub-wrap h2 { 346 340 font-size: 22px; 347 341 font-size: 2.2rem; 348 342 line-height: 26px; 349 343 line-height: 2.6rem; 344 } 345 .devhub-wrap h3 { 346 font-size: 20px; 347 font-size: 2rem; 348 line-height: 24px; 349 line-height: 2.4rem; 350 350 } 351 351 .devhub-wrap h4 { … … 642 642 border-bottom: 1px solid #DFDFDF; 643 643 height: 62px; 644 margin-bottom: 1em; 644 645 } 645 646 .devhub-wrap .site-branding { … … 666 667 .devhub-wrap .breadcrumbs .active { 667 668 font-weight: 600; 668 }669 .devhub-wrap .breadcrumb-trail {670 margin-top: 1em;671 669 } 672 670 .devhub-wrap h1.entry-title, … … 1220 1218 width: 100%; 1221 1219 } 1220 .devhub-wrap nav.post-navigation .nav-links a { 1221 width: 49%; 1222 display: inline-block; 1223 } 1224 .devhub-wrap nav.post-navigation .nav-links a[rel="prev"] { 1225 text-align: left; 1226 } 1227 .devhub-wrap nav.post-navigation .nav-links a[rel="next"] { 1228 text-align: right; 1229 } 1222 1230 1223 1231 @media (max-width: 60em) {
Note: See TracChangeset
for help on using the changeset viewer.