Adds in specific classes rather than using wider navigation selector

This commit is contained in:
Tammie Lister 2014-02-10 17:35:23 +00:00
parent 8606665b5e
commit 9f4d5a9188
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%;