From 878fe09ce23cf75aa941318ffd9cbc6cb8a38c16 Mon Sep 17 00:00:00 2001 From: limepotato Date: Sat, 3 Aug 2024 01:03:12 -0600 Subject: [PATCH] some styling --- public/styles/css/classes.css | 27 ++++++++++++++++++++++----- public/styles/css/color-scheme.css | 2 ++ public/styles/css/main.css | 1 + src/pages/index.astro | 8 +++++--- 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/public/styles/css/classes.css b/public/styles/css/classes.css index bc9f837..837fd89 100644 --- a/public/styles/css/classes.css +++ b/public/styles/css/classes.css @@ -1,11 +1,28 @@ .content { - + width: 90%; + max-width: 75em; + margin: auto; + padding: 0.5em; + margin-top: 1em; + margin-bottom: 1em; + border: 3px solid var(--accent); + border-radius: 5px; + opacity: 0.9; + background: linear-gradient(to bottom right, var(--background-950), var(--background-900)); + -webkit-box-shadow: 0 0 20px var(--accent); + -moz-box-shadow: 0 0 20px var(--accent); + box-shadow: 0 0 20px var(--accent); } -.title { - +h1::before { + content: "> "; } -.subtitle { - +h1 { + font-size: 42px; + background-image: var(--accent-gradient); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-size: 400%; + background-position: 0%; } \ No newline at end of file diff --git a/public/styles/css/color-scheme.css b/public/styles/css/color-scheme.css index 29dcbcd..89ac31a 100644 --- a/public/styles/css/color-scheme.css +++ b/public/styles/css/color-scheme.css @@ -5,6 +5,8 @@ --secondary: #76552e; --accent: #ffa941; + --accent-gradient: linear-gradient(to bottom right, var(--accent), var(--accent-200) 30%, var(--text) 60%); + --text-50: #f6f3ee; --text-100: #ede6de; --text-200: #dbcebd; diff --git a/public/styles/css/main.css b/public/styles/css/main.css index b8dbd44..11484ec 100644 --- a/public/styles/css/main.css +++ b/public/styles/css/main.css @@ -1,4 +1,5 @@ @import "color-scheme.css"; +@import "classes.css"; @font-face { font-family: terminess-nf; diff --git a/src/pages/index.astro b/src/pages/index.astro index 0d14dc5..3ba6eb8 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -4,11 +4,13 @@ import Layout from "../layouts/Layout.astro";
- // Title Area +
-

nelle observer

+

nelle observer

-

words

+
+
+

hello, what brings you here?