mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 20:15:08 +00:00
Twenty Seventeen: Fix style issues with gallery image links
* Ensures dark color scheme has proper box shadow and hover/focus styles. * Make sure links are correct width. Props afercia, laurelfulford. Fixes #38969 for the 4.7 branch. Built from https://develop.svn.wordpress.org/branches/4.7@39422 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e28ec68af6
commit
909e795ba4
@ -474,8 +474,8 @@ body.colors-dark,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Fixes linked images */
|
/* Fixes linked images */
|
||||||
.entry-content a img,
|
.colors-dark .entry-content a img,
|
||||||
.widget a img {
|
.colors-dark .widget a img {
|
||||||
-webkit-box-shadow: 0 0 0 8px #222;
|
-webkit-box-shadow: 0 0 0 8px #222;
|
||||||
box-shadow: 0 0 0 8px #222;
|
box-shadow: 0 0 0 8px #222;
|
||||||
}
|
}
|
||||||
@ -496,6 +496,9 @@ body.colors-dark,
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.colors-dark .gallery-item a,
|
||||||
|
.colors-dark .gallery-item a:hover,
|
||||||
|
.colors-dark .gallery-item a:focus,
|
||||||
.colors-dark .widget .tagcloud a,
|
.colors-dark .widget .tagcloud a,
|
||||||
.colors-dark .widget .tagcloud a:focus,
|
.colors-dark .widget .tagcloud a:focus,
|
||||||
.colors-dark .widget .tagcloud a:hover,
|
.colors-dark .widget .tagcloud a:hover,
|
||||||
|
@ -2952,7 +2952,7 @@ object {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background: none;
|
background: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery-item a img {
|
.gallery-item a img {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-RC1-39421';
|
$wp_version = '4.7-RC1-39422';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user