WordPress.org

Make WordPress Core

Ticket #24307: 24307.2.diff

File 24307.2.diff, 882 bytes (added by obenland, 11 months ago)

Centers galleries on index pages.

  • wp-content/themes/twentythirteen/style.css

     
    12911291        position: relative; 
    12921292} 
    12931293 
    1294 .single .gallery-columns-1.gallery-size-medium, 
    1295 .single .gallery-columns-1.gallery-size-thumbnail, 
    1296 .single .gallery-columns-2.gallery-size-thumbnail, 
    1297 .single .gallery-columns-3.gallery-size-thumbnail { 
     1294.gallery-columns-1.gallery-size-medium, 
     1295.gallery-columns-1.gallery-size-thumbnail, 
     1296.gallery-columns-2.gallery-size-thumbnail, 
     1297.gallery-columns-3.gallery-size-thumbnail { 
    12981298        display: table; 
    12991299        margin: 0 auto 20px; 
    13001300} 
     
    15791579.archive .format-gallery .gallery, 
    15801580.search .format-gallery .gallery { 
    15811581        margin-bottom: 20px; 
     1582        margin-left: -4px; 
    15821583        max-width: 608px; 
    15831584} 
    15841585