From f86d11c3ce1f04ee89da235d78447aed6d6d7130 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Mon, 5 May 2025 22:56:56 -0500 Subject: albums page and a bunch of stuff --- src/style.css | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to 'src/style.css') diff --git a/src/style.css b/src/style.css index 98d3fda..607e6ec 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,9 @@ +:root { + --immich-dark-primary: rgb(172 203 250); +} + +.font-bold { font-weight: 700 } + body { background: black; color: white; @@ -21,6 +27,7 @@ svg { height: 100%; } +/* slideshow */ #slideshow-carousel { height: 100% } @@ -77,6 +84,44 @@ svg { } } +/* albums */ +#albums { + width: 100%; + height: 100%; + overflow: scroll; +} +#albums-container { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); + gap: 2.5rem; + margin: auto; + padding: 2rem; + + .album-thumb { + width: 100%; + aspect-ratio: 1/1; + object-fit: cover; + border-radius: 1rem; + margin-bottom: 1rem; + } + +} + +@media (max-width: 512px) { + #albums-container { + grid-template-columns: 1fr 1fr; + gap: 1.5rem; + .album-info { font-size-adjust: .4; } + } +} + +@media (max-width: 768px) { + .carousel-cell { + width: 70vw; + margin: 12px; + } +} + footer { width: 100%; } @@ -95,6 +140,13 @@ footer { text-decoration: none; width: 100%; gap: 1rem; + + &:hover { + color: var(--immich-dark-primary); + + svg{ fill: var(--immich-dark-primary) } + } + svg { height: 24px; width: 24px } span { font-size: .875rem; -- cgit v1.2.3