aboutsummaryrefslogtreecommitdiff
path: root/assets/pagination.css
blob: f4bb1d6472ddb417c82bc206fd0b0ba25382af6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.pagination {
	display:flex;
	list-style:none;
	border-radius:.25rem;
}
.pagination li {
	background-color: var(--bg-0);
}
.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;
}
.pagination .pagination-enabled:first-child a {
	border-top-left-radius:.25rem;
	border-bottom-left-radius:.25rem
}
.pagination .pagination-enabled:last-child a {
	border-top-right-radius:.25rem;
	border-bottom-right-radius:.25rem
}
.pagination .pagination-enabled a:hover {
	background-color: var(--bg-1);
	z-index: 999;
}
.pagination-disabled a {
	color: var(--dim);
}
.pagination-disabled a:hover {
	color: var(--dim);
}
.pagination-active a {
	color: var(--fg-0);
	background-color: var(--bg-1);
}