Twenty Fourteen: Add a .button class.

props celloexpressions.
fixes #27075.


git-svn-id: https://develop.svn.wordpress.org/trunk@27442 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-03-06 19:53:42 +00:00
parent 4bbd5ef1d6
commit b727bef3f3
2 changed files with 11 additions and 5 deletions

View File

@ -380,7 +380,7 @@ function twentyfourteen_list_authors() {
<p class="contributor-bio">
<?php echo get_the_author_meta( 'description', $contributor_id ); ?>
</p>
<a class="contributor-posts-link" href="<?php echo esc_url( get_author_posts_url( $contributor_id ) ); ?>">
<a class="button contributor-posts-link" href="<?php echo esc_url( get_author_posts_url( $contributor_id ) ); ?>">
<?php printf( _n( '%d Article', '%d Articles', $post_count, 'twentyfourteen' ), $post_count ); ?>
</a>
</div><!-- .contributor-summary -->

View File

@ -502,7 +502,7 @@ textarea:focus {
/* Buttons */
button,
.contributor-posts-link,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
@ -519,7 +519,8 @@ input[type="submit"] {
button:hover,
button:focus,
.contributor-posts-link:hover,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
@ -531,7 +532,7 @@ input[type="submit"]:focus {
}
button:active,
.contributor-posts-link:active,
.button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
@ -1256,7 +1257,11 @@ a.post-thumbnail:hover {
.entry-content a:hover,
.entry-summary a:hover,
.page-content a:hover,
.comment-content a:hover {
.comment-content a:hover,
.entry-content a.button,
.entry-summary a.button,
.page-content a.button,
.comment-content a.button {
text-decoration: none;
}
@ -2223,6 +2228,7 @@ a.post-thumbnail:hover {
}
.widget button,
.widget .button,
.widget input[type="button"],
.widget input[type="reset"],
.widget input[type="submit"] {