added image gallery component; moved blurred background to separate CSS class
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
</div>
|
||||
|
||||
{#snippet galleryEntry({entry}: {entry: GalleryEntry})}
|
||||
<a class="gallery-container" href="{entry.link}">
|
||||
<a class="gallery-container blurred-background-hover" href="{entry.link}">
|
||||
{#if entry.img && entry.img !== ""}
|
||||
<img class="gallery-img" src="{entry.img}" alt="{entry.imgAlt}">
|
||||
{:else}
|
||||
@@ -111,7 +111,6 @@
|
||||
.gallery-container:hover {
|
||||
border-color: var(--color-highlight);
|
||||
background-color: var(--color-background-highlight);
|
||||
backdrop-filter: blur(var(--blur-radius-background));
|
||||
}
|
||||
.gallery-container:hover p {
|
||||
color: var(--color-highlight);
|
||||
|
||||
Reference in New Issue
Block a user