From 77afcb72b1ddb65be2ac2f2792a95249fab60108 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 25 Sep 2018 22:49:07 +0200 Subject: [PATCH] fix featured style --- src/components/molecules/Featured.module.scss | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/components/molecules/Featured.module.scss b/src/components/molecules/Featured.module.scss index b77ffea1..d77e4241 100644 --- a/src/components/molecules/Featured.module.scss +++ b/src/components/molecules/Featured.module.scss @@ -15,7 +15,7 @@ .featuredTitle { transition: .1s ease-out; - font-size: $font-size-small; + font-size: $font-size-base; margin: 0; position: absolute; top: 25%; @@ -35,14 +35,21 @@ position: relative; margin-bottom: 3%; - a:hover { + a { > div { - border-color: $link-color !important; + @include media-frame(); } - .featuredTitle { - opacity: 1; - transform: translate3d(0, 0, 0); + &:hover, + &:focus { + > div { + border-color: $link-color !important; + } + + .featuredTitle { + opacity: 1; + transform: translate3d(0, 0, 0); + } } } }