Utilize gallery-columns-# classes in Twenty Ten. props ianstewart, lancewillett. fixes #15103.
git-svn-id: https://develop.svn.wordpress.org/trunk@16869 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3f5f212ffb
commit
82c7adaec6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue