Skip to content

Commit eaaa120

Browse files
committed
index tweaks
1 parent c516731 commit eaaa120

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

src/index.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import NewsLetter from './.vitepress/theme/components/NewsLetter.vue'
88

99
<section id="hero">
1010
<h1 class="tagline">
11-
The Progressive<br>
11+
The <span class="accent">Progressive</span><br>
1212
JavaScript Framework
1313
</h1>
1414
<p class="description">
15-
An approachable, performant and versatile framework for building web interfaces.
15+
An approachable, performant and versatile framework for building web user interfaces.
1616
</p>
1717
<p class="actions">
1818
<a class="get-started" href="/guide/introduction.html">Get Started <svg class="icon" xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24"><path d="M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z"/></svg></a>
@@ -62,32 +62,31 @@ section {
6262
}
6363

6464
#hero {
65-
padding: 76px 32px;
65+
padding: 96px 32px;
6666
text-align: center;
6767
}
6868

6969
.tagline {
70-
font-size: 62px;
70+
font-size: 76px;
7171
line-height: 1.25;
7272
font-weight: 900;
7373
letter-spacing: -1.5px;
74-
max-width: 680px;
74+
max-width: 960px;
7575
margin: 0px auto;
7676
}
7777

78-
.dark .tagline {
79-
/* color: var(--vt-c-green-light); */
78+
html:not(.dark) .accent, .dark .tagline {
8079
background: -webkit-linear-gradient(315deg, #42d392 25%, #647eff);
8180
-webkit-background-clip: text;
8281
-webkit-text-fill-color: transparent;
8382
}
8483

8584
.description {
86-
max-width: 760px;
85+
max-width: 960px;
8786
line-height: 1.5;
8887
color: var(--vt-c-text-2);
8988
transition: color 0.5s;
90-
font-size: 18px;
89+
font-size: 22px;
9190
margin: 24px auto 40px;
9291
}
9392

@@ -196,9 +195,9 @@ section {
196195
background-color: transparent;
197196
}
198197

199-
@media (max-width: 768px) {
198+
@media (max-width: 960px) {
200199
.tagline {
201-
font-size: 48px;
200+
font-size: 64px;
202201
letter-spacing: -0.5px;
203202
}
204203
.description {
@@ -207,13 +206,17 @@ section {
207206
}
208207
}
209208

209+
@media (max-width: 768px) {
210+
.tagline {
211+
font-size: 48px;
212+
letter-spacing: -0.5px;
213+
}
214+
}
215+
210216
@media (max-width: 576px) {
211217
#hero {
212218
padding: 64px 32px;
213219
}
214-
.tagline {
215-
font-size: 38px;
216-
}
217220
.description {
218221
font-size: 16px;
219222
margin: 18px 0 30px;

0 commit comments

Comments
 (0)