From 4d8b9d4ed978e2922199f4fb15f2cd025bea4566 Mon Sep 17 00:00:00 2001 From: Akemi Izuko Date: Mon, 1 Jan 2024 18:06:50 -0700 Subject: [PATCH] Home: make mobile responsive --- src/components/Footer.astro | 6 +++++ src/pages/index.astro | 48 ++++++++++++++++++++++++++++--------- 2 files changed, 43 insertions(+), 11 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 394e221..52d1b09 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -136,6 +136,12 @@ const today = new Date(); margin-top: 60px; font-size: 16px; } + @media not (min-width: 760px) { + footer { + margin-top: 0px; + } + } + .social-links { display: flex; justify-content: center; diff --git a/src/pages/index.astro b/src/pages/index.astro index 4daaa23..ccc52e0 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -36,6 +36,11 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';