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.
qdouze2-wordpress-theme/scss/components/_pagination.scss

32 lines
597 B
SCSS
Raw Normal View History

2022-12-17 22:34:02 +01:00
nav.pagination {
2023-11-20 10:05:50 +01:00
padding-bottom: $lineheight;
2022-12-17 22:34:02 +01:00
.nav-links {
text-align: center;
2023-11-20 10:05:50 +01:00
width: 100%;
2022-12-17 22:34:02 +01:00
}
2023-11-20 10:05:50 +01:00
.page-numbers,
.next,
.prev {
@include shape-style($button_small);
padding: $button_small/2 $button_small;
margin: $button_small / 2;
text-decoration: none;
2022-12-17 22:34:02 +01:00
2023-11-20 10:05:50 +01:00
&:not(.current):not(.dots) {
outline-color: var(--accent-color);
color: var(--link-color);
2022-12-17 22:34:02 +01:00
2023-11-20 10:05:50 +01:00
&:hover {
background-color: var(--link-color-hover);
2022-12-17 22:34:02 +01:00
}
2023-11-20 10:05:50 +01:00
}
&.current {
@include background-color($color-primary);
background-color: $color-primary;
}
2022-12-17 22:34:02 +01:00
}
2023-11-20 10:05:50 +01:00
}