164 lines
3.1 KiB
CSS
164 lines
3.1 KiB
CSS
/* 主页样式 */
|
|
.home-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
/* height: 100%; */
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
/* 头部样式 */
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.75rem 1rem;
|
|
background-color: white;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
height: 60px;
|
|
margin-right: 0.15rem;
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: 1.8rem;
|
|
font-weight: 800;
|
|
color: #333;
|
|
}
|
|
|
|
.logo-text-en {
|
|
margin-top: -0.2rem;
|
|
font-size: 0.85rem;
|
|
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:1rem;
|
|
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;
|
|
}
|
|
|
|
/* 主要内容区域 */
|
|
.index-main-content {
|
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
height: 100%;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
background-color: #f0f7f4;
|
|
background-image: url('/images/主页背景-min.png');
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.index-main-content-container {
|
|
padding: 2rem 0;
|
|
margin: 0 auto;
|
|
width: 90%;
|
|
max-width: 1200px;
|
|
transform: translateY(-7rem);
|
|
}
|
|
.welcome-text {
|
|
font-size: 1.75rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
margin-bottom: 5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.modules-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 2.5rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.module-card {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 250px;
|
|
padding: 2rem 1.5rem;
|
|
background: linear-gradient(to bottom, #ebebeb, #ffffff);
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.module-card:hover {
|
|
transform: translateY(-5px);
|
|
border-color: #269b6c;
|
|
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* .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 {
|
|
margin-left: 1rem;
|
|
font-size: 1.125rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
|
|
.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;
|
|
} |