//ページネーションやページャー用 @mixin pagination_wrap { margin: 24px 0; clear: both; text-align: center; } //ページネーションボタン $pagination_wh: 46px; @mixin pagination_button { @include link_cancel; display: inline-block; height: $pagination_wh; width: $pagination_wh; border: 1px solid $thin; margin: 0 4px; line-height: $pagination_wh; text-align: center; border-radius: $basic_border_radius; } /************************************ ** ページネーション ************************************/ .pagination{ @include pagination_wrap; display: inline-flex; justify-content: center; width: 100%; .current{ background-color: $current_bgc; } a{ &:hover { @include bgc_hover; } } } .page-numbers{ @include pagination_button; span{ line-height: inherit; } } .page-numbers.dots { opacity: 0.6; background-color: $xx_thin; } /************************************ ** 「次のページ」ページネーション ************************************/ .pagination-next-link { background-color: #f9f9f9; border: 1px solid $thin; color: $text_color; display: block; font-size: 1.2em; text-decoration: none; width: 100%; text-align: center; padding: 10px; display: block; &:hover { @include bgc_hover; } }