From 6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Mon, 13 Apr 2020 19:13:39 +0800 Subject: Initial commit --- assets/sass/_pagination.scss | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 assets/sass/_pagination.scss (limited to 'assets/sass/_pagination.scss') 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 -- cgit v1.2.3