From a13eb8dbec8426c4f39dc03059e191ae5d61ff74 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Thu, 16 Apr 2026 14:54:08 -0700 Subject: [PATCH] feat: update treenation badge, add tree counter, adjust media queries --- src/index.ts | 48 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/src/index.ts b/src/index.ts index 2316326..f3336e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -699,20 +699,43 @@ pre { text-shadow: none; } -@media screen and (max-width: 625px) { - #tree-nation-offset-website { +@media screen and (max-width: 1000px) { + #tree-nation-tree-counter { display: none; } - footer, #footer-inner-container { - height: 50px; - justify-content: space-around; - } - main { - margin-bottom: 60px; - } } -@media screen and (max-width: 425px) { +@media screen and (max-width: 835px) { + #theme-select-button { + font-size: 10pt; + padding: 8px 16px; + } + #show-socials-button { + font-size: 10pt; + padding: 8px 16px; + } +} + +@media screen and (max-width: 768px) { + #tree-nation-offset-website { + display: none; + } +} + +@media screen and (max-width: 625px) { + footer, #footer-inner-container { + height: 75px; + justify-content: space-around; + } + main { + margin-bottom: 85px; + } + #footer-copyright { + font-size: 10pt; + } +} + +@media screen and (max-width: 560px) { #donate-badge { display: none; } @@ -732,6 +755,7 @@ pre { const nhcarriganHeadersFooter = document.createElement("footer"); nhcarriganHeadersFooter.innerHTML = `