Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_pagination.scss « scss « assets - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 99057affad4130a1c21724f5683b7132c48957a7 (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
37
38
39
40
41
42
.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 3rem auto 0 auto;
  @media (min-width: $screen-lg) {
    width: 80%;
  }
  &__item {
    width: 48px;
    height: 48px;
    &:not(:last-of-type) {
      margin-right: 1rem;
    }
  }
  &__pagenums {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  &__link {
    border: 1px solid var(--color-border);
    background: var(--color-card-bg);
    display:flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    box-shadow: 5px 5px var(--color-boxshadow);
    transition-property: box-shadow, transform;
    transition-duration: 0.2s, 0.3s;
    transition-timing-function: ease;

    &:hover {
      transform: translate(4px, 4px);
      box-shadow: 1px 1px var(--color-boxshadow);
    }
  }
}