style(home): 宣传册区域加宽、收窄留白
Made-with: Cursor
This commit is contained in:
@@ -945,18 +945,18 @@ onUnmounted(() => {
|
|||||||
.feature-space h3 { font-family: 'Noto Sans SC', sans-serif; font-size: 18px; color: var(--star-white); margin-bottom: 12px; letter-spacing: 0.04em; }
|
.feature-space h3 { font-family: 'Noto Sans SC', sans-serif; font-size: 18px; color: var(--star-white); margin-bottom: 12px; letter-spacing: 0.04em; }
|
||||||
.feature-space p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; }
|
.feature-space p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; }
|
||||||
|
|
||||||
/* 门户主栏 + 侧栏(约 75% / 25%) */
|
/* 门户主栏 + 侧栏:加宽主列、减少留白 */
|
||||||
.portal-shell {
|
.portal-shell {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
background: linear-gradient(180deg, rgba(10, 12, 22, 0.4) 0%, rgba(18, 22, 38, 0.92) 8%, rgba(20, 24, 40, 0.98) 100%);
|
background: linear-gradient(180deg, rgba(10, 12, 22, 0.4) 0%, rgba(18, 22, 38, 0.92) 8%, rgba(20, 24, 40, 0.98) 100%);
|
||||||
padding: 36px 0 8px;
|
padding: 24px 0 4px;
|
||||||
}
|
}
|
||||||
.home-portal-shell {
|
.home-portal-shell {
|
||||||
padding-top: 64px;
|
padding-top: 64px;
|
||||||
}
|
}
|
||||||
.intro-card {
|
.intro-card {
|
||||||
margin-bottom: 28px;
|
margin-bottom: 22px;
|
||||||
}
|
}
|
||||||
.home-lead .portal-block-title {
|
.home-lead .portal-block-title {
|
||||||
font-size: clamp(1.2rem, 2.4vw, 1.85rem);
|
font-size: clamp(1.2rem, 2.4vw, 1.85rem);
|
||||||
@@ -966,9 +966,10 @@ onUnmounted(() => {
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
.home-lead .portal-preview-body {
|
.home-lead .portal-preview-body {
|
||||||
max-height: min(82vh, 720px);
|
max-height: min(82vh, 760px);
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 1.68;
|
line-height: 1.68;
|
||||||
|
padding: 10px 12px 14px;
|
||||||
}
|
}
|
||||||
.home-lead-video {
|
.home-lead-video {
|
||||||
margin-bottom: 28px;
|
margin-bottom: 28px;
|
||||||
@@ -984,7 +985,7 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
.home-lead-video .section-title--lead p {
|
.home-lead-video .section-title--lead p {
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
max-width: 640px;
|
max-width: none;
|
||||||
}
|
}
|
||||||
.home-lead-video .main-thumb {
|
.home-lead-video .main-thumb {
|
||||||
min-height: min(52vw, 440px);
|
min-height: min(52vw, 440px);
|
||||||
@@ -1019,16 +1020,16 @@ onUnmounted(() => {
|
|||||||
.portal-aside-download--secondary:hover {
|
.portal-aside-download--secondary:hover {
|
||||||
filter: brightness(1.12);
|
filter: brightness(1.12);
|
||||||
}
|
}
|
||||||
/* 主内容区单独一列;大屏为右侧 fixed 侧栏预留空间,避免正文被遮挡 */
|
/* 主内容区:更宽视口利用;右侧为 fixed 侧栏预留 */
|
||||||
.portal-inner--main {
|
.portal-inner--main {
|
||||||
max-width: 1320px;
|
max-width: 1620px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 20px 32px;
|
padding: 0 10px 24px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
@media (min-width: 1025px) {
|
@media (min-width: 1025px) {
|
||||||
.portal-inner--main {
|
.portal-inner--main {
|
||||||
padding-right: 300px;
|
padding-right: 288px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.portal-main { min-width: 0; }
|
.portal-main { min-width: 0; }
|
||||||
@@ -1037,29 +1038,29 @@ onUnmounted(() => {
|
|||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
color: var(--star-white);
|
color: var(--star-white);
|
||||||
margin: 0 0 14px;
|
margin: 0 0 10px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
border-left: 3px solid var(--plasma-cyan);
|
border-left: 3px solid var(--plasma-cyan);
|
||||||
}
|
}
|
||||||
.portal-card {
|
.portal-card {
|
||||||
background: rgba(255, 255, 255, 0.04);
|
background: rgba(255, 255, 255, 0.04);
|
||||||
border: 1px solid rgba(0, 212, 255, 0.12);
|
border: 1px solid rgba(0, 212, 255, 0.12);
|
||||||
border-radius: 16px;
|
border-radius: 14px;
|
||||||
padding: 22px 20px 24px;
|
padding: 16px 14px 18px;
|
||||||
margin-bottom: 28px;
|
margin-bottom: 22px;
|
||||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
.portal-card-lite {
|
.portal-card-lite {
|
||||||
background: rgba(255, 255, 255, 0.03);
|
background: rgba(255, 255, 255, 0.03);
|
||||||
border: 1px solid rgba(0, 212, 255, 0.08);
|
border: 1px solid rgba(0, 212, 255, 0.08);
|
||||||
border-radius: 16px;
|
border-radius: 14px;
|
||||||
padding: 24px 20px;
|
padding: 18px 14px;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.portal-row-split {
|
.portal-row-split {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
|
grid-template-columns: minmax(0, 2.05fr) minmax(220px, 0.85fr);
|
||||||
gap: 24px;
|
gap: 16px;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
}
|
}
|
||||||
.portal-preview-wrap {
|
.portal-preview-wrap {
|
||||||
@@ -1068,8 +1069,8 @@ onUnmounted(() => {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.portal-preview-tip {
|
.portal-preview-tip {
|
||||||
margin: 0 0 12px;
|
margin: 0 0 8px;
|
||||||
padding-left: 13px;
|
padding-left: 10px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 1.55;
|
line-height: 1.55;
|
||||||
color: rgba(255, 255, 255, 0.48);
|
color: rgba(255, 255, 255, 0.48);
|
||||||
@@ -1077,7 +1078,7 @@ onUnmounted(() => {
|
|||||||
.portal-preview-body {
|
.portal-preview-body {
|
||||||
max-height: min(72vh, 620px);
|
max-height: min(72vh, 620px);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 12px 14px 16px;
|
padding: 10px 12px 14px;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
border: 1px solid rgba(0, 212, 255, 0.12);
|
border: 1px solid rgba(0, 212, 255, 0.12);
|
||||||
background: rgba(0, 0, 0, 0.22);
|
background: rgba(0, 0, 0, 0.22);
|
||||||
@@ -1282,7 +1283,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
/* 统计 / 亮点 / 场景 … */
|
/* 统计 / 亮点 / 场景 … */
|
||||||
.stats-section { padding: 80px 20px; position: relative; z-index: 10; }
|
.stats-section { padding: 80px 20px; position: relative; z-index: 10; }
|
||||||
.stats-section.portal-card-lite { padding: 28px 20px; margin-bottom: 28px; }
|
.stats-section.portal-card-lite { padding: 22px 14px; margin-bottom: 22px; }
|
||||||
.stats-container {
|
.stats-container {
|
||||||
max-width: 1200px; margin: 0 auto;
|
max-width: 1200px; margin: 0 auto;
|
||||||
display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
|
display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
|
||||||
|
|||||||
Reference in New Issue
Block a user