Sha256: 49c0720cba711640680bbf711a2fd42f661412089387718951d875f13c1ac6a3

Contents?: true

Size: 845 Bytes

Versions: 8

Compression:

Stored size: 845 Bytes

Contents

// Pagination

.pagination {
  overflow: hidden; // clearfix
  margin: 0 -1.5rem 1rem;
  color: #ccc;
  text-align: center;
}

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

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

// Only provide a hover state for linked pagination items
a.pagination-item:hover {
  background-color: #1e1e1e;
}

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

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

    &:first-child {
      margin-bottom: 0;
      border-top-left-radius:    4px;
      border-bottom-left-radius: 4px;
    }
    &:last-child {
      margin-left: -1px;
      border-top-right-radius:    4px;
      border-bottom-right-radius: 4px;
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
quattle-1.5.5 _sass/_pagination.scss
quattle-1.5.4 _sass/_pagination.scss
quattle-1.5.3 _sass/_pagination.scss
quattle-1.5.2 _sass/_pagination.scss
quattle-1.5.1 _sass/_pagination.scss
quattle-1.5.0 _sass/_pagination.scss
quattle-1.4.0 _sass/_pagination.scss
quattle-1.3.0 _sass/_pagination.scss