Skip to content

Commit cd88c49

Browse files
style(docs): restore Sentinel fonts, Lato badge, hero fits first view
- --font-display back to Funnel Display (user wanted the Sentinel fonts; the previous drop to plain Lato was a misread) + re-added to font link - Protocol badge (Live on Base Mainnet) now Lato (--font-body), 11px/700 - Hero compacted to fit a 1080p first view: padding 116/92 to 52/48 (mobile 80/60 to 44/40), h1 clamp 66 to 50 max, subtitle 17 to 15.5, warn margin 38 to 20, os-chips 38 to 34, uc-head 11 to 8, uc-row padding 14 to 9. Verified with headless Chrome at 1920x1080: full hero incl. use-case panel visible above the fold.
1 parent b5fd0eb commit cd88c49

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

docs/index.html

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
<link rel="preconnect" href="https://fonts.googleapis.com">
7272
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
73-
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Lato:wght@300;400;700;900&display=swap" rel="stylesheet">
73+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Funnel+Display:wght@300..800&family=Lato:wght@300;400;700;900&display=swap" rel="stylesheet">
7474
<style>
7575
/* ─── Reset & Variables ─── */
7676
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
@@ -114,7 +114,7 @@
114114
--red: #ff5d6c;
115115

116116
--font-body: 'Lato', -apple-system, sans-serif;
117-
--font-display: 'Lato', -apple-system, sans-serif;
117+
--font-display: 'Funnel Display', 'Lato', -apple-system, sans-serif;
118118
--font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
119119
--radius: 8px;
120120
--radius-lg: 12px;
@@ -307,7 +307,7 @@
307307
display: flex;
308308
flex-wrap: wrap;
309309
gap: 14px;
310-
margin: 22px auto 8px;
310+
margin: 14px auto 6px;
311311
align-items: stretch;
312312
justify-content: center;
313313
}
@@ -316,8 +316,8 @@
316316
display: inline-flex;
317317
align-items: center;
318318
gap: 10px;
319-
padding: 8px 14px;
320-
height: 38px;
319+
padding: 7px 14px;
320+
height: 34px;
321321
line-height: 1;
322322
border: 1px solid var(--border);
323323
border-radius: var(--radius);
@@ -405,7 +405,7 @@
405405

406406
/* ─── Hero ─── */
407407
.hero {
408-
padding: 116px 0 92px;
408+
padding: 52px 0 48px;
409409
text-align: center;
410410
position: relative;
411411
}
@@ -432,12 +432,12 @@
432432
border-radius: 100px;
433433
border: 1px solid var(--border-bright);
434434
background: var(--accent-subtle);
435-
font-size: 10.5px;
436-
font-weight: 600;
437-
font-family: var(--font-mono);
435+
font-size: 11px;
436+
font-weight: 700;
437+
font-family: var(--font-body);
438438
color: var(--accent-bright);
439439
letter-spacing: 1.6px;
440-
margin-bottom: 30px;
440+
margin-bottom: 20px;
441441
text-transform: uppercase;
442442
box-shadow: 0 0 16px -6px var(--accent-glow);
443443
}
@@ -458,11 +458,11 @@
458458

459459
.hero h1 {
460460
font-family: var(--font-display);
461-
font-size: clamp(40px, 6vw, 66px);
461+
font-size: clamp(34px, 5vw, 50px);
462462
font-weight: 800;
463463
line-height: 1.02;
464-
letter-spacing: -2.4px;
465-
margin-bottom: 24px;
464+
letter-spacing: -1.8px;
465+
margin-bottom: 16px;
466466
color: var(--text-bright);
467467
text-wrap: balance;
468468
}
@@ -492,18 +492,18 @@
492492

493493
.hero .subtitle {
494494
font-family: var(--font-body);
495-
font-size: 17px;
495+
font-size: 15.5px;
496496
color: var(--text-muted);
497497
max-width: 580px;
498-
margin: 0 auto 14px;
498+
margin: 0 auto 10px;
499499
line-height: 1.6;
500500
}
501501

502502
.hero .subtitle.warn {
503-
font-size: 13.5px;
503+
font-size: 12.5px;
504504
color: var(--amber);
505-
margin-top: 6px;
506-
margin-bottom: 38px;
505+
margin-top: 4px;
506+
margin-bottom: 20px;
507507
}
508508

509509
.hero .code-preview {
@@ -607,7 +607,7 @@
607607
display: flex;
608608
align-items: center;
609609
gap: 10px;
610-
padding: 11px 18px;
610+
padding: 8px 16px;
611611
border-bottom: 1px solid var(--border);
612612
background: linear-gradient(180deg, rgba(0, 170, 255, 0.05), rgba(0, 170, 255, 0.015));
613613
}
@@ -639,7 +639,7 @@
639639
display: flex;
640640
align-items: flex-start;
641641
gap: 14px;
642-
padding: 14px 18px;
642+
padding: 9px 16px;
643643
transition: background 0.2s cubic-bezier(.22, .61, .36, 1);
644644
}
645645

@@ -1375,7 +1375,7 @@
13751375
nav .links { gap: 14px; }
13761376
nav .links a { font-size: 11.5px; }
13771377
section h2 { font-size: 24px; }
1378-
.hero { padding: 80px 0 60px; }
1378+
.hero { padding: 44px 0 40px; }
13791379
#rain { opacity: 0.18; }
13801380
}
13811381

0 commit comments

Comments
 (0)