feat: 添加路由支持,重构应用结构,新增导航栏和页面占位符
This commit is contained in:
1 parent
bd87fc0db8
commit
7bafbf9e64
17 files changed
+516
-123
No files matched your search
@@ -0,0 +1,76 @@
|
||||
.banner {
|
||||
position: relative;
|
||||
min-height: 100svh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-image: url('/banner.jpg');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.banner::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
.banner-overlay {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 32px;
|
||||
padding: 120px 24px 64px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.banner-title {
|
||||
margin: 0;
|
||||
font-size: 64px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -1px;
|
||||
color: #fff;
|
||||
text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.banner-button {
|
||||
display: inline-block;
|
||||
padding: 14px 40px;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
background: rgba(17, 18, 23, 0.65);
|
||||
border: 1px solid rgba(255, 255, 255, 0.5);
|
||||
border-radius: 999px;
|
||||
text-decoration: none;
|
||||
backdrop-filter: blur(6px);
|
||||
transition:
|
||||
background 0.25s,
|
||||
transform 0.25s;
|
||||
|
||||
&:hover {
|
||||
background: #c084fc;
|
||||
border-color: #c084fc;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.banner-title {
|
||||
font-size: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.banner-title {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.banner-button {
|
||||
padding: 12px 32px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user