Make WordPress Core

Changeset 23964

Timestamp:
04/11/2013 04:03:08 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: better handling of media in main content area, accounting for a sidebar and all viewport width possibilities. Props sabreuse and obenland, see #23955.

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

Legend:

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

    r23962 r23964  
    178178 */
    179179
     180
     181
     182
     183
     184
    180185.sidebar .entry-header,
    181186.sidebar .entry-content,
     
    350355}
    351356
     357
     358
     359
     360
     361
     362
    352363.format-audio .audio-content {
    353364    background-position: right top;
     
    732743
    733744@media (max-width: 1069px) {
     745
     746
     747
     748
     749
     750
     751
    734752    ul.nav-menu,
    735753    div.nav-menu > ul {
     
    773791    }
    774792
     793
     794
     795
     796
     797
     798
     799
    775800    .site-main .widget-area {
    776801        float: none;
     
    878903
    879904    .format-audio .audio-content {
     905
     906
    880907        padding-left: auto;
    881908        padding-right: 0;
  • trunk/wp-content/themes/twentythirteen/style.css

    r23962 r23964  
    14871487}
    14881488
    1489 .format-audio .entry-media {
    1490     max-width: 604px;
     1489.format-audio .entry-media,
     1490.sidebar .format-audio .entry-media {
     1491    padding: 0 374px 0 60px;
    14911492}
    14921493
     
    27502751
    27512752@media (max-width: 1069px) {
     2753
     2754
     2755
     2756
    27522757    .sidebar img.alignleft,
    27532758    .sidebar .wp-caption.alignleft {
     
    28232828    .sidebar .post-navigation .nav-links,
    28242829    .author.sidebar .author-info,
     2830
     2831
    28252832    .sidebar .format-image .entry-content {
    28262833        max-width: 604px;
     
    28412848    }
    28422849
     2850
     2851
     2852
     2853
     2854
    28432855    .sidebar .archive-meta,
    28442856    .attachment .entry-header,
     
    29282940    }
    29292941
     2942
     2943
     2944
     2945
     2946
    29302947    .attachment .image-navigation,
    29312948    .attachment .entry-attachment .attachment {
     
    29452962    }
    29462963
     2964
    29472965    #content .entry-header,
    29482966    #content .entry-content,
     
    31113129    }
    31123130
    3113     .format-audio .entry-content:before {
     3131    .format-audio .entry-:before {
    31143132        display: none;
    31153133    }
Note: See TracChangeset for help on using the changeset viewer.