From 7f9cb1b35ad39c6b7a63af48de54eba2c0f97e34 Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Sun, 17 Jan 2021 20:35:49 -0800 Subject: [PATCH] Fix post score and thumbnail backgrounds --- static/style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index 0e1b91c..6f038a3 100644 --- a/static/style.css +++ b/static/style.css @@ -456,7 +456,6 @@ a.search_subreddit:hover { background: var(--foreground); } - .post_score { padding-top: 20px; color: var(--accent); @@ -464,11 +463,11 @@ a.search_subreddit:hover { text-align: center; background: var(--foreground); border-radius: 5px 0 0 5px; - background: var(--highlighted); + transition: 0.2s background; } .post:hover > .post_score { - transition: 0.2s background; + background: var(--highlighted); } .post_score .label { @@ -573,7 +572,7 @@ a.search_subreddit:hover { border: 1px solid var(--foreground); display: grid; overflow: hidden; - background-color: black; + background-color: var(--background); grid-area: post_thumbnail; margin: 5px; }