From 2e399a666162fa8d5409cfdb249045a35934f63f Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 26 Aug 2021 02:37:49 +0200 Subject: [PATCH] Fix link styling --- static/src/scss/style.scss | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 915e3b2..0080e8e 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -81,7 +81,12 @@ footer { a { color: $primary; + &:link { + text-decoration: none; + } + &:hover { + text-decoration: underline; transition: color 0.5s; color: $body-color; } @@ -93,12 +98,12 @@ a { color: $primary; } } -} -a.no-color-change { - &, &:hover { - text-decoration: none; - color: inherit; + &.no-color-change { + &, &:hover { + text-decoration: none; + color: inherit; + } } } @@ -119,12 +124,6 @@ p, li, h1, h2, h3, h4, h5, h6 { } } -h1, h2, h3, h4, h5, h6 { - .anchor { - font-weight: lighter; - } -} - ul ul, ol ol { padding-left: $spacer * 1.5; } @@ -177,3 +176,9 @@ table td { text-align: center; } } + +h1, h2, h3, h4, h5, h6 { + .anchor { + font-weight: lighter; + } +}