diff --git a/index.html b/index.html index 21f86a1..286bd60 100644 --- a/index.html +++ b/index.html @@ -67,7 +67,7 @@
how to say
- + nɪs, nɪsə -
prons
it or they
quantity
2 @@ -93,13 +90,7 @@ window.addEventListener('DOMContentLoaded', () => { let link = document.getElementById('soundlink'); let miku = document.getElementById('miku'); if (typeof miku.play == 'function') { - function playMiku(e) { - miku.play(); - e.preventDefault(); - } - - link.href = '#'; - link.addEventListener('click', playMiku); + link.addEventListener('click', e => { miku.play(); e.preventDefault(); }); } }); diff --git a/media/niss-nisse.mp3 b/media/niss-nisse.mp3 index 192d588..efdc2de 100644 --- a/media/niss-nisse.mp3 +++ b/media/niss-nisse.mp3 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b68c2b121dbea39dcf4a80946f338241d9d306ee77574a8fad61f47d1493f43f -size 27890 +oid sha256:fa00e1fe02a08cb0e2f7f54ed1f0ab2d1b82c1845157bc8eab86d27518a2f871 +size 27706 diff --git a/media/niss-nisse.ogg b/media/niss-nisse.ogg index 203496c..71c7a7d 100644 --- a/media/niss-nisse.ogg +++ b/media/niss-nisse.ogg @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:96b80fce404bfbdb2e2143ea5041c600a853f15dcd60d64cec2fc1553890ef12 -size 29252 +oid sha256:2d4db21fbdb68b5b95872ad486ab57cf0803c8419265eb36612a801b39eed33b +size 26995 diff --git a/style.css b/style.css index 8c2714a..8239be1 100644 --- a/style.css +++ b/style.css @@ -140,13 +140,13 @@ dd { } } -a[href] { +a { color: hsl(196deg, 100%, 85%); font-weight: 800; text-decoration: none; transition: color 0.2s ease-in-out; } -a[href]:where(:hover,:focus) { +a:hover { color: hsl(50deg, 100%, 82%); }