WordPress.org

Make WordPress Core

Changeset 30588


Ignore:
Timestamp:
11/27/2014 08:33:13 PM (6 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: minor corrections to borders and post title colors in custom color schemes.

Props iamtakashi, fixes #30521.

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

Legend:

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

    r30569 r30588  
    266266        $css .= '
    267267            .post-navigation .nav-previous { background-image: url(' . esc_url( $prevthumb[0] ) . '); }
    268             .post-navigation .nav-previous .post-title, .post-navigation .nav-previous .meta-nav { color: #fff; }
     268            .post-navigation .nav-previous .post-title, .post-navigation .nav-previous a:hover .post-title, .post-navigation .nav-previous .meta-nav { color: #fff; }
    269269            .post-navigation .nav-previous a:before { background-color: rgba(0, 0, 0, 0.4); }
    270270        ';
     
    275275        $css .= '
    276276            .post-navigation .nav-next { background-image: url(' . esc_url( $nextthumb[0] ) . '); }
    277             .post-navigation .nav-next .post-title, .post-navigation .nav-next .meta-nav { color: #fff; }
     277            .post-navigation .nav-next .post-title, .post-navigation .nav-next a:hover .post-title, .post-navigation .nav-next .meta-nav { color: #fff; }
    278278            .post-navigation .nav-next a:before { background-color: rgba(0, 0, 0, 0.4); }
    279279        ';
  • trunk/src/wp-content/themes/twentyfifteen/inc/customizer.php

    r30569 r30588  
    487487    }
    488488
    489     .post-navigation .nav-previous:not(.has-post-thumbnail) .nav-next:not(.has-post-thumbnail) {
     489    .post-navigation div + div {
    490490        border-color: {{ data.border_color }};
    491491    }
Note: See TracChangeset for help on using the changeset viewer.