From a0d76366a6e77a9779968cdbc25e97f7fe14a7cd Mon Sep 17 00:00:00 2001 From: Spencer Jones Date: Tue, 20 Aug 2024 22:18:04 -0700 Subject: [PATCH] Rearrange content and remove about page --- src/components/Footer.astro | 3 +-- src/components/Header.astro | 37 ------------------------------------- src/layouts/BlogPost.astro | 4 ++-- src/pages/about.astro | 23 ----------------------- src/pages/blog/index.astro | 6 +++--- src/pages/index.astro | 29 ++++++++++++++++++++++++++--- src/styles/global.css | 9 ++++----- 7 files changed, 36 insertions(+), 75 deletions(-) delete mode 100644 src/pages/about.astro diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 8c838dc..f6b2f87 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -53,7 +53,6 @@ const today = new Date(); diff --git a/src/components/Header.astro b/src/components/Header.astro index e4293e2..baeec14 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -8,51 +8,14 @@ import { SITE_TITLE } from "../consts";

{SITE_TITLE}

- diff --git a/src/styles/global.css b/src/styles/global.css index fe9ecf0..bc31f87 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -11,8 +11,7 @@ --gray: 96, 115, 159; --gray-light: 229, 233, 240; --gray-dark: 34, 41, 57; - --gray-gradient: rgba(var(--gray-light), 50%), #fff; - --box-shadow: 0 2px 6px rgba(var(--gray), 25%), 0 8px 24px rgba(var(--gray), 33%), + --box-shadow: 0 2px 6px rgba(var(--gray-dark), 25%), 0 8px 24px rgba(var(--gray-dark), 33%), 0 16px 32px rgba(var(--gray), 33%); } @font-face { @@ -34,11 +33,11 @@ body { margin: 0; padding: 0; text-align: left; - background: linear-gradient(var(--gray-gradient)) no-repeat; + background: rgb(var(--gray-dark)); background-size: 100% 600px; word-wrap: break-word; overflow-wrap: break-word; - color: rgb(var(--gray-dark)); + color: rgb(var(--gray-light)); font-size: 20px; line-height: 1.7; } @@ -55,7 +54,7 @@ h4, h5, h6 { margin: 0 0 0.5rem 0; - color: rgb(var(--black)); + color: white; line-height: 1.2; } h1 {