Keep blog teaser heights even: put author/date behind any pics
This commit is contained in:
parent
953d9df627
commit
806e6a1fb1
1 changed files with 20 additions and 0 deletions
|
@ -52,3 +52,23 @@ a.teaser {
|
|||
.media-list .media + .media {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue