tweak journal index link formatting
This commit is contained in:
parent
e45bb136fb
commit
74b9237af1
|
@ -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>`;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue