minor adjustments

This commit is contained in:
Wirlaburla 2024-01-22 12:02:34 -06:00
parent cad4630147
commit 53d37d6c37
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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: 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); }