mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Center images on attachment pages in Twenty Ten. props lancewillett. see #14284.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c43b5bc26b
commit
04487e1c22
@ -760,9 +760,6 @@ div.menu li {
|
||||
/* Attachment pages
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.entry-content .attachment img {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.attachment .entry-content .entry-caption {
|
||||
font-size: 140%;
|
||||
margin-top: 24px;
|
||||
@ -856,7 +853,10 @@ div.menu li {
|
||||
#content .gallery br+br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#content .attachment img { /* single attachment images should be centered */
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
/* =Navigation
|
||||
|
Loading…
Reference in New Issue
Block a user