style: Hero/页面头宽度对齐内容区(1360→1200),首页副标题改为「Ai时代,所有项目都值得重构」

This commit is contained in:
2026-10-10 11:35:21 +08:00
parent 5bec0ea1fd
commit 51cb52789a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -314,7 +314,7 @@ def build():
<div class="hero-euler" aria-hidden="true">e<sup>iπ</sup> + 1 = 0</div> <div class="hero-euler" aria-hidden="true">e<sup>iπ</sup> + 1 = 0</div>
<div class="container"> <div class="container">
<h1>人工智能研究与工程实施</h1> <h1>人工智能研究与工程实施</h1>
<p class="hero-sub">Ai时代,旧的经验规则已失效,所有项目都需要重构</p> <p class="hero-sub">Ai时代,所有项目都值得重构</p>
<div class="hero-actions"> <div class="hero-actions">
<a href="/tools/" class="btn btn-light">探索工具开发</a> <a href="/tools/" class="btn btn-light">探索工具开发</a>
<a href="/research/" class="btn btn-outline-light">前沿技术研究</a> <a href="/research/" class="btn btn-outline-light">前沿技术研究</a>
+2 -2
View File
@@ -158,7 +158,7 @@ a:hover { color: var(--brand-dark); }
.hero { .hero {
position: relative; overflow: hidden; color: #fff; position: relative; overflow: hidden; color: #fff;
background: var(--bg-dark); background: var(--bg-dark);
max-width: 1360px; width: calc(100% - 56px); max-width: 1200px; width: calc(100% - 56px);
margin: 28px auto 0; border-radius: 26px; margin: 28px auto 0; border-radius: 26px;
padding: 60px 0 68px; padding: 60px 0 68px;
} }
@@ -209,7 +209,7 @@ a:hover { color: var(--brand-dark); }
.page-hero { .page-hero {
position: relative; overflow: hidden; color: #fff; position: relative; overflow: hidden; color: #fff;
background: var(--grad-dark); background: var(--grad-dark);
max-width: 1360px; width: calc(100% - 56px); max-width: 1200px; width: calc(100% - 56px);
margin: 28px auto 0; border-radius: 26px; margin: 28px auto 0; border-radius: 26px;
padding: 56px 0 60px; padding: 56px 0 60px;
} }
+1 -1
View File
@@ -62,7 +62,7 @@
<div class="hero-euler" aria-hidden="true">e<sup>iπ</sup> + 1 = 0</div> <div class="hero-euler" aria-hidden="true">e<sup>iπ</sup> + 1 = 0</div>
<div class="container"> <div class="container">
<h1>人工智能研究与工程实施</h1> <h1>人工智能研究与工程实施</h1>
<p class="hero-sub">Ai时代,旧的经验规则已失效,所有项目都需要重构</p> <p class="hero-sub">Ai时代,所有项目都值得重构</p>
<div class="hero-actions"> <div class="hero-actions">
<a href="/tools/" class="btn btn-light">探索工具开发</a> <a href="/tools/" class="btn btn-light">探索工具开发</a>
<a href="/research/" class="btn btn-outline-light">前沿技术研究</a> <a href="/research/" class="btn btn-outline-light">前沿技术研究</a>