play overlay
This commit is contained in:
parent
2a24beb579
commit
31749ee82b
3 changed files with 22 additions and 0 deletions
|
|
@ -104,11 +104,26 @@ main > .film {
|
|||
text-decoration: none;
|
||||
}
|
||||
figure {
|
||||
position: relative;
|
||||
img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
.overlay {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
img {
|
||||
width: 50%;
|
||||
margin: auto;
|
||||
padding-bottom: 64px;
|
||||
&:hover {
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 799px) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue