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

_pagination.scss « components « css « assets - github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2161c5feef0cefb847f03126f425b589b181aab7 (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
.pagination {
  display: block;
  list-style: none;
  padding: 0;
  font-size: 0.8em;
  text-align: center;
  margin: 3em 0;
}

.page-item {
  display: inline-block;
  .page-link {
    display: flex;
    align-items: center;
    justify-content:center;
    width: 1.8rem;
    height: 1.8rem;
  }

  &.active {
    .page-link {
      color: $lightest-color;
      border-radius: 2em;
      background: $primary-color;
    }
  }
}