Sha256: df709cd391c9daade833395610f2897e2aa72e571135486b377d338ee5d16803

Contents?: true

Size: 1.49 KB

Versions: 6

Compression:

Stored size: 1.49 KB

Contents

/*
 * THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
 *
 * To change the contents of this file,
 * edit `_sass/pooleparty/_pagination.pre.scss`
 * and run `npm run build:css`.
 *
 * During development you can run `npm run watch:css`
 * to continuosly rebuild this file.
 */

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


.pagination {
  width: calc(100% + 2rem);
  margin: 0 -1rem 1rem;
  color: $gray;
  text-align: center;

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

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

  > a, > a:hover, > a:focus {
    border-color: $border-color!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 $border-color;
  }
}

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

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

    &:first-child > * {
      margin-bottom: 0;
      border-top-left-radius: 0.25rem;
      border-bottom-left-radius: 0.25rem;
    }
    &:last-child > * {
      margin-left: -1px;
      border-top-right-radius: 0.25rem;
      border-bottom-right-radius: 0.25rem;
    }
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jekyll-theme-hydejack-7.3.0 _sass/pooleparty/__link/_pagination.scss
jekyll-theme-hydejack-7.2.0 _sass/pooleparty/__link/_pagination.scss
jekyll-theme-hydejack-7.1.1 _sass/pooleparty/__link/_pagination.scss
jekyll-theme-hydejack-7.1.0 _sass/pooleparty/__link/_pagination.scss
jekyll-theme-hydejack-7.0.1 _sass/pooleparty/__link/_pagination.scss
jekyll-theme-hydejack-7.0.0 _sass/pooleparty/__link/_pagination.scss