From e8718208bd21d850d40ef2036ed96005aa5c7046 Mon Sep 17 00:00:00 2001 From: b Date: Tue, 19 Jan 2021 15:46:25 -0600 Subject: [PATCH 1/3] Highlight readd, apparently this got lost somewhere --- styles.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/styles.css b/styles.css index bc607f1..27c526f 100644 --- a/styles.css +++ b/styles.css @@ -270,7 +270,6 @@ button:hover { background-color: #556; } - button:active { background-color: #558; box-shadow: 0 3px #666; @@ -326,6 +325,9 @@ button.toggleOn{ background-color:#0a0; border: 3 px solid rgb(0, 70, 0); } +button.toggleOn:hover { + background-color: #575; +} .funnynumber { background-image: linear-gradient(to left, #f5f, #a0a, #5ff, #5f5, #ff5, #fa0, #a00); -webkit-background-clip: text; @@ -387,4 +389,9 @@ button.toggleOn{ 100% { opacity: 1; } -} \ No newline at end of file +} + +.highlight { + color: #ff0; + background: #775; +} From 2f56415ac03f4e20b4746c827b25a16ed8112a0c Mon Sep 17 00:00:00 2001 From: Restia Ashdoll Date: Tue, 19 Jan 2021 18:29:58 -0700 Subject: [PATCH 2/3] minor equipment input changes --- index.html | 40 +++++++++++++++++++--------------------- wide.css | 6 +++++- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/index.html b/index.html index 1a165e2..0c0a066 100644 --- a/index.html +++ b/index.html @@ -24,15 +24,13 @@
-
- +
+
- + @@ -46,12 +44,12 @@

@@ -146,7 +144,7 @@
- - - - +
+

- +
@@ -67,12 +65,12 @@

- - +
+

- +
@@ -88,12 +86,12 @@

- - +
+

- +
@@ -109,12 +107,12 @@

- - +
+

- +
@@ -132,13 +130,13 @@

- - +
+


- +

- +

diff --git a/wide.css b/wide.css index 9741efb..c38ccb1 100644 --- a/wide.css +++ b/wide.css @@ -43,7 +43,11 @@ } .iteminput { - width: 15vw; + width: 11vw; +} + +.powderinput { + width: 4vw; } .skpInput, .idInput { From 605f35c5bd4d7b391c5fe18cbcda46bddc7df3cf Mon Sep 17 00:00:00 2001 From: b Date: Tue, 19 Jan 2021 23:35:25 -0600 Subject: [PATCH 3/3] Fix UI on mobile, and powder specials --- builder.js | 2 +- index.html | 56 +++++++++++++++++++++++++++--------------------------- narrow.css | 8 ++++---- styles.css | 8 -------- 4 files changed, 33 insertions(+), 41 deletions(-) diff --git a/builder.js b/builder.js index 5fc0370..0be9ece 100644 --- a/builder.js +++ b/builder.js @@ -637,7 +637,7 @@ function updateBoosts(buttonId, recalcStats) { } elem.classList.add("toggleOn"); } - updatePowderSpecials("skip"); //jank pt 1 + updatePowderSpecials("skip", false); //jank pt 1 } else { for (const [key, value] of damageMultipliers) { let elem = document.getElementById(key + "-boost") diff --git a/index.html b/index.html index 1a165e2..c9738ed 100644 --- a/index.html +++ b/index.html @@ -27,13 +27,13 @@
- - - @@ -302,27 +302,27 @@

- - - - - @@ -336,27 +336,27 @@

- - - - - @@ -370,27 +370,27 @@

- - - - - @@ -404,27 +404,27 @@

- - - - - @@ -438,27 +438,27 @@

- - - - - diff --git a/narrow.css b/narrow.css index 0fc69c1..6cc7a34 100644 --- a/narrow.css +++ b/narrow.css @@ -49,11 +49,11 @@ .title{ text-align: center; - font-size: 190%; + font-size: 150%; } .smalltitle{ text-align: center; - font-size: 155%; + font-size: 125%; margin-top: 10px; margin-bottom: 4px; } @@ -67,7 +67,7 @@ text-decoration: none; font-family: 'Nunito',sans-serif; font-weight: 700; - font-size: 113%; + font-size: 100%; display: inline-block; } button { @@ -79,6 +79,6 @@ button { text-decoration: none; font-family: 'Nunito',sans-serif; font-weight: 700; - font-size: 150%; + font-size: 125%; display: inline-block; } diff --git a/styles.css b/styles.css index 27c526f..6a9cfd5 100644 --- a/styles.css +++ b/styles.css @@ -70,14 +70,6 @@ div { a.link{ color: #A5FDFF; } -.title{ - text-align: center; - font-size: 150%; -} -.smalltitle{ - text-align: center; - font-size: 125%; -} .center { text-align: center; position: relative;

+ + +