Twenty Eleven: Add whitespace to paragraphs in the image post format. props mfields, fixes #20471.

git-svn-id: http://core.svn.wordpress.org/trunk@20905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-05-25 18:16:42 +00:00
parent a9ebdd659b
commit 78f3a9cbf5
1 changed files with 16 additions and 6 deletions

View File

@ -1239,15 +1239,24 @@ blockquote.pull.alignright {
.indexed.format-image .entry-content {
padding-top: 0.5em;
}
.indexed.format-image p,
.indexed.format-image p img {
margin-bottom: 0;
.indexed.format-image .entry-content p {
margin: 1em 0;
}
.indexed.format-image .entry-content p:first-child,
.indexed.format-image .entry-content p:first-child a,
.indexed.format-image .entry-content p:first-child img {
display: block;
margin: 0;
}
.indexed.format-image .entry-content .wp-caption .wp-caption-text {
margin: 0;
padding-bottom: 1em;
}
.indexed.format-image footer.entry-meta {
background: #ddd;
margin-top: -7px;
padding: 20px 30px;
overflow: hidden;
padding: 4%;
max-width: 96%;
}
.indexed.format-image div.entry-meta {
display: inline-block;
@ -1278,7 +1287,7 @@ blockquote.pull.alignright {
background: #111;
margin-bottom: 0;
max-width: 96%;
padding: 11px;
padding: 2% 2% 0;
}
.indexed.format-image .wp-caption .wp-caption-text {
color: #ddd;
@ -2420,6 +2429,7 @@ p.comment-form-comment {
/* Floated content doesn't work well at this size */
.alignleft,
.alignright {
display: block;
float: none;
margin-left: 0;
margin-right: 0;