1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2025-01-03 23:36:46 +01:00
immich-public-proxy/public/style.css

34 lines
676 B
CSS
Raw Normal View History

2024-10-28 20:47:14 +01:00
html {
background: #191919;
}
2024-10-29 10:29:14 +01:00
#lightgallery img {
height: 250px;
margin: 4px;
}
2024-10-28 20:47:14 +01:00
#lightgallery a {
2024-10-29 10:29:14 +01:00
position: relative; /* Establishes a positioning context */
display: inline-block; /* Allows the container to wrap around the image */
2024-10-28 20:47:14 +01:00
text-decoration: none;
margin: 0;
padding: 0;
2024-10-29 10:29:14 +01:00
cursor: pointer;
2024-10-28 20:47:14 +01:00
}
2024-10-29 10:29:14 +01:00
.play-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50px;
height: 50px;
background-image: url('/images/play.png');
background-size: contain;
background-repeat: no-repeat;
opacity: 0.5;
}
#lightgallery a:has(.play-icon):hover .play-icon {
opacity: 1;
2024-10-28 20:47:14 +01:00
}