From f84e08a3f0c003fa30c40d6239bb76ef285e6ed1 Mon Sep 17 00:00:00 2001 From: Bar Hatsor <34835685+barhatsor@users.noreply.github.com> Date: Tue, 19 Apr 2022 12:53:46 +0300 Subject: [PATCH 01/11] Update lang.html --- homepage/lang.html | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/homepage/lang.html b/homepage/lang.html index d7ddfedfc5..99bdceaabf 100644 --- a/homepage/lang.html +++ b/homepage/lang.html @@ -24,6 +24,7 @@ color: #d4d5d7; font-family: 'Inter', system-ui, sans-serif; text-align: center; + scroll-snap-type: y proximity; } body { @@ -35,6 +36,10 @@ padding: 0 20px; } + .top-snap-marker { + scroll-snap-align: start; + } + .logo { width: 70px; border-radius: 22.5%; @@ -42,14 +47,35 @@ margin: 0 auto; margin-bottom: 24px; margin-top: 50px; + position: relative; + z-index: 1000; } .title { font-size: 19px; margin-bottom: 24px; + padding-top: 24px; margin-top: 0; - position: relative; text-align: center; + position: sticky; + z-index: 999; + top: 0; + scroll-snap-align: start; + } + + .title::before { + content: ''; + position: fixed; + left: 0; + top: 0; + right: 0; + background: linear-gradient(180deg, #1a1c24 calc(100% - 23px), #1a1c2400); + height: calc(24px + 23px + 24px + 12px); + z-index: -1; + } + + .center { + scroll-snap-align: center; } .button { @@ -139,7 +165,7 @@
Supported languages
-