Twenty Twelve: better layout for floated image captions. Fixes #23147.
git-svn-id: https://develop.svn.wordpress.org/trunk@23472 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7a30f68c8a
commit
42bbca4bf0
|
@ -884,15 +884,18 @@ article.sticky .featured-post {
|
||||||
margin: 0 0 24px;
|
margin: 0 0 24px;
|
||||||
margin: 0 0 1.714285714rem;
|
margin: 0 0 1.714285714rem;
|
||||||
}
|
}
|
||||||
img.alignleft {
|
img.alignleft,
|
||||||
|
.wp-caption.alignleft {
|
||||||
margin: 12px 24px 12px 0;
|
margin: 12px 24px 12px 0;
|
||||||
margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
|
margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
|
||||||
}
|
}
|
||||||
img.alignright {
|
img.alignright,
|
||||||
|
.wp-caption.alignright {
|
||||||
margin: 12px 0 12px 24px;
|
margin: 12px 0 12px 24px;
|
||||||
margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
|
margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
|
||||||
}
|
}
|
||||||
img.aligncenter {
|
img.aligncenter,
|
||||||
|
.wp-caption.aligncenter {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
margin-top: 0.857142857rem;
|
margin-top: 0.857142857rem;
|
||||||
|
|
Loading…
Reference in New Issue