www/assets/pagination.css

39 lines
782 B
CSS
Raw Normal View History

.pagination {
display:flex;
list-style:none;
border-radius:.25rem;
}
2021-08-16 12:35:32 +02:00
.pagination li {
2023-01-25 17:45:06 +01:00
background-color: var(--bg-0);
2021-08-16 12:35:32 +02:00
}
.pagination li a {
border:1px solid rgba(0,0,0,.1);
position:relative;
display:block;
padding:.5rem .75rem;
line-height:1.25;
text-decoration: none;
}
2021-08-16 12:35:32 +02:00
.pagination .pagination-enabled:first-child a {
border-top-left-radius:.25rem;
border-bottom-left-radius:.25rem
}
2021-08-16 12:35:32 +02:00
.pagination .pagination-enabled:last-child a {
border-top-right-radius:.25rem;
border-bottom-right-radius:.25rem
}
2021-08-16 12:35:32 +02:00
.pagination .pagination-enabled a:hover {
2023-01-25 17:45:06 +01:00
background-color: var(--bg-1);
z-index: 999;
}
2021-08-16 12:35:32 +02:00
.pagination-disabled a {
2023-01-25 17:45:06 +01:00
color: var(--dim);
2021-08-16 12:35:32 +02:00
}
.pagination-disabled a:hover {
2023-01-25 17:45:06 +01:00
color: var(--dim);
}
.pagination-active a {
2023-01-25 17:45:06 +01:00
color: var(--fg-0);
background-color: var(--bg-1);
}