From 544f72efffd152576ac7317cc56b1ca5512fa28d Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Thu, 30 Jul 2020 05:28:16 +0800 Subject: [PATCH] Optimized font colors. --- assets/css/_addon/main.scss | 3 +-- assets/css/_colors/dark-typography.scss | 2 +- assets/css/_colors/light-typography.scss | 2 +- assets/css/post.scss | 4 ---- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/assets/css/_addon/main.scss b/assets/css/_addon/main.scss index 25c8da7..6ce089c 100644 --- a/assets/css/_addon/main.scss +++ b/assets/css/_addon/main.scss @@ -493,8 +493,7 @@ footer { } } a { - @include semi-bold; - color: var(---footer-link); + color: var(--footer-link); &:link { @include no-text-decoration; } diff --git a/assets/css/_colors/dark-typography.scss b/assets/css/_colors/dark-typography.scss index fbbaaa1..256ed29 100644 --- a/assets/css/_colors/dark-typography.scss +++ b/assets/css/_colors/dark-typography.scss @@ -84,7 +84,7 @@ --timeline-year-dot-color: var(--timeline-color); /* Footer */ - ---footer-link: rgb(146, 146, 146); + --footer-link: rgb(171 171 171); .post-content img { filter: brightness(90%); diff --git a/assets/css/_colors/light-typography.scss b/assets/css/_colors/light-typography.scss index bbd3f19..9d77763 100644 --- a/assets/css/_colors/light-typography.scss +++ b/assets/css/_colors/light-typography.scss @@ -120,5 +120,5 @@ --footnote-target-bg: lightcyan; - ---footer-link: inherit; + --footer-link: #424242; } diff --git a/assets/css/post.scss b/assets/css/post.scss index 44ff367..fe7770c 100644 --- a/assets/css/post.scss +++ b/assets/css/post.scss @@ -27,10 +27,6 @@ $prompt-newer: "{{ site.data.label.post.button.next }}"; border-color: var(--btn-border-color); } -.author { - @include semi-bold; -} - .post { img { max-width: 100%;