WordPress.org

Make WordPress Core

Ticket #15103: 15790.3.diff

File 15790.3.diff, 665 bytes (added by lancewillett, 3 years ago)

Refreshed patch with only the CSS rules

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

     
    828828        text-align: center; 
    829829        width: 33%; 
    830830} 
     831.gallery-columns-2 .gallery-item { 
     832        width: 50%; 
     833} 
     834.gallery-columns-4 .gallery-item { 
     835        width: 25%; 
     836} 
    831837.gallery img { 
    832838        border: 2px solid #cfcfcf; 
    833839} 
     840.gallery-columns-2 .attachment-medium { 
     841        max-width: 92%; 
     842        height: auto; 
     843} 
     844.gallery-columns-4 .attachment-thumbnail { 
     845        max-width: 84%; 
     846        height: auto; 
     847} 
    834848.gallery .gallery-caption { 
    835849        color: #888; 
    836850        font-size: 12px;