From 7d0dd6b360483a6cdb6319b03175eb7be0414f00 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 4 Sep 2012 05:14:46 +0000 Subject: [PATCH] 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. git-svn-id: http://core.svn.wordpress.org/trunk@21729 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- style.css | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index 88ff39fec..ae4323b47 100644 --- a/style.css +++ b/style.css @@ -751,10 +751,16 @@ article.sticky .featured-post { } .entry-content blockquote, .comment-content blockquote { + margin-bottom: 24px; + margin-bottom: 1.714285714rem; padding: 24px; padding: 1.714285714rem; font-style: italic; } +.entry-content blockquote p:last-child, +.comment-content blockquote p:last-child { + margin-bottom: 0; +} .entry-content code, .comment-content code { font-family: Consolas, Monaco, Lucida Console, monospace; @@ -938,19 +944,20 @@ article.format-aside h1 a:hover { } article.format-aside .aside { padding: 24px 24px 0; - padding: 1.714285714rem 1.714285714rem 0; + padding: 1.714285714rem; background: #d2e0f9; border-left: 22px solid #a8bfe8; } article.format-aside p { - margin: 0; - padding-bottom: 24px; - padding-bottom: 1.714285714rem; font-size: 13px; font-size: 0.928571429rem; line-height: 1.846153846; color: #4a5466; } +article.format-aside blockquote:last-child, +article.format-aside p:last-child { + margin-bottom: 0; +} /* =Post formats