WordPress.org

Make WordPress Core

Changeset 21729


Ignore:
Timestamp:
09/04/2012 05:14:46 AM (6 years ago)
Author:
lancewillett
Message:

Twenty Twelve: better bottom spacing for blockquotes, making it easier for child themes to style blockquotes followed by paragraphs. Props markjaquith and obenland, fixes #21764.

File:
1 edited

Legend:

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

    r21728 r21729  
    752752.entry-content blockquote,
    753753.comment-content blockquote {
     754    margin-bottom: 24px;
     755    margin-bottom: 1.714285714rem;
    754756    padding: 24px;
    755757    padding: 1.714285714rem;
    756758    font-style: italic;
     759}
     760.entry-content blockquote p:last-child,
     761.comment-content blockquote p:last-child {
     762    margin-bottom: 0;
    757763}
    758764.entry-content code,
     
    939945article.format-aside .aside {
    940946    padding: 24px 24px 0;
    941     padding: 1.714285714rem 1.714285714rem 0;
     947    padding: 1.714285714rem;
    942948    background: #d2e0f9;
    943949    border-left: 22px solid #a8bfe8;
    944950}
    945951article.format-aside p {
    946     margin: 0;
    947     padding-bottom: 24px;
    948     padding-bottom: 1.714285714rem;
    949952    font-size: 13px;
    950953    font-size: 0.928571429rem;
    951954    line-height: 1.846153846;
    952955    color: #4a5466;
     956}
     957article.format-aside blockquote:last-child,
     958article.format-aside p:last-child {
     959    margin-bottom: 0;
    953960}
    954961
Note: See TracChangeset for help on using the changeset viewer.