last tweaks for real this time

This commit is contained in:
mehbark 2023-07-12 08:10:48 -04:00
parent 05a35d1018
commit 41b3127e17

View file

@ -60,7 +60,11 @@ const Defeated: Component = ({ last_health, max_health }) => (
eggbug is physically unharmed, emotionally destroyed <br />
... <br />
ok eggbug is fine now <br />
"re bug" to "killbug"
"re bug" to "killbug" <br />
submit runs to{" "}
<a href="https://cohost.org/rc/tagged/KILLing%20eggbug%20rapidly">
#KILLing eggbug rapidly
</a>
</div>
);
@ -72,8 +76,8 @@ const DamageNumber: Component = ({ n }) => (
// or preact!
// anything with *actual typing*
style={styles({
top: `calc(${100 * Math.random()}px + 25%)`,
left: `calc(${100 * Math.random()}px + 35%)`,
top: `calc(${100 * Math.random()}px + 15%)`,
left: `calc(${100 * Math.random()}px + 25%)`,
// tried some exponential stuff but it was too unwieldy
// i think this still accomplishes that punch
"font-size": `calc(${n / 200} * 2rem + 0.5rem)`,