Make WordPress Core

Changeset 20905


Ignore:
Timestamp:
05/25/2012 06:16:42 PM (14 years ago)
Author:
nacin
Message:

Twenty Eleven: Add whitespace to paragraphs in the image post format. props mfields, fixes #20471.

File:
1 edited

Legend:

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

    r20904 r20905  
    12401240    padding-top: 0.5em;
    12411241}
    1242 .indexed.format-image p,
    1243 .indexed.format-image p img {
    1244     margin-bottom: 0;
     1242.indexed.format-image .entry-content p {
     1243    margin: 1em 0;
     1244}
     1245.indexed.format-image .entry-content p:first-child,
     1246.indexed.format-image .entry-content p:first-child a,
     1247.indexed.format-image .entry-content p:first-child img {
     1248    display: block;
     1249    margin: 0;
     1250}
     1251.indexed.format-image .entry-content .wp-caption .wp-caption-text {
     1252    margin: 0;
     1253    padding-bottom: 1em;
    12451254}
    12461255.indexed.format-image footer.entry-meta {
    12471256    background: #ddd;
    1248     margin-top: -7px;
    1249     padding: 20px 30px;
    12501257    overflow: hidden;
     1258    padding: 4%;
     1259    max-width: 96%;
    12511260}
    12521261.indexed.format-image div.entry-meta {
     
    12791288    margin-bottom: 0;
    12801289    max-width: 96%;
    1281     padding: 11px;
     1290    padding: 2% 2% 0;
    12821291}
    12831292.indexed.format-image .wp-caption .wp-caption-text {
     
    24212430    .alignleft,
    24222431    .alignright {
     2432        display: block;
    24232433        float: none;
    24242434        margin-left: 0;
Note: See TracChangeset for help on using the changeset viewer.