<div></div>
<footer>
- <a id="github" href="https://github.com/ardislu/utf-8-visualizer">
+ <a class="icon-link" href="https://github.com/ardislu/utf-8-visualizer">
<svg aria-labelledby="github" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<title id="github">GitHub repository</title>
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"></path>
text-decoration: inherit;
}
-a#github {
+a.icon-link {
line-height: 0;
background: hsl(222deg 50% 30%);
color: hsl(222deg 50% 95%);
transition: filter 800ms;
}
-a#github:hover,
-a#github:focus-within {
+a.icon-link:hover,
+a.icon-link:focus-within {
filter: brightness(120%) drop-shadow(0 0 4px hsl(222deg 50% 50%));
transition: filter 400ms;
}
-a#github>svg {
+a.icon-link>svg {
inline-size: 24px;
block-size: 24px;
transition: transform 600ms;
}
-:is(a#github:hover, a#github:focus-within)>svg {
+:is(a.icon-link:hover, a.icon-link:focus-within)>svg {
transform: translateY(-2px);
transition: transform 200ms;
}