1
0
mirror of https://github.com/ipdb/website.git synced 2025-02-09 02:44:21 +01:00

nicer interaction for blog article

This commit is contained in:
Matthias Kretschmann 2017-08-30 13:11:56 +02:00
parent d52da50e03
commit 732db7004a
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -179,6 +179,7 @@
.article {
margin-bottom: 6%;
transition: .15s ease-out;
@media ($screen-md) {
flex: 0 0 47%;
@ -186,6 +187,8 @@
&:hover,
&:focus {
transform: translateY(-1px);
.article__title {
color: $link-color;
}
@ -194,6 +197,11 @@
background-color: $link-color;
}
}
&:active {
transition: none;
transform: translateY(0);
}
}
.article__image {
@ -208,7 +216,7 @@
}
.article__title {
font-size: $font-size-small;
font-size: $font-size-base;
color: $text-color;
margin: 0;
align-self: flex-end;