WordPress.org

Make WordPress Core

Changeset 23654


Ignore:
Timestamp:
03/08/13 18:58:27 (14 months ago)
Author:
lancewillett
Message:

Twenty Eleven: set images without WordPress-generated class to 100% maximum width, and fix spacing of images within caption containers. Props obenland, fixes #22366.

File:
1 edited

Legend:

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

    r23647 r23654  
    868868.comment-content img, 
    869869.widget img { 
    870     max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ 
     870    max-width: 100%; /* Fluid images for posts, comments, and widgets */ 
    871871} 
    872872img[class*="align"], 
     
    904904.wp-caption img { 
    905905    display: block; 
    906     margin: 0 auto; 
     906    margin: -2px 0 0 -2px; 
    907907    max-width: 98%; 
    908908} 
     
    954954    border: 1px solid #ddd; 
    955955    padding: 6px; 
     956    max-width: 97.5%; 
    956957} 
    957958.wp-caption img { 
Note: See TracChangeset for help on using the changeset viewer.