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

Props iamtakashi, fixes #30521.



Built from https://develop.svn.wordpress.org/trunk@30588


git-svn-id: http://core.svn.wordpress.org/trunk@30578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ian Stewart 2014-11-27 20:34:24 +00:00
parent 8990b1c1fc
commit 2e123ad458
3 changed files with 4 additions and 4 deletions

View File

@ -265,7 +265,7 @@ function twentyfifteen_post_nav_background() {
$prevthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $previous->ID ), 'post-thumbnail' );
$css .= '
.post-navigation .nav-previous { background-image: url(' . esc_url( $prevthumb[0] ) . '); }
.post-navigation .nav-previous .post-title, .post-navigation .nav-previous .meta-nav { color: #fff; }
.post-navigation .nav-previous .post-title, .post-navigation .nav-previous a:hover .post-title, .post-navigation .nav-previous .meta-nav { color: #fff; }
.post-navigation .nav-previous a:before { background-color: rgba(0, 0, 0, 0.4); }
';
}
@ -274,7 +274,7 @@ function twentyfifteen_post_nav_background() {
$nextthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $next->ID ), 'post-thumbnail' );
$css .= '
.post-navigation .nav-next { background-image: url(' . esc_url( $nextthumb[0] ) . '); }
.post-navigation .nav-next .post-title, .post-navigation .nav-next .meta-nav { color: #fff; }
.post-navigation .nav-next .post-title, .post-navigation .nav-next a:hover .post-title, .post-navigation .nav-next .meta-nav { color: #fff; }
.post-navigation .nav-next a:before { background-color: rgba(0, 0, 0, 0.4); }
';
}

View File

@ -486,7 +486,7 @@ function twentyfifteen_color_scheme_css_template() {
border-color: {{ data.border_color }};
}
.post-navigation .nav-previous:not(.has-post-thumbnail) .nav-next:not(.has-post-thumbnail) {
.post-navigation div + div {
border-color: {{ data.border_color }};
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-beta2-30587';
$wp_version = '4.1-beta2-30588';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.