jobh
This commit is contained in:
parent
b62b809f7a
commit
beac29a7d4
2 changed files with 16 additions and 2 deletions
16
index.html
16
index.html
|
@ -68,9 +68,11 @@
|
|||
|
||||
.navbar {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
list-style: none;
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.navbar li {
|
||||
|
@ -151,6 +153,18 @@
|
|||
#gear-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Responsive Navbar for small screens */
|
||||
@media (max-width: 600px) {
|
||||
.navbar {
|
||||
flex-wrap: wrap; /* Enable wrapping */
|
||||
justify-content: center; /* Center items */
|
||||
}
|
||||
|
||||
.navbar li {
|
||||
margin-bottom: 10px; /* Add spacing between items when wrapped */
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -243,7 +257,7 @@
|
|||
}
|
||||
|
||||
fetchLastPlayedSong();
|
||||
setInterval(fetchLastPlayedSong, 3000);
|
||||
setInterval(fetchLastPlayedSong, 100);
|
||||
|
||||
function openSettingsModal() {
|
||||
document.getElementById('settings-modal').style.display = 'block';
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
<script>
|
||||
const username = localStorage.getItem('lastfmUsername') || 'eduardprigoana';
|
||||
const url = `https://lastfm-last-played.biancarosa.com.br/${username}/latest-song`;
|
||||
const url = `https://lastplayed.prigoana.com/eduardprigoana/latest-song`;
|
||||
const backgroundElement = document.getElementById('background');
|
||||
const trackTitleElement = document.getElementById('track-title');
|
||||
const trackArtistElement = document.getElementById('track-artist');
|
||||
|
|
Loading…
Add table
Reference in a new issue