/****************************************************************************** * Pagination *****************************************************************************/ .pagination { min-height: 1rem; .pagination-nav { align-items: center; display: flex; font-size: 0.875rem; font-weight: 700; justify-content: center; letter-spacing: 1px; padding: 4rem 0; text-transform: uppercase; } .pagination-button { a { background-color: $color-800; border: 0; color: $color-100; cursor: pointer; display: inline-block; font-size: inherit; min-width: 12rem; padding: 1rem; text-align: center; text-decoration: none; &:hover { background-color: $color-700; color: $color-200; } } &.pagination-button-prev a { border-right: 1px solid rgba($black, 0.12); padding-right: 2rem; &::before { margin: 0 1rem; position: relative; top: -1px; } } &.pagination-button-next a { border-left: 1px solid rgba($black, 0.12); padding-left: 2rem; &::after { margin: 0 1rem; position: relative; top: -1px; } } } } .paginated { flex: 1 1; p { align-items: center; display: flex; justify-content: center; a, span { background-color: rgba($black, 0.12); border: 1px solid rgba($black, 0.06); border-radius: 10rem; display: inline-block; height: 3rem; line-height: 3; margin: 0 0.25rem; text-align: center; width: 3rem; } a { background-color: $color-600; color: $color-200; text-decoration: none; } } } /****************************************************************************** * Pagination Mobile ******************************************************************************/ @media (max-width: $breakpoint-tablet) { .paginated { p { justify-content: flex-start; } } .pagination { min-height: auto; .pagination-button { flex-direction: column; a { display: block; min-width: auto; padding: 1rem; white-space: nowrap; } } } }