From 73dd1d6ba0be6a117a53825d860b9dcfcbc255a2 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 17 Aug 2022 13:48:33 +0100 Subject: [PATCH] Only apply `a` colour changes to the footer These looked weird on regular links and buttons --- static/src/scss/_footer.scss | 4 ++++ static/src/scss/base.scss | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/static/src/scss/_footer.scss b/static/src/scss/_footer.scss index ef9cc37..39290d2 100644 --- a/static/src/scss/_footer.scss +++ b/static/src/scss/_footer.scss @@ -5,5 +5,9 @@ footer.footer { @include dark-mode { background-color: $dark; color: $grey-light; + + a:hover { + color: $grey-lighter; + } } } diff --git a/static/src/scss/base.scss b/static/src/scss/base.scss index 2341372..de610fe 100644 --- a/static/src/scss/base.scss +++ b/static/src/scss/base.scss @@ -30,10 +30,4 @@ main { a { transition: color 0.25s, background-color 0.25s; - - @include dark-mode { - &:not(.button):hover { - color: $grey-lighter; - } - } }