From d35971887c93993f0b33678c4e8dfc7aeba45f12 Mon Sep 17 00:00:00 2001 From: santic-zombie Date: Wed, 1 Apr 2020 14:54:39 +0300 Subject: [PATCH] Some code improves, fixed bug with Tracknames without ID3 tags --- css/{style1.css => style.css} | 7 ++++++- index.html | 4 ++-- js/audio.js | 2 ++ js/radio.js | 33 ++++++++++++++++++--------------- js/radio.js.bak | 28 ---------------------------- 5 files changed, 28 insertions(+), 46 deletions(-) rename css/{style1.css => style.css} (91%) delete mode 100644 js/radio.js.bak diff --git a/css/style1.css b/css/style.css similarity index 91% rename from css/style1.css rename to css/style.css index 5dbd12b..2b3ace9 100644 --- a/css/style1.css +++ b/css/style.css @@ -1,9 +1,11 @@ body { background-color: rgb(62, 50, 64); +/* background-image: url("/pic/bg.jpg"); background-repeat: no-repeat; + background-attachment: fixed; background-position: center center; - background-size: cover; + background-size: cover; */ } .parent { @@ -11,12 +13,15 @@ body { height: 100%; position: fixed; top: 0; + background: url(/pic/bg.jpg) no-repeat center center / cover; left: 0; display: flex; align-items: center; align-content: center; justify-content: center; overflow: auto; + + } #song{ diff --git a/index.html b/index.html index ce5655e..17316ec 100755 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + My Test Radio