From 58f865af494279d91775c1c7cf45ba7077b25fe7 Mon Sep 17 00:00:00 2001 From: SparK-Cruz Date: Mon, 1 Apr 2024 20:19:16 -0300 Subject: [PATCH] Improve text readability and fix fade-out --- index.html | 79 +++++++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 36 deletions(-) diff --git a/index.html b/index.html index 3f88295..12de60d 100644 --- a/index.html +++ b/index.html @@ -16,6 +16,10 @@ /* Initially hide the message text */ opacity: 0; transition: opacity 0.5s ease-in-out; /* Add smooth transition */ + text-shadow: 1.5px 0 2px #000, 0 -1.5px 2px #000, 0 1.5px 2px #000, -1.5px 0 2px #000; /* Readability shadow */ + } + #message.show { + opacity: 1; } #alert-image { display: none; @@ -35,15 +39,18 @@