mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-08 16:41:44 +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;
|
text-align: center;
|
||||||
width: 33%;
|
width: 33%;
|
||||||
}
|
}
|
||||||
|
.gallery-columns-2 .gallery-item {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
.gallery-columns-4 .gallery-item {
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
.gallery img {
|
.gallery img {
|
||||||
border: 2px solid #cfcfcf;
|
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 {
|
.gallery .gallery-caption {
|
||||||
color: #888;
|
color: #888;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
Loading…
Reference in New Issue
Block a user