Twenty Eleven: Add whitespace to paragraphs in the image post format. props mfields, fixes #20471.
git-svn-id: https://develop.svn.wordpress.org/trunk@20905 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e9e1eae451
commit
26b2c0d693
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user