diff options
| author | DSRKafuU | 2020-04-18 19:28:31 +0800 | 
|---|---|---|
| committer | GitHub | 2020-04-18 19:28:31 +0800 | 
| commit | aaa441e5f2e065ebcf1e645f7924e9ef28b8d242 (patch) | |
| tree | ce30aaaddf497c398f89f7fd79f2e825b2b9d771 /assets/sass/_pagination.scss | |
| parent | 7ca4f16d5789b56495dba7fe5f73bb5306094fd1 (diff) | |
| parent | ba71698c693b29d0fec736864975adae8508e6e5 (diff) | |
| download | hugo-theme-fuji-aaa441e5f2e065ebcf1e645f7924e9ef28b8d242.tar.gz hugo-theme-fuji-aaa441e5f2e065ebcf1e645f7924e9ef28b8d242.tar.bz2 hugo-theme-fuji-aaa441e5f2e065ebcf1e645f7924e9ef28b8d242.zip  | |
Merge pull request #4 from amzrk2/dev
Merge branch "dev" into "master"
Diffstat (limited to 'assets/sass/_pagination.scss')
| -rw-r--r-- | assets/sass/_pagination.scss | 24 | 
1 files changed, 11 insertions, 13 deletions
diff --git a/assets/sass/_pagination.scss b/assets/sass/_pagination.scss index 8e5d248..6c5200b 100644 --- a/assets/sass/_pagination.scss +++ b/assets/sass/_pagination.scss @@ -1,28 +1,26 @@  #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 { +    li {          display: inline;          @include link-primary(); -        // darker number when active -        &.active a { -            color: $color-primary-dark; +        &.pag-item a { +            vertical-align: middle;          } -        // remove prev page at first page, next page at last page -        &.disabled { -            display: none; +        // darker number when active +        &.pag-current a { +            color: $color-secondary;          } +    } -        // remove first page link and last page link -        &:first-child, -        &:last-child { -            display: none; -        } +    svg { +        height: 1em; +        width: 1em; +        vertical-align: middle;      }  }
\ No newline at end of file  | 
