Utilize gallery-columns-# classes in Twenty Ten. props ianstewart, lancewillett. fixes #15103.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-12-11 04:05:32 +00:00
parent 3f2c0aff8a
commit 8f96817661
1 changed files with 14 additions and 0 deletions

View File

@ -828,9 +828,23 @@ img.aligncenter {
text-align: center;
width: 33%;
}
.gallery-columns-2 .gallery-item {
width: 50%;
}
.gallery-columns-4 .gallery-item {
width: 25%;
}
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
max-width: 92%;
height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
max-width: 84%;
height: auto;
}
.gallery .gallery-caption {
color: #888;
font-size: 12px;