Cosmetic updates to now playing display.
This commit is contained in:
@@ -31,15 +31,28 @@
|
|||||||
<link rel="stylesheet" href="assets/css/main.css" />
|
<link rel="stylesheet" href="assets/css/main.css" />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.player-wrapper {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 400px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
#now-playing img {
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.player-wrapper audio {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
#now-playing {
|
#now-playing {
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
font-size: .7em;
|
font-size: .9em;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background-color: #46494A;
|
background-color: rgb(70, 73, 74, 0.6);
|
||||||
color: #97C9D3;
|
color: #97C9D3;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
display: inline-block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -64,10 +77,11 @@
|
|||||||
<!-- <span class="image right"><img src="images/omorains-icon.jpg" alt="" /></span></p> -->
|
<!-- <span class="image right"><img src="images/omorains-icon.jpg" alt="" /></span></p> -->
|
||||||
<!-- <span class="image right"><img src="images/bisexual-icon.jpg" alt="" /></span></p> -->
|
<!-- <span class="image right"><img src="images/bisexual-icon.jpg" alt="" /></span></p> -->
|
||||||
|
|
||||||
<div id="now-playing">Loading current song...</div>
|
<div class="player-wrapper">
|
||||||
<br>
|
<div id="now-playing">Loading current song...</div>
|
||||||
|
<br>
|
||||||
<audio controls src="https://radio.cyberpunklibrarian.nohost.me/rfe"></audio>
|
<audio controls src="https://radio.cyberpunklibrarian.nohost.me/rfe"></audio>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function fetchNowPlaying() {
|
function fetchNowPlaying() {
|
||||||
|
|||||||
Reference in New Issue
Block a user