From 0a48ec44fab12081a8d8a48aa2aa011239dea80c Mon Sep 17 00:00:00 2001 From: Kraynic <48894209+Kraynic@users.noreply.github.com> Date: Wed, 28 Apr 2021 18:45:03 -0600 Subject: [PATCH 1/2] Update hu2.html Changed the implementation of a roll button for IQ stat checks submitted by elirjo so that it wouldn't be displacing stat input fields. Created stat check roll buttons for the other 7 stats. --- Heroes-Unlimited-2E/hu2.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Heroes-Unlimited-2E/hu2.html b/Heroes-Unlimited-2E/hu2.html index 9365a474d1..078b9b2bd9 100644 --- a/Heroes-Unlimited-2E/hu2.html +++ b/Heroes-Unlimited-2E/hu2.html @@ -67,57 +67,56 @@

Stat

Now/Past

-

I.Q.

- +
-

M.E.

+
-

M.A.

+
-

P.S.

+
-

P.P.

+
-

P.E.

+
-

P.B.

+
-

Spd.

+
From 934268f9442c36302bd065f1e5b12b32edcb54a4 Mon Sep 17 00:00:00 2001 From: Kraynic <48894209+Kraynic@users.noreply.github.com> Date: Wed, 28 Apr 2021 18:46:18 -0600 Subject: [PATCH 2/2] Update hu2.css Updated the css to style the new stat check roll buttons. --- Heroes-Unlimited-2E/hu2.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Heroes-Unlimited-2E/hu2.css b/Heroes-Unlimited-2E/hu2.css index 81240c8718..993dfd05a1 100644 --- a/Heroes-Unlimited-2E/hu2.css +++ b/Heroes-Unlimited-2E/hu2.css @@ -300,6 +300,13 @@ input.sheet-arrow:checked ~ .sheet-body { border-radius:10px; grid-template-columns: 65px 65px } +button[type=roll].sheet-statdice::before { + content: ""; +} +.sheet-statdice{ + color:#fef5c9; + background: #9e6666; +} .sheet-calc-grid-container{ display:grid; align-items:center;