WordPress.org

Make WordPress Core

Changeset 21462


Ignore:
Timestamp:
08/06/2012 08:48:47 PM (6 years ago)
Author:
lancewillett
Message:

Twenty Twelve: line-height style fixes, props chellycat. See #21486.

  • For entry titles match larger screen style with the base styles to add a bit more line-height.
  • Add line-height to entry-content and entry-summary, so that elements appearing outside of paragraph tags inside these containers will still have the appropriate line-heights.
  • Add line-height for pingbacks, which looks a bit too tight when pingbacks span multiple lines.
File:
1 edited

Legend:

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

    r21451 r21462  
    711711    text-align: center;
    712712}
     713.entry-content,
     714.entry-summary {
     715    line-height: 1.714285714;
     716}
    713717.entry-content h1,
    714718.comment-content h1,
     
    11711175}
    11721176.commentlist .pingback {
     1177    line-height: 1.714285714;
    11731178    margin-bottom: 24px;
    11741179    margin-bottom: 1.714285714rem;
     
    13361341    display: block;
    13371342    margin: 0 auto 24px;
    1338     margin: 0 auto 1.714285714rem; 
     1343    margin: 0 auto 1.714285714rem;
    13391344}
    13401345
     
    13911396        font-size: 22px;
    13921397        font-size: 1.571428571rem;
    1393         line-height: 1.090909091;
    13941398    }
    13951399    #respond form input[type="text"] {
Note: See TracChangeset for help on using the changeset viewer.