Compare commits
5 Commits
110bc4eb28
...
0a1f6f2ef1
Author | SHA1 | Date |
---|---|---|
Bauke | 0a1f6f2ef1 | |
Bauke | abc9e983dd | |
Bauke | ed739a3421 | |
Bauke | b4c1daeea9 | |
Bauke | cd88730d1c |
Binary file not shown.
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 6.0 KiB |
|
@ -5,7 +5,13 @@ window.addEventListener('DOMContentLoaded', async () => {
|
|||
return;
|
||||
}
|
||||
|
||||
const image = await getCoverArt(listen);
|
||||
let image;
|
||||
try {
|
||||
image = await getCoverArt(listen);
|
||||
} catch (error) {
|
||||
console.warn(error);
|
||||
}
|
||||
|
||||
insertHtml(listen, image);
|
||||
};
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
@include mixins.patterned-shadow(0.5rem);
|
||||
|
||||
align-items: center;
|
||||
background-color: var(--background-1);
|
||||
background-color: var(--background-2);
|
||||
border: 2px solid var(--foreground-1);
|
||||
display: grid;
|
||||
grid-template-columns: min-content auto;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
a {
|
||||
@include mixins.patterned-shadow(0.5rem);
|
||||
|
||||
background-color: var(--background-1);
|
||||
background-color: var(--background-2);
|
||||
border: 2px solid var(--foreground-1);
|
||||
padding: 1rem;
|
||||
position: relative;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
padding: 0;
|
||||
|
||||
.style {
|
||||
background-color: var(--background-2);
|
||||
border: 2px solid var(--foreground-1);
|
||||
padding: 1rem;
|
||||
|
||||
|
@ -28,7 +29,7 @@
|
|||
&:hover {
|
||||
background-color: var(--foreground-1);
|
||||
border-color: var(--foreground-1);
|
||||
color: var(--background-1);
|
||||
color: var(--background-2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,8 +5,9 @@ html {
|
|||
}
|
||||
|
||||
body {
|
||||
--background-1: #000;
|
||||
--foreground-1: #fff;
|
||||
--background-1: #52d168;
|
||||
--background-2: #60f079;
|
||||
--foreground-1: #1d2623;
|
||||
|
||||
background-color: var(--background-1);
|
||||
color: var(--foreground-1);
|
||||
|
@ -22,7 +23,7 @@ a {
|
|||
|
||||
&:hover {
|
||||
background-color: var(--foreground-1);
|
||||
color: var(--background-1);
|
||||
color: var(--background-2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
@baukexyz:matrix.org
|
||||
</a>
|
||||
|
||||
<a target="_blank" href="https://github.com/Bauke" title="GitHub"
|
||||
data-label="github">
|
||||
Bauke
|
||||
<a target="_blank" href="https://github.com/Bauke" title="GitHub Profile"
|
||||
data-label="bauke">
|
||||
GitHub
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue