mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
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:
parent
3f2c0aff8a
commit
8f96817661
@ -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
Block a user