From a1a91fe81504b737de389dd52e9da06b151aa3a6 Mon Sep 17 00:00:00 2001 From: Thomas Smith <49042513+tsmitty11@users.noreply.github.com> Date: Fri, 10 Feb 2023 11:31:38 -0500 Subject: [PATCH] Spacing adjustment (WIP) --- src/layouts/index.html | 11 +- src/layouts/partials/twitter-card.html | 2 +- src/static/css/homepage.css | 328 +------------------------ src/static/css/typography.css | 144 ----------- 4 files changed, 6 insertions(+), 479 deletions(-) diff --git a/src/layouts/index.html b/src/layouts/index.html index 4fe0cf4..08b2217 100644 --- a/src/layouts/index.html +++ b/src/layouts/index.html @@ -135,7 +135,7 @@ -
+
@@ -150,7 +150,7 @@ {{- partial "desktop-ctas.html" -}} -

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

@@ -320,12 +320,7 @@
-
-
-
-

Features

-
-
+
diff --git a/src/layouts/partials/twitter-card.html b/src/layouts/partials/twitter-card.html index b9c7c14..d6fa323 100644 --- a/src/layouts/partials/twitter-card.html +++ b/src/layouts/partials/twitter-card.html @@ -2,7 +2,7 @@
- diff --git a/src/static/css/homepage.css b/src/static/css/homepage.css index f8454ab..2107035 100644 --- a/src/static/css/homepage.css +++ b/src/static/css/homepage.css @@ -8,16 +8,8 @@ } .container{ - max-width: none; - padding: 8.371vw 4.5vw; - } - - @media only screen and (min-width: 992px) { - - .hero{ - height: 100vh; - } - + max-width: 1280px; + /*padding: 8.371vw 4.5vw;*/ } /* Brand Colors */ @@ -55,322 +47,6 @@ mark{ color: #1a1a1a; } -@media only screen and (min-width: 1200px) { - - .lead-text-container{ - border: 1px solid #949494 !important; - width: 600px; - display: flex; - justify-content: center; - align-items: center; - height: 12.556vw; - margin-top: 1vw; - } - - .hero-bottom{ - background-image: url("/Images/x-large-grid.svg"); - background-attachment: scroll; - background-position: top; - background-repeat: repeat; - background-size: cover; - height: 4.185vw; - } - - .package_before{ - background-image: url("/Images/home-x-large-grid-generative-art_half.gif") !important; - background-attachment: scroll; - background-repeat: repeat-y; - background-position: right; - background-size: contain; - } - - .package-cta{ - background-image: url("/Images/x-large-grid.svg"); - background-attachment: scroll; - background-repeat: repeat-y; - background-size: cover; - } - - .statistics{ - background-image: url("/Images/x-large-stats-grid.svg"); - background-attachment: fixed; - background-position: top; - background-repeat: repeat; - background-size: cover; - } - - .metric-block{ - padding: 4.185vw; - border: 2px solid #949494; - max-width: 33.3vw; - background-color: #1a1a1a; - position: relative; - z-index:2; - } - - .stat-head{ - font-size: 1.339vw; - } - - .stat-number{ - font-family: "pp-neue-machina", sans-serif; - font-size: 6.696vw; - margin-top: -2.232vw; - margin-bottom: -2.232vw; - } - - .partners{ - background-image: url("/Images/x-large-grid.svg"); - background-attachment: scroll; - background-repeat: repeat; - background-size: cover; - } - - .mobile-grid-element{ - display: none; - } - -} - -@media only screen and (min-width: 992px) and (max-width: 1200px) { - - .hero-section{ - background-image: url("/Images/large-grid.svg") !important; - background-attachment: scroll; - background-position: top; - background-repeat: repeat !important; - background-size: cover !important; - } - - .lead-text-container{ - border: 1px solid #949494; - width: 60vw; - display: flex; - justify-content: center; - align-items: center; - height: 15vw; - margin-top: 0.4vw; - margin-bottom: 0px; - } - - .package_before{ - background-image: url("/Images/home-large-grid-generative-art_half.gif") !important; - background-attachment: scroll; - background-repeat: repeat-y; - background-position: right; - background-size: contain; - } - - .metric-block{ - padding: 4.185vw; - border: 2px solid #949494; - max-width: 30vw; - background-color: #1a1a1a; - position: relative; - z-index:2; - } - - .stat-head{ - font-size: 1.339vw; - } - - .stat-number{ - font-family: "pp-neue-machina", sans-serif; - font-size: 6.696vw; - margin-top: -2.232vw; - margin-bottom: -2.232vw; - } - - .mobile-grid-element{ - display: none; - } - -} - - -@media only screen and (min-width: 768px) and (max-width: 992px) { - - .hero-section{ - background-image: url("/Images/large-grid.svg") !important; - background-attachment: scroll; - background-position: top; - background-repeat: repeat-y !important; - background-size: cover !important; - } - - .lead-text-container{ - border: 1px solid #949494; - width: 70vw; - display: flex; - justify-content: center; - align-items: center; - height: 15vw; - margin-top: 1.1vw; - margin-bottom: 0px; - } - - .package_before{ - background-image: url("/Images/home-large-grid-generative-art_half.gif") !important; - background-attachment: scroll; - background-repeat: repeat-y; - background-position: right; - background-size: contain; - } - - - .metric-block{ - padding: 4.185vw; - border: 2px solid #949494; - max-width: 41.741vw; - background-color: #1a1a1a; - position: relative; - z-index:2; - } - - .stat-head{ - font-size: 1.339vw; - } - - .stat-number{ - font-family: "pp-neue-machina", sans-serif; - font-size: 6.696vw; - margin-top: -2.232vw; - margin-bottom: -2.232vw; - } - - .mobile-grid-element{ - display: none; - } - -} - -@media only screen and (min-width: 576px) and (max-width: 768px) { - - .hero-section{ - background-image: url("/Images/medium-grid.svg"); - background-attachment: scroll; - background-position: top; - background-repeat: repeat-y; - background-size: contain; - } - - .lead-text-container{ - border: 1px solid #949494; - width: 100%; - display: flex; - justify-content: center; - align-items: center; - height: 20.2vw; - margin-top: .5vw; - margin-bottom: 0; - } - - .metric-block{ - padding: 4.185vw; - border: 2px solid #949494; - max-width: 41.741vw; - background-color: #1a1a1a; - position: relative; - z-index:2; - } - - .stat-head{ - font-size: 1.339vw; - } - - .stat-number{ - font-family: "pp-neue-machina", sans-serif; - font-size: 6.696vw; - margin-top: -2.232vw; - margin-bottom: -2.232vw; - } - - .mobile-grid-element{ - display: none; - } - -} - -@media only screen and (max-width: 576px) { - - .hero-float{ - float: none !important; - } - - .package-before-section{ - padding: 4vw !important; - } - - .package_before{ - padding-top: 20vw; - padding-bottom: 20vw; - } - - .package-grid-header{ - padding-left:7vw !important; - padding-right:7vw !important; - } - - .package-cta-section{ - padding: 4vw !important; - } - - .stat-small-text{ - text-align: center; - } - - .metric-block{ - padding: 4.185vw; - border: 2px solid #949494; - width: 100%; - background-color: #1a1a1a; - position: relative; - float:none !important; - margin-top: 0px !important; - margin-bottom: 0vw !important; - z-index:2; - } - - .stat-head{ - font-size: 3vw; - text-align: center; - } - - .stat-number{ - font-family: "pp-neue-machina", sans-serif; - font-size: 14vw; - text-align: center; - margin-top: -2.232vw; - margin-bottom: -2.232vw; - } - - .partners{ - padding: 4vw !important; - } - - .partner-logo{ - padding: 0px !important; - } - - #binance-logo{ - width: 60% !important; - margin-bottom: 5vw !important; - } - - .footer{ - padding: 4vw !important; - } - - .footer-top{ - margin-bottom: 10vw; - } - - .mobile-grid-element{ - width: 100%; - } - -} - @media only screen and (min-width: 576px) { #impact-break{ diff --git a/src/static/css/typography.css b/src/static/css/typography.css index 9d12b34..b1a4735 100644 --- a/src/static/css/typography.css +++ b/src/static/css/typography.css @@ -89,149 +89,6 @@ a:hover{ /* Breakpoint-Specific Typography */ - -/* Extra-Large Screens*/ -@media only screen and (min-width: 1200px) { - - .impact{ - font-size: 5.8vw !important; - line-height: 8.4vw!important; - margin-top: -1.8vw !important; - margin-bottom: -2.8vw !important; - - } - - h1{ - } - - h2{ - font-size: 3.5vw; - line-height: 4.1vw; - } - - h3{ - font-size: 2vw; - line-height: 2.8vw; - text-transform: uppercase; - } - - h4{ - font-size: 2.121vw; - line-height: 2.5vw; - } - - h5{ - font-size: 1.5vw; - line-height: 4.116vw; - margin-top: -0.3vw; - margin-bottom: 1.2vw; - } - -} - -@media only screen and (min-width: 992px) and (max-width: 1200px) { - - .impact{ - font-size: 9.5vw !important; - line-height: 10.05vw!important; - margin-top: 3.2vw !important; - margin-bottom: -2.4vw !important; - } - - h1{ - } - - h2{ - font-size: 6.5vw; - line-height: 10vw; - } - - h3{ - font-size: 3.4rem; - line-height: 10vw; - } - - h4{ - font-size: 3vw; - line-height: 5.116vw; - } - - h5{ - font-size: 1.5vw; - line-height: 5vw; - margin-top: -0.3vw; - margin-bottom: 1.2vw; - } - -} - -@media only screen and (min-width: 768px) and (max-width: 992px) { - - .impact{ - font-size: 9.5vw !important; - line-height: 10.05vw!important; - margin-top: 3.2vw !important; - margin-bottom: -2.4vw !important; - } - - h1{ - } - - h2{ - font-size: 7vw; - line-height: 10vw; - } - - h3{ - font-size: 4.5vw; - line-height: 10vw; - } - - h4{ - font-size: 3.5vw; - line-height: 5vw; - } - - h5{ - font-size: 2vw; - line-height: 5vw; - } - -} - -@media only screen and (min-width: 576px) and (max-width: 768px){ - - .impact{ - font-size: 12vw !important; - line-height: 13.5vw!important; - margin-top: 5.7vw !important; - margin-bottom: -3.5vw !important; - } - - h1{ - font-size: 14vw; - line-height: 20vw; - margin-top: 2vw; - margin-left: -0.7vw; - } - - h2{ - font-size: 6rem; - line-height: 7rem; - } - - h3{ - font-size: 3.8rem; - line-height: 80px; - } - - h4{ - font-size: 38px; - line-height: 45px; - } - -} - @media only screen and (max-width: 576px) { .impact{ @@ -271,5 +128,4 @@ a:hover{ ul.nav.justify-content-end{ justify-content: flex-start !important; } - }