Reduce the brightness in dark mode.

affect:
- images
- site title text
This commit is contained in:
Cotes Chung 2020-04-13 04:18:36 +08:00
parent ae2b464492
commit 648b199be8
3 changed files with 7 additions and 1 deletions

View file

@ -37,6 +37,7 @@
--label-color: rgb(108, 117, 125); --label-color: rgb(108, 117, 125);
/* Sidebar */ /* Sidebar */
--site-title-color: rgba(255, 255, 255, 0.5);
--nav-cursor-color: rgb(183, 182, 182); --nav-cursor-color: rgb(183, 182, 182);
--sidebar-bg: radial-gradient(circle, #242424 0%, #1d1f27 100%); --sidebar-bg: radial-gradient(circle, #242424 0%, #1d1f27 100%);
@ -85,6 +86,9 @@
/* Footer */ /* Footer */
---footer-link: rgb(146, 146, 146); ---footer-link: rgb(146, 146, 146);
img {
filter: brightness(90%);
}
hr { hr {
border-color: var(--main-border-color); border-color: var(--main-border-color);

View file

@ -44,6 +44,8 @@
/* Sidebar */ /* Sidebar */
--site-title-color: #b6b6b6;
--sidebar-bg: radial-gradient( --sidebar-bg: radial-gradient(
circle, rgba(42, 30, 107, 1) 0%, rgba(35, 37, 46, 1) 100%); circle, rgba(42, 30, 107, 1) 0%, rgba(35, 37, 46, 1) 100%);

View file

@ -253,7 +253,7 @@ $tab-count: {{ site.data.tabs | size }};
#site-title { #site-title {
text-align: center; text-align: center;
a { a {
color: #b6b6b6; color: var(--site-title-color);
font-weight: 900; font-weight: 900;
font-size: 1.5rem; font-size: 1.5rem;
letter-spacing: .5px; letter-spacing: .5px;