feature(pages): Above the fold loading optimization
- Compress image size
- Truncated character set
- Compressed style sheet
This commit is contained in:
@@ -10,30 +10,37 @@ html {
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
@media (min-width: 870px) and (max-width: 1920px) {
|
||||
@media (min-width: 870px) and (max-width: 1440px) {
|
||||
html {
|
||||
font-size: 20px;
|
||||
font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1920px) and (max-width: 2560px) {
|
||||
@media (min-width: 1440px) and (max-width: 1920px) {
|
||||
html {
|
||||
font-size: 22px;
|
||||
font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1920px) and (max-width: 2560px) {
|
||||
html {
|
||||
font-size: 1.2vw;
|
||||
font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
@media (min-width: 2560px) and (max-width: 2880px) {
|
||||
html {
|
||||
font-size: 24px;
|
||||
font-size: 1.25vw;
|
||||
font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
@media (min-width: 2880px) {
|
||||
html {
|
||||
font-size: 2vh;
|
||||
font-size: 1.27vw;
|
||||
font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-weight: 500;
|
||||
}
|
||||
@@ -109,7 +116,14 @@ main {
|
||||
padding-bottom: 5%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 870px) {
|
||||
@media (min-width: 870px) and (max-width: 1440px) {
|
||||
main {
|
||||
width: 71.8vw;
|
||||
margin-top: 18.48vh;
|
||||
padding-bottom: 7vh;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1440px) {
|
||||
main {
|
||||
width: 61.8vw;
|
||||
margin-top: 23.48vh;
|
||||
|
||||
@@ -74,8 +74,15 @@ main {
|
||||
padding-bottom: 5%;
|
||||
}
|
||||
|
||||
// =========== 适配端 ===========
|
||||
@media (min-width: 870px) and (max-width: 1440px) {
|
||||
width: 71.8vw;
|
||||
margin-top: 18.48vh;
|
||||
padding-bottom: 7vh;
|
||||
}
|
||||
|
||||
// =========== 桌面端 ===========
|
||||
@media (min-width: 870px) {
|
||||
@media (min-width: 1440px) {
|
||||
width: 61.8vw;
|
||||
margin-top: 23.48vh;
|
||||
padding-bottom: 7vh;
|
||||
|
||||
@@ -13,8 +13,8 @@ html {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
// =========== 桌面端 ===========
|
||||
@media (min-width: 870px) and (max-width: 1920px) {
|
||||
// =========== 适配端 ===========
|
||||
@media (min-width: 870px) and (max-width: 1440px) {
|
||||
font-size: 20px;
|
||||
font-family: -apple-system, BlinksMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
@@ -22,9 +22,18 @@ html {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
// =========== 桌面端 ===========
|
||||
@media (min-width: 1440px) and (max-width: 1920px) {
|
||||
font-size: 22px;
|
||||
font-family: -apple-system, BlinksMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'Noto Color Emoji';
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
// =========== 2K端 ===========
|
||||
@media (min-width: 1920px) and (max-width: 2560px) {
|
||||
font-size: 22px;
|
||||
font-size: 1.2vw;
|
||||
font-family: -apple-system, BlinksMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'Noto Color Emoji';
|
||||
@@ -33,7 +42,7 @@ html {
|
||||
|
||||
// =========== 4K端 ===========
|
||||
@media (min-width: 2560px) and (max-width: 2880px) {
|
||||
font-size: 24px;
|
||||
font-size: 1.25vw;
|
||||
font-family: -apple-system, BlinksMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'Noto Color Emoji';
|
||||
@@ -42,7 +51,7 @@ html {
|
||||
|
||||
// =========== >4K端 ===========
|
||||
@media (min-width: 2880px) {
|
||||
font-size: 2vh;
|
||||
font-size: 1.27vw;
|
||||
font-family: -apple-system, BlinksMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'Noto Color Emoji';
|
||||
|
||||
4
source/css/index.min.css
vendored
Normal file
4
source/css/index.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
source/font/remixicon.eot
Normal file
BIN
source/font/remixicon.eot
Normal file
Binary file not shown.
1
source/font/remixicon.svg
Normal file
1
source/font/remixicon.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 6.9 KiB |
BIN
source/font/remixicon.ttf
Normal file
BIN
source/font/remixicon.ttf
Normal file
Binary file not shown.
BIN
source/font/remixicon.woff
Normal file
BIN
source/font/remixicon.woff
Normal file
Binary file not shown.
BIN
source/font/remixicon.woff2
Normal file
BIN
source/font/remixicon.woff2
Normal file
Binary file not shown.
BIN
source/images/logo_en_default.png
Normal file
BIN
source/images/logo_en_default.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
Reference in New Issue
Block a user