Fix post score and thumbnail backgrounds

This commit is contained in:
spikecodes 2021-01-17 20:35:49 -08:00
parent c030771d36
commit 7f9cb1b35a

View File

@ -456,7 +456,6 @@ a.search_subreddit:hover {
background: var(--foreground); background: var(--foreground);
} }
.post_score { .post_score {
padding-top: 20px; padding-top: 20px;
color: var(--accent); color: var(--accent);
@ -464,11 +463,11 @@ a.search_subreddit:hover {
text-align: center; text-align: center;
background: var(--foreground); background: var(--foreground);
border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px;
background: var(--highlighted); transition: 0.2s background;
} }
.post:hover > .post_score { .post:hover > .post_score {
transition: 0.2s background; background: var(--highlighted);
} }
.post_score .label { .post_score .label {
@ -573,7 +572,7 @@ a.search_subreddit:hover {
border: 1px solid var(--foreground); border: 1px solid var(--foreground);
display: grid; display: grid;
overflow: hidden; overflow: hidden;
background-color: black; background-color: var(--background);
grid-area: post_thumbnail; grid-area: post_thumbnail;
margin: 5px; margin: 5px;
} }