chore: initialize deployable website and CMS

This commit is contained in:
Codex User
2026-09-08 11:57:17 +08:00
commit 3a99ae30c5
57 changed files with 11205 additions and 0 deletions
+106
View File
@@ -0,0 +1,106 @@
.site-header {
position: sticky;
top: 0;
z-index: 100;
background: #fff;
border-bottom: 1px solid #e2e8f0;
}
.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 64px;
gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--primary); }
.brand-mark {
width: 36px; height: 36px;
background: var(--primary);
color: #fff;
border-radius: 8px;
display: grid; place-items: center;
font-weight: 900;
}
.brand-text strong { display: block; font-size: 15px; line-height: 1; }
.brand-text small { font-size: 11px; color: var(--text-muted); letter-spacing: 0.06em; }
.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-link {
padding: 8px 12px;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
color: var(--text-secondary);
}
.nav-link.active, .nav-link:hover { background: #f1f5f9; color: var(--primary); }
.nav-resident { display: flex; gap: 10px; align-items: center; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.hamburger {
display: none;
flex-direction: column;
gap: 4px;
background: none;
border: none;
cursor: pointer;
padding: 6px;
}
.hamburger span { width: 22px; height: 2px; background: var(--primary); border-radius: 2px; display: block; }
.nav-current-path {
background: #f8fafc;
border-top: 1px solid #f1f5f9;
font-size: 11px;
color: #94a3b8;
padding: 4px 0;
}
.site-footer {
background: #0f172a;
color: #cbd5e1;
padding: 48px 0 24px;
margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr; gap: 32px; }
.footer-brand { color: #fff; font-weight: 800; margin-bottom: 10px; }
.footer-desc { font-size: 13px; line-height: 1.7; color: #94a3b8; }
.footer-note { color: #f59e0b; }
.footer-meta { font-size: 11px; color: #64748b; margin-top: 10px; }
.site-footer h4 { color: #fff; font-size: 13px; margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer ul a { color: #94a3b8; font-size: 13px; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
margin-top: 32px;
padding-top: 16px;
border-top: 1px solid #1e293b;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 8px;
font-size: 12px;
color: #64748b;
}
.footer-bottom a { color: #94a3b8; }
@media (max-width: 960px) {
.nav-menu, .nav-resident {
display: none;
}
.nav-menu.open, .nav-resident.open {
display: flex;
position: absolute;
left: 0; right: 0;
background: #fff;
border-bottom: 1px solid #e2e8f0;
padding: 12px 16px;
flex-direction: column;
align-items: stretch;
}
.nav-menu.open { top: 64px; }
.nav-resident.open { top: 260px; }
.nav-link { padding: 12px; }
.hamburger { display: flex; }
.footer-grid { grid-template-columns: 1fr; }
}