diff --git a/source/css/_common/scaffolding/pagination.styl b/source/css/_common/scaffolding/pagination.styl index c8302b2..1b73a04 100644 --- a/source/css/_common/scaffolding/pagination.styl +++ b/source/css/_common/scaffolding/pagination.styl @@ -1,9 +1,7 @@ $page-number-basic { display: inline-block; margin: 0 10px; - padding: 0 11px; - position: relative; - top: -1px; + padding: 0 10px; +mobile() { margin: 0 5px; @@ -27,42 +25,29 @@ $page-number-basic { } } + +mobile() { + border-top: 0; + + .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; + } + } + } + .space { @extend $page-number-basic; margin: 0; padding: 0; } - .prev { - margin-left: 0; - } - - .next { - margin-right: 0; - } - .page-number.current { background: $pagination-active-bg; border-top-color: $pagination-active-border; color: $pagination-active-color; } } - -+mobile() { - .pagination { - border-top: none; - } - - .pagination { - .prev, .next, .page-number { - border-bottom: 1px solid $pagination-link-border; - border-top: 0; - margin-bottom: 10px; - padding: 0 10px; - - &:hover { - border-bottom-color: $pagination-link-hover-border; - } - } - } -} diff --git a/source/css/_schemes/Mist/_posts-expand.styl b/source/css/_schemes/Mist/_posts-expand.styl index 5a3f592..21c2ced 100644 --- a/source/css/_schemes/Mist/_posts-expand.styl +++ b/source/css/_schemes/Mist/_posts-expand.styl @@ -27,10 +27,6 @@ text-align: center; } - .post-body img { - margin-left: 0; - } - .post-tags { text-align: left; diff --git a/source/css/_schemes/Pisces/_layout.styl b/source/css/_schemes/Pisces/_layout.styl index 519262c..73d4da7 100644 --- a/source/css/_schemes/Pisces/_layout.styl +++ b/source/css/_schemes/Pisces/_layout.styl @@ -75,11 +75,11 @@ if (hexo-config('sidebar.position') == 'right') { } .footer-inner { - padding-right: 260px; + padding-right: $sidebar-desktop + $sidebar-offset; } } else { .footer-inner { - padding-left: 260px; + padding-left: $sidebar-desktop + $sidebar-offset; } .back-to-top {