tweak journal index link formatting

This commit is contained in:
gome 2023-07-31 12:45:16 -05:00
parent e45bb136fb
commit 74b9237af1
2 changed files with 2 additions and 5 deletions

View File

@ -45,7 +45,6 @@ fetch(`https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=${use
trackHTML += `<img width=34 height=34 src='${image}' onload='if (!this.src.endsWith("${disc.substring(1)}")) this.classList.add("loaded")' onerror='this.src = "${disc}"' />`;
let artist = track.artist['#text'];
const artist_link = artist_links[artist];
console.info({ artist, artist_link })
if (artist_link) {
artist = `<a href='${artist_link}'>${artist}</a>`;
}

View File

@ -85,10 +85,6 @@
</script>
<style>
/* TODO: put this in main style.css? */
main a {
text-decoration: none;
font-weight: bold;
}
h5 {
margin: 0 0 0.25em 0;
font-weight: normal;
@ -138,6 +134,8 @@
}
a[href^='../journal'] {
color: #333f7f;
text-decoration: none;
font-weight: bold;
}
a[href^='../journal']:hover, a[href^='../journal']:focus {
color: #60668a;