From a553fdd46aeca81e080b65945b72d56d22f65105 Mon Sep 17 00:00:00 2001 From: Jamon Date: Sat, 10 Aug 2024 19:32:10 +1200 Subject: [PATCH] Updating some styles --- static/js/game.js | 4 +--- static/styles.css | 16 ++++++---------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/static/js/game.js b/static/js/game.js index 7c46c13..c7bcda9 100644 --- a/static/js/game.js +++ b/static/js/game.js @@ -2001,9 +2001,7 @@ function updateAccountTab() { `; }); } else { - accountContent.innerHTML = ` -

Please sign in to view account settings.

- `; + displaySignInMessage(accountContent, 'account settings'); } } diff --git a/static/styles.css b/static/styles.css index eaf61cd..3a9dada 100644 --- a/static/styles.css +++ b/static/styles.css @@ -1410,18 +1410,14 @@ body { .sign-in-message, .no-achievements-message, .error-message { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - height: 100%; text-align: center; color: #00ffff; - font-family: 'Orbitron', sans-serif; - padding: 20px; - background-color: rgba(18, 4, 88, 0.6); - border-radius: 10px; - box-shadow: 0 0 10px #ff00ff, inset 0 0 5px #00ffff; + font-size: 16px; + margin-top: 20px; + padding: 10px; + background-color: rgba(0, 255, 255, 0.1); + border-radius: 5px; + box-shadow: 0 0 10px #00ffff; }