WordPress.org

Make WordPress Themes


Ignore:
Location:
twentytwelve/1.1
Files:
2 added
27 edited

Legend:

Unmodified
Added
Removed
  • twentytwelve/1.1/404.php

  • twentytwelve/1.1/comments.php

    r36786 r36786  
    4646        <?php endif; // check for comment navigation ?> 
    4747 
    48     <?php // If comments are closed and there are comments, let's leave a little note. 
    49         elseif ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : 
    50     ?> 
    51         <p class="nocomments"><?php _e( 'Comments are closed.', 'twentytwelve' ); ?></p> 
    52     <?php endif; ?> 
     48        <?php 
     49        /* If there are no comments and comments are closed, let's leave a note. 
     50         * But we only want the note on posts and pages that had comments in the first place. 
     51         */ 
     52        if ( ! comments_open() && get_comments_number() ) : ?> 
     53        <p class="nocomments"><?php _e( 'Comments are closed.' , 'twentytwelve' ); ?></p> 
     54        <?php endif; ?> 
     55 
     56    <?php endif; // have_comments() ?> 
    5357 
    5458    <?php comment_form(); ?> 
  • twentytwelve/1.1/content-aside.php

    r36786 r36786  
    1919        <footer class="entry-meta"> 
    2020            <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> 
     21            <?php if ( comments_open() ) : ?> 
     22            <div class="comments-link"> 
     23                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> 
     24            </div><!-- .comments-link --> 
     25            <?php endif; // comments_open() ?> 
    2126            <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> 
    2227        </footer><!-- .entry-meta --> 
  • twentytwelve/1.1/content-image.php

    r36786 r36786  
    1717            <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"> 
    1818                <h1><?php the_title(); ?></h1> 
    19                 <h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>" pubdate><?php echo get_the_date(); ?></time></h2> 
    20                 <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> 
     19                <h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo get_the_date(); ?></time></h2> 
    2120            </a> 
     21            <?php if ( comments_open() ) : ?> 
     22            <div class="comments-link"> 
     23                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> 
     24            </div><!-- .comments-link --> 
     25            <?php endif; // comments_open() ?> 
     26            <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> 
    2227        </footer><!-- .entry-meta --> 
    2328    </article><!-- #post --> 
  • twentytwelve/1.1/content-link.php

    r36786 r36786  
    1717        <footer class="entry-meta"> 
    1818            <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> 
     19            <?php if ( comments_open() ) : ?> 
     20            <div class="comments-link"> 
     21                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> 
     22            </div><!-- .comments-link --> 
     23            <?php endif; // comments_open() ?> 
    1924            <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> 
    2025        </footer><!-- .entry-meta --> 
  • twentytwelve/1.1/content-none.php

  • twentytwelve/1.1/content-page.php

  • twentytwelve/1.1/content-quote.php

    r36786 r36786  
    1616        <footer class="entry-meta"> 
    1717            <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> 
     18            <?php if ( comments_open() ) : ?> 
     19            <div class="comments-link"> 
     20                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> 
     21            </div><!-- .comments-link --> 
     22            <?php endif; // comments_open() ?> 
    1823            <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> 
    1924        </footer><!-- .entry-meta --> 
  • twentytwelve/1.1/content-status.php

    r36786 r36786  
    2323 
    2424        <footer class="entry-meta"> 
     25            <?php if ( comments_open() ) : ?> 
     26            <div class="comments-link"> 
     27                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?> 
     28            </div><!-- .comments-link --> 
     29            <?php endif; // comments_open() ?> 
    2530            <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> 
    2631        </footer><!-- .entry-meta --> 
  • twentytwelve/1.1/content.php

  • twentytwelve/1.1/editor-style-rtl.css

  • twentytwelve/1.1/editor-style.css

    r36786 r36786  
    260260    border-collapse: collapse; 
    261261    border-spacing: 0; 
    262     color: #777; 
     262    color: #757575; 
    263263    font-size: 12px; 
    264264    font-size: 0.857142857rem; 
     
    279279td { 
    280280    border-top: 1px solid #ededed !important; 
    281     color: #777; 
     281    color: #757575; 
    282282    font-size: inherit; 
    283283    font-weight: normal; 
     
    290290-------------------------------------------------------------- */ 
    291291 
    292 img { 
     292img, 
     293.editor-attachment { 
    293294    border: 0; 
    294295    border-radius: 3px; 
     
    332333.wp-caption .wp-caption-text, 
    333334.wp-caption-dd { 
    334     color: #777; 
     335    color: #757575; 
    335336    font-style: italic; 
    336337    font-size: 12px; 
  • twentytwelve/1.1/footer.php

    r36786 r36786  
    1515        <div class="site-info"> 
    1616            <?php do_action( 'twentytwelve_credits' ); ?> 
    17             <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentytwelve' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a> 
     17            <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentytwelve' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a> 
    1818        </div><!-- .site-info --> 
    1919    </footer><!-- #colophon --> 
  • twentytwelve/1.1/functions.php

    r36786 r36786  
    8989 */ 
    9090function twentytwelve_scripts_styles() { 
     91    global $wp_styles; 
     92 
    9193    /* 
    9294     * Adds JavaScript to pages with the comment form to support 
     
    142144     */ 
    143145    wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() ); 
     146 
     147    /* 
     148     * Loads the Internet Explorer specific stylesheet. 
     149     */ 
     150    wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' ); 
     151    $wp_styles->add_data( 'twentytwelve-ie', 'conditional', 'lt IE 9' ); 
    144152} 
    145153add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' ); 
     
    183191 */ 
    184192function twentytwelve_page_menu_args( $args ) { 
    185     $args['show_home'] = true; 
     193    if ( ! isset( $args['show_home'] ) ) 
     194        $args['show_home'] = true; 
    186195    return $args; 
    187196} 
     
    232241 * @since Twenty Twelve 1.0 
    233242 */ 
    234 function twentytwelve_content_nav( $nav_id ) { 
     243function twentytwelve_content_nav( $html_id ) { 
    235244    global $wp_query; 
    236245 
     246    $html_id = esc_attr( $html_id ); 
     247 
    237248    if ( $wp_query->max_num_pages > 1 ) : ?> 
    238         <nav id="<?php echo $nav_id; ?>" class="navigation" role="navigation"> 
     249        <nav id="<?php echo $html_id; ?>" class="navigation" role="navigation"> 
    239250            <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3> 
    240251            <div class="nav-previous alignleft"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentytwelve' ) ); ?></div> 
    241252            <div class="nav-next alignright"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?></div> 
    242         </nav><!-- #<?php echo $nav_id; ?> .navigation --> 
     253        </nav><!-- #<?php echo $html_id; ?> .navigation --> 
    243254    <?php endif; 
    244255} 
     
    281292                        ( $comment->user_id === $post->post_author ) ? '<span> ' . __( 'Post author', 'twentytwelve' ) . '</span>' : '' 
    282293                    ); 
    283                     printf( '<a href="%1$s"><time pubdate datetime="%2$s">%3$s</time></a>', 
     294                    printf( '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>', 
    284295                        esc_url( get_comment_link( $comment->comment_ID ) ), 
    285296                        get_comment_time( 'c' ), 
     
    300311 
    301312            <div class="reply"> 
    302                 <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply <span>&darr;</span>', 'twentytwelve' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> 
     313                <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply', 'twentytwelve' ), 'after' => ' <span>&darr;</span>', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> 
    303314            </div><!-- .reply --> 
    304315        </article><!-- #comment-## --> 
     
    324335    $tag_list = get_the_tag_list( '', __( ', ', 'twentytwelve' ) ); 
    325336 
    326     $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a>', 
     337    $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>', 
    327338        esc_url( get_permalink() ), 
    328339        esc_attr( get_the_time() ), 
  • twentytwelve/1.1/header.php

    r36786 r36786  
    1010 */ 
    1111?><!DOCTYPE html> 
    12 <!--[if IE 7 | IE 8]> 
    13 <html class="ie" <?php language_attributes(); ?>> 
     12<!--[if IE 7]> 
     13<html class="ie ie7" <?php language_attributes(); ?>> 
     14<![endif]--> 
     15<!--[if IE 8]> 
     16<html class="ie ie8" <?php language_attributes(); ?>> 
    1417<![endif]--> 
    1518<!--[if !(IE 7) | !(IE 8)  ]><!--> 
     
    3942        <nav id="site-navigation" class="main-navigation" role="navigation"> 
    4043            <h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3> 
    41             <div class="skip-link assistive-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a></div> 
     44            <a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a> 
    4245            <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> 
    4346        </nav><!-- #site-navigation --> 
  • twentytwelve/1.1/image.php

    r36786 r36786  
    2424                            <?php 
    2525                                $metadata = wp_get_attachment_metadata(); 
    26                                 printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><time class="entry-date" datetime="%1$s" pubdate>%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>.', 'twentytwelve' ), 
     26                                printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><time class="entry-date" datetime="%1$s">%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>.', 'twentytwelve' ), 
    2727                                    esc_attr( get_the_date( 'c' ) ), 
    2828                                    esc_html( get_the_date() ), 
  • twentytwelve/1.1/inc/custom-header.php

    r36786 r36786  
    115115    } 
    116116    #headimg h2 { 
    117         color: #777; 
     117        color: #757575; 
    118118        font: normal 13px/1.8 "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif; 
    119119        margin-bottom: 24px; 
  • twentytwelve/1.1/js/navigation.js

    r36786 r36786  
    55 */ 
    66( function() { 
    7     var button = document.getElementById( 'site-navigation' ).getElementsByTagName( 'h3' )[0], 
    8         menu   = document.getElementById( 'site-navigation' ).getElementsByTagName( 'ul' )[0]; 
    9  
    10     if ( undefined === button ) 
    11         return false; 
     7    var nav = document.getElementById( 'site-navigation' ), button, menu; 
     8    if ( ! nav ) 
     9        return; 
     10    button = nav.getElementsByTagName( 'h3' )[0]; 
     11    menu   = nav.getElementsByTagName( 'ul' )[0]; 
     12    if ( ! button ) 
     13        return; 
    1214 
    1315    // Hide button if menu is missing or empty. 
    14     if ( undefined === menu || ! menu.childNodes.length ) { 
     16    if ( ! menu || ! menu.childNodes.length ) { 
    1517        button.style.display = 'none'; 
    16         return false; 
     18        return; 
    1719    } 
    1820 
  • twentytwelve/1.1/js/theme-customizer.js

    r36786 r36786  
    2222    wp.customize( 'background_color', function( value ) { 
    2323        value.bind( function( to ) { 
    24             if ( '#ffffff' == to || '#fff' == to || '' == to ) 
     24            if ( '#ffffff' == to || '#fff' == to ) 
    2525                $( 'body' ).addClass( 'custom-background-white' ); 
    2626            else if ( '' == to ) 
  • twentytwelve/1.1/languages/twentytwelve.pot

    r36786 r36786  
    55"Project-Id-Version: Twenty Twelve 1.0\n" 
    66"Report-Msgid-Bugs-To: http://wordpress.org/tags/twentytwelve\n" 
    7 "POT-Creation-Date: 2012-09-27 17:51:13+00:00\n" 
     7"POT-Creation-Date: 2012-12-03 21:18:55+00:00\n" 
    88"MIME-Version: 1.0\n" 
    99"Content-Type: text/plain; charset=UTF-8\n" 
     
    7979msgstr "" 
    8080 
    81 #: comments.php:51 
     81#: comments.php:53 
    8282msgid "Comments are closed." 
    8383msgstr "" 
     
    9494msgstr "" 
    9595 
    96 #: content-aside.php:21 content-image.php:20 content-link.php:19 
    97 #: content-page.php:21 content-quote.php:18 content-status.php:25 
    98 #: content.php:46 functions.php:298 image.php:37 
     96#: content-aside.php:23 content-image.php:23 content-link.php:21 
     97#: content-quote.php:20 content-status.php:27 content.php:28 
     98msgid "Leave a reply" 
     99msgstr "" 
     100 
     101#: content-aside.php:23 content-image.php:23 content-link.php:21 
     102#: content-quote.php:20 content-status.php:27 content.php:28 
     103msgid "1 Reply" 
     104msgstr "" 
     105 
     106#: content-aside.php:23 content-image.php:23 content-link.php:21 
     107#: content-quote.php:20 content-status.php:27 content.php:28 
     108msgid "% Replies" 
     109msgstr "" 
     110 
     111#: content-aside.php:26 content-image.php:26 content-link.php:24 
     112#: content-page.php:21 content-quote.php:23 content-status.php:30 
     113#: content.php:46 functions.php:309 image.php:37 
    99114msgid "Edit" 
    100115msgstr "" 
     
    120135#: content.php:14 
    121136msgid "Featured post" 
    122 msgstr "" 
    123  
    124 #: content.php:28 
    125 msgid "Leave a reply" 
    126 msgstr "" 
    127  
    128 #: content.php:28 
    129 msgid "1 Reply" 
    130 msgstr "" 
    131  
    132 #: content.php:28 
    133 msgid "% Replies" 
    134137msgstr "" 
    135138 
     
    159162#.     by Open Sans, translate this to 'off'. Do not translate into your own 
    160163#. language. 
    161 #: functions.php:118 
     164#: functions.php:120 
    162165msgctxt "Open Sans font: on or off" 
    163166msgid "on" 
     
    168171#.         this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your 
    169172#. own language. 
    170 #: functions.php:123 
     173#: functions.php:125 
    171174msgctxt "Open Sans font: add new subset (greek, cyrillic, vietnamese)" 
    172175msgid "no-subset" 
    173176msgstr "" 
    174177 
    175 #: functions.php:173 
     178#: functions.php:181 
    176179msgid "Page %s" 
    177180msgstr "" 
    178181 
    179 #: functions.php:197 
     182#: functions.php:206 
    180183msgid "Main Sidebar" 
    181184msgstr "" 
    182185 
    183 #: functions.php:199 
     186#: functions.php:208 
    184187msgid "" 
    185188"Appears on posts and pages except the optional Front Page template, which " 
     
    187190msgstr "" 
    188191 
    189 #: functions.php:207 
     192#: functions.php:216 
    190193msgid "First Front Page Widget Area" 
    191194msgstr "" 
    192195 
    193 #: functions.php:209 functions.php:219 
     196#: functions.php:218 functions.php:228 
    194197msgid "" 
    195198"Appears when using the optional Front Page template with a page set as " 
     
    197200msgstr "" 
    198201 
    199 #: functions.php:217 
     202#: functions.php:226 
    200203msgid "Second Front Page Widget Area" 
    201204msgstr "" 
    202205 
    203 #: functions.php:239 single.php:20 
     206#: functions.php:250 single.php:20 
    204207msgid "Post navigation" 
    205208msgstr "" 
    206209 
    207 #: functions.php:240 
     210#: functions.php:251 
    208211msgid "<span class=\"meta-nav\">&larr;</span> Older posts" 
    209212msgstr "" 
    210213 
    211 #: functions.php:241 
     214#: functions.php:252 
    212215msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>" 
    213216msgstr "" 
    214217 
    215 #: functions.php:266 
     218#: functions.php:277 
    216219msgid "Pingback:" 
    217220msgstr "" 
    218221 
    219 #: functions.php:266 
     222#: functions.php:277 
    220223msgid "(Edit)" 
    221224msgstr "" 
    222225 
    223 #: functions.php:281 
     226#: functions.php:292 
    224227msgid "Post author" 
    225228msgstr "" 
    226229 
    227230#. translators: 1: date, 2: time 
    228 #: functions.php:287 
     231#: functions.php:298 
    229232msgid "%1$s at %2$s" 
    230233msgstr "" 
    231234 
    232 #: functions.php:293 
     235#: functions.php:304 
    233236msgid "Your comment is awaiting moderation." 
    234237msgstr "" 
    235238 
    236 #: functions.php:302 
    237 msgid "Reply <span>&darr;</span>" 
    238 msgstr "" 
    239  
    240 #: functions.php:321 functions.php:324 
     239#: functions.php:313 
     240msgid "Reply" 
     241msgstr "" 
     242 
     243#: functions.php:332 functions.php:335 
    241244msgid ", " 
    242245msgstr "" 
    243246 
    244 #: functions.php:335 
     247#: functions.php:346 
    245248msgid "View all posts by %s" 
    246249msgstr "" 
    247250 
    248 #: functions.php:341 
     251#: functions.php:352 
    249252msgid "" 
    250253"This entry was posted in %1$s and tagged %2$s on %3$s<span class=\"by-author" 
     
    252255msgstr "" 
    253256 
    254 #: functions.php:343 
     257#: functions.php:354 
    255258msgid "" 
    256259"This entry was posted in %1$s on %3$s<span class=\"by-author\"> by %4$s</" 
     
    258261msgstr "" 
    259262 
    260 #: functions.php:345 
     263#: functions.php:356 
    261264msgid "This entry was posted on %3$s<span class=\"by-author\"> by %4$s</span>." 
    262265msgstr "" 
    263266 
    264 #: header.php:40 
     267#: header.php:43 
    265268msgid "Menu" 
    266269msgstr "" 
    267270 
    268 #: header.php:41 
     271#: header.php:44 
    269272msgid "Skip to content" 
    270273msgstr "" 
     
    273276msgid "" 
    274277"<span class=\"meta-prep meta-prep-entry-date\">Published </span> <span class=" 
    275 "\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\" pubdate>%2$s</" 
    276 "time></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s " 
    277 "&times; %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery" 
    278 "\">%8$s</a>." 
     278"\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\">%2$s</time></" 
     279"span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5" 
     280"$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%8$s</a>." 
    279281msgstr "" 
    280282 
     
    330332msgid "" 
    331333"The 2012 theme for WordPress is a fully responsive theme that looks great on " 
    332 "any device. Features include a front page template with a its own widgets, " 
    333 "an optional display font, styling for post formats on both index and single " 
     334"any device. Features include a front page template with its own widgets, an " 
     335"optional display font, styling for post formats on both index and single " 
    334336"views, and an optional no-sidebar page template. Make it yours with a custom " 
    335337"menu, header image, and background." 
  • twentytwelve/1.1/page-templates/front-page.php

    r36786 r36786  
    66 * by meeting the need for a carefully crafted introductory page. The front page template 
    77 * in Twenty Twelve consists of a page content area for adding text, images, video -- 
    8  * anything you’d like -- followed by front-page-only widgets in one or two columns. 
     8 * anything you'd like -- followed by front-page-only widgets in one or two columns. 
    99 * 
    1010 * @package WordPress 
  • twentytwelve/1.1/page.php

  • twentytwelve/1.1/rtl.css

    r36786 r36786  
    123123    margin-left: auto; 
    124124} 
    125 .commentlist .children { 
    126     margin-right: 48px; 
    127     margin-right: 3.428571429rem; 
    128     margin-left: auto; 
    129 } 
    130125 
    131126/* Comment form */ 
     
    159154    margin-right: 0.857142857rem; 
    160155    margin-left: auto; 
     156} 
     157.widget-area .textwidget li { 
     158    margin-left: auto; 
     159    margin-right: 36px; 
     160    margin-right: 2.571428571rem; 
    161161} 
    162162.widget_recent_entries .post-date, 
     
    230230        border-left: none; 
    231231    } 
    232 } 
     232    .commentlist .children { 
     233        margin-right: 48px; 
     234        margin-right: 3.428571429rem; 
     235        margin-left: auto; 
     236    } 
     237} 
  • twentytwelve/1.1/search.php

  • twentytwelve/1.1/single.php

    r36786 r36786  
    2323                </nav><!-- .nav-single --> 
    2424 
    25                 <?php 
    26                     // If comments are open or we have at least one comment, load up the comment template 
    27                     if ( comments_open() || '0' != get_comments_number() ) 
    28                         comments_template( '', true ); 
    29                 ?> 
     25                <?php comments_template( '', true ); ?> 
    3026 
    3127            <?php endwhile; // end of the loop. ?> 
  • twentytwelve/1.1/style.css

    r36786 r36786  
    44Author: the WordPress team 
    55Author URI: http://wordpress.org/ 
    6 Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with a its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background. 
    7 Version: 1.0 
     6Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background. 
     7Version: 1.1 
    88License: GNU General Public License v2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    151151sub { 
    152152    bottom: -0.25em; 
     153} 
     154small { 
     155    font-size: smaller; 
    153156} 
    154157img { 
     
    200203} 
    201204 
     205/* Form fields, general styles first */ 
     206button, 
     207input, 
     208textarea { 
     209    border: 1px solid #ccc; 
     210    border-radius: 3px; 
     211    font-family: inherit; 
     212    padding: 6px; 
     213    padding: 0.428571429rem; 
     214} 
     215button, 
     216input { 
     217    line-height: normal; 
     218} 
     219textarea { 
     220    font-size: 100%; 
     221    overflow: auto; 
     222    vertical-align: top; 
     223} 
     224 
     225/* Reset non-text input types */ 
     226input[type="checkbox"], 
     227input[type="radio"], 
     228input[type="file"], 
     229input[type="hidden"], 
     230input[type="image"], 
     231input[type="color"] { 
     232    border: 0; 
     233    border-radius: 0; 
     234    padding: 0; 
     235} 
     236 
    202237/* Buttons */ 
    203238.menu-toggle, 
    204239input[type="submit"], 
     240input[type="button"], 
     241input[type="reset"], 
    205242article.post-password-required input[type=submit], 
    206243li.bypostauthor cite span { 
     
    224261} 
    225262.menu-toggle, 
     263button, 
    226264input[type="submit"], 
    227 article.post-password-required input[type=submit] { 
     265input[type="button"], 
     266input[type="reset"] { 
    228267    cursor: pointer; 
    229268} 
     269button[disabled], 
     270input[disabled] { 
     271    cursor: default; 
     272} 
    230273.menu-toggle:hover, 
     274button:hover, 
    231275input[type="submit"]:hover, 
     276input[type="button"]:hover, 
     277input[type="reset"]:hover, 
    232278article.post-password-required input[type=submit]:hover { 
    233279    color: #5e5e5e; 
     
    242288.menu-toggle:active, 
    243289.menu-toggle.toggled-on, 
     290button:active, 
    244291input[type="submit"]:active, 
    245 article.post-password-required input[type=submit]:active, 
    246 input[type="submit"].toggled-on { 
    247     color: #777; 
     292input[type="button"]:active, 
     293input[type="reset"]:active { 
     294    color: #757575; 
    248295    background-color: #e1e1e1; 
    249296    background-repeat: repeat-x; 
     
    266313} 
    267314 
    268 /* Form fields */ 
    269 input[type="text"], 
    270 input[type="password"], 
    271 input[type="email"], 
    272 input[type="url"], 
    273 textarea { 
    274     padding: 6px; 
    275     padding: 0.428571429rem; 
    276     font-family: inherit; 
    277     border: 1px solid #ccc; 
    278     border-radius: 3px; 
    279 } 
    280  
    281315/* Responsive images */ 
    282316.entry-content img, 
     
    342376    font-size: 0.857142857rem; 
    343377    line-height: 2; 
    344     color: #777; 
     378    color: #757575; 
    345379} 
    346380img.wp-smiley, 
     
    356390    margin: 0; 
    357391} 
     392.gallery-item a, 
     393.gallery-caption { 
     394    width: 90%; 
     395} 
    358396.gallery-item a { 
    359397    display: block; 
    360     width: 90%; 
     398} 
     399.gallery-caption a { 
     400    display: inline; 
    361401} 
    362402.gallery-columns-1 .gallery-item a { 
     
    420460} 
    421461.author-description p { 
    422     color: #777; 
     462    color: #757575; 
    423463    font-size: 13px; 
    424464    font-size: 0.928571429rem; 
     
    461501 
    462502/* Assistive text */ 
    463 .skip-link, 
    464 .screen-reader-text, 
    465 .assistive-text { 
     503.assistive-text, 
     504.site .screen-reader-text { 
    466505    position: absolute !important; 
    467506    clip: rect(1px, 1px, 1px, 1px); 
     507} 
     508.main-navigation .assistive-text:hover, 
     509.main-navigation .assistive-text:active, 
     510.main-navigation .assistive-text:focus { 
     511    background: #fff; 
     512    border: 2px solid #333; 
     513    border-radius: 3px; 
     514    clip: auto !important; 
     515    color: #000; 
     516    display: block; 
     517    font-size: 12px; 
     518    padding: 12px; 
     519    position: absolute; 
     520    top: 5px; 
     521    left: 5px; 
     522    z-index: 100000; /* Above WP toolbar */ 
    468523} 
    469524 
     
    505560    font-size: 24px; 
    506561    font-size: 1.714285714rem; 
    507     line-height: 2; 
     562    line-height: 1.285714286; 
     563    margin-bottom: 14px; 
     564    margin-bottom: 1rem; 
    508565} 
    509566.site-header h2 { 
     
    512569    font-size: 0.928571429rem; 
    513570    line-height: 1.846153846; 
    514     color: #777; 
     571    color: #757575; 
    515572} 
    516573.header-image { 
     
    555612/* Sidebar */ 
    556613.widget-area .widget { 
    557     word-wrap: break-word; 
    558614    -webkit-hyphens: auto; 
    559615    -moz-hyphens: auto; 
     
    561617    margin-bottom: 48px; 
    562618    margin-bottom: 3.428571429rem; 
     619    word-wrap: break-word; 
    563620} 
    564621.widget-area .widget h3 { 
     
    587644} 
    588645.widget-area .widget a { 
    589     color: #777; 
     646    color: #757575; 
    590647} 
    591648.widget-area .widget a:hover { 
    592649    color: #21759b; 
     650} 
     651.widget-area #s { 
     652    width: 53.66666666666%; /* define a width to avoid dropping a wider submit button */ 
    593653} 
    594654 
     
    617677 
    618678 
    619 /* =Main content 
     679/* =Main content and comment content 
    620680-------------------------------------------------------------- */ 
    621681 
     
    651711    font-size: 0.928571429rem; 
    652712    line-height: 1.846153846; 
    653     color: #777; 
     713    color: #757575; 
    654714} 
    655715.comments-link a, 
    656716.entry-meta a { 
    657     color: #777; 
     717    color: #757575; 
    658718} 
    659719.comments-link a:hover, 
     
    664724    border-top: 4px double #ededed; 
    665725    border-bottom: 4px double #ededed; 
    666     color: #777; 
     726    color: #757575; 
    667727    font-size: 13px; 
    668728    font-size: 0.928571429rem; 
     
    673733} 
    674734.entry-content, 
    675 .entry-summary { 
     735.entry-summary, 
     736.mu_register { 
    676737    line-height: 1.714285714; 
    677738} 
     
    699760} 
    700761.entry-content h2, 
    701 .comment-content h2 { 
     762.comment-content h2, 
     763.mu_register h2 { 
    702764    font-size: 18px; 
    703765    font-size: 1.285714286rem; 
     
    730792.entry-content p, 
    731793.entry-summary p, 
    732 .comment-content p { 
     794.comment-content p, 
     795.mu_register p { 
    733796    margin: 0 0 24px; 
    734797    margin: 0 0 1.714285714rem; 
     
    738801.comment-content ol, 
    739802.entry-content ul, 
    740 .comment-content ul { 
     803.comment-content ul, 
     804.mu_register ul { 
    741805    margin: 0 0 24px; 
    742806    margin: 0 0 1.714285714rem; 
     
    754818} 
    755819.entry-content ul, 
    756 .comment-content ul { 
     820.comment-content ul, 
     821.mu_register ul { 
    757822    list-style: disc outside; 
    758823} 
     
    762827} 
    763828.entry-content li, 
    764 .comment-content li { 
     829.comment-content li, 
     830.mu_register li { 
    765831    margin: 0 0 0 36px; 
    766832    margin: 0 0 0 2.571428571rem; 
     
    859925.comment-content table { 
    860926    border-bottom: 1px solid #ededed; 
    861     color: #777; 
     927    color: #757575; 
    862928    font-size: 12px; 
    863929    font-size: 0.857142857rem; 
     
    880946} 
    881947.site-content article { 
     948    border-bottom: 4px double #ededed; 
     949    margin-bottom: 72px; 
     950    margin-bottom: 5.142857143rem; 
    882951    padding-bottom: 24px; 
    883952    padding-bottom: 1.714285714rem; 
    884     margin-bottom: 72px; 
    885     margin-bottom: 5.142857143rem; 
    886     border-bottom: 4px double #ededed; 
     953    word-wrap: break-word; 
     954    -webkit-hyphens: auto; 
     955    -moz-hyphens: auto; 
     956    hyphens: auto; 
    887957} 
    888958.page-links { 
     
    896966    font-size: 0.928571429rem; 
    897967    line-height: 1.846153846; 
    898     color: #777; 
     968    color: #757575; 
    899969} 
    900970.single-author .entry-meta .by-author { 
    901971    display: none; 
     972} 
     973.mu_register h2 { 
     974    color: #757575; 
     975    font-weight: normal; 
    902976} 
    903977 
     
    915989} 
    916990.archive-meta { 
    917     color: #777; 
     991    color: #757575; 
    918992    font-size: 12px; 
    919993    font-size: 0.857142857rem; 
     
    10661140} 
    10671141.format-status .entry-header header a { 
    1068     color: #777; 
     1142    color: #757575; 
    10691143} 
    10701144.format-status .entry-header header a:hover { 
     
    11651239    font-size: 0.714285714rem; 
    11661240} 
    1167 a.comment-reply-link { 
     1241a.comment-reply-link, 
     1242a.comment-edit-link { 
     1243    color: #686868; 
    11681244    font-size: 13px; 
    11691245    font-size: 0.928571429rem; 
    11701246    line-height: 1.846153846; 
    1171     color: #686868; 
    1172 } 
    1173 a.comment-reply-link:hover { 
     1247} 
     1248a.comment-reply-link:hover, 
     1249a.comment-edit-link:hover { 
    11741250    color: #21759b; 
    11751251} 
     
    11781254    margin-bottom: 24px; 
    11791255    margin-bottom: 1.714285714rem; 
    1180 } 
    1181 .commentlist .children { 
    1182     margin-left: 48px; 
    1183     margin-left: 3.428571429rem; 
    11841256} 
    11851257 
     
    12381310    color: red; 
    12391311} 
    1240 label ~ span.required { 
    1241     display: block; 
    1242     float: left; 
    1243     margin: -18px 0 0 -16px; 
    1244     margin: -1.285714286rem 0 0 -1.142857143rem; 
    1245 } 
    12461312 
    12471313 
     
    12751341} 
    12761342.template-front-page .widget-area .widget li a { 
    1277     color: #777; 
     1343    color: #757575; 
    12781344} 
    12791345.template-front-page .widget-area .widget li a:hover { 
     
    13901456        font-size: 1.857142857rem; 
    13911457        line-height: 1.846153846; 
     1458        margin-bottom: 0; 
    13921459    } 
    13931460    .main-navigation ul.nav-menu, 
     
    14131480        line-height: 3.692307692; 
    14141481        text-transform: uppercase; 
     1482        white-space: nowrap; 
    14151483    } 
    14161484    .main-navigation li a:hover { 
     
    14491517        width: 180px; 
    14501518        width: 12.85714286rem; 
     1519        white-space: normal; 
    14511520    } 
    14521521    .main-navigation li ul li a:hover { 
     
    15081577        float: none; 
    15091578        width: auto; 
     1579    } 
     1580    .commentlist .children { 
     1581        margin-left: 48px; 
     1582        margin-left: 3.428571429rem; 
    15101583    } 
    15111584} 
     
    15441617    body { 
    15451618        background: none !important; 
     1619        color: #000; 
    15461620        font-size: 10pt; 
    15471621    } 
     
    15781652    } 
    15791653    .site-header h2 { 
     1654        color: #000; 
    15801655        font-size: 10pt; 
    15811656        text-align: left; 
     1657    } 
     1658    .site-header h1 a, 
     1659    .site-header h2 a { 
     1660        color: #000; 
    15821661    } 
    15831662    .author-avatar, 
     
    16001679    } 
    16011680    .site-content { 
    1602         float: left; 
    1603         margin: 0; 
    1604         width: 100%; 
    1605     } 
    1606     .site-content { 
    16071681        margin: 0; 
    16081682        width: auto; 
     
    16521726    } 
    16531727} 
    1654  
    1655  
    1656 /* =IE 7 and 8 
    1657 ----------------------------------------------- */ 
    1658  
    1659 .ie .skip-link, 
    1660 .ie .screen-reader-text, 
    1661 .ie .assistive-text { 
    1662     clip: rect(1px 1px 1px 1px); /* IE7 */ 
    1663 } 
    1664 .ie .site { 
    1665     margin: 48px auto; 
    1666     max-width: 960px; 
    1667 } 
    1668 .ie .site-content { 
    1669     float: left; 
    1670     width: 65.104166667%; 
    1671 } 
    1672 .ie .full-width .site-content { 
    1673     float: none; 
    1674     width: 100%; 
    1675 } 
    1676 .ie .widget-area { 
    1677     float: right; 
    1678     width: 26.041666667%; 
    1679 } 
    1680 .ie img.size-full, 
    1681 .ie img.size-large, 
    1682 .ie img.header-image, 
    1683 .ie img.wp-post-image { 
    1684     width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ 
    1685 } 
Note: See TracChangeset for help on using the changeset viewer.