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 {
|
||||
margin: 0;
|
||||
}
|
||||
.gallery-columns-4 .gallery-item img
|
||||
.gallery-columns-5 .gallery-item img {
|
||||
width: 100%;
|
||||
.gallery-item a {
|
||||
display: block;
|
||||
width: 90%;
|
||||
}
|
||||
.gallery-columns-1 .gallery-item a {
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
}
|
||||
.gallery .gallery-icon img {
|
||||
height: auto;
|
||||
max-width: 90%;
|
||||
padding: 5%;
|
||||
}
|
||||
.site-content .gallery-columns-4 .gallery-item {
|
||||
width: 23%;
|
||||
padding-right: 2%;
|
||||
}
|
||||
.site-content .gallery-columns-5 .gallery-item {
|
||||
width: 18%;
|
||||
padding-right: 2%;
|
||||
.gallery-columns-1 .gallery-icon img {
|
||||
padding: 3%;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
Loading…
Reference in New Issue
Block a user