From ab2a96ff04f58bb5604a61890e65befa949e8100 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sat, 13 Jul 2024 22:38:23 -0700 Subject: [PATCH] more css tweaks --- src/listing.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/listing.html b/src/listing.html index 27c20b6..e91cf9e 100644 --- a/src/listing.html +++ b/src/listing.html @@ -16,7 +16,8 @@ --item-link: initial; --link-hover-bg: #DDE; --sort: seagreen; - --search-bg: background-color: rgba(255, 255, 255, 0.9); + --search-bg: rgba(255, 255, 255, 0.9); + --thumbnail-bg: var(--odd-child); } @media (prefers-color-scheme: dark) { :root { @@ -162,6 +163,7 @@ margin-bottom: 0; outline: none; background-color: var(--search-bg); + border: 1px solid #ddd; } .image-grid { @@ -186,6 +188,7 @@ aspect-ratio: 1 / 1; background-size: cover; background-position: center center; + background-color: var(--thumbnail-bg); } .thumbnail:hover { border: 1px solid white;