Merge pull request #403 from karmatosed/master

Adds in specific classes rather than using wider navigation selector to prevent accidentally selecting, for example, posts tagged with navigation.
This commit is contained in:
Ian Stewart 2014-02-10 12:01:39 -06:00
commit ccb587cb26
1 changed files with 9 additions and 3 deletions

View File

@ -420,15 +420,21 @@ a:active {
display: none; display: none;
} }
} }
.site-main [class*="navigation"] { .site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
margin: 0 0 1.5em; margin: 0 0 1.5em;
overflow: hidden; overflow: hidden;
} }
[class*="navigation"] .nav-previous { .comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
float: left; float: left;
width: 50%; width: 50%;
} }
[class*="navigation"] .nav-next { .comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
float: right; float: right;
text-align: right; text-align: right;
width: 50%; width: 50%;