From be34d865ed3efb5eb0fb6dfd24ccde8cff74c98b Mon Sep 17 00:00:00 2001 From: Villain1nGlasses <85969638+Villain1nGlasses@users.noreply.github.com> Date: Wed, 9 Mar 2022 21:28:14 -0700 Subject: [PATCH] In-line dice roll colors defined Needed to fix a dark mode issue. --- HeroSystem6eHeroic/HeroSystem6eHeroic.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/HeroSystem6eHeroic/HeroSystem6eHeroic.css b/HeroSystem6eHeroic/HeroSystem6eHeroic.css index 11581f4d8e..02634c7fd1 100644 --- a/HeroSystem6eHeroic/HeroSystem6eHeroic.css +++ b/HeroSystem6eHeroic/HeroSystem6eHeroic.css @@ -4404,3 +4404,18 @@ select:focus + .focus { padding-right: 10px; text-align: left; } + +// Dice roll face colors. Needed to prevent problems with dark mode. + +.sheet-rolltemplate-custom .inlinerollresult, +.sheet-rolltemplate-custom-normal-attack .inlinerollresult, +.sheet-rolltemplate-custom-power-attack .inlinerollresult, +.sheet-rolltemplate-custom-attack .inlinerollresult, +.sheet-rolltemplate-custom-activate .inlinerollresult, +.sheet-rolltemplate-custom-show .inlinerollresult { + display: inline-block; + min-width: 1.5em; + text-align: center; + border: 2px solid palegoldenrod; + background: #fff990; +}