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 }}
-
+