added background to gallery items when highlighted

This commit is contained in:
2026-02-11 11:59:54 +01:00
parent 72a0c37011
commit c484f556a6

View File

@@ -90,7 +90,7 @@
border-color: transparent;
border-width: 2px;
border-left: none;
transition: border-color 0.1s ease-out, padding-right 0.1s ease-out;
transition: border-color 0.1s ease-out, padding-right 0.1s ease-out, background-color 0.1s ease-out;
}
.gallery-title, .gallery-subtitle {
@@ -110,6 +110,7 @@
.gallery-container:hover .gallery-text-container {
border-color: var(--color-highlight);
background-color: var(--color-background-highlight);
}
.gallery-container:hover .gallery-img, .gallery-container:hover .gallery-img-placeholder {
/* filter: grayscale(0%); */