默认首页是视频星空

This commit is contained in:
2025-09-28 17:23:31 +08:00
parent 888f8d9939
commit 181fba92de
8 changed files with 31 additions and 243 deletions

View File

@@ -1,34 +1,31 @@
.starry-canvas {
.page-container {
position: relative;
width: 100%;
height: 100vh;
overflow: hidden;
}
#bg-video {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #0a0a1a; /* 深蓝色夜空 */
z-index: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.content {
position: relative;
z-index: 1;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #ffffff;
padding: 20rpx;
height: 100%;
color: white;
text-align: center;
}
.title {
font-size: 60rpx;
font-size: 64rpx;
font-weight: bold;
margin-bottom: 20rpx;
text-shadow: 0 0 10rpx rgba(255, 255, 255, 0.5);
}
.subtitle {
font-size: 32rpx;
opacity: 0.9;
}
}