mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Optimize pagination style
This commit is contained in:
parent
241fe98070
commit
420095bb6f
@ -1,6 +1,6 @@
|
||||
$page-number-basic {
|
||||
display: inline-block;
|
||||
margin: 0 10px;
|
||||
margin: -1px 10px 0 10px;
|
||||
padding: 0 10px;
|
||||
|
||||
+mobile() {
|
||||
@ -27,11 +27,11 @@ $page-number-basic {
|
||||
|
||||
+mobile() {
|
||||
border-top: 0;
|
||||
margin-bottom: 10px;
|
||||
|
||||
.prev, .next, .page-number {
|
||||
border-bottom: 1px solid $pagination-link-border;
|
||||
border-top: 0;
|
||||
margin-bottom: 10px;
|
||||
|
||||
&:hover {
|
||||
border-bottom-color: $pagination-link-hover-border;
|
||||
|
||||
@ -74,11 +74,6 @@ $use-seo = hexo-config('seo');
|
||||
|
||||
// Pagination.
|
||||
.pagination {
|
||||
.prev, .next, .page-number {
|
||||
margin-bottom: initial;
|
||||
top: initial;
|
||||
}
|
||||
|
||||
background: var(--content-bg-color);
|
||||
border-radius: $border-radius;
|
||||
border-top: initial;
|
||||
|
||||
@ -36,7 +36,6 @@ hr {
|
||||
// Pagination
|
||||
// --------------------------------------------------
|
||||
.pagination {
|
||||
margin: 120px 0 0;
|
||||
text-align: left;
|
||||
|
||||
+mobile() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user