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: https://develop.svn.wordpress.org/trunk@21729 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cf0695d9fc
commit
4b6c92c0db
@ -751,10 +751,16 @@ article.sticky .featured-post {
|
|||||||
}
|
}
|
||||||
.entry-content blockquote,
|
.entry-content blockquote,
|
||||||
.comment-content blockquote {
|
.comment-content blockquote {
|
||||||
|
margin-bottom: 24px;
|
||||||
|
margin-bottom: 1.714285714rem;
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
padding: 1.714285714rem;
|
padding: 1.714285714rem;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
.entry-content blockquote p:last-child,
|
||||||
|
.comment-content blockquote p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
.entry-content code,
|
.entry-content code,
|
||||||
.comment-content code {
|
.comment-content code {
|
||||||
font-family: Consolas, Monaco, Lucida Console, monospace;
|
font-family: Consolas, Monaco, Lucida Console, monospace;
|
||||||
@ -938,19 +944,20 @@ article.format-aside h1 a:hover {
|
|||||||
}
|
}
|
||||||
article.format-aside .aside {
|
article.format-aside .aside {
|
||||||
padding: 24px 24px 0;
|
padding: 24px 24px 0;
|
||||||
padding: 1.714285714rem 1.714285714rem 0;
|
padding: 1.714285714rem;
|
||||||
background: #d2e0f9;
|
background: #d2e0f9;
|
||||||
border-left: 22px solid #a8bfe8;
|
border-left: 22px solid #a8bfe8;
|
||||||
}
|
}
|
||||||
article.format-aside p {
|
article.format-aside p {
|
||||||
margin: 0;
|
|
||||||
padding-bottom: 24px;
|
|
||||||
padding-bottom: 1.714285714rem;
|
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-size: 0.928571429rem;
|
font-size: 0.928571429rem;
|
||||||
line-height: 1.846153846;
|
line-height: 1.846153846;
|
||||||
color: #4a5466;
|
color: #4a5466;
|
||||||
}
|
}
|
||||||
|
article.format-aside blockquote:last-child,
|
||||||
|
article.format-aside p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* =Post formats
|
/* =Post formats
|
||||||
|
Loading…
Reference in New Issue
Block a user