diff --git a/index.html b/index.html
index 243e4be..3645070 100644
--- a/index.html
+++ b/index.html
@@ -23,7 +23,7 @@
--radius-lg: 12px;
--shadow-sm: 0 1px 2px rgba(0,0,0,0.03), 0 1px 6px -1px rgba(0,0,0,0.02);
--shadow-md: 0 2px 4px rgba(0,0,0,0.04), 0 4px 12px -2px rgba(0,0,0,0.04);
- --header-h: 56px;
+ --header-h: 64px;
--sidebar-w: 260px;
--drawer-bg: #FFFFFF;
}
@@ -52,14 +52,18 @@ body {
-webkit-tap-highlight-color: transparent;
transition: background 0.2s ease, color 0.2s ease;
}
+::-webkit-scrollbar { width: 6px; height: 6px; }
+::-webkit-scrollbar-track { background: transparent; }
+::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
+::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }
.header-bar {
position: sticky; top: 0; height: var(--header-h);
- background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
+ background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border-light);
- display: flex; align-items: center; justify-content: center; padding: 0 16px; z-index: 100; gap: 16px;
+ display: flex; align-items: center; justify-content: center; padding: 0 2rem; z-index: 100; gap: 16px;
}
-.header-bar-inner { display: flex; align-items: center; gap: 16px; max-width: 960px; width: 100%; }
-[data-theme="dark"] .header-bar { background: rgba(28,28,30,0.95); }
+.header-bar-inner { display: flex; align-items: center; gap: 16px; max-width: 1200px; width: 100%; }
+[data-theme="dark"] .header-bar { background: rgba(28,28,30,0.85); }
.header-bar .menu-btn {
width: 36px; height: 36px; border: none; background: none;
cursor: pointer; border-radius: var(--radius-sm);
@@ -70,12 +74,12 @@ body {
.header-bar .menu-btn svg { width: 20px; height: 20px; color: var(--text-secondary); }
.header-bar .brand { display: flex; align-items: baseline; gap: 8px; flex-shrink: 0; }
.header-bar h1 {
- font-size: 15px; font-weight: 700;
+ font-size: 18px; font-weight: 700;
background: linear-gradient(135deg, var(--color-primary) 0%, #722ED1 100%);
-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
-.header-bar .tagline { font-size: 11px; color: var(--text-tertiary); display: inline; }
-.search-box { flex: 0 1 240px; min-width: 100px; position: relative; }
+.header-bar .tagline { font-size: 12px; color: var(--text-tertiary); display: inline; }
+.search-box { flex: 1; min-width: 120px; max-width: 360px; position: relative; }
.search-box input {
width: 100%; padding: 8px 12px 8px 34px;
border: 1px solid var(--border); border-radius: var(--radius-sm);
@@ -117,7 +121,7 @@ body {
.layout { display: flex; max-width: 1200px; margin: 0 auto; min-height: calc(100vh - var(--header-h)); }
.sidebar {
width: var(--sidebar-w); flex-shrink: 0; background: var(--bg-container);
- border-right: 1px solid var(--border-light); padding: 16px 0;
+ border-right: 1px solid var(--border); padding: 1.25rem 0;
overflow-y: auto; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h));
}
.sidebar .nav-section { padding: 0 16px; margin-bottom: 8px; }
@@ -180,7 +184,7 @@ body {
}
.drawer .theme-toggle-btn:hover { background: var(--color-primary-bg); color: var(--color-primary); }
-.main { flex: 1; padding: 24px 32px 64px; min-width: 0; }
+.main { flex: 1; padding: 32px 40px 64px; min-width: 0; }
.breadcrumb { font-size: 12px; color: var(--text-tertiary); margin-bottom: 12px; }
.breadcrumb a { color: var(--text-tertiary); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
@@ -193,13 +197,13 @@ body {
.stat-num { font-size: 18px; font-weight: 700; color: var(--color-primary); }
.stat-label { font-size: 12px; color: var(--text-tertiary); }
.wiki-section { margin-bottom: 28px; }
-.wiki-section-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
+.wiki-section-title { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.wiki-section-desc { font-size: 13px; color: var(--text-tertiary); margin-bottom: 14px; }
-.all-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
+.all-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.all-card {
- background: var(--bg-container); border: 1px solid var(--border-light);
- border-radius: var(--radius-md); padding: 16px 18px;
- transition: all 0.15s ease; text-decoration: none; color: var(--text-primary); display: block;
+ background: var(--bg-container); border: 1px solid var(--border);
+ border-radius: var(--radius-md); padding: 24px;
+ transition: all 0.2s ease; text-decoration: none; color: var(--text-primary); display: block;
}
.all-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.all-card:active { transform: scale(0.99); }
@@ -243,19 +247,19 @@ body {
@media (min-width: 769px) { .chip-bar { display: none !important; } }
@media (max-width: 768px) {
- .header-bar { padding: 0 10px; gap: 8px; }
+ .header-bar { padding: 0 20px; }
.header-bar .tagline { display: none; }
.search-box input { padding: 7px 10px 7px 30px; }
.search-box .search-icon { left: 8px; font-size: 14px; }
.chip-bar { display: block; }
.sidebar { display: none; }
- .main { padding: 16px 12px 48px; }
- .all-grid { grid-template-columns: 1fr; gap: 10px; }
- .all-card { padding: 14px 16px; }
+ .main { padding: 24px 20px 48px; }
+ .all-grid { grid-template-columns: 1fr; }
+ .all-card { padding: 20px; }
.stats-bar { gap: 8px; }
.stat-item { padding: 6px 10px; }
.stat-num { font-size: 16px; }
- .wiki-section-title { font-size: 16px; }
+ .wiki-section-title { font-size: 18px; }
.wiki-toc-item { padding: 10px 14px 10px 36px; }
.wiki-toc-header { padding: 12px 14px; }
}