kestrelsnest-blog/themes/kestrel/assets/css/components/_pagination.scss

28 lines
429 B
SCSS
Raw Permalink Normal View History

2022-12-03 19:26:48 +00:00
.pagination {
display: block;
list-style: none;
padding: 0;
font-size: 0.8em;
text-align: center;
margin: 3em 0;
}
.page-item {
display: inline-block;
.page-link {
display: flex;
align-items: center;
justify-content:center;
width: 1.8rem;
height: 1.8rem;
}
&.active {
.page-link {
color: $lightest-color;
border-radius: 2em;
background: $primary-color;
}
}
}