-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: replace SC with css modules (#12035)
* Revert "docs: fix homepage flashing (#12029)" This reverts commit 7076342. * docs: replace SC with css modules * ci: fix type
- Loading branch information
Showing
23 changed files
with
438 additions
and
430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.contributing { | ||
max-width: 1200px; | ||
margin: 0 auto 60px; | ||
|
||
:global { | ||
p { | ||
font-size: 18px; | ||
color: #4a5e71; | ||
margin-bottom: 16px; | ||
} | ||
|
||
p a { | ||
color: #0273dc; | ||
text-decoration: none; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.features { | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
|
||
:global { | ||
ul { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 26px; | ||
padding-top: 40px; | ||
padding-bottom: 40px; | ||
padding-left: 0; | ||
justify-content: center; | ||
} | ||
|
||
.feature { | ||
width: 280px; | ||
margin-bottom: 60px; | ||
list-style: none; | ||
} | ||
|
||
.feature div { | ||
width: 100px; | ||
height: 100px; | ||
background-size: 100px 100px; | ||
background-repeat: no-repeat; | ||
margin: 0 auto 10px; | ||
} | ||
|
||
.feature h3 { | ||
font-size: 20px; | ||
color: #2a445d; | ||
margin-bottom: 12px; | ||
text-align: center; | ||
} | ||
.feature p { | ||
font-size: 18px; | ||
color: #4a5e71; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
.footer { | ||
padding: 40px 0; | ||
|
||
:global { | ||
.foot-wrapper { | ||
display: flex; | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
.left { | ||
flex: 1; | ||
.line { | ||
line-height: 40px; | ||
display: flex; | ||
} | ||
|
||
.line h3 { | ||
font-size: 18px; | ||
width: 92px; | ||
margin-right: 66px; | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
font-weight: 400; | ||
color: #4a5e71; | ||
} | ||
|
||
.line div { | ||
flex: 1; | ||
color: #4a5e71; | ||
} | ||
|
||
.line div a { | ||
text-decoration: none; | ||
color: #4a5e71; | ||
} | ||
} | ||
|
||
.right { | ||
min-width: 400px; | ||
font-size: 16px; | ||
.copyright { | ||
font-size: 14px; | ||
color: #8996a1; | ||
line-height: 22px; | ||
margin-top: 24px; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.news_letter { | ||
font-size: 18px; | ||
margin-bottom: 14px; | ||
|
||
:global { | ||
h2 { | ||
font-size: 18px; | ||
font-weight: 400; | ||
} | ||
input { | ||
background: #ffffff; | ||
border: 1px solid #bac1c8; | ||
width: 180px; | ||
font-size: 14px; | ||
height: 28px; | ||
line-height: 28px; | ||
padding: 0 4px; | ||
} | ||
|
||
button { | ||
font-size: 14px; | ||
color: #ffffff; | ||
margin-left: 14px; | ||
background-image: linear-gradient( | ||
224deg, | ||
#0071da 0%, | ||
#1890ff 100%, | ||
#1890ff 100% | ||
); | ||
height: 28px; | ||
line-height: 28px; | ||
padding: 0 10px; | ||
border: none; | ||
} | ||
|
||
button:hover { | ||
background-image: linear-gradient( | ||
224deg, | ||
#48a4fe 0%, | ||
#6fbafe 100%, | ||
#8dc9ff 100% | ||
); | ||
} | ||
} | ||
} |
Oops, something went wrong.
86b2421
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
umi – ./
umijs.vercel.app
umi-chencheng.vercel.app
umijs.org
next.umijs.org
umi-git-master-chencheng.vercel.app
www.umijs.org