Commit 8f37d1b4 by Kevin Herrera

Adjusting pagination link styling for mobile resolutions.

parent 5403f9ba
Pipeline #5342133 passed with stage
in 1 minute 12 seconds
......@@ -179,6 +179,10 @@ main .posts > li.next {
margin-top: 20px;
}
main .space-top {
margin-top: 20px;
}
/* Navigation */
.nav > li > a:focus,
......
......@@ -28,12 +28,17 @@ title: Blog
</li>
{% endfor %}
{% if paginator.next_page %}
<li class="next">
<li class="next hidden-xs">
<span class="published"></span>
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}">Next {{ site.pagination.per_page }}</a>
</li>
{% endif %}
</ul>
{% if paginator.next_page %}
<p class="text-center visible-xs-block space-top">
<a class="btn btn-link btn-block" href="{{ site.baseurl }}{{ paginator.next_page_path }}">Next {{ site.pagination.per_page }}</a>
</p>
{% endif %}
{% else %}
<p>I don't seem to have any blog posts yet!</p>
{% endif %}
......@@ -54,7 +54,10 @@ title: Projects
</div>
{% endfor %}
{% if paginator.next_page %}
<p class="text-right">
<p class="text-center visible-xs-block">
<a class="btn btn-link btn-block" href="{{ site.baseurl }}{{ paginator.next_page_path }}">Next {{ site.pagination.per_page }}</a>
</p>
<p class="text-right hidden-xs">
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}">Next {{ site.pagination.per_page }}</a>
</p>
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment