From 62cad7b2ad2a3c935d567243d545673c1d559c80 Mon Sep 17 00:00:00 2001 From: Luis Pereira Date: Wed, 5 Nov 2025 10:44:24 +0000 Subject: [PATCH] fix: move duplicated stream information to live stream panel --- static/asteroid.css | 16 +++++++++++++--- static/asteroid.lass | 8 +++++++- template/front-page-content.ctml | 13 +++---------- template/front-page.ctml | 30 ++++++++++++------------------ template/player.ctml | 2 +- 5 files changed, 36 insertions(+), 33 deletions(-) diff --git a/static/asteroid.css b/static/asteroid.css index 88de3b8..a914007 100644 --- a/static/asteroid.css +++ b/static/asteroid.css @@ -16,6 +16,10 @@ body .container{ margin: 0 auto; } +body strong{ + letter-spacing: 0.08rem; +} + body h1{ color: #4488ff; text-align: center; @@ -180,11 +184,17 @@ body .player-section .live-stream{ +body .live-stream p, +body .live-stream label{ + font-size: 1.5rem; +} +body .live-stream code{ + font-size: 1rem; +} -body .live-stream .live-stream-quality label, -body .live-stream .live-stream-quality select{ - margin: 10px 0; +body .live-stream .live-stream-quality{ + display: flex; } body .live-stream .live-stream-quality label{ diff --git a/static/asteroid.lass b/static/asteroid.lass index 81e6a07..8afab3b 100644 --- a/static/asteroid.lass +++ b/static/asteroid.lass @@ -18,6 +18,8 @@ :max-width "1200px" :margin "0 auto") + (strong :letter-spacing "0.08rem") + (h1 :color "#4488ff" :text-align center @@ -153,9 +155,13 @@ :overflow auto) ) (.live-stream + ((:or p label) :font-size "1.5rem") + + (code :font-size "1rem") + (.live-stream-quality - ((:or label select) :margin "10px 0") + :display "flex" (label :margin-right "10px") diff --git a/template/front-page-content.ctml b/template/front-page-content.ctml index 4c5d574..8018f0f 100644 --- a/template/front-page-content.ctml +++ b/template/front-page-content.ctml @@ -25,20 +25,13 @@
-
-

Station Status

-

🟢 LIVE - Broadcasting asteroid music for hackers

-

Current listeners: 0

-

Stream quality: AAC 96kbps Stereo

-
-

🟢 LIVE STREAM

-

The live stream player is now in the persistent bar at the bottom of the page.

Stream URL:

-

Format:

-

Status: ● BROADCASTING

+

Stream Quality:

+

BROADCASTING: Asteroid music for Hackers on The Station at the End of Time.

+

The live stream player is now in the persistent bar at the bottom of the page.

diff --git a/template/front-page.ctml b/template/front-page.ctml index 7dfd2cf..7a3f0c8 100644 --- a/template/front-page.ctml +++ b/template/front-page.ctml @@ -25,24 +25,9 @@
-
-

Station Status

-

🟢 LIVE - Broadcasting asteroid music for hackers

-

Current listeners: 0

-

Stream quality: AAC 96kbps Stereo

-
-
-
+

🟢 LIVE STREAM

-
- - -
@@ -57,8 +42,17 @@

Stream URL:

-

Format:

-

Status: ● BROADCASTING

+

Stream Quality:

+

BROADCASTING: Asteroid music for Hackers on The Station at the End of Time.

+ +
+ + +
-