放大了字体,然后改善了手机样式

This commit is contained in:
2026-02-09 23:12:56 +08:00
parent 5a2102797a
commit 9f337a2ea4
6 changed files with 51 additions and 28 deletions
+6 -6
View File
@@ -39,7 +39,7 @@
/* 大标题 */
.hero-content h1 {
font-size: 3.5rem;
font-size: 4rem; /* 增大 Hero 标题 (原3.5rem) */
font-weight: 800;
letter-spacing: -0.02em;
margin-bottom: 1.5rem;
@@ -51,7 +51,7 @@
/* 描述文本 (代码风格) */
.hero-description {
font-size: 1.25rem;
font-size: 1.5rem; /* 增大 Hero 描述 (原1.25rem) */
color: var(--text-secondary);
margin-bottom: 3rem;
font-family: var(--font-mono);
@@ -72,7 +72,7 @@
/* 标题带有命令提示符风格 */
.services-provided h2 {
font-size: 1.5rem;
font-size: 1.8rem; /* 增大服务标题 (原1.5rem) */
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: none;
@@ -123,15 +123,15 @@
}
.service-icon svg {
width: 80px;
height: 80px;
width: 90px; /* 增大图标 (原80px) */
height: 90px;
display: block;
}
.service-item span {
font-weight: 600;
color: var(--text-primary);
font-size: 1.1rem;
font-size: 1.25rem; /* 增大服务项文字 (原1.1rem) */
}
/* --- 响应式适配 --- */