This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
kspace-wordpress-theme/scss/components/_pagination.scss

29 lines
718 B
SCSS
Raw Normal View History

nav.pagination {
padding-bottom:$lineheight;
.nav-links {
text-align: center;
width:100%;
}
.page-numbers, .next, .prev {
@include button($button_small);
padding-left: $button_small;
padding-right: $button_small;
margin-right : $button_small / 2;
margin-left: $button_small / 2;
text-decoration: none;
&:not(.current):not(.dots) {
@include button-color($color-background-alt);
outline-color: mix($color-background-alt, getTextColorFromBackground($color-background-alt), 85%);
}
&.current {
@include background-color($color-primary);
&::before {
background-color: $color-primary;
}
}
}
}