1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Dark mode color optimization.

This commit is contained in:
Cotes Chung
2020-01-06 23:50:16 +08:00
parent ff9663f376
commit 8fcf1e35fc
4 changed files with 18 additions and 18 deletions

View File

@@ -55,7 +55,7 @@
}
.page-item .page-link {
color: #555555;
color: var(--text-color, #555555);
width: 2.5rem;
height: 2.5rem;
padding: 0;
@@ -73,7 +73,8 @@
}
.page-item.active .page-link {
background-color: #2a408e;
background-color: var(--btn-active-bg, #2a408e);
border-color: var(--btn-active-border-color, #007bff);
box-shadow: 0 0 8px 0 var(--main-wrapper-bg, #4b92d2) !important;
color: var(--text-color, #f8f8f8);
}
@@ -131,11 +132,4 @@
#post-list {
padding-right: 0;
}
}
@media (prefers-color-scheme: dark) {
.page-item.active .page-link {
background-color: #203a96;
border-color: #0252a9;
}
}