feat: 更新网站页面和组件,新增多个页面(关于、专家、会员、政策等)
This commit is contained in:
@@ -1,3 +1,62 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
:root {
|
||||
--gov-blue: #1e6fb5;
|
||||
--gov-teal: #2ba69a;
|
||||
|
||||
--text-primary: #333333;
|
||||
--text-secondary: #4b5563;
|
||||
--text-tertiary: #6b7280;
|
||||
|
||||
--bg-page: #f7f9fc;
|
||||
--bg-surface: #ffffff;
|
||||
--border-subtle: rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
html {
|
||||
color: var(--text-primary);
|
||||
background: var(--bg-page);
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
text-size-adjust: 100%;
|
||||
font-family: "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui,
|
||||
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
|
||||
"Apple Color Emoji", "Segoe UI Emoji";
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
color: var(--text-primary);
|
||||
background: var(--bg-page);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--gov-blue);
|
||||
text-decoration-thickness: 1px;
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #185d96;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--gov-teal);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
#main-content {
|
||||
scroll-margin-top: 120px;
|
||||
}
|
||||
|
||||
html[data-contrast='high'] {
|
||||
--text-primary: #0f172a;
|
||||
--text-secondary: #111827;
|
||||
--text-tertiary: #111827;
|
||||
--bg-page: #ffffff;
|
||||
--border-subtle: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user