change html

This commit is contained in:
2026-08-24 15:37:08 +08:00
parent 3325bc52ef
commit 0487879eee
139 changed files with 9789 additions and 1684 deletions
+497
View File
@@ -0,0 +1,497 @@
:root,
[data-theme="light"] {
color-scheme: light;
--bg-0: #f3f6fb;
--bg-1: #e7eef7;
--panel: rgba(255, 255, 255, 0.88);
--line: rgba(36, 68, 110, 0.16);
--text: #122033;
--muted: #4d6078;
--accent: #0d8a76;
--accent-2: #c46a16;
--shadow: 0 20px 48px rgba(30, 50, 80, 0.1);
--glow-a: #c7d8ef;
--glow-b: #d5e3f3;
--surface-deep: rgba(255, 255, 255, 0.76);
--ghost-bg: rgba(255, 255, 255, 0.7);
--code-bg: #eef3f8;
--code-text: #16324a;
--btn-ink: #02201a;
--dash: rgba(36, 68, 110, 0.18);
--hero-orb: rgba(196, 106, 22, 0.28);
--dot-glow: rgba(13, 138, 118, 0.35);
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--bg-0: #06101f;
--bg-1: #0f1d35;
--panel: rgba(10, 22, 43, 0.72);
--line: rgba(104, 149, 214, 0.32);
--text: #e6efff;
--muted: #b4c5e2;
--accent: #44d1b6;
--accent-2: #ffb65d;
--shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
--glow-a: #1f3e70;
--glow-b: #32456b;
--surface-deep: rgba(8, 19, 35, 0.66);
--ghost-bg: rgba(12, 26, 49, 0.42);
--code-bg: rgba(7, 17, 33, 0.9);
--code-text: #dff7ff;
--btn-ink: #02201a;
--dash: rgba(120, 159, 212, 0.25);
--hero-orb: rgba(255, 182, 93, 0.3);
--dot-glow: rgba(68, 209, 182, 0.9);
}
}
[data-theme="dark"] {
color-scheme: dark;
--bg-0: #06101f;
--bg-1: #0f1d35;
--panel: rgba(10, 22, 43, 0.72);
--line: rgba(104, 149, 214, 0.32);
--text: #e6efff;
--muted: #b4c5e2;
--accent: #44d1b6;
--accent-2: #ffb65d;
--shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
--glow-a: #1f3e70;
--glow-b: #32456b;
--surface-deep: rgba(8, 19, 35, 0.66);
--ghost-bg: rgba(12, 26, 49, 0.42);
--code-bg: rgba(7, 17, 33, 0.9);
--code-text: #dff7ff;
--btn-ink: #02201a;
--dash: rgba(120, 159, 212, 0.25);
--hero-orb: rgba(255, 182, 93, 0.3);
--dot-glow: rgba(68, 209, 182, 0.9);
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
min-height: 100%;
color: var(--text);
background:
radial-gradient(1200px 700px at 8% -10%, var(--glow-a) 0%, transparent 56%),
radial-gradient(1100px 700px at 98% 0%, var(--glow-b) 0%, transparent 62%),
linear-gradient(165deg, var(--bg-1) 0%, var(--bg-0) 65%);
font-family: "Avenir Next", "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC",
"Microsoft YaHei", "Segoe UI", sans-serif;
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.wrap {
width: min(1120px, calc(100% - 40px));
margin: 0 auto;
}
.hero {
position: relative;
overflow: hidden;
padding: 26px 0 58px;
}
.hero::after {
content: "";
position: absolute;
width: 320px;
height: 320px;
right: -120px;
top: 36px;
border: 1px solid var(--hero-orb);
border-radius: 42% 58% 56% 44%;
filter: blur(0.3px);
animation: float 7s ease-in-out infinite;
}
@keyframes float {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-12px);
}
}
.topbar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 50px;
padding: 22px 0 0;
gap: 12px;
}
.hero .topbar {
padding-top: 0;
}
.brand {
display: inline-flex;
align-items: center;
gap: 10px;
font-size: 19px;
letter-spacing: 0.4px;
font-weight: 650;
}
.dot {
width: 10px;
height: 10px;
border-radius: 999px;
background: linear-gradient(135deg, var(--accent), #66ffdf);
box-shadow: 0 0 18px var(--dot-glow);
}
.topnav {
display: inline-flex;
align-items: center;
gap: 14px;
flex-wrap: wrap;
justify-content: flex-end;
}
.topnav a {
color: var(--muted);
font-size: 14px;
}
.topnav a.active {
color: var(--text);
}
.theme-switch {
display: inline-flex;
border: 1px solid var(--line);
border-radius: 999px;
overflow: hidden;
background: var(--panel);
}
.theme-switch button {
border: 0;
background: transparent;
color: var(--muted);
padding: 6px 10px;
font: inherit;
font-size: 12px;
font-weight: 650;
cursor: pointer;
}
.theme-switch button.active {
background: var(--accent);
color: var(--btn-ink);
}
.hero-grid {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 28px;
align-items: center;
}
.eyebrow {
color: var(--accent-2);
font-size: 13px;
letter-spacing: 1.4px;
text-transform: uppercase;
margin-bottom: 10px;
}
h1 {
margin: 10px 0 14px;
font-family: "STZhongsong", "Songti SC", "Noto Serif SC", "Georgia", serif;
font-size: clamp(30px, 5.2vw, 58px);
line-height: 1.08;
}
.lead {
margin: 0 0 26px;
color: var(--muted);
line-height: 1.75;
font-size: 16px;
}
.cta {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0 16px;
border-radius: 11px;
border: 1px solid transparent;
font-weight: 650;
}
.btn-primary {
background: linear-gradient(135deg, var(--accent), #2dc1f3);
color: var(--btn-ink);
}
.btn-ghost {
color: var(--text);
border-color: var(--line);
background: var(--ghost-bg);
}
.hero-panel {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 16px;
padding: 22px 20px;
box-shadow: var(--shadow);
backdrop-filter: blur(8px);
}
.kpi {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.kpi-item {
background: var(--surface-deep);
border: 1px solid var(--line);
border-radius: 12px;
padding: 14px;
}
.kpi-item strong {
display: block;
font-size: 24px;
margin-bottom: 4px;
}
section {
padding: 38px 0;
}
.title {
margin: 0 0 14px;
font-size: clamp(26px, 3.6vw, 36px);
font-family: "STZhongsong", "Songti SC", "Noto Serif SC", "Georgia", serif;
}
.sub {
margin: 0 0 18px;
color: var(--muted);
line-height: 1.72;
}
.grid-3,
.grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}
.card {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 14px;
padding: 18px 16px;
box-shadow: var(--shadow);
}
.card h2,
.card h3 {
margin: 0 0 8px;
}
.card h2 {
font-size: 22px;
}
.card h3 {
font-size: 18px;
}
.card p,
.meta {
margin: 0;
color: var(--muted);
line-height: 1.68;
}
.meta {
min-height: 86px;
margin-bottom: 12px;
}
.contact {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}
.line {
display: block;
margin-top: 6px;
color: var(--muted);
}
.tip,
.help {
margin: 0 0 26px;
padding: 12px 14px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--surface-deep);
color: var(--muted);
}
.help {
margin-top: 28px;
padding: 16px;
}
code {
background: var(--code-bg);
border: 1px solid var(--line);
border-radius: 7px;
padding: 1px 6px;
color: var(--code-text);
font-family: "SFMono-Regular", "JetBrains Mono", "Consolas", monospace;
font-size: 13px;
}
.entry,
.policy {
border: 1px solid var(--line);
border-radius: 14px;
background: var(--panel);
padding: 18px 16px;
}
.entry {
margin-bottom: 14px;
}
.entry-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 8px;
}
.entry h2 {
margin: 0;
font-size: 24px;
}
.date {
color: var(--accent-2);
font-size: 13px;
}
.entry ul {
margin: 0;
padding-left: 18px;
color: var(--muted);
line-height: 1.75;
}
.policy h2 {
margin: 0 0 8px;
font-size: 21px;
}
.policy p {
margin: 0 0 12px;
color: var(--muted);
line-height: 1.76;
}
.section {
padding: 12px 0;
border-bottom: 1px dashed var(--dash);
}
.section:last-child {
border-bottom: none;
}
footer {
padding: 24px 0 36px;
margin-top: 30px;
color: var(--muted);
font-size: 14px;
border-top: 1px solid var(--line);
}
.fade-up {
opacity: 0;
transform: translateY(12px);
animation: fadeUp 0.7s ease forwards;
}
.fade-up.d2 {
animation-delay: 0.12s;
}
.fade-up.d3 {
animation-delay: 0.2s;
}
@keyframes fadeUp {
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 920px) {
.hero-grid,
.contact,
.grid-3,
.grid {
grid-template-columns: 1fr;
}
.hero {
padding-bottom: 40px;
}
.topbar {
margin-bottom: 28px;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation: none !important;
}
.fade-up {
opacity: 1;
transform: none;
}
}