From 4a76b2211966e32c40d1b91daf9be4fd8d5aaf8b Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Sat, 31 May 2025 17:39:34 -0700 Subject: [PATCH] feat: replace audio button with donate badge --- src/index.ts | 46 +++++----------------------------------------- 1 file changed, 5 insertions(+), 41 deletions(-) diff --git a/src/index.ts b/src/index.ts index 08c59da..7a876e7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -152,7 +152,7 @@ main { width: 95%; max-width: 1080px; margin: auto; - margin-bottom: 105px; + margin-bottom: 85px; padding: 10px; } footer { @@ -161,7 +161,7 @@ footer { background-color: var(--background); position: fixed; bottom: 0; - height: 95px; + height: 75px; padding: 0 10px; } #footer-inner-container { @@ -194,36 +194,10 @@ a { --foreground: #ffb6c1; --background: #2a0a18bb; } -@media screen and (prefers-reduced-motion) { - #footer-badge-container { - display: none; - } - footer, #footer-inner-container { - height: 75px; - justify-content: space-around; - } - main { - margin-bottom: 85px; - } -} -@media screen and (max-width: 1225px) { - #footer-badge-container { - grid-template-columns: repeat(4, 1fr); - } - footer { - height: 120px; - } - main { - margin-bottom: 130px; - } -} @media screen and (max-width: 625px) { #tree-nation-offset-website { display: none; } - #footer-badge-container { - display: none; - } footer, #footer-inner-container { height: 50px; justify-content: space-around; @@ -240,16 +214,6 @@ a { const footer = document.createElement("footer"); footer.innerHTML = ` - `;