Sha256: 3ea7da25175a8c7cf3f80bd48a9f23631002b30b452c958f1b84b9a776f1c25b

Contents?: true

Size: 1.03 KB

Versions: 8

Compression:

Stored size: 1.03 KB

Contents

// Pagination
//
// Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
// there are no more previous or next posts to show.

.pagination {
  margin: 0 -1.5rem 1rem;
  color: #ccc;
  text-align: center;
  margin-left: -1rem;
  margin-right: -1rem;

  > ul {
    list-style: none;
    padding: 0;
  }
}

// Pagination items can be `span`s or `a`s
.pagination-item {
  > * {
    display: block;
    padding: .25rem 1rem;
    border: solid #eee;
    border-width: 1px 0;
  }

  > a, > a:hover, > a:focus {
    border-color: #eee!important;
  }

  &:first-child > * {
    margin-bottom: -1px;
  }

  // Only provide a hover state for linked pagination items
  > a:hover, a:focus {
    background-color: #f5f5f5;
    border-bottom: 1px solid #eee;
  }
}

@media (min-width: 23.5em) {
  .pagination {
    margin: 3rem 0;
  }

  .pagination-item {
    > * {
      float: left;
      width: 50%;
      border-width: 1px;
    }

    &:first-child > * {
      margin-bottom: 0;
    }
    &:last-child > * {
      margin-left: -1px;
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-theme-hydejack-6.4.1 _sass/pooleparty/_pagination.scss
jekyll-theme-hydejack-6.4.0 _sass/pooleparty/_pagination.scss
jekyll-theme-hydejack-6.3.0 _sass/pooleparty/_pagination.scss
jekyll-theme-hydejack-6.2.0 _sass/pooleparty/_pagination.scss
jekyll-theme-hydejack-6.1.0 _sass/pooleparty/_pagination.scss
jekyll-theme-hydejack-6.0.0 _sass/pooleparty/_pagination.scss
jekyll-theme-hydejack-6.0.0.pre.beta3 _sass/pooleparty/_pagination.scss
jekyll-theme-hydejack-6.0.0.pre.beta2 _sass/pooleparty/_pagination.scss