You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.0 KiB

/* 全局样式重置 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #f0f2f5;
color: #262626;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
/* 主应用容器 */
.App {
min-height: 100vh;
}
/* 通用标题样式 */
h2 {
font-size: 24px;
font-weight: 600;
color: #262626;
margin-bottom: 24px;
}
/* 通用卡片样式 */
.ant-card {
border-radius: 4px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}
/* 通用按钮样式 */
.ant-btn {
border-radius: 4px;
}
/* 通用表单样式 */
.ant-form {
width: 100%;
}
/* 通用表格样式 */
.ant-table {
border-radius: 4px;
overflow: hidden;
}
/* 响应式设计 */
@media (max-width: 768px) {
h2 {
font-size: 20px;
margin-bottom: 16px;
}
}