From 2af03c6676e50bc691c57c45a522aed1b2b484f7 Mon Sep 17 00:00:00 2001 From: ari melody Date: Wed, 20 Mar 2024 04:21:01 +0000 Subject: [PATCH] made 'overview' button light up when no other menu is selected (music gateway) Signed-off-by: ari melody --- .gitignore | 2 ++ main.go | 6 +++--- public/style/music-gateway.css | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 79b5594..8bcdbd2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ **/.DS_Store +**/*.ps1 +**/*.sh diff --git a/main.go b/main.go index f9bcbec..f61983a 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ import ( "github.com/gomarkdown/markdown/parser" ) -const PORT int = 8081 +const PORT int = 8080 var mime_types = map[string]string{ "css": "text/css; charset=utf-8", @@ -196,7 +196,7 @@ func main() { push_to_db_this_is_a_testing_thing_and_will_be_superfluous_later() http.HandleFunc("/", web_handler) - log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", PORT), nil)) - fmt.Printf("server now live at http://127.0.0.1:%d\n", PORT) + fmt.Printf("now serving at http://127.0.0.1:%d\n", PORT) + log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", PORT), nil)) } diff --git a/public/style/music-gateway.css b/public/style/music-gateway.css index 706e7d0..9fce23c 100644 --- a/public/style/music-gateway.css +++ b/public/style/music-gateway.css @@ -491,7 +491,7 @@ footer a:hover { } @media only screen and (min-width: 1105px) { - div#music-container:has(:not(> div#info #credits:target):not(> div#info #credits:target)) { + div#music-container:not(:has(> div#info #credits:target)):not(:has(> div#info #lyrics:target)) { div#extras ul li:first-of-type a { color: #eee; }