From f55a6591305c771ae0a2fe96e2aa0fc2a31824e1 Mon Sep 17 00:00:00 2001 From: nevfy Date: Tue, 9 Apr 2024 23:00:00 +0300 Subject: [PATCH] fix: width and height --- assets/scss/_styles_project.scss | 21 +++++++++------------ content/en/_index.html | 12 ++++++------ layouts/shortcodes/landing-feature.html | 12 ++++++------ 3 files changed, 21 insertions(+), 24 deletions(-) diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index d6ed406..84c0d5f 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -91,7 +91,7 @@ } .sp-supported-by-img { - max-height: 5rem; + max-width: 15rem; margin: 1rem; } @@ -102,9 +102,6 @@ column-gap: 5vw; flex-wrap: wrap; margin-top: 2rem; - & > a > img { - max-width: 15vw; - } } a.nav-link.sp-coming-soon { @@ -135,11 +132,16 @@ body { row-gap: 0px; } +.sp-advantages-header { + position: sticky; + top: 10vh; + margin-bottom: 5rem; +} + .sp-feature { position: sticky; - top: 20vh; - min-height: 80vh; - align-items: center; + top: 0; + min-height: 100vh; } .sp-feature-green { @@ -152,11 +154,6 @@ body { background-color: #ebe0e8 !important; } -.sp-advantages-header { - position: sticky; - top: 14vh; -} - .container-fluid { padding-left: 0 !important; padding-right: 0 !important; diff --git a/content/en/_index.html b/content/en/_index.html index 69e2bfe..c7b01ec 100644 --- a/content/en/_index.html +++ b/content/en/_index.html @@ -5,7 +5,7 @@ linkTitle = "SelfPrivacy" +++ {{< blocks/section color="dark" type="section" >}} -
+