From e5031d0eddb9eca794cbca518b7e89fb4b463c01 Mon Sep 17 00:00:00 2001 From: Thomas Smith <49042513+tsmitty11@users.noreply.github.com> Date: Thu, 15 Sep 2022 12:23:35 -0400 Subject: [PATCH] Scroll effects for hero section --- src/layouts/index.html | 41 ++++++++++++++++++++++++---- src/layouts/partials/detail-btn.html | 2 +- src/static/css/style.css | 8 ++++-- 3 files changed, 42 insertions(+), 9 deletions(-) diff --git a/src/layouts/index.html b/src/layouts/index.html index baf6329..c7dcc68 100644 --- a/src/layouts/index.html +++ b/src/layouts/index.html @@ -11,7 +11,7 @@ width:300px; right: 225px; top:300px; - z-index:-2; + z-index: 0; } #gen-art-2{ @@ -19,13 +19,39 @@ width:225px; right: 375px; top:600px; - z-index:-1; + z-index: 0; + } + + #hero-grid-system{ + position:absolute; + width:100%; + z-index: -3; + margin-top:-5px; + } + + .hero-section{ + background-image: url("/Images/x-large-grid-hero.svg"); + background-attachment: fixed; + background-position: center-top; + background-repeat: repeat; + background-size: contain; + } + + .hero-container{ + position:relative; + z-index: 2; + } + + .full-width-cta-container{ + position:relative; + z-index: 2; } gen-art-1 gen-art-2 +
@@ -38,7 +64,9 @@
- {{- partial "full-width-cta.html" . -}} +
+ {{- partial "full-width-cta.html" . -}} +
@@ -61,7 +89,7 @@ -
+
@@ -92,6 +120,7 @@ border-left: 2px solid #949494; border-right: 2px solid #949494; height: 100%; + padding: 25px; } .package-row{ @@ -172,8 +201,8 @@

-
-
+
+

Stay tuned for our full launch.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua Discord Community.

diff --git a/src/layouts/partials/detail-btn.html b/src/layouts/partials/detail-btn.html index 05b3225..087cdac 100644 --- a/src/layouts/partials/detail-btn.html +++ b/src/layouts/partials/detail-btn.html @@ -8,7 +8,7 @@ padding-top: 5px; text-decoration: none; text-transform: uppercase; - width: 35%; + width: 40%; height: 40px; transition: 0.1s linear; } diff --git a/src/static/css/style.css b/src/static/css/style.css index 32bedde..95815d4 100644 --- a/src/static/css/style.css +++ b/src/static/css/style.css @@ -3,8 +3,9 @@ body{ background-color: #1a1a1a; max-width: 1920px; + /* background-image: url("/Images/xl-grid-quarter-opacity.svg"); - background-size: contain; + background-size: contain;*/ } /* @@ -205,7 +206,8 @@ li{ h3{ font-size: 80px; line-height: 80px; - margin-bottom: 75px; + margin-bottom: 45px; + margin-top: 25px; } h4{ @@ -252,6 +254,8 @@ hr{ top:200px; } + + .package_before{ }