Twenty Thirteen and Fourteen: style to support the new HTML5 line-break-less galleries. Props obenland, see #27637.
git-svn-id: https://develop.svn.wordpress.org/trunk@27926 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0faaacc7c8
commit
8dcec58f2a
@ -753,6 +753,8 @@ div.wp-caption.alignright .wp-caption-text {
|
||||
.footer-sidebar:after,
|
||||
.hentry:before,
|
||||
.hentry:after,
|
||||
.gallery:before,
|
||||
.gallery:after,
|
||||
.slider-direction-nav:before,
|
||||
.slider-direction-nav:after,
|
||||
.contributor-info:before,
|
||||
@ -769,6 +771,7 @@ div.wp-caption.alignright .wp-caption-text {
|
||||
|
||||
.footer-sidebar:after,
|
||||
.hentry:after,
|
||||
.gallery:after,
|
||||
.slider-direction-nav:after,
|
||||
.contributor-info:after,
|
||||
.search-box:after,
|
||||
@ -1489,6 +1492,13 @@ a.post-thumbnail:hover {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
|
||||
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
|
||||
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
|
||||
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.gallery-caption {
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
-webkit-box-sizing: border-box;
|
||||
|
@ -1324,6 +1324,13 @@ footer.entry-meta {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
|
||||
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
|
||||
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
|
||||
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.gallery-caption {
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
box-sizing: border-box;
|
||||
|
Loading…
Reference in New Issue
Block a user