From f77c890e8e471b8d9d5c758827546983b09b1e71 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Wed, 10 Dec 2025 19:00:47 -0800 Subject: [PATCH] fix: decrease global font size, handle small screens in footer --- src/index.ts | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 673e930..f9f4466 100644 --- a/src/index.ts +++ b/src/index.ts @@ -188,7 +188,7 @@ nhcarriganHeadersStyles.innerHTML = ` :root { --foreground: #8F2447; --background: #E1F6F9DC; - font-size: 20pt; + font-size: 12pt; } * { @@ -317,6 +317,18 @@ a { margin-bottom: 60px; } } + +@media screen and (max-width: 425px) { + #donate-badge { + display: none; + } +} + +@media screen and (max-width: 350px) { + footer, #show-socials-button, #theme-select-button, #show-socials-button > i, #theme-select-button > i { + font-size: 10pt; + } +} `; // #endregion @@ -326,14 +338,14 @@ a { const nhcarriganHeadersFooter = document.createElement("footer"); nhcarriganHeadersFooter.innerHTML = `