mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
48 lines
810 B
SCSS
48 lines
810 B
SCSS
@import 'variables';
|
|
|
|
.pagination {
|
|
display: flex;
|
|
margin-top: $spacer * 2;
|
|
margin-bottom: $spacer;
|
|
justify-content: space-between;
|
|
|
|
> div {
|
|
&:first-child {
|
|
margin-right: $spacer;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-left: $spacer;
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|
|
|
|
.number {
|
|
text-align: center;
|
|
width: 2rem;
|
|
height: 2rem;
|
|
line-height: 1.7;
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
border: 1px solid transparent;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
border-color: darken($brand-grey-dimmed, 5%);
|
|
}
|
|
}
|
|
|
|
.current {
|
|
composes: number;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
border: 1px solid darken($brand-grey-dimmed, 5%);
|
|
color: $brand-grey-light;
|
|
|
|
:global(.dark) & {
|
|
border-color: darken($brand-grey-light, 15%);
|
|
}
|
|
}
|