Skip to content

Commit

Permalink
doc: update home page
Browse files Browse the repository at this point in the history
  • Loading branch information
awmleer committed Feb 21, 2022
1 parent 20a4068 commit 4b7a202
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions docs/components/home-page.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
}
.title {
font-size: 48px;
font-weight: normal;
color: rgba(0, 0, 0, 0.9);
line-height: 1;
margin: 0;
Expand All @@ -30,6 +31,7 @@
font-size: 20px;
color: rgba(0, 0, 0, 0.85);
line-height: 28px;
margin-bottom: 56px;
}
.buttons {
margin-top: 28px;
Expand All @@ -41,7 +43,7 @@
border: 1px solid #3978ff;
background-color: #fff;
color: #3978ff;
margin-right: 18px;
margin-right: 24px;
}
a:first-child {
background-color: #3978ff;
Expand Down Expand Up @@ -71,7 +73,8 @@
font-size: 24px;
color: #697a8c;
line-height: 32px;
margin-bottom: 24px;
margin-top: 12px;
margin-bottom: 48px;
}
ul.features {
display: flex;
Expand All @@ -89,6 +92,7 @@
color: rgba(0, 0, 0, 0.85);
line-height: 24px;
margin-top: 30px;
margin-bottom: 8px;
text-align: center;
}
p:nth-child(3) {
Expand All @@ -97,6 +101,7 @@
color: #697a8c;
text-align: center;
line-height: 24px;
margin-top: 8px;
}
}
}
Expand Down Expand Up @@ -174,11 +179,14 @@
font-size: 20px;
color: rgba(0, 0, 0, 0.85);
line-height: 32px;
margin-top: 0;
margin-bottom: 8px;
}
p:nth-child(2) {
font-size: 14px;
color: #697a8c;
line-height: 26px;
margin-top: 0;
margin-bottom: 34px;
}
a {
Expand Down
2 changes: 1 addition & 1 deletion docs/components/home-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default () => {
<p className={styles.description}>
{trans(
'Explore the limits of mobile web experience',
'探索移动端 web 的体验极限'
'探索移动端 Web 的体验极限'
)}
</p>
<p className={styles.buttons}>
Expand Down

1 comment on commit 4b7a202

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.