From 52d89186718dfb2f20139446dfa1e866af4b844a Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Wed, 16 Apr 2025 17:25:24 -0600 Subject: [PATCH] Adjusted text positioning on top of landing page --- static/css/main.css | 15 ++++++++++++--- themes/governance-ecologies/layouts/index.html | 4 ++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index b34d38a..b4b5abd 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -150,13 +150,16 @@ header { /* Hero Section */ .hero { - min-height: 80vh; + height: calc(100vh - 80px); /* Subtract approximate header height */ display: flex; flex-direction: column; - justify-content: center; + justify-content: flex-start; align-items: center; text-align: center; - padding: 4rem 0; + padding: 10vh 0 0 0; + margin: 0; + position: relative; + box-sizing: border-box; } .hero h1 { @@ -175,6 +178,12 @@ section { padding: 4rem 0; } +#about { + position: relative; + margin-top: 0; + padding-top: 2rem; +} + .section-heading { text-align: center; margin-bottom: 3rem; diff --git a/themes/governance-ecologies/layouts/index.html b/themes/governance-ecologies/layouts/index.html index 618998c..bd2f104 100644 --- a/themes/governance-ecologies/layouts/index.html +++ b/themes/governance-ecologies/layouts/index.html @@ -1,5 +1,5 @@ {{ define "main" }} -
+

{{ .Params.hero.heading }}

{{ .Params.hero.subheading }}

@@ -7,7 +7,7 @@ {{ .Params.hero.button_text }}
-
+