mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
css: pagination buttons
* does same job with less code
This commit is contained in:
parent
81b0b0c809
commit
abea879e68
@ -32,17 +32,11 @@
|
|||||||
line-height: 36px;
|
line-height: 36px;
|
||||||
background: var(--primary);
|
background: var(--primary);
|
||||||
border-radius: calc(36px / 2);
|
border-radius: calc(36px / 2);
|
||||||
}
|
padding: 0 16px;
|
||||||
|
|
||||||
.pagination .prev {
|
|
||||||
padding-left: 16px;
|
|
||||||
padding-right: 18px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination .next {
|
.pagination .next {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
padding-left: 18px;
|
|
||||||
padding-right: 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc {
|
.toc {
|
||||||
@ -73,4 +67,4 @@
|
|||||||
|
|
||||||
.toc li ul {
|
.toc li ul {
|
||||||
margin-left: var(--gap);
|
margin-left: var(--gap);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user