diff --git a/assets/scss/common/_dark.scss b/assets/scss/common/_dark.scss index 6a0c0cd..9aeadc3 100644 --- a/assets/scss/common/_dark.scss +++ b/assets/scss/common/_dark.scss @@ -480,3 +480,36 @@ $navbar-dark-active-color: $link-color-dark; [data-dark-mode] body .email-form .form-control:focus { border: 1px solid $link-color-dark; } + +[data-dark-mode] .page-link { + color: $link-color-dark; + background-color: transparent; + border: $pagination-border-width solid $border-dark; + + &:hover { + color: $body-bg-dark; + background-color: $body-color-dark; + border-color: $body-color-dark; + } + + &:focus { + color: $body-bg-dark; + background-color: $body-color-dark; + } +} + +[data-dark-mode] .page-item { + &.active .page-link { + color: $body-bg-dark; + + @include gradient-bg($link-color-dark); + + border-color: $link-color-dark; + } + + &.disabled .page-link { + color: $pagination-disabled-color; + background-color: $body-overlay-dark; + border-color: $border-dark; + } +} diff --git a/assets/scss/layouts/_pages.scss b/assets/scss/layouts/_pages.scss index 8938dbc..2810268 100644 --- a/assets/scss/layouts/_pages.scss +++ b/assets/scss/layouts/_pages.scss @@ -43,3 +43,7 @@ p.meta { margin-top: 2.25rem; font-size: $font-size-base; } + +.page-link:hover { + text-decoration: none; +} diff --git a/layouts/blog/list.html b/layouts/blog/list.html index a268ca5..9695387 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -5,7 +5,8 @@