From a58e31e9fce4a64baae5aca70160e4944ec5903d Mon Sep 17 00:00:00 2001 From: Ryan Hamilton Date: Wed, 23 Jul 2025 20:50:18 +0000 Subject: [PATCH] Refactor HTML styles in CSS; consolidate styles for html and body elements to improve maintainability --- public/style.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/public/style.css b/public/style.css index 3e5bf92..fc35e0f 100644 --- a/public/style.css +++ b/public/style.css @@ -1,11 +1,16 @@ +html { + margin: 0; + padding: 0; + min-height: 100%; + box-sizing: border-box; + font-family: Arial, sans-serif; + text-align: center; + background: linear-gradient(135deg, #1f1f22 0%, #232a33 100%); + color: #e0e0e0; +} body { - font-family: Arial, sans-serif; - text-align: center; margin: 0; padding: 0; - min-height: 100vh; - background: linear-gradient(135deg, #1f1f22 0%, #232a33 100%); - color: #e0e0e0; } h1 {