From 53d37d6c37e5f49889b61f1dcd47b4d4c29326eb Mon Sep 17 00:00:00 2001 From: Wirlaburla Date: Mon, 22 Jan 2024 12:02:34 -0600 Subject: [PATCH] minor adjustments --- core/css/theme.css | 1 + core/style.css | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/css/theme.css b/core/css/theme.css index 08a112f..578d537 100755 --- a/core/css/theme.css +++ b/core/css/theme.css @@ -96,6 +96,7 @@ --spoiler-border: 1px inset #1c1c1c; --poll-bar-color: #808080; + --poll-bar-text: var(--main-text); --poll-first-bar: #FFD900; --poll-second-bar: #FFB120; --poll-third-bar: #E0D0A0; diff --git a/core/style.css b/core/style.css index 0dfdf39..71d8a44 100644 --- a/core/style.css +++ b/core/style.css @@ -1272,8 +1272,9 @@ body.forum.thread table.poll-display tr th, body.forum.thread table.poll-display tr td { padding: 2px; } body.forum.thread table.poll-display tr td.bar { - background: linear-gradient(0deg, var(--poll-bar-color) 0%, #FFFFFF 75%, var(--poll-bar-color) 100%); - background-size: var(--poll-bar-width) 100%; + background: linear-gradient(0deg, var(--poll-bar-color) 0%, var(--direct) 75%, var(--poll-bar-color) 100%); + background-size: var(--poll-bar-width) 100%; + color: var(--poll-bar-text); background-repeat: no-repeat; } body.forum.thread table.poll-display tr td.bar.p1st { --poll-bar-color: var(--poll-first-bar); }