add to footer and move footer css to proper place

This commit is contained in:
2026-01-08 16:20:24 -08:00
parent 702b248663
commit 6f0ca3c92c
3 changed files with 24 additions and 21 deletions

View File

@ -130,5 +130,8 @@ window.addEventListener("click", (event) => {
/* footer */ /* footer */
let footerHTML = "<p>brought to you in 2026</p>"; let footerHTML = `
<p>brought to you in 2026 by
<a href="https://leecat.art">lee</a>
</p>`;
document.getElementById("footer").innerHTML = footerHTML; document.getElementById("footer").innerHTML = footerHTML;

View File

@ -159,23 +159,3 @@ header img {
margin-bottom: 3rem; margin-bottom: 3rem;
font-style: italic; font-style: italic;
} }
footer {
color: var(--color-bg);
background-color: var(--color-text);
padding: 1rem;
}
footer p {
text-align: center;
margin: 0;
}
footer a {
color: var(--color-bg);
text-decoration-color: var(--color-bg);
}
footer a:focus-visible {
outline-color: var(--color-bg);
}

View File

@ -97,3 +97,23 @@ nav ul a {
display: inline-block; display: inline-block;
background-color: var(--color-bg); background-color: var(--color-bg);
} }
footer {
color: var(--color-bg);
background-color: var(--color-text);
padding: 1rem;
}
footer p {
text-align: center;
margin: 0;
}
footer a {
color: var(--color-bg);
text-decoration-color: var(--color-bg);
}
footer a:focus-visible {
outline-color: var(--color-bg);
}