nav.pagination {
  padding-bottom:$lineheight;
  .nav-links {
    text-align: center;
    width:100%;
  }
  .page-numbers, .next, .prev {
      @include button($button_small);
      padding-left: $button_small;
      padding-right: $button_small;
      margin-right : $button_small / 8;
      margin-left: $button_small / 8;
      text-decoration: none;


      &:not(.current) {
        @include button-color($color-background-alt);
        outline-color: mix($color-background-alt, getTextColorFromBackground($color-background-alt), 85%);
      }

      &.current {
        @include background-color($color-primary);
      }
  }
}
