Permalink
Browse files

Changed hover for next/previous buttons

  • Loading branch information...
davidmerfield committed Jan 10, 2019
1 parent 13eaac9 commit fa40d27f60dd5562dab8c261b625e75e4f56f729
Showing with 19 additions and 3 deletions.
  1. +2 −2 app/templates/photos/_navigation.html
  2. +17 −1 app/templates/photos/style.css
@@ -14,9 +14,9 @@
<a href="/" onclick="return lastIndexPage()" >Close &nbsp;</a>
{{/entry}}
{{^entry}}
<a {{#pagination.previous}}href="/page/{{pagination.previous}}"{{/pagination.previous}}>&larr; Previous</a>
<a class="previous" {{#pagination.previous}}href="/page/{{pagination.previous}}"{{/pagination.previous}}>Previous</a>
&nbsp;&nbsp;
<a {{#pagination.next}}href="/page/{{pagination.next}}"{{/pagination.next}}>Next &rarr;</a>
<a class="next" {{#pagination.next}}href="/page/{{pagination.next}}"{{/pagination.next}}>Next</a>
{{/entry}}
</div>
</div>
@@ -187,7 +187,23 @@ body {
font-size: 25px;
font-size: 14px;
display: flex;
flex-wrap: wrap
flex-wrap: wrap;
}

.navigation .next {position:relative;padding-right: 1.3em}

.navigation .next:after {
content: "";
position: absolute;
right: 0;
}

.navigation .previous {position:relative;padding-left: 1.3em}

.navigation .previous:after {
content: "";
position: absolute;
left: 0;
}

.tabular-numerals {

0 comments on commit fa40d27

Please sign in to comment.