1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-01-05 03:15:07 +01:00

fix featured style

This commit is contained in:
Matthias Kretschmann 2018-09-25 22:49:07 +02:00
parent 088089e684
commit 77afcb72b1
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -15,7 +15,7 @@
.featuredTitle { .featuredTitle {
transition: .1s ease-out; transition: .1s ease-out;
font-size: $font-size-small; font-size: $font-size-base;
margin: 0; margin: 0;
position: absolute; position: absolute;
top: 25%; top: 25%;
@ -35,14 +35,21 @@
position: relative; position: relative;
margin-bottom: 3%; margin-bottom: 3%;
a:hover { a {
> div { > div {
border-color: $link-color !important; @include media-frame();
} }
.featuredTitle { &:hover,
opacity: 1; &:focus {
transform: translate3d(0, 0, 0); > div {
border-color: $link-color !important;
}
.featuredTitle {
opacity: 1;
transform: translate3d(0, 0, 0);
}
} }
} }
} }