From 67990587b951129a086b25dbdefbbcd4270ceaaf Mon Sep 17 00:00:00 2001 From: SquareScreamYT Date: Tue, 23 Jul 2024 16:21:29 +0800 Subject: [PATCH] styles --- kotobalibre/style.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/kotobalibre/style.css b/kotobalibre/style.css index 862c863..c068dd1 100644 --- a/kotobalibre/style.css +++ b/kotobalibre/style.css @@ -299,7 +299,7 @@ img { top: 0; width: 100%; height: 100%; - background-color: rgba(0,0,0,0.5); /* Semi-transparent background */ + background-color: rgba(0,0,0,0.3); } .alert-content { @@ -307,10 +307,10 @@ img { top: 50%; left: 50%; transform: translate(-50%, -50%); - background-color: #f1f1f1; + background-color: var(--bg-color); padding: 20px; border-radius: 5px; - box-shadow: 0 2px 10px rgba(0,0,0,0.2); + box-shadow: 0; text-align: center; max-width: 80%; width: 300px; @@ -327,8 +327,8 @@ img { } #closeAlert { - background-color: #4CAF50; - color: white; + background-color: var(--bg-color-darker); + color: var(--text-color); border: none; padding: 8px 16px; text-align: center; @@ -338,4 +338,8 @@ img { margin: 4px 2px; cursor: pointer; border-radius: 3px; + transition: background-color 0.3s ease; } +#closeAlert:hover { + background-color: var(--bg-color-darkest); +} \ No newline at end of file