WordPress.org

Make WordPress Core

Changeset 39418


Ignore:
Timestamp:
12/02/16 06:09:46 (11 months ago)
Author:
davidakennedy
Message:

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.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css

    r38996 r39418  
    475475 
    476476/* Fixes linked images */ 
    477 .entry-content a img, 
    478 .widget a img { 
     477.colors-dark .entry-content a img, 
     478.colors-dark .widget a img { 
    479479    -webkit-box-shadow: 0 0 0 8px #222; 
    480480    box-shadow: 0 0 0 8px #222; 
     
    497497} 
    498498 
     499.colors-dark .gallery-item a, 
     500.colors-dark .gallery-item a:hover, 
     501.colors-dark .gallery-item a:focus, 
    499502.colors-dark .widget .tagcloud a, 
    500503.colors-dark .widget .tagcloud a:focus, 
  • trunk/src/wp-content/themes/twentyseventeen/style.css

    r39413 r39418  
    29532953    background: none; 
    29542954    display: inline-block; 
    2955     width: 100%; 
     2955    max-width: 100%; 
    29562956} 
    29572957 
Note: See TracChangeset for help on using the changeset viewer.