diff options
Diffstat (limited to 'assets/sass/_pagination.scss')
-rw-r--r-- | assets/sass/_pagination.scss | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/assets/sass/_pagination.scss b/assets/sass/_pagination.scss new file mode 100644 index 0000000..8e5d248 --- /dev/null +++ b/assets/sass/_pagination.scss @@ -0,0 +1,28 @@ +#pagination { + font-size: $font-size-l3; + text-align: center; + // spliter between pagination and last post block + border-top: $spliter; + padding: 1em 0 1em 0; + + ul li { + display: inline; + @include link-primary(); + + // darker number when active + &.active a { + color: $color-primary-dark; + } + + // remove prev page at first page, next page at last page + &.disabled { + display: none; + } + + // remove first page link and last page link + &:first-child, + &:last-child { + display: none; + } + } +}
\ No newline at end of file |