website/_sass/bootstrap/scss/mixins/_pagination.scss
Rolf Amfelt f06abe5ab5
Some checks failed
continuous-integration/drone/push Build is failing
jekyll update
2024-01-20 16:06:39 +01:00

23 lines
485 B
SCSS
Executable file

// Pagination
@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
.page-link {
padding: $padding-vertical $padding-horizontal;
font-size: $font-size;
line-height: $line-height;
}
.page-item {
&:first-child {
.page-link {
@include border-left-radius($border-radius);
}
}
&:last-child {
.page-link {
@include border-right-radius($border-radius);
}
}
}
}