From 7efed28ad5e66f2091972096446431d4e9d33fd5 Mon Sep 17 00:00:00 2001 From: Hoover Date: Tue, 29 Oct 2024 22:01:08 -0700 Subject: [PATCH] favicon change --- public/icon.webp | Bin 0 -> 100 bytes public/js/showContent.js | 4 ++-- src/layouts/Layout.astro | 2 +- src/pages/index.astro | 6 +----- 4 files changed, 4 insertions(+), 8 deletions(-) create mode 100644 public/icon.webp diff --git a/public/icon.webp b/public/icon.webp new file mode 100644 index 0000000000000000000000000000000000000000..b23f02ec7e3c6a15f02b2986696415fa116f91f2 GIT binary patch literal 100 zcmV-q0Gt0(Nk&Fo00012MM6+kP&iCb0000l4L}1BCm;|Y)MyhabXw|@e{s+0%3OMQ}o$VTFvwb@5WBO=6KAQ%|=7v-Q GSZe`rswN`< literal 0 HcmV?d00001 diff --git a/public/js/showContent.js b/public/js/showContent.js index ed7b1cd..640bae5 100644 --- a/public/js/showContent.js +++ b/public/js/showContent.js @@ -15,11 +15,11 @@ function showPopup(popupId) { const popupElement = document.getElementById(popupId); if (popupElement) { popupElement.classList.add("popup-show"); - backdrop.classList.add("popup-show"); // Add popup-show class to backdrop + backdrop.classList.add("popup-show"); } } function hideAllPopups() { document.querySelectorAll(".popup").forEach((popup) => popup.classList.remove("popup-show")); - backdrop.classList.remove("popup-show"); // Remove popup-show class from backdrop + backdrop.classList.remove("popup-show"); } diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ec30b7e..5677e27 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -13,7 +13,7 @@ import Footer from '../components/footer.astro'; - + diff --git a/src/pages/index.astro b/src/pages/index.astro index 538fb62..3ba0ce8 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,7 +1,6 @@ --- import Layout from '../layouts/Layout.astro'; import { Image } from 'astro:assets'; -import Card from '../components/Card.astro'; --- @@ -170,6 +169,7 @@ import Card from '../components/Card.astro'; width: 90%; height: 90%; } + #popup-backdrop { transform: translate(0%,0%); } @@ -307,10 +307,6 @@ import Card from '../components/Card.astro'; pointer-events: none; } - html.Yotsuba-B-UNUSED .gradient1 { - background: radial-gradient(circle, transparent 50%, var(--background-color-yotsuba-b)); - } - .fading-image { max-width: 100vw; width: 100vw;