style
This commit is contained in:
parent
656f869f58
commit
f2a5c0cddf
|
@ -4,6 +4,8 @@ body {
|
|||
margin: 0;
|
||||
padding: 8px;
|
||||
box-sizing: border-box;
|
||||
background-color: #212121;
|
||||
color: #E4E4E4;
|
||||
}
|
||||
|
||||
img {
|
||||
|
@ -50,4 +52,5 @@ main {
|
|||
|
||||
#albumCover {
|
||||
padding-right: 1em;
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ function track_recv(data) {
|
|||
document.querySelector('#nowPlayingArtist').innerText = data['albumartist'];
|
||||
document.querySelector('#nowPlayingAlbum').innerText = data['album'];
|
||||
document.querySelector('#nowPlayingTitle').innerText = data['title'];
|
||||
document.title = 'Musik | ' + data['artist'] + ' - ' + data['title'];
|
||||
document.title = 'Scorch | ' + data['artist'] + ' - ' + data['title'];
|
||||
let player = document.querySelector('#player');
|
||||
player.firstElementChild.src = data['url'];
|
||||
player.load();
|
||||
|
|
Loading…
Reference in New Issue
Block a user