css: pagination buttons

* does same job with less code
This commit is contained in:
Aditya Telange 2020-09-20 17:02:35 +05:30
parent 81b0b0c809
commit abea879e68
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
1 changed files with 2 additions and 8 deletions

View File

@ -32,17 +32,11 @@
line-height: 36px;
background: var(--primary);
border-radius: calc(36px / 2);
}
.pagination .prev {
padding-left: 16px;
padding-right: 18px;
padding: 0 16px;
}
.pagination .next {
margin-left: auto;
padding-left: 18px;
padding-right: 16px;
}
.toc {
@ -73,4 +67,4 @@
.toc li ul {
margin-left: var(--gap);
}
}