Skip to content

Commit 895f95b

Browse files
committed
style: refine homepage hero and vision layout
1 parent b87a781 commit 895f95b

2 files changed

Lines changed: 89 additions & 33 deletions

File tree

index.html

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,20 @@ <h1>An open web, readable again.</h1>
7575

7676
<section id="vision" class="section section--vision">
7777
<div class="wrap">
78-
<div class="section-heading" data-reveal>
79-
<p class="eyebrow">Vision</p>
80-
<h2>RSS never left. It just needed a better shape.</h2>
78+
<div class="vision-lead">
79+
<div class="section-heading" data-reveal>
80+
<p class="eyebrow">Vision</p>
81+
<h2>RSS never left. It just needed a better shape.</h2>
82+
</div>
83+
84+
<aside class="vision-note" data-reveal>
85+
<p class="vision-note__eyebrow">Open information, rebuilt.</p>
86+
<p class="vision-note__copy">
87+
RSS3 keeps the idea simple: keep information portable, keep
88+
distribution open, and shape that network into products people
89+
actually want to use.
90+
</p>
91+
</aside>
8192
</div>
8293

8394
<div class="vision-grid">
@@ -136,7 +147,6 @@ <h2>A quieter way to follow what matters.</h2>
136147
<div class="folo-card folo-card--two"></div>
137148
<div class="folo-card folo-card--three"></div>
138149
<div class="folo-card folo-card--four"></div>
139-
<div class="chapter-caption">One timeline. Less noise.</div>
140150
</div>
141151
</div>
142152
</div>
@@ -156,7 +166,6 @@ <h2>A quieter way to follow what matters.</h2>
156166
<div class="rsshub-node rsshub-node--four"></div>
157167
<div class="rsshub-node rsshub-node--five"></div>
158168
<div class="rsshub-node rsshub-node--six"></div>
159-
<div class="chapter-caption">Over 5,000 global instances.</div>
160169
</div>
161170
</div>
162171

styles.css

Lines changed: 75 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,14 @@ ul {
196196

197197
.top-banner {
198198
display: block;
199-
padding-top: 0.9rem;
200199
position: relative;
201200
z-index: 2;
201+
padding-top: 0;
202+
}
203+
204+
.top-banner .wrap {
205+
width: 100%;
206+
max-width: none;
202207
}
203208

204209
.top-banner__inner {
@@ -209,20 +214,18 @@ ul {
209214
width: 100%;
210215
min-height: 3rem;
211216
padding: 0.82rem 1rem;
212-
border: 1px solid rgba(20, 17, 15, 0.08);
213-
border-radius: 999px;
214-
background: rgba(255, 255, 255, 0.54);
215-
box-shadow: 0 10px 28px rgba(67, 101, 159, 0.07);
217+
border: 0;
218+
border-radius: 0;
219+
background: rgba(255, 255, 255, 0.4);
220+
box-shadow: none;
216221
backdrop-filter: blur(16px);
217222
transition:
218-
transform 180ms ease,
219223
background-color 180ms ease;
220224
}
221225

222226
.top-banner:hover .top-banner__inner,
223227
.top-banner:focus-visible .top-banner__inner {
224-
transform: translateY(-1px);
225-
background: rgba(255, 255, 255, 0.72);
228+
background: rgba(255, 255, 255, 0.5);
226229
}
227230

228231
.top-banner__label {
@@ -500,6 +503,64 @@ h3 {
500503
padding-top: calc(var(--section-gap) * 0.78);
501504
}
502505

506+
.vision-lead {
507+
display: grid;
508+
grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 0.68fr);
509+
gap: clamp(1.5rem, 4vw, 3.5rem);
510+
align-items: end;
511+
margin-bottom: 2.8rem;
512+
}
513+
514+
.section--vision .section-heading {
515+
margin-bottom: 0;
516+
}
517+
518+
.vision-note {
519+
position: relative;
520+
display: grid;
521+
gap: 1.1rem;
522+
min-height: 100%;
523+
padding: 1.5rem 1.5rem 1.35rem;
524+
border: 1px solid rgba(61, 140, 255, 0.14);
525+
border-radius: 1.8rem;
526+
background:
527+
linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.5)),
528+
linear-gradient(135deg, rgba(61, 140, 255, 0.08), rgba(128, 168, 255, 0.04));
529+
box-shadow: 0 18px 48px rgba(83, 118, 177, 0.08);
530+
overflow: hidden;
531+
}
532+
533+
.vision-note::before {
534+
content: "";
535+
position: absolute;
536+
inset: 0;
537+
background:
538+
linear-gradient(120deg, transparent 0 58%, rgba(61, 140, 255, 0.08) 58% 62%, transparent 62%),
539+
radial-gradient(circle at 100% 0, rgba(61, 140, 255, 0.16), transparent 34%);
540+
pointer-events: none;
541+
}
542+
543+
.vision-note__eyebrow,
544+
.vision-note__copy {
545+
position: relative;
546+
z-index: 1;
547+
}
548+
549+
.vision-note__eyebrow {
550+
font-size: 0.78rem;
551+
font-weight: 700;
552+
letter-spacing: 0.16em;
553+
text-transform: uppercase;
554+
color: #4c78bf;
555+
}
556+
557+
.vision-note__copy {
558+
max-width: 28rem;
559+
color: var(--text);
560+
font-size: 1.02rem;
561+
line-height: 1.75;
562+
}
563+
503564
.vision-grid {
504565
display: grid;
505566
grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -961,19 +1022,6 @@ h3 {
9611022
bottom: 18%;
9621023
}
9631024

964-
.chapter-caption {
965-
position: absolute;
966-
left: 1.2rem;
967-
bottom: 1.2rem;
968-
padding: 0.7rem 0.95rem;
969-
border-radius: 999px;
970-
background: rgba(255, 255, 255, 0.84);
971-
border: 1px solid rgba(255, 255, 255, 0.88);
972-
color: var(--text);
973-
font-size: 0.88rem;
974-
backdrop-filter: blur(12px);
975-
}
976-
9771025
.section--ecosystem {
9781026
padding-bottom: calc(var(--section-gap) * 1.1);
9791027
}
@@ -1308,6 +1356,7 @@ body.page--article h1 {
13081356

13091357
@media (max-width: 1080px) {
13101358
.hero-layout,
1359+
.vision-lead,
13111360
.chapter-layout,
13121361
.chapter-layout--reverse,
13131362
.blog-grid,
@@ -1383,6 +1432,10 @@ body.page--article h1 {
13831432
grid-template-columns: 1fr;
13841433
}
13851434

1435+
.vision-note {
1436+
padding: 1.3rem 1.2rem 1.15rem;
1437+
}
1438+
13861439
.chapter-art,
13871440
.hero-art {
13881441
min-height: 24rem;
@@ -1413,7 +1466,7 @@ body.page--article h1 {
14131466
}
14141467

14151468
.top-banner {
1416-
padding-top: 0.7rem;
1469+
padding-top: 0;
14171470
}
14181471

14191472
.top-banner__inner {
@@ -1459,12 +1512,6 @@ body.page--article h1 {
14591512
width: 7rem;
14601513
}
14611514

1462-
.chapter-caption {
1463-
left: 0.8rem;
1464-
right: 0.8rem;
1465-
bottom: 0.8rem;
1466-
text-align: center;
1467-
}
14681515
}
14691516

14701517
@media (prefers-reduced-motion: reduce) {

0 commit comments

Comments
 (0)