rel 1.0
This commit is contained in:
+208
-9
@@ -6,6 +6,7 @@
|
||||
--line: #ece7e2;
|
||||
--line-strong: #d8dde8;
|
||||
--text: #2d2a28;
|
||||
--text-heading: #1f2430;
|
||||
--muted: #8e8a87;
|
||||
--muted-strong: #686461;
|
||||
--accent: #f28877;
|
||||
@@ -14,6 +15,10 @@
|
||||
--brand-soft: #eef3ff;
|
||||
--footer: #313238;
|
||||
--footer-muted: #b8bcc6;
|
||||
--header-bg: rgba(255, 253, 251, 0.9);
|
||||
--hero-accent: #2875ff;
|
||||
--showcase-title-color: #4986cb;
|
||||
--nav-link: #44423f;
|
||||
--shadow-soft: 0 22px 70px rgba(38, 52, 90, 0.08);
|
||||
--shadow-card: 0 14px 48px rgba(43, 53, 84, 0.08);
|
||||
--radius-xl: 36px;
|
||||
@@ -21,6 +26,49 @@
|
||||
--radius-md: 18px;
|
||||
--content: 1320px;
|
||||
--nav-h: 104px;
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
--bg: #0f1115;
|
||||
--surface: #171a21;
|
||||
--surface-soft: #1c2028;
|
||||
--surface-accent: #222836;
|
||||
--line: #2a2f3a;
|
||||
--line-strong: #3d4454;
|
||||
--text: #e8eaef;
|
||||
--text-heading: #f1f3f7;
|
||||
--muted: #8b95a5;
|
||||
--muted-strong: #aeb6c3;
|
||||
--accent: #ff9a8a;
|
||||
--brand: #9bb4ff;
|
||||
--brand-strong: #b8c8ff;
|
||||
--brand-soft: #252a38;
|
||||
--footer: #0c0e12;
|
||||
--footer-muted: #8a91a0;
|
||||
--header-bg: rgba(15, 17, 21, 0.88);
|
||||
--hero-accent: #7eb8ff;
|
||||
--showcase-title-color: #7ec8f0;
|
||||
--nav-link: #c9d0db;
|
||||
--shadow-soft: 0 22px 70px rgba(0, 0, 0, 0.35);
|
||||
--shadow-card: 0 14px 48px rgba(0, 0, 0, 0.4);
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
.site-lang-en body,
|
||||
.site-lang-fr body {
|
||||
font-family: Manrope, "Segoe UI", system-ui, sans-serif;
|
||||
}
|
||||
|
||||
.site-lang-ja body {
|
||||
font-family:
|
||||
Manrope,
|
||||
"Hiragino Sans",
|
||||
"Hiragino Kaku Gothic ProN",
|
||||
"Noto Sans JP",
|
||||
"PingFang SC",
|
||||
"Microsoft YaHei",
|
||||
sans-serif;
|
||||
}
|
||||
|
||||
*,
|
||||
@@ -72,7 +120,7 @@ button {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
background: rgba(255, 253, 251, 0.9);
|
||||
background: var(--header-bg);
|
||||
backdrop-filter: blur(16px);
|
||||
}
|
||||
|
||||
@@ -116,11 +164,11 @@ button {
|
||||
}
|
||||
|
||||
.brand-copy strong {
|
||||
color: #1f2430;
|
||||
color: var(--text-heading);
|
||||
}
|
||||
|
||||
.brand-copy span {
|
||||
color: #1f2430;
|
||||
color: var(--text-heading);
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
@@ -135,7 +183,7 @@ button {
|
||||
padding: 8px 0;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: #44423f;
|
||||
color: var(--nav-link);
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
@@ -156,15 +204,96 @@ button {
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.header-tools {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.lang-switch {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.lang-switch summary {
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.lang-switch summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.lang-switch-panel {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: calc(100% + 10px);
|
||||
min-width: 168px;
|
||||
padding: 8px;
|
||||
border-radius: 16px;
|
||||
border: 1px solid var(--line);
|
||||
background: var(--surface);
|
||||
box-shadow: var(--shadow-card);
|
||||
z-index: 120;
|
||||
}
|
||||
|
||||
.lang-switch-panel a {
|
||||
display: block;
|
||||
padding: 10px 12px;
|
||||
border-radius: 12px;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.lang-switch-panel a:hover,
|
||||
.lang-switch-panel a:focus-visible {
|
||||
background: var(--brand-soft);
|
||||
color: var(--brand-strong);
|
||||
}
|
||||
|
||||
.lang-switch-panel a.current {
|
||||
color: var(--brand-strong);
|
||||
}
|
||||
|
||||
.theme-toggle-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 14px;
|
||||
background: var(--surface);
|
||||
color: var(--text-heading);
|
||||
cursor: pointer;
|
||||
transition: background 0.15s ease, border-color 0.15s ease;
|
||||
}
|
||||
|
||||
.theme-toggle-btn:hover {
|
||||
border-color: var(--line-strong);
|
||||
}
|
||||
|
||||
.theme-toggle-btn .icon-dark {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .theme-toggle-btn .icon-light {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .theme-toggle-btn .icon-dark {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.locale-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 12px;
|
||||
padding: 8px 14px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 999px;
|
||||
background: var(--surface);
|
||||
color: var(--muted);
|
||||
color: var(--muted-strong);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
@@ -172,6 +301,7 @@ button {
|
||||
.locale-pill svg {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
@@ -222,6 +352,18 @@ button {
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.philosophy-hero {
|
||||
background: linear-gradient(145deg, rgba(122, 160, 255, 0.12) 0%, rgba(238, 243, 255, 0.9) 40%, rgba(122, 160, 255, 0.08) 100%);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .philosophy-hero {
|
||||
background: linear-gradient(145deg, rgba(122, 160, 255, 0.14) 0%, rgba(23, 26, 33, 0.96) 45%, rgba(122, 160, 255, 0.06) 100%);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .index-hero {
|
||||
box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.55);
|
||||
}
|
||||
|
||||
.hero.centered {
|
||||
text-align: center;
|
||||
}
|
||||
@@ -250,7 +392,7 @@ button {
|
||||
.hero-subtitle {
|
||||
max-width: 640px;
|
||||
margin: 18px auto 0;
|
||||
color: #2875FF;
|
||||
color: var(--hero-accent);
|
||||
font-size: 30px;
|
||||
line-height: 1.9;
|
||||
letter-spacing: 0.04em;
|
||||
@@ -513,7 +655,7 @@ button {
|
||||
top: 28px;
|
||||
left: 32px;
|
||||
margin: 0;
|
||||
color: #4986CB;
|
||||
color: var(--showcase-title-color);
|
||||
font-size: 32px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.02em;
|
||||
@@ -795,6 +937,29 @@ button {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer-legal-line {
|
||||
margin: 0;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.site-footer .footer-icp-link {
|
||||
color: rgba(255, 255, 255, 0.62);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
|
||||
.site-footer .footer-icp-link:hover {
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
|
||||
.footer-trademark {
|
||||
margin: 14px auto 0;
|
||||
max-width: 720px;
|
||||
color: rgba(255, 255, 255, 0.38);
|
||||
font-size: 11px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
/* ========== 背景装饰 ========== */
|
||||
.bg-wash {
|
||||
position: relative;
|
||||
@@ -1134,10 +1299,44 @@ button {
|
||||
}
|
||||
|
||||
.nav-links,
|
||||
.locale-pill {
|
||||
.lang-switch {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-lang {
|
||||
padding: 8px 0 4px;
|
||||
margin-top: 8px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.mobile-lang p {
|
||||
margin: 0 0 8px;
|
||||
padding: 0 18px;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.mobile-lang a {
|
||||
display: block;
|
||||
padding: 10px 18px;
|
||||
border-radius: 12px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.mobile-lang a.current {
|
||||
background: var(--brand-soft);
|
||||
color: var(--brand-strong);
|
||||
}
|
||||
|
||||
.mobile-menu .theme-toggle-btn {
|
||||
margin: 12px 18px 0;
|
||||
width: calc(100% - 36px);
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user