mirror of
https://github.com/zs-yg/kortapp-z.git
synced 2025-12-06 16:10:42 +08:00
72 lines
1.0 KiB
CSS
72 lines
1.0 KiB
CSS
/* 全局样式 */
|
|
body {
|
|
font-family: 'Microsoft YaHei', sans-serif;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: #333;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
/* 页眉样式 */
|
|
header {
|
|
background-color: #2c3e50;
|
|
color: white;
|
|
text-align: center;
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
header h1 {
|
|
margin: 0;
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
header p {
|
|
margin: 0.5rem 0 0;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
/* 主体内容样式 */
|
|
main {
|
|
max-width: 1200px;
|
|
margin: 2rem auto;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
section {
|
|
background: white;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
|
padding: 2rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
h2 {
|
|
color: #2c3e50;
|
|
border-bottom: 2px solid #eee;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
/* 链接样式 */
|
|
a {
|
|
color: #3498db;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* 页脚样式 */
|
|
footer {
|
|
text-align: center;
|
|
padding: 1rem 0;
|
|
background-color: #2c3e50;
|
|
color: white;
|
|
}
|
|
|
|
footer nav a {
|
|
color: white;
|
|
margin: 0 1rem;
|
|
}
|