Sha256: 1632e182ce6df0b134d6db992b65e17c5702a0e794357b1eb23c092349320eb7

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 KB

Contents

.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;

  li {
    margin: 3px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 2.75rem;
    text-align: center;
    height: 3rem;
    line-height: 3rem; //.disabled v sobe nema <a>

    a {
      height: 3rem;
      line-height: 3rem;
      width: 100%;
      color: $primary-color;
    }
    a:hover {
      background: transparent;
      text-decoration: none;
    }

    @include breakpoint(mobile down) {
      height: 2.7rem;
      line-height: 2.7rem;
      margin: 1px;

      a {
        height: 2.7rem;
        line-height: 2.7rem;
      }
    }

    @if $pagination-mobile-items {
      display: flex;
    }
    @else {
      display: none;

      &:last-child,
      &:first-child {
        display: flex;
      }

      @include breakpoint(medium) {
        display: flex;
      }
    }
  }

  .pagination-previous,
  .pagination-next {
    background: $primary-color;
    font-size: 1.5rem; //.disabled v sobe nema <a>
    padding: 0 10px;
    a {
      text-decoration: none;
      color: #fefefe;
    }
    box-shadow: 0px 3px 2px #ececec;
  }

  a {
    text-decoration: underline;
  }

  .pagination-previous i,
  .pagination-next i {
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jekyll-theme-pirati-1.1.1 _sass/components/pagination.scss
jekyll-theme-pirati-1.1.0 _sass/components/pagination.scss
jekyll-theme-pirati-1.0.0 _sass/components/pagination.scss
jekyll-theme-pirati-0.3.0 _sass/components/pagination.scss
jekyll-theme-pirati-0.2.0 _sass/components/pagination.scss
jekyll-theme-pirati-0.1.0 _sass/components/pagination.scss