forked from mirror/_s
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:
commit
ccb587cb26
12
style.css
12
style.css
|
@ -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%;
|
||||||
|
|
Reference in New Issue