From 72cb16d40a8bdc90e3997cc81d6fdb5c1aac2b62 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 26 Jul 2021 12:52:19 +0200 Subject: [PATCH] fix: better sup link style --- src/scss/_typography.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/scss/_typography.scss b/src/scss/_typography.scss index 427cdb7..bca7dfa 100644 --- a/src/scss/_typography.scss +++ b/src/scss/_typography.scss @@ -179,6 +179,16 @@ h1, h2, h3, h4, h5, h6, h7 { } } +sup, sub { + & > a { + color: $color-link; + background-color:transparent; + &:hover, &:focus, &:active { + color: darken($color-link, 10%); + } + } +} + h1 { //@include title(3.33em, 1.2em, 0.0em, 0.2em, 200); @include newTitle($titlefont, 3.815, $fontweight_big);