diff --git a/src/App.css b/src/App.css index b2d95c5..900edd1 100644 --- a/src/App.css +++ b/src/App.css @@ -89,6 +89,10 @@ ul, li { .header-row { padding: 0 1rem; } + #root { + width: 100vw; + overflow: hidden; + } } body { @@ -122,8 +126,8 @@ body { font-weight: 400; font-size: 1.125rem; color: #222222; - line-height: 34px; - margin-bottom: 20px; + line-height: 2.125rem; + margin-bottom: 1.25rem; } /* hover缩放 */ diff --git a/src/components/layout/HonorGrids/index.module.css b/src/components/layout/HonorGrids/index.module.css index 663d3a7..2b766ec 100644 --- a/src/components/layout/HonorGrids/index.module.css +++ b/src/components/layout/HonorGrids/index.module.css @@ -41,9 +41,9 @@ } .honorGridsItemLargeTitle { font-weight: 600; - font-size: 30px; + font-size: 1.875rem; color: #222222; - line-height: 40px; + line-height: 2.5rem; font-family: Source Han Sans, Source Han Sans; } @@ -53,9 +53,9 @@ .honorGridsItemLargeTitleContent { font-weight: 400; - font-size: 16px; + font-size: 1rem; color: #222222; - line-height: 22px; + line-height: 1.375rem; } .honorGridsItemBgleft, @@ -77,4 +77,10 @@ } } } +} + +@media (max-width: 768px) { + .honorGridsItems { + width: 100% !important; + } } \ No newline at end of file diff --git a/src/components/layout/RowAccordion/index.module.css b/src/components/layout/RowAccordion/index.module.css index 7282d10..68339a7 100644 --- a/src/components/layout/RowAccordion/index.module.css +++ b/src/components/layout/RowAccordion/index.module.css @@ -114,7 +114,7 @@ .contentItemContent { font-size: 1rem; /* margin-top: 2.5rem; */ - line-height: 34px; + line-height: 2.125rem; } .contentItemLinks { diff --git a/src/components/layout/TopTabsSection/index.module.css b/src/components/layout/TopTabsSection/index.module.css index de0d2fa..318a998 100644 --- a/src/components/layout/TopTabsSection/index.module.css +++ b/src/components/layout/TopTabsSection/index.module.css @@ -265,6 +265,7 @@ @media (max-width: 30rem) { .topTabsSection { padding: 3rem 1.25rem 4rem 1.25rem; + height: auto; } .topTabsTabsScroll { @@ -281,6 +282,10 @@ line-height: 2.25rem; } + .topTabsContentLeft { + width: 100%; + } + .topTabsContentItems { grid-template-columns: 1fr; } diff --git a/src/index.css b/src/index.css index 49733fd..c9a336d 100644 --- a/src/index.css +++ b/src/index.css @@ -40,7 +40,7 @@ html { } svg { - transform: scale(0.5); + /* transform: scale(0.5); */ } } diff --git a/src/layouts/Header.module.css b/src/layouts/Header.module.css index 779b868..5e1fbb2 100644 --- a/src/layouts/Header.module.css +++ b/src/layouts/Header.module.css @@ -389,6 +389,7 @@ list-style: none; margin: 0; padding: 1.5rem 1.25rem; + margin-top: 3rem; } .mobileNavItem { @@ -461,6 +462,7 @@ @media (max-width: 48rem) { .header { height: 8rem; + width: 100vw; } .headerInner::after { diff --git a/src/pages/Business/RuijingGroup.module.css b/src/pages/Business/RuijingGroup.module.css index c7442e0..b2c7e01 100644 --- a/src/pages/Business/RuijingGroup.module.css +++ b/src/pages/Business/RuijingGroup.module.css @@ -3,9 +3,9 @@ .businessFeatureContent { color: #fff; font-weight: 400; - font-size: 18px; + font-size: 1.125rem; color: #FFFFFF; - line-height: 34px; + line-height: 2.125rem; text-align: justify; font-style: normal; text-transform: none; diff --git a/src/pages/Join/Campus.module.css b/src/pages/Join/Campus.module.css index 713b259..6b4a791 100644 --- a/src/pages/Join/Campus.module.css +++ b/src/pages/Join/Campus.module.css @@ -257,4 +257,8 @@ align-items: flex-start; gap: 0.5rem; } + + svg { + transform: scale(0.5); + } } \ No newline at end of file diff --git a/src/pages/Others/PrivacyPolicy.tsx b/src/pages/Others/PrivacyPolicy.tsx index 6655da9..25eaceb 100644 --- a/src/pages/Others/PrivacyPolicy.tsx +++ b/src/pages/Others/PrivacyPolicy.tsx @@ -21,8 +21,8 @@ export default function PrivacyPolicy() {

(

-
  • window.open(item.path, '_blank')}> +
  • item.path.includes("/upload") && window.open(item.path, '_blank')}> {item.name}