Twenty Twelve: better gallery columns support, and CSS cleanup. Closes #21475, props philiparthurmoore and pdclark.
git-svn-id: https://develop.svn.wordpress.org/trunk@21478 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
24fda2c796
commit
da5b33b5a5
@ -345,18 +345,21 @@ img.wp-smiley,
|
|||||||
.entry-content dl.gallery-item {
|
.entry-content dl.gallery-item {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.gallery-columns-4 .gallery-item img
|
.gallery-item a {
|
||||||
.gallery-columns-5 .gallery-item img {
|
display: block;
|
||||||
width: 100%;
|
width: 90%;
|
||||||
|
}
|
||||||
|
.gallery-columns-1 .gallery-item a {
|
||||||
|
max-width: 100%;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
.gallery .gallery-icon img {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
max-width: 90%;
|
||||||
|
padding: 5%;
|
||||||
}
|
}
|
||||||
.site-content .gallery-columns-4 .gallery-item {
|
.gallery-columns-1 .gallery-icon img {
|
||||||
width: 23%;
|
padding: 3%;
|
||||||
padding-right: 2%;
|
|
||||||
}
|
|
||||||
.site-content .gallery-columns-5 .gallery-item {
|
|
||||||
width: 18%;
|
|
||||||
padding-right: 2%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Navigation */
|
/* Navigation */
|
||||||
|
Loading…
Reference in New Issue
Block a user