From 39602ab740a8fd822954468ff96421c7f1035876 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Wed, 17 May 2023 09:34:04 -0400 Subject: [PATCH] Less padding --- src/pages/404.astro | 6 ++-- src/styles/Portfolio.module.css | 56 ++++++++++++++++----------------- src/styles/index.css | 2 +- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/pages/404.astro b/src/pages/404.astro index 712fed4..f6b9521 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -7,9 +7,9 @@ import Layout from "../layouts/Layout.astro"

Page not found.

- We couldn't find that page. Please{" "} - go back, or return - to our home page. + We couldn't find that page. Please return to our + home page + .
diff --git a/src/styles/Portfolio.module.css b/src/styles/Portfolio.module.css index 4a074d6..f15147a 100644 --- a/src/styles/Portfolio.module.css +++ b/src/styles/Portfolio.module.css @@ -1,45 +1,45 @@ .portfolioItems { - display: flex; - gap: 30px; - flex-wrap: wrap; - justify-content: center; - padding: 30px; + display: flex; + gap: 30px; + flex-wrap: wrap; + justify-content: center; + padding: 30px; } .portfolioItems a { - color: var(--text-primary); + color: var(--text-primary); } .portfolioItems a:not(:hover) { - text-decoration: none; + text-decoration: none; } .portfolioItems img { - border-radius: 1rem; - background: #f5f5f5; - box-shadow: 0.5em 0.5em 3em 0.7em rgba(0, 0, 0, 0.25), - -0.5em -0.5em 3em 0.7em rgba(0, 0, 0, 0.22); - height: 13em; - width: 13em; + border-radius: 1rem; + background: #f5f5f5; + box-shadow: 0.5em 0.5em 3em 0.7em rgba(0, 0, 0, 0.25), + -0.5em -0.5em 3em 0.7em rgba(0, 0, 0, 0.22); + height: 13em; + width: 13em; } .portfolioItems div { - background: rgba(0, 0, 0, 0.3); - border-bottom-left-radius: 1rem; - border-bottom-right-radius: 1rem; - bottom: 0; - color: #f5f5f5; - font-size: 1em; - left: 0%; - padding: 0.1em; - position: absolute; - text-align: center; - width: 100%; + background: rgba(0, 0, 0, 0.3); + border-bottom-left-radius: 1rem; + border-bottom-right-radius: 1rem; + bottom: 0; + color: #f5f5f5; + font-size: 1em; + left: 0%; + padding: 0.1em; + position: absolute; + text-align: center; + width: 100%; } .projectName { - display: flex; - justify-content: center; - margin: 0; - padding: 5px; + display: flex; + justify-content: center; + margin: 0; + padding: 5px; } diff --git a/src/styles/index.css b/src/styles/index.css index bb509f1..d8defbb 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -42,7 +42,7 @@ svg { section:not(section section) { background: var(--secondary); - padding: 10rem 0; + padding: 3rem 0; } section:nth-child(2n):not(section section) {