From e77b255a0ceda1dd1cf43364a025465e7a852f0a Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Wed, 4 Jun 2025 09:02:11 -0400 Subject: feat: banner combined with top to bottom fade from white --- static/styles.css | 18 +++++------------- templates/index.html.j2 | 5 +---- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/static/styles.css b/static/styles.css index c001fd2..5fcdfe9 100644 --- a/static/styles.css +++ b/static/styles.css @@ -96,20 +96,12 @@ section { section.banner { text-align: center; - padding-left: 0em; - padding-right: 0em; + justify-content: center; + align-items: center; + gap: 1em; + padding-bottom: 1em; margin-bottom: 0; - background: linear-gradient(to right, - rgba(255, 255, 255, 0) 0%, - rgba(255, 255, 255, 1) 75%); -} - -section.banner * { - background: white; - padding-top: 1em; - margin-top: 0; - margin-left: 0; - margin-right: 0; + background: linear-gradient(white 90%, rgba(255, 255, 255, 0)); } .button img { diff --git a/templates/index.html.j2 b/templates/index.html.j2 index 4704e49..2fa471c 100644 --- a/templates/index.html.j2 +++ b/templates/index.html.j2 @@ -2,13 +2,10 @@ {% block main %} -