From 1bfea694f69a3b4401e6754ea940f35ba9fcb72b Mon Sep 17 00:00:00 2001 From: Meleeman01 Date: Sat, 14 Dec 2024 21:45:58 -0600 Subject: [PATCH] added 'you' identifier, and added name change dialog. needs endpoints --- index.html | 92 +++++++++++++++++++++++++++++++++++++++++++++++++----- server.js | 30 +++++++++++++++--- 2 files changed, 109 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index c53f46b..c8f9ff9 100644 --- a/index.html +++ b/index.html @@ -9,13 +9,59 @@ text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 1px 1px 1px #000; color: white; } + .div-shadow { + box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; + } + + /* Dialog styling */ + dialog { + border: none; + border-radius: 8px; + padding: 20px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); + font-family: Arial, sans-serif; + max-width: 300px; + text-align: center; + } + + dialog::backdrop { + background-color: rgba(0, 0, 0, 0.5); + } + + dialog h2 { + margin-top: 0; + font-size: 18px; + } + + dialog label { + display: block; + margin-bottom: 8px; + font-size: 14px; + font-weight: bold; + } + .nameInput { + text-align: center; + } + + +

Change Your Name?

+ + +
+ + +
+
+ -
+ +
+
@@ -27,7 +73,6 @@ -