Skip to content
Permalink
Browse files

pag style update

  • Loading branch information
fel1p committed Mar 18, 2019
1 parent 9bf83e5 commit 9c2a2ec3c9ddd769b9570aec58c2ad3a00842262
Showing with 9 additions and 10 deletions.
  1. +3 −5 _includes/pagination.html
  2. +6 −5 _sass/365.scss
@@ -1,15 +1,13 @@
<nav class="pagination" role="navigation">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a rel="prev" class="posts newer btn small" href="{{ site.baseurl }}/#blog" title="Previous Page">Newer Posts</a>
<a rel="prev" class="posts newer btn small" href="{{ site.baseurl }}/#blog" title="Página Anterior"></a>
{% else %}
<a rel="prev" class="posts newer btn small" href="{{ site.baseurl }}/page{{ paginator.previous_page }}/">Newer Posts</a>
<a rel="prev" class="posts newer btn small" href="{{ site.baseurl }}/page{{ paginator.previous_page }}/" title="Página Anterior"></a>
{% endif %}
{% endif %}

<span class="pagination__page-number">Page {{ paginator.page}} of {{ paginator.total_pages}}</span>

{% if paginator.next_page %}
<a rel="next" class="posts older btn small" href="{{ site.baseurl }}/page{{ paginator.next_page }}/">Older Posts</a>
<a rel="next" class="posts older btn small" href="{{ site.baseurl }}/page{{ paginator.next_page }}/" title="Próxima Página"></a>
{% endif %}
</nav>
@@ -448,16 +448,16 @@ hr {

.btn, .navigation__item a {
padding: 10px 20px;
border: 1px solid #e25440;
border: 1px solid #8a6d3b;
font-size: .9em;
font-weight: bold;
letter-spacing: 1px;
text-shadow: none;
color: #e25440;
color: #bfc9d3;
-webkit-font-smoothing: antialiased; }
.btn:hover, .navigation__item a:hover {
color: #b9301c;
border-color: #b9301c; }
color: #FFF;
border-color: rgba(247,175,62,0.68) !important; }

.btn-secondary {
border-color: #5ba4e5;
@@ -540,7 +540,8 @@ nav {

.pagination {
display: block;
margin: 0 0 4em 0; }
margin-left: 50%;
margin-top: 50px; }

.pagination__page-number {
margin: 0;

0 comments on commit 9c2a2ec

Please sign in to comment.
You can’t perform that action at this time.