Make WordPress Core

Changeset 24159


Ignore:
Timestamp:
05/02/2013 08:25:24 PM (14 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: update entry-media selector to be much more selective. Props obenland for beginning patch. See #24198.

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

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/rtl.css

    r24074 r24159  
    324324 */
    325325
     326.entry-media a,
     327.entry-content a {
     328        display: inline;
     329}
     330
    326331.format-aside cite:before {
    327332        content: normal;
  • trunk/wp-content/themes/twentythirteen/style.css

    r24153 r24159  
    503503/* Clearing floats */
    504504.clear:after,
    505 .format-audio .entry-media:after,
     505.entry-media:after,
    506506.attachment .entry-header:after,
    507507.site-footer .widget-area:after,
    … …  
    517517.clear:before,
    518518.clear:after,
    519 .format-audio .entry-media:before,
    520 .format-audio .entry-media:after,
     519.entry-media:before,
     520.entry-media:after,
    521521.attachment .entry-header:before,
    522522.attachment .entry-header:after,
    … …  
    680680}
    681681
     682.entry-media img,
    682683img.size-full,
    683684img.size-large,
    … …  
    14231424}
    14241425
    1425 .entry-media > *, .entry-media > * > img {
    1426         display: block;
     1426.entry-media .wp-caption,
     1427.entry-media .wp-caption-text,
     1428.entry-media [class*="align"] {
    14271429        margin: 0 auto;
    1428         max-width: 100%;
    14291430}
    14301431
    … …  
    27562757        }
    27572758
    2758         .sidebar .format-image .entry-content .size-full {
    2759                 margin: 0;
    2760         }
    2761 
    2762         .error404 .page-header,
    2763         .sidebar .format-image .entry-content img.size-full,
    2764         .sidebar .format-image .wp-caption:first-child .wp-caption-text {
     2759        .error404 .page-header {
    27652760                margin-left: auto;
    27662761                max-width: 604px;
    … …  
    28202815        .author.sidebar .author-info,
    28212816        .format-audio .entry-media,
    2822         .sidebar .format-audio .entry-media,
    2823         .sidebar .format-image .entry-content {
     2817        .sidebar .format-audio .entry-media {
    28242818                max-width: 604px;
    28252819                padding-left: 0;
    … …  
    29222916        .entry-content .wp-caption.alignright {
    29232917                margin-right: 0;
    2924         }
    2925 
    2926         .format-image .entry-content img:first-of-type,
    2927         .format-image .wp-caption:first-child .wp-caption-text {
    2928                 margin-left: auto;
    2929                 max-width: 604px;
    2930                 width: 100%;
    29312918        }
    29322919
Note: See TracChangeset for help on using the changeset viewer.