From 5897dee476b334ad4ef5236675c85f896f7e7bb2 Mon Sep 17 00:00:00 2001 From: Ksenia Lesko Date: Mon, 27 Oct 2025 21:04:33 -0400 Subject: [PATCH] responsiveness --- _layouts/landing.html | 6 ++--- _sass/base.scss | 59 ++++++++++++++++++++++++++++++------------- 2 files changed, 43 insertions(+), 22 deletions(-) diff --git a/_layouts/landing.html b/_layouts/landing.html index 8e004f4..8d37c80 100644 --- a/_layouts/landing.html +++ b/_layouts/landing.html @@ -6,11 +6,10 @@
-
-

Caution makes compute verifiable

+
+

Caution makes compute verifiable

You deserve to know what runs on your servers. No more black boxes. -
Caution gives you cryptographic proof, total portability, and no complexity.

@@ -18,7 +17,6 @@ Blog diff --git a/_sass/base.scss b/_sass/base.scss index 62af99a..7f586d9 100644 --- a/_sass/base.scss +++ b/_sass/base.scss @@ -145,7 +145,7 @@ h4 { } h1 { - font-size: clamp(3.2rem, 10vw, 4.2rem); + font-size: clamp(2.6rem, 10vw, 4.2rem); line-height: 1.1; letter-spacing: 0.005rem; word-spacing: 0.3rem; @@ -196,14 +196,18 @@ em { position: relative; } +.hero-cta { + margin-bottom: 19rem; +} + .hero-title { max-width: 45rem; - margin-top: 25rem; + margin-top: 23rem; } .subtext { - font-size: clamp(1.12rem, 2.5vw, 1.3rem); - max-width: 48rem; + font-size: clamp(1.1rem, 2.5vw, 1.3rem); + max-width: 47.5rem; line-height: 1.5; margin: 0 0 2.5rem 0; word-spacing: 0.05rem; @@ -357,17 +361,17 @@ img { /* ======== LANDING ======== */ -.hero.landing { - min-height: 100svh; - background-size: 125%; - background-position-y: 0vh; - background-repeat: no-repeat; - display: flex; - position: relative; - background-color: var(--blue-base); /* Fallback color */ - backface-visibility: hidden; - transform: translateZ(0); -} +// .hero.landing { +// min-height: 100svh; +// background-size: 125%; +// background-position-y: 0vh; +// background-repeat: no-repeat; +// display: flex; +// position: relative; +// background-color: var(--blue-base); /* Fallback color */ +// backface-visibility: hidden; +// transform: translateZ(0); +// } .subtext.landing { max-width: 650px; @@ -450,7 +454,7 @@ img { } .footer-middle { - margin: 2.5rem auto 1.5rem auto; + margin: 1rem auto 1rem auto; padding: 0; } @@ -663,7 +667,7 @@ img { .posts { margin-top: 12rem; - margin-bottom: 41.75rem; //to be removed// + margin-bottom: 34rem; //to be removed// } .post p, @@ -1419,6 +1423,10 @@ li { .open-source-content { transform: none; } + + .posts { + margin-top: 15rem; //to be removed// + } } @media (max-width: 768px) { @@ -1426,12 +1434,19 @@ li { width: 90%; } + .hero-title { + margin-top: 19rem; + } + // ======= FOOTER ======= // .site-footer { - padding: 2.5rem 0 2rem 0; + padding: 1.5rem 0 1.5rem 0; } + .footer-middle { + margin: 0 auto 0 auto; + } .footer-mobile { display: block; } @@ -1440,6 +1455,14 @@ li { display: none; } + .footer-heading { + font-size: 0.95rem; + } + + .hero-cta { + margin-bottom: 12rem; + } + .footer-subheading.footer-mobile { margin-bottom: 3rem; }