WordPress.org

Make WordPress Core

Changeset 27442


Ignore:
Timestamp:
03/06/2014 07:53:42 PM (7 years ago)
Author:
nacin
Message:

Twenty Fourteen: Add a .button class.

props celloexpressions.
fixes #27075.

Location:
trunk/src/wp-content/themes/twentyfourteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/functions.php

    r27330 r27442  
    381381                    <?php echo get_the_author_meta( 'description', $contributor_id ); ?>
    382382                </p>
    383                 <a class="contributor-posts-link" href="<?php echo esc_url( get_author_posts_url( $contributor_id ) ); ?>">
     383                <a class="button contributor-posts-link" href="<?php echo esc_url( get_author_posts_url( $contributor_id ) ); ?>">
    384384                    <?php printf( _n( '%d Article', '%d Articles', $post_count, 'twentyfourteen' ), $post_count ); ?>
    385385                </a>
  • trunk/src/wp-content/themes/twentyfourteen/style.css

    r27123 r27442  
    503503
    504504button,
    505 .contributor-posts-link,
     505.button,
    506506input[type="button"],
    507507input[type="reset"],
     
    520520button:hover,
    521521button:focus,
    522 .contributor-posts-link:hover,
     522.button:hover,
     523.button:focus,
    523524input[type="button"]:hover,
    524525input[type="button"]:focus,
     
    532533
    533534button:active,
    534 .contributor-posts-link:active,
     535.button:active,
    535536input[type="button"]:active,
    536537input[type="reset"]:active,
     
    12571258.entry-summary a:hover,
    12581259.page-content a:hover,
    1259 .comment-content a:hover {
     1260.comment-content a:hover,
     1261.entry-content a.button,
     1262.entry-summary a.button,
     1263.page-content a.button,
     1264.comment-content a.button {
    12601265    text-decoration: none;
    12611266}
     
    22242229
    22252230.widget button,
     2231.widget .button,
    22262232.widget input[type="button"],
    22272233.widget input[type="reset"],
Note: See TracChangeset for help on using the changeset viewer.