- 替换多张图片资源为PNG格式 - 重构底部播放器样式,调整布局和动画效果 - 优化guess页面的UI元素和交互提示 - 修复CSS中的z-index和line-height问题 - 调整音频预加载策略为auto
307 lines
5.7 KiB
CSS
307 lines
5.7 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
.container {
|
|
width: 100%;
|
|
background-color: #333333;
|
|
}
|
|
.container .flexflex {
|
|
display: flex;
|
|
}
|
|
.container .flexcenter {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.container .flexjcenter {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.container .flexacenter {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.container .flex1 {
|
|
flex: 1;
|
|
}
|
|
.container .flexcolumn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.container .mar1200 {
|
|
width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
.container .container-box {
|
|
padding-top: 24px;
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.container .container-box .logo {
|
|
width: 121px;
|
|
height: 24px;
|
|
margin-bottom: 31px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header {
|
|
position: relative;
|
|
width: 1200px;
|
|
height: 280px;
|
|
border-radius: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.container .container-box .header::after {
|
|
content: "";
|
|
width: 1200px;
|
|
height: 280px;
|
|
background: linear-gradient(180deg, #7d4bf8 0%, #5241b0 100%);
|
|
border-radius: 20px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
.container .container-box .header .halo {
|
|
width: 240px;
|
|
height: 214px;
|
|
position: absolute;
|
|
top: -71px;
|
|
left: -59px;
|
|
}
|
|
.container .container-box .header .star-icon {
|
|
position: absolute;
|
|
top: 46px;
|
|
left: 51px;
|
|
width: 56px;
|
|
height: 56px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .love-little {
|
|
position: absolute;
|
|
top: 120px;
|
|
left: -9px;
|
|
width: 173px;
|
|
height: 148px;
|
|
transform: rotate(315deg);
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .bj-2 {
|
|
width: 360px;
|
|
height: 128px;
|
|
position: absolute;
|
|
left: 25px;
|
|
bottom: 0;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .music-icon {
|
|
width: 34px;
|
|
height: 37px;
|
|
position: absolute;
|
|
top: 194px;
|
|
left: 40px;
|
|
transform: rotate(345deg);
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .bj {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 1064px;
|
|
height: 280px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .love-big {
|
|
width: 298px;
|
|
height: 256px;
|
|
display: flex;
|
|
transform: rotate(44deg);
|
|
position: absolute;
|
|
top: 22px;
|
|
left: 64px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .music-score {
|
|
width: 240px;
|
|
height: 240px;
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 197px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .question {
|
|
width: 289px;
|
|
height: 280px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 668px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .text {
|
|
width: 243px;
|
|
height: 210px;
|
|
position: absolute;
|
|
top: 50px;
|
|
left: 423px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .face {
|
|
width: 83px;
|
|
height: 83px;
|
|
position: absolute;
|
|
top: -27px;
|
|
left: 1080px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .star-icon-2 {
|
|
width: 110px;
|
|
height: 110px;
|
|
position: absolute;
|
|
left: 979px;
|
|
top: 70px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .ai-music {
|
|
width: 81px;
|
|
height: 28px;
|
|
position: absolute;
|
|
top: 240px;
|
|
left: 1106px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .record-black {
|
|
width: 191px;
|
|
height: 199px;
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: -1px;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .record-circle {
|
|
position: absolute;
|
|
top: 132px;
|
|
left: 1063px;
|
|
background-color: #72db86;
|
|
width: 94px;
|
|
height: 94px;
|
|
border-radius: 50%;
|
|
z-index: 1;
|
|
}
|
|
.container .container-box .header .record-circle::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
display: block;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background-color: #fff;
|
|
}
|
|
.container .container-box .header .green-glow {
|
|
width: 306px;
|
|
height: 62px;
|
|
position: absolute;
|
|
top: 245px;
|
|
left: 217px;
|
|
}
|
|
.container .container-box .header .shadow {
|
|
width: 240px;
|
|
height: 165px;
|
|
position: absolute;
|
|
top: 151px;
|
|
left: 997px;
|
|
}
|
|
.container .container-box .details {
|
|
height: 500px;
|
|
width: 1200px;
|
|
border-radius: 20px;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
position: relative;
|
|
z-index: 1;
|
|
padding: 3px;
|
|
}
|
|
.container .container-box .details::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: calc(100% - 6px);
|
|
height: calc(100% - 6px);
|
|
background-color: #7d4bf8;
|
|
z-index: -1;
|
|
border-radius: 18px;
|
|
}
|
|
.container .container-box .details .ray-light {
|
|
width: 286px;
|
|
height: 286px;
|
|
position: absolute;
|
|
top: 3px;
|
|
}
|
|
.container .container-box .details .ray-light.ray-light-left {
|
|
left: 3px;
|
|
}
|
|
.container .container-box .details .ray-light.ray-light-right {
|
|
right: 3px;
|
|
transform: scaleX(-1);
|
|
}
|
|
.container .container-box .details .bj-check {
|
|
width: 1200px;
|
|
height: 134px;
|
|
position: absolute;
|
|
bottom: 3px;
|
|
left: 0;
|
|
}
|
|
.container .container-box .details .bj-mask {
|
|
width: 1194px;
|
|
height: 129px;
|
|
position: absolute;
|
|
left: 3px;
|
|
bottom: 3px;
|
|
}
|
|
.container .container-box .details .fluctuate-icon {
|
|
width: 400px;
|
|
height: 86px;
|
|
position: absolute;
|
|
top: 293px;
|
|
right: 0;
|
|
}
|
|
.container .container-box .details .start-box {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
}
|
|
.container .container-box .details .start-box .microphone {
|
|
width: 326px;
|
|
height: 326px;
|
|
position: absolute;
|
|
top: 93px;
|
|
left: 163px;
|
|
}
|
|
.container .container-box .details .start-box .suspect-text {
|
|
width: 493px;
|
|
height: 56px;
|
|
position: absolute;
|
|
top: 136px;
|
|
left: 517px;
|
|
}
|
|
.container .container-box .details .start-box .hint {
|
|
font-size: 18px;
|
|
color: #ffffff;
|
|
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
|
position: absolute;
|
|
top: 215px;
|
|
left: 517px;
|
|
}
|
|
.container .container-box .details .start-box .start-icon {
|
|
width: 168px;
|
|
height: 69px;
|
|
position: absolute;
|
|
top: 268px;
|
|
left: 517px;
|
|
cursor: pointer;
|
|
}
|