From 2214b8990ccd00ead8dcd5ddfffdd506b2f37f39 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Thu, 24 Sep 2026 07:16:35 +0100 Subject: [PATCH] website: update cf page (#7577) Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com> --- website/src/crowdfunding.html | 259 ++++------------------------------ 1 file changed, 24 insertions(+), 235 deletions(-) diff --git a/website/src/crowdfunding.html b/website/src/crowdfunding.html index 32fdac1ba5..a4faa67dc8 100644 --- a/website/src/crowdfunding.html +++ b/website/src/crowdfunding.html @@ -220,61 +220,6 @@ templateEngineOverride: njk color: #dfeaff; } - .cf-hero-offer { - position: relative; - margin-top: calc(var(--sec-vhu) * 6.3); - width: calc(var(--sec-vwu) * 56); - } - .cf-hero-offer p { font-family: "Manrope", sans-serif; } - .cf-hero-offer .cf-offer-lead { - font-weight: 600; - font-size: calc(var(--sec-vwu) * 2.1); - line-height: 1.4; - color: #ffffff; - font-variant-numeric: tabular-nums; - } - .cf-hero-offer .cf-offer-lead b { - font-weight: 700; - background: linear-gradient(90deg, #019bfe 0%, #64fdff 58%, #c8feff 100%); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - background-clip: text; - color: transparent; - } - .cf-hero-offer .cf-offer-lead span { white-space: nowrap; } - .cf-hero-offer .cf-offer-terms { - font-weight: 300; - font-size: calc(var(--sec-vwu) * 1.55); - line-height: 1.55; - color: #dfeaff; - margin-top: calc(var(--sec-vhu) * 0.4); - } - .cf-hero-offer .cf-offer-terms a { position: relative; color: inherit; text-decoration: none; } - .cf-hero-offer .cf-offer-terms abbr { text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; } - .cf-hero-offer .cf-offer-terms a::after { - content: attr(data-tip); - position: absolute; - left: calc(100% + 12px); - top: 50%; - transform: translateY(-50%); - white-space: nowrap; - padding: 7px 12px; - border-radius: 8px; - border: 1px solid rgba(255, 255, 255, .18); - background: rgba(5, 9, 32, .96); - color: #dfeaff; - font-family: "Manrope", sans-serif; - font-weight: 400; - font-size: calc(var(--sec-vwu) * 1.1); - line-height: 1.4; - opacity: 0; - visibility: hidden; - transition: opacity .12s ease; - pointer-events: none; - } - .cf-hero-offer .cf-offer-terms a:hover::after, - .cf-hero-offer .cf-offer-terms a:focus-visible::after { opacity: 1; visibility: visible; } - /* ---- close: same left-aligned layout as the hero ---- */ .cf-close .area { position: relative; display: flex; align-items: flex-end; padding: 0 calc(var(--sec-vwu) * 7.5) calc(var(--sec-vhu) * 22) 0; } @@ -655,7 +600,7 @@ templateEngineOverride: njk --cf-phone-h: calc(var(--cf-phone-w) / 0.4914); --cf-phone-part: 0.55; /* bottom of the hero text block, measured from the section top */ - --cf-hero-text-b: calc(var(--cf-top-base) + max(0px, calc(-1 * var(--cf-area-off))) + 92.5vw); + --cf-hero-text-b: calc(var(--cf-top-base) + max(0px, calc(-1 * var(--cf-area-off))) + 75vw); /* the arc crest starts 0.2678 down the cover image, which is 2.349 phone widths tall and sits 0.4034 phone heights above the phone top: the phone may rise no higher than this */ @@ -714,19 +659,6 @@ templateEngineOverride: njk } .cf-close-offer p { font-size: calc(var(--sec-vwu) * 3.6); } .cf-stats { top: 0; gap: calc(var(--sec-vwu) * 8); margin-top: calc(var(--sec-vhu) * 3); } - .cf-hero .cf-hero-offer { - position: relative; - top: 0; - width: auto; - z-index: 4; - margin-top: calc(var(--sec-vhu) * 2); - padding: 10px var(--cf-text-pad) 12px; - margin-left: calc(-1 * var(--cf-gutter)); - margin-right: calc(-1 * var(--cf-gutter)); - background: linear-gradient(to bottom, rgba(2, 7, 29, 0) 0%, rgba(2, 7, 29, var(--cf-offer-veil, 0)) 22%, rgba(2, 7, 29, var(--cf-offer-veil, 0)) 78%, rgba(2, 7, 29, 0) 100%); - } - .cf-hero-offer .cf-offer-lead { font-size: calc(var(--sec-vwu) * 4.2); line-height: 1.3; white-space: nowrap; } - .cf-hero-offer .cf-offer-terms { font-size: calc(var(--sec-vwu) * 4); margin-top: calc(var(--sec-vhu) * 0.8); } .cf-stat img { width: calc(var(--sec-vwu) * 8); } .cf-stat b { font-size: calc(var(--sec-vwu) * 6.5); } .cf-stat span { font-size: calc(var(--sec-vwu) * 3.4); } @@ -826,11 +758,9 @@ templateEngineOverride: njk .cf-tag .n { font-size: 3.54cqh; line-height: 1.3; } } - /* tall phones (modern ratios, with or without the browser bars): the headline takes the - room the screen has; short ones keep the smaller size. */ @media screen and (max-width: 959px) and (orientation: portrait) and (max-aspect-ratio: 62/100) { .cf-hero h1 { font-size: calc(var(--sec-vwu) * 9.6); } - :root { --cf-hero-text-b: calc(var(--cf-top-base) + max(0px, calc(-1 * var(--cf-area-off))) + 91vw); } + :root { --cf-hero-text-b: calc(var(--cf-top-base) + max(0px, calc(-1 * var(--cf-area-off))) + 72.8vw); } } /* 320pt phones: keep the headline at three lines */ @@ -1106,10 +1036,6 @@ templateEngineOverride: njk
520KMonthly users
-
-

SimpleX name for 7 years

-

Invest $500+ by the end of September 22, AoE.

-
@@ -1231,13 +1157,13 @@ templateEngineOverride: njk
-

Invest $500+ by November 22 during early bird terms and get a SimpleX public name for your channel or business for 5 years, ahead of public launch.

+

Invest $500+ during early bird terms and get a SimpleX public name for your channel or business for 5 years, ahead of public launch.

-