From fa1de1c874262fab126cc69ce57dd927a6ee5380 Mon Sep 17 00:00:00 2001 From: glenneth Date: Mon, 6 Oct 2025 09:49:36 +0300 Subject: [PATCH] Update profile page to match site-wide layout and styling - Remove narrow profile-container (600px) in favor of standard container (1200px) - Replace profile-card divs with admin-section to match admin page styling - Add consistent h1 header matching other pages - Remove unused profile-container and profile-card CSS classes - Keep profile-specific utility styles (profile-info, artist-stats, etc.) --- static/asteroid.css | 20 -------------------- static/asteroid.lass | 16 ---------------- template/profile.chtml | 37 ++++++++++++++++++------------------- 3 files changed, 18 insertions(+), 55 deletions(-) diff --git a/static/asteroid.css b/static/asteroid.css index 0ab6541..566e0db 100644 --- a/static/asteroid.css +++ b/static/asteroid.css @@ -639,26 +639,6 @@ body .auth-link a:hover{ text-decoration: underline; } -body .profile-container{ - max-width: 600px; - margin: 2rem auto; - padding: 0 1rem; -} - -body .profile-card{ - background-color: #1a2332; - border: 1px solid #2a3441; - border-radius: 8px; - padding: 2rem; - margin-bottom: 2rem; -} - -body .profile-card h2{ - color: #00ffff; - margin-bottom: 1.5rem; - text-align: center; -} - body .profile-info{ margin-bottom: 2rem; } diff --git a/static/asteroid.lass b/static/asteroid.lass index 2ebb4a5..ec77ece 100644 --- a/static/asteroid.lass +++ b/static/asteroid.lass @@ -501,22 +501,6 @@ ((:and a :hover) :text-decoration underline)) ;; Profile Styles - (.profile-container - :max-width 600px - :margin "2rem auto" - :padding 0 1rem) - - (.profile-card - :background-color "#1a2332" - :border "1px solid #2a3441" - :border-radius 8px - :padding 2rem - :margin-bottom 2rem - - (h2 :color "#00ffff" - :margin-bottom 1.5rem - :text-align center)) - (.profile-info :margin-bottom 2rem) diff --git a/template/profile.chtml b/template/profile.chtml index d1225fb..2f12567 100644 --- a/template/profile.chtml +++ b/template/profile.chtml @@ -9,15 +9,15 @@
-
- +

👤 USER PROFILE

+ - -
+ +

🎧 User Profile

@@ -39,8 +39,8 @@
- -
+ +

📊 Listening Statistics

@@ -62,8 +62,8 @@
- -
+ +

🎵 Recently Played

@@ -102,8 +102,8 @@
- -
+ +

🎤 Top Artists

@@ -129,8 +129,8 @@
- -
+ +

📈 Listening Activity

Activity over the last 30 days

@@ -148,8 +148,8 @@
- -
+ +

⚙️ Profile Settings

@@ -157,7 +157,6 @@
-