summaryrefslogtreecommitdiffstats
path: root/assets/sass/_pagination.scss
blob: 8e5d2484a4eb78a8cf67cc53facb4b35fd278d0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
        }
    }
}