add images covers

This commit is contained in:
isUnknown 2024-09-05 12:37:46 +02:00
parent 06a2e81c66
commit 972faa7e32
2 changed files with 20 additions and 1 deletions

View file

@ -172,3 +172,17 @@
.shift-small {
margin-left: var(--shift-small);
}
.image-wrapper {
position: relative;
}
.image-wrapper .image-cover {
position: absolute;
z-index: 2;
opacity: 1;
transition: opacity 0.2s ease-in-out;
}
.event-card:hover .image-cover {
opacity: 0;
}