Make WordPress Core

Changeset 24172


Ignore:
Timestamp:
05/03/2013 08:47:28 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: improve Quote post format styles to look more like quotes. Fixes #24176.

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

Legend:

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

    r24072 r24172  
    280280    left: auto;
    281281}
     282
     283.ie7 .format-quote .quote {
     284    padding: 0;
     285}
  • trunk/wp-content/themes/twentythirteen/js/functions.js

    r24169 r24172  
    99        body               = $( 'body' ),
    1010        _window            = $( window ),
     11        captions           = $( '.quote-caption' ),
    1112        adjustFooter,
    1213
     
    7172    } );
    7273
     74    /** Better styles for Quote post formats with a linked source.
     75     *
     76     */
     77    if ( captions )
     78        captions.has( 'a' ).addClass( 'linked' );
     79
    7380    /**
    7481     * Arranges footer widgets vertically.
  • trunk/wp-content/themes/twentythirteen/rtl.css

    r24159 r24172  
    436436}
    437437
     438.format-quote .quote {
     439    padding-left: 0;
     440    padding-right: 75px;
     441}
     442
     443.format-quote .quote:before {
     444    content: '\201D';
     445    padding-right: 0;
     446    padding-left: 25px;
     447    left: auto;
     448    right: -15px;
     449}
     450
    438451
    439452/**
  • trunk/wp-content/themes/twentythirteen/style.css

    r24169 r24172  
    16601660
    16611661.format-quote .entry-content {
    1662     color: #f7f5e7;
     1662    position: relative;
    16631663    font-size: 28px;
    16641664    font-style: italic;
     
    16671667}
    16681668
     1669.format-quote .entry-content,
     1670.format-quote .entry-meta {
     1671    color: #f7f5e7;
     1672}
     1673
    16691674.format-quote .entry-content blockquote {
    16701675    margin: 0;
    16711676}
    16721677
    1673 .format-quote .entry-content p {
    1674     line-height: 1.3;
    1675 }
    1676 
    16771678.format-quote .entry-content a,
    1678 .format-quote .entry-meta a {
     1679.format-quote .entry-meta a,
     1680.format-quote .linked {
    16791681    color: #e63f2a;
    16801682}
     1683
    16811684.format-quote .entry-content cite a {
    16821685    border-bottom: 1px dotted #fff;
     
    16931696    display: block;
    16941697    font-size: 16px;
     1698}
     1699
     1700.format-quote .quote {
     1701    padding-left: 75px;
     1702}
     1703
     1704.format-quote .quote:before {
     1705    content: '\201C';
     1706    font-size: 140px;
     1707    font-weight: 400;
     1708    line-height: .8;
     1709    padding-right: 25px;
     1710    position: absolute;
     1711    top: -3px;
     1712    left: -15px;
    16951713}
    16961714
Note: See TracChangeset for help on using the changeset viewer.