diff options
author | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-05-22 11:32:16 +0300 |
---|---|---|
committer | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-05-22 11:32:16 +0300 |
commit | 2b79c232b18ebccbc8cb3b31ebe82a63fa2a277a (patch) | |
tree | 74ca1de08b3c42ed26fa75caf66ffab8e6a07d73 /assets | |
parent | 7d60bf264f100d603b022a36bab882f5daf104a4 (diff) |
Fix hyperlink color in dark mode.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/scss/dark-mode.scss | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/assets/scss/dark-mode.scss b/assets/scss/dark-mode.scss index 634bd0b..a4ca98c 100644 --- a/assets/scss/dark-mode.scss +++ b/assets/scss/dark-mode.scss @@ -36,18 +36,6 @@ body.night { } } - a { - color: $light-accent; - &:hover { - color: $deep-light-accent !important; - } - @media screen and (max-width: $single-column-max-width) { - &:hover { - text-decoration: none !important; - } - } - } - table * { color: $dark-mode-text; } @@ -227,7 +215,18 @@ body.night { .post-body p,h1,h2,h3,h4,h5,h6,li { color: $dark-mode-text; - *{ + a { + color: $light-accent; + &:hover { + color: $deep-light-accent !important; + } + @media screen and (max-width: $single-column-max-width) { + &:hover { + text-decoration: none !important; + } + } + } + * { color: $dark-mode-text; } } |