1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2025-01-01 13:41:58 +00:00
immich-public-proxy/public/style.css

48 lines
884 B
CSS
Raw Normal View History

2024-10-28 19:47:14 +00:00
html {
background: #191919;
}
#lightgallery a {
2024-10-29 09:49:54 +00:00
position: relative;
display: inline-block;
2024-10-28 19:47:14 +00:00
text-decoration: none;
margin: 0;
padding: 0;
2024-10-29 09:29:14 +00:00
cursor: pointer;
2024-10-28 19:47:14 +00:00
}
2024-10-29 18:49:21 +00:00
#lightgallery img {
max-height: 250px;
margin: 4px;
}
@media (max-width:800px) {
#lightgallery a {
width: calc(100vw / 3 - 10px);
height: calc(100vw / 3 - 10px);
overflow: hidden;
}
#lightgallery img {
width: 100%;
height: auto;
object-fit: cover;
object-position: center;
}
}
2024-10-29 09:29:14 +00: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 19:47:14 +00:00
}