Twenty Thirteen: fix minor RTL and mobile visual display bugs, props obenland. Fixes #24524.

git-svn-id: http://core.svn.wordpress.org/trunk@24428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-06-07 17:01:22 +00:00
parent bd21a110d4
commit 42056fdae6
2 changed files with 29 additions and 26 deletions

View File

@ -221,19 +221,6 @@ div.nav-menu > ul {
display: inline;
}
.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
margin-left: 0;
margin-right: 4px;
}
/**
* 5.5 Post Formats
@ -682,6 +669,19 @@ div.nav-menu > ul {
}
@media (max-width: 643px) {
.sidebar .entry-header,
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta,
.sidebar .comment-list,
.sidebar .comment-navigation,
.sidebar .featured-gallery,
.sidebar .post-navigation .nav-links,
.sidebar .format-image .entry-content {
padding-left: 20px;
padding-right: 20px;
}
#content .format-status .entry-content,
#content .format-status .entry-met {
padding-left: 0;
@ -745,21 +745,26 @@ div.nav-menu > ul {
.archive .format-gallery .gallery-item,
.search .format-gallery .gallery-item,
.single .gallery.gallery-columns-3 .gallery-item:nth-of-type(even),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
margin-left: 2%;
margin-left: 4px;
margin-right: auto;
}
.blog .format-gallery .gallery-item:nth-of-type(odd),
.archive .format-gallery .gallery-item:nth-of-type(odd),
.search .format-gallery .gallery-item:nth-of-type(odd),
.single .gallery .gallery-item:nth-of-type(even),
.single .gallery.gallery-columns-3 .gallery-item:nth-of-type(3n) {
.single .gallery .gallery-item:nth-of-type(even) {
margin-left: 0;
margin-right: auto;
}
.comment-author .avatar {
margin-left: 5px;
margin-right: auto;
}
}

View File

@ -2761,10 +2761,6 @@ footer.entry-meta {
padding-right: 0;
}
.sidebar.author .author-info {
padding: 30px 0 10px;
}
.sidebar .site-info,
.search.sidebar .page-content,
.blog.sidebar .page-content,
@ -2879,7 +2875,7 @@ footer.entry-meta {
.blog.sidebar .page-content,
.sidebar .post-navigation .nav-links,
.paging-navigation .nav-links,
.author .author-info,
#content .author-info,
.comments-area .comments-title,
.comments-area .comment-list,
.comments-area .comment-navigation,
@ -3049,10 +3045,10 @@ footer.entry-meta {
.blog .format-gallery .gallery-item,
.archive .format-gallery .gallery-item,
.search .format-gallery .gallery-item {
margin-bottom: 2%;
margin-right: 2%;
max-width: none;
width: 49%;
width: -webkit-calc(50% - 4px);
width: calc(50% - 4px);
}
.single .gallery-columns-1.gallery-size-medium,
@ -3069,17 +3065,19 @@ footer.entry-meta {
.archive .format-gallery .gallery-item:first-child,
.search .format-gallery .gallery-item:first-child {
text-align: center;
width: 100%;
width: 98%;
width: -webkit-calc(100% - 4px);
width: calc(100% - 4px);
}
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
margin-right: 2%;
margin-right: 4px;
}
.single .gallery br {
.gallery br {
display: none;
}