Center images on attachment pages in Twenty Ten. props lancewillett. see #14284.

git-svn-id: https://develop.svn.wordpress.org/trunk@15393 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-07-12 19:45:09 +00:00
parent 2e19f3d22e
commit 56489b6404
1 changed files with 4 additions and 4 deletions

View File

@ -760,9 +760,6 @@ div.menu li {
/* Attachment pages /* Attachment pages
-------------------------------------------------------------- */ -------------------------------------------------------------- */
.entry-content .attachment img {
margin-bottom: 0;
}
.attachment .entry-content .entry-caption { .attachment .entry-content .entry-caption {
font-size: 140%; font-size: 140%;
margin-top: 24px; margin-top: 24px;
@ -856,7 +853,10 @@ div.menu li {
#content .gallery br+br { #content .gallery br+br {
display: none; display: none;
} }
#content .attachment img { /* single attachment images should be centered */
display: block;
margin: 0 auto;
}
/* =Navigation /* =Navigation