diff --git a/_includes/pagination.liquid b/_includes/pagination.liquid index c3d0bfc..09bd2ad 100644 --- a/_includes/pagination.liquid +++ b/_includes/pagination.liquid @@ -1,14 +1,12 @@ {% if paginator.total_pages > 1 %} {% capture index_page_name %}{{ site.pagination.indexpage }}.{{ site.pagination.extension }}{% endcapture %}
{% endif %} \ No newline at end of file diff --git a/_sass/_pagination.scss b/_sass/_pagination.scss index 8bbad9f..34923bb 100644 --- a/_sass/_pagination.scss +++ b/_sass/_pagination.scss @@ -33,6 +33,16 @@ color: $theme-pagination-color-selected; } +.pager > .disabled, +.pager > .disabled:hover, +.pager > .disabled:focus, +.pager > .disabled.selected { + background: $theme-pagination-background; + box-shadow: $theme-pagination-shadow; + color: $theme-pagination-color; + opacity: 50%; +} + .pager > li > a { display: block; margin: 0; @@ -42,3 +52,7 @@ width: 5rem; height: 2.5rem; } + +.pager > .disabled > a { + cursor: default; +} \ No newline at end of file