From 64a7415779e045c2927792436f5ed1d9b21e48e9 Mon Sep 17 00:00:00 2001 From: "Z. Cliffe Schreuders" Date: Mon, 28 Apr 2025 23:52:56 +0100 Subject: [PATCH] Refactor font-family declarations in index.html: set 'VT323' for body and 'Press Start 2P' for headings to improve typography consistency. Also don't incl observations if undefined in the scenario. --- index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 3787ec8..74b1694 100644 --- a/index.html +++ b/index.html @@ -1121,7 +1121,10 @@ transform-origin: center; /* Set the origin for scaling */ } body { - font-family: 'Press Start 2P', 'VT323'; + font-family: 'VT323'; + } + h1, h2, h3, h4, h5, h6 { + font-family: 'Press Start 2P'; } /* Mobile device detection and responsive scaling */ @@ -3155,7 +3158,9 @@ } let message = `${data.name}\n\n`; - message += `Observations: ${data.observations}\n\n`; + if (data.observations) { + message += `Observations: ${data.observations}\n\n`; + } if (data.readable && data.text) { message += `Text: ${data.text}\n\n`;