From 16e9f31e5499dc23e2a6785f42c56969f17db93f Mon Sep 17 00:00:00 2001 From: II-Paulus-II Date: Sat, 2 Mar 2024 11:59:24 +0000 Subject: [PATCH] added styling to header and footer --- src/App.css | 22 +++++++++++++++++----- src/components/Content.jsx | 1 + src/components/Footer.jsx | 6 +++--- src/components/Header.jsx | 6 +++--- src/styles/content.css | 5 +++++ src/styles/footer.css | 16 ++++++++++++++++ src/styles/header.css | 36 ++++++++++++++++++++++++++++++++++++ 7 files changed, 81 insertions(+), 11 deletions(-) create mode 100644 src/styles/content.css create mode 100644 src/styles/footer.css create mode 100644 src/styles/header.css diff --git a/src/App.css b/src/App.css index 902778b..19d450e 100644 --- a/src/App.css +++ b/src/App.css @@ -1,6 +1,18 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; +* { + margin: 0; + box-sizing: border-box; + font-family: monospace; +} + +html { + scroll-behavior: smooth; +} + +body { + height: 100vh; +} + +#root { + color: green; + height: 100%; } diff --git a/src/components/Content.jsx b/src/components/Content.jsx index dc0a52c..718aa00 100644 --- a/src/components/Content.jsx +++ b/src/components/Content.jsx @@ -1,6 +1,7 @@ /* ----- Project Imports ----- */ import Details from "@/components/Details.jsx"; import Projects from "@/components/Projects.jsx" +import "@/styles/content.css"; function Content() { return ( diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index 3443d77..b69c0b0 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -1,11 +1,11 @@ /* ----- Project Imports ----- */ - +import "@/styles/footer.css" function Footer() { return ( -