aboutsummaryrefslogtreecommitdiff
path: root/assets/sass/_partial/_pagination.scss
blob: c58f8dbb055d4d392eba2ac200b7ca56847476b1 (plain)
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
29
30
31
32
33
34
35
36
// ==============================
// Pagination
// ==============================

.pagination {
  margin: $pagination-margin;
  @include clearfix;

  .prev,
  .next {
    font-weight: 600;
    font-size: $pagination-font-size;
    font-family: $global-serif-font-family;
    transition-property: transform;
    transition-timing-function: ease-out;
    transition-duration: 0.3s;
  }

  .prev {
    float: left;

    &:hover {
      color: $theme-color;
      transform: translateX(-4px); 
    }
  }

  .next {
    float: right;

    &:hover {
      color: $theme-color;
      transform: translateX(4px); 
    }
  }
}