52 lines
985 B
CSS
52 lines
985 B
CSS
:root {
|
|
--brand: #1f3864;
|
|
--brand-2: #2e5496;
|
|
--bg: #f3f5f9;
|
|
--text: #1f2937;
|
|
--muted: #6b7280;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
html,
|
|
body,
|
|
#app {
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100%;
|
|
font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
color: var(--text);
|
|
background: var(--bg);
|
|
}
|
|
/* 移动优先;PC 居中为手机宽度容器 */
|
|
.app-shell {
|
|
max-width: 560px;
|
|
margin: 0 auto;
|
|
min-height: 100vh;
|
|
background: var(--bg);
|
|
position: relative;
|
|
box-shadow: 0 0 24px rgba(0, 0, 0, 0.04);
|
|
}
|
|
.card {
|
|
background: #fff;
|
|
border-radius: 14px;
|
|
margin: 12px;
|
|
padding: 16px;
|
|
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
|
|
}
|
|
.section-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
margin: 0 0 12px;
|
|
padding-left: 10px;
|
|
border-left: 4px solid var(--brand-2);
|
|
line-height: 1.2;
|
|
}
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
button {
|
|
font-family: inherit;
|
|
}
|