1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2024-12-29 12:21:57 +00:00
immich-public-proxy/public/style.css
2024-11-01 12:18:13 +01:00

51 lines
917 B
CSS

html {
background: #191919;
}
#lightgallery a {
position: relative;
display: inline-block;
text-decoration: none;
margin: 0;
padding: 0;
cursor: pointer;
}
#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: 100%;
object-fit: cover;
object-position: center;
}
}
.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;
}
#password {
color: white;
}