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