161 lines
2.8 KiB
CSS
161 lines
2.8 KiB
CSS
/* 主页样式 */
|
|
.home-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
background-color: #f0f7f4;
|
|
}
|
|
|
|
/* 头部样式 */
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.75rem 2rem;
|
|
background-color: white;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
height: 36px;
|
|
margin-right: 0.75rem;
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.logo-text-en {
|
|
font-size: 0.75rem;
|
|
color: #666;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05rem;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.datetime {
|
|
font-size: 0.875rem;
|
|
color: #666;
|
|
}
|
|
|
|
.user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.avatar {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.username {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
/* 主要内容区域 */
|
|
.main-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 3rem 1.5rem;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.welcome-text {
|
|
font-size: 1.75rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
margin-bottom: 3rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.modules-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 2.5rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.module-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 250px;
|
|
padding: 2rem 1.5rem;
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.module-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.module-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
margin-bottom: 1.5rem;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
}
|
|
|
|
.contract-icon {
|
|
background-image: url('/images/contract-icon.svg');
|
|
}
|
|
|
|
.review-icon {
|
|
background-image: url('/images/review-icon.svg');
|
|
}
|
|
|
|
.ai-icon {
|
|
background-image: url('/images/ai-icon.svg');
|
|
}
|
|
|
|
.module-name {
|
|
font-size: 1.125rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
/* 底部山水背景 */
|
|
.footer {
|
|
height: 200px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.mountains-bg {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url('/images/mountains-bg.svg');
|
|
background-position: center bottom;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
} |