Update style.css
Browse files
style.css
CHANGED
|
@@ -1,28 +1,77 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
|
|
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
}
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
}
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* 中文站点浅色主题样式 */
|
| 2 |
+
:root {
|
| 3 |
+
--bg: #FFF9E6; /* 淡黄色底色 */
|
| 4 |
+
--bg-alt: #FFFFFF;
|
| 5 |
+
--text: #1B1E22;
|
| 6 |
+
--muted: #5B6674;
|
| 7 |
+
--primary: #FF7A59; /* 橙色主色 */
|
| 8 |
+
--primary-2: #FFB84D; /* 金色辅助 */
|
| 9 |
+
--accent: #6C8CFF;
|
| 10 |
+
--card-bg: #FFFFFF;
|
| 11 |
+
--card-border: #E9EDF3;
|
| 12 |
+
--shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
|
| 13 |
}
|
| 14 |
|
| 15 |
+
* { box-sizing: border-box; }
|
| 16 |
+
html, body { height: 100%; }
|
| 17 |
+
body {
|
| 18 |
+
margin: 0;
|
| 19 |
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
| 20 |
+
background: linear-gradient(180deg, #FFFDF5 0%, var(--bg) 100%);
|
| 21 |
+
color: var(--text);
|
| 22 |
}
|
| 23 |
+
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
|
| 24 |
|
| 25 |
+
/* 顶部导航 */
|
| 26 |
+
.topbar { position: sticky; top: 0; backdrop-filter: saturate(180%) blur(6px); background: rgba(255,255,255,0.7); border-bottom: 1px solid #EFEFEF; z-index: 50; }
|
| 27 |
+
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
|
| 28 |
+
.brand { font-weight: 700; font-size: 18px; letter-spacing: 0.2px; }
|
| 29 |
+
.brand .accent { background: linear-gradient(90deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
| 30 |
+
.nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 14px; }
|
| 31 |
+
.nav a:hover { color: var(--text); }
|
| 32 |
|
| 33 |
+
/* 英雄区 */
|
| 34 |
+
.hero { padding: 72px 0 36px; text-align: center; }
|
| 35 |
+
.hero h1 { font-size: 48px; line-height: 1.1; margin: 0 0 16px; }
|
| 36 |
+
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
|
| 37 |
+
.cta { display: inline-flex; gap: 12px; }
|
| 38 |
+
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
|
| 39 |
+
.btn-primary { color: #fff; background: linear-gradient(90deg, var(--primary), var(--primary-2)); box-shadow: var(--shadow); }
|
| 40 |
+
.btn-primary:hover { filter: brightness(1.02); }
|
| 41 |
+
.btn-outline { color: var(--text); background: #fff; border-color: #E6E6E6; }
|
| 42 |
+
.btn-outline:hover { background: #FAFAFA; }
|
| 43 |
|
| 44 |
+
/* 装饰分割线 */
|
| 45 |
+
.divider { height: 20px; display: flex; align-items: center; justify-content: center; margin: 8px 0 28px; }
|
| 46 |
+
.divider-line { height: 1px; width: 100%; background: linear-gradient(90deg, transparent, #F0F0F0 20%, #EAEAEA 50%, #F0F0F0 80%, transparent); }
|
| 47 |
+
|
| 48 |
+
/* 功能亮点 */
|
| 49 |
+
.features { padding: 20px 0 8px; }
|
| 50 |
+
.section-title { font-size: 24px; margin: 0 0 16px; text-align: center; }
|
| 51 |
+
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
|
| 52 |
+
.feature-card { padding: 18px; border-radius: 16px; border: 1px solid var(--card-border); background: var(--card-bg); box-shadow: var(--shadow); }
|
| 53 |
+
.feature-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--text); }
|
| 54 |
+
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
|
| 55 |
+
|
| 56 |
+
/* 节点式要点列表(About用) */
|
| 57 |
+
.feature-list { list-style: disc; padding-left: 20px; margin: 10px 0 0; }
|
| 58 |
+
.feature-list li { color: var(--muted); line-height: 1.6; font-size: 14px; }
|
| 59 |
+
|
| 60 |
+
/* 使用场景 */
|
| 61 |
+
.usecases { padding: 12px 0 24px; text-align: center; }
|
| 62 |
+
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
|
| 63 |
+
.chip { padding: 8px 12px; border-radius: 999px; background: #FFF; border: 1px solid #EEE; color: var(--text); font-size: 13px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
|
| 64 |
+
|
| 65 |
+
/* 底部横幅 */
|
| 66 |
+
.ribbon { margin: 28px 0 36px; border-radius: 16px; background: linear-gradient(180deg, #FFF4CC, #FFFFFF); border: 1px solid #F3EBC7; padding: 24px; text-align: center; box-shadow: var(--shadow); }
|
| 67 |
+
.ribbon h3 { margin: 0; font-size: 18px; color: var(--text); }
|
| 68 |
+
|
| 69 |
+
/* About 模块堆叠布局 */
|
| 70 |
+
.feature-stack { display: grid; grid-template-columns: 1fr; gap: 16px; }
|
| 71 |
+
.feature-stack .feature-card { position: relative; padding: 22px; border-radius: 18px; }
|
| 72 |
+
.feature-stack .feature-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--primary), var(--primary-2)); border-radius: 4px; }
|
| 73 |
+
.feature-stack .feature-card h3 { font-size: 20px; margin-bottom: 10px; }
|
| 74 |
+
|
| 75 |
+
/* 响应式 */
|
| 76 |
+
@media (max-width: 900px) { .hero h1 { font-size: 40px; } .feature-grid { grid-template-columns: repeat(2, 1fr); } }
|
| 77 |
+
@media (max-width: 640px) { .hero h1 { font-size: 34px; } .feature-grid { grid-template-columns: 1fr; } .topbar-inner { height: 56px; } .nav a { margin-left: 12px; } }
|