2020-08-07 13:40:11 +02:00
|
|
|
.container {
|
|
|
|
width: 20em;
|
|
|
|
height: 10em;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
margin: .5em;
|
|
|
|
border-radius: .1em;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
user-select: none;
|
|
|
|
|
2020-12-22 15:37:25 +01:00
|
|
|
position: relative;
|
|
|
|
|
2020-08-07 13:40:11 +02:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.playButton {
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
|
|
|
|
width: 68px;
|
|
|
|
height: 48px;
|
|
|
|
|
|
|
|
margin-left: -34px;
|
|
|
|
margin-top: -24px;
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
2021-03-23 16:09:43 +01:00
|
|
|
fill: #212121;
|
|
|
|
fill-opacity: .8;
|
2020-08-07 13:40:11 +02:00
|
|
|
|
2021-03-23 16:09:43 +01:00
|
|
|
transition: fill .1s cubic-bezier(0.0,0.0,0.2,1),fill-opacity .1s cubic-bezier(0.0,0.0,0.2,1);
|
2020-08-07 13:40:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2021-03-23 16:09:43 +01:00
|
|
|
svg {
|
2020-08-07 13:40:11 +02:00
|
|
|
fill: #f00;
|
|
|
|
fill-opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|