Keep blog teaser heights even: put author/date behind any pics

This commit is contained in:
benjamin melançon 2018-12-13 11:25:15 -05:00
parent 953d9df627
commit 806e6a1fb1

View file

@ -52,3 +52,23 @@ a.teaser {
.media-list .media + .media { .media-list .media + .media {
margin-bottom: $gap; margin-bottom: $gap;
} }
.media-list .teaser {
.media-left {
height: 7rem;
overflow: hidden;
img + .byline {
display: none;
}
}
&:hover {
.media-left {
img {
display: none;
}
.byline {
display: block;
}
}
}
}