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
This commit is contained in:
Lance Willett 2012-09-04 05:14:46 +00:00
parent d166694af0
commit 7d0dd6b360
1 changed files with 11 additions and 4 deletions

View File

@ -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