WordPress.org

Make WordPress Core

Changeset 21426


Ignore:
Timestamp:
08/05/12 19:56:42 (21 months ago)
Author:
lancewillett
Message:

Twenty Twelve: justify text in smaller views, props chriswallace. Fixes #21385.

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

Legend:

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

    r21404 r21426  
    188188/* Minimum width of 600 pixels. */ 
    189189@media screen and (min-width: 600px) { 
     190    .entry-content p { 
     191        text-align: right; 
     192    } 
    190193    .page-template-homepage-php .widget-area .widget_text img { 
    191194        float: right; 
  • trunk/wp-content/themes/twentytwelve/style.css

    r21410 r21426  
    766766    margin: 0 0 1.714285714rem; 
    767767    line-height: 1.714285714; 
     768    text-align: justify; 
     769    text-justify: distribute; 
    768770} 
    769771.entry-content ol, 
     
    13221324/* Minimum width of 600 pixels. */ 
    13231325@media screen and (min-width: 600px) { 
     1326    .entry-content p { 
     1327        text-align: left; 
     1328        text-justify: auto; 
     1329    } 
    13241330    #author-avatar { 
    13251331        float: left; 
Note: See TracChangeset for help on using the changeset viewer.