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/app/public/style.css
2024-11-15 15:48:12 +01:00

70 lines
1.2 KiB
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;
}
#header {
font-family: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif;
color: white;
width: 100%;
display: flex;
}
#header h1 {
font-size: 18pt;
font-weight: bold;
margin: 4px;
}
#download-all {
margin: auto 4px auto auto;
}