WordPress.org

Make WordPress Core

Changeset 27926


Ignore:
Timestamp:
04/03/2014 04:46:23 AM (8 years ago)
Author:
lancewillett
Message:

Twenty Thirteen and Fourteen: style to support the new HTML5 line-break-less galleries. Props obenland, see #27637.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/style.css

    r27763 r27926  
    754754.hentry:before,
    755755.hentry:after,
     756.gallery:before,
     757.gallery:after,
    756758.slider-direction-nav:before,
    757759.slider-direction-nav:after,
     
    770772.footer-sidebar:after,
    771773.hentry:after,
     774.gallery:after,
    772775.slider-direction-nav:after,
    773776.contributor-info:after,
     
    14901493}
    14911494
     1495.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
     1496.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
     1497.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
     1498.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
     1499    clear: left;
     1500}
     1501
    14921502.gallery-caption {
    14931503    background-color: rgba(0, 0, 0, 0.7);
  • trunk/src/wp-content/themes/twentythirteen/style.css

    r27763 r27926  
    13251325}
    13261326
     1327.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
     1328.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
     1329.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
     1330.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
     1331    clear: left;
     1332}
     1333
    13271334.gallery-caption {
    13281335    background-color: rgba(0, 0, 0, 0.7);
Note: See TracChangeset for help on using the changeset viewer.