2018-11-24 02:52:24 +08:00
|
|
|
#songbg,
|
|
|
|
#songbg>*,
|
|
|
|
#song-stage{
|
2018-11-24 00:53:29 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2018-11-24 02:52:24 +08:00
|
|
|
}
|
|
|
|
#songbg{
|
2018-11-24 00:53:29 +08:00
|
|
|
max-width: calc(100vh / 9 * 32);
|
|
|
|
height: 50.1%;
|
|
|
|
background-color: #000;
|
|
|
|
}
|
|
|
|
#songbg>*{
|
|
|
|
top: 0;
|
2018-11-24 02:52:24 +08:00
|
|
|
}
|
|
|
|
#songbg,
|
|
|
|
#songbg>*{
|
2018-11-24 00:53:29 +08:00
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
}
|
2018-11-24 02:52:24 +08:00
|
|
|
#song-stage{
|
|
|
|
height: calc(44 / 720 * 100vh);
|
2018-11-24 22:09:08 +08:00
|
|
|
background-position: center bottom;
|
|
|
|
background-repeat-y: no-repeat;
|
2018-11-24 02:52:24 +08:00
|
|
|
}
|
|
|
|
.portrait #songbg{
|
|
|
|
height: 63.4%;
|
2018-11-24 03:44:14 +08:00
|
|
|
max-height: calc(50% + 24vw);
|
|
|
|
}
|
|
|
|
.touchp2 #songbg{
|
|
|
|
height: calc(50% - 5.5vw);
|
|
|
|
}
|
|
|
|
.multiplayer.portrait #songbg{
|
|
|
|
height: calc(50% - 37vw);
|
|
|
|
min-height: calc(29% + 1px);
|
|
|
|
}
|
|
|
|
.multiplayer:not(.touchp2):not(.portrait) #songbg,
|
|
|
|
.multiplayer:not(.touchp2):not(.portrait) #song-stage{
|
|
|
|
display: none;
|
2018-11-24 02:52:24 +08:00
|
|
|
}
|
2018-11-24 00:53:29 +08:00
|
|
|
.game-paused *{
|
|
|
|
animation-play-state: paused !important;
|
|
|
|
}
|
|
|
|
@keyframes songbg-strobe{
|
|
|
|
0%{opacity: 1}
|
|
|
|
25%{opacity: 0}
|
|
|
|
50%{opacity: 0.66}
|
|
|
|
75%{opacity: 0}
|
|
|
|
}
|
|
|
|
@keyframes songbg-pulse{
|
|
|
|
0%{opacity: 1}
|
|
|
|
50%{opacity: 0}
|
|
|
|
}
|
|
|
|
.songbg-1 #layer2,
|
|
|
|
.songbg-2 #layer2,
|
|
|
|
.songbg-3 #layer2{
|
|
|
|
animation: 0.4s linear songbg-strobe infinite;
|
|
|
|
mix-blend-mode: difference;
|
|
|
|
}
|
|
|
|
.songbg-4 #layer2{
|
|
|
|
animation: 0.4s linear songbg-pulse infinite;
|
|
|
|
mix-blend-mode: difference;
|
|
|
|
}
|
|
|
|
.songbg-5 #layer2{
|
|
|
|
animation: 1s linear songbg-pulse infinite;
|
|
|
|
mix-blend-mode: color-dodge;
|
|
|
|
}
|
2018-11-26 06:42:24 +08:00
|
|
|
.songbg-strobe #layer2{
|
|
|
|
animation: 0.4s linear songbg-strobe infinite;
|
|
|
|
}
|
|
|
|
.songbg-pulse #layer2{
|
|
|
|
animation: 0.4s linear songbg-pulse infinite;
|
|
|
|
}
|
|
|
|
.songbg-slowfade #layer2{
|
|
|
|
animation: 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) songbg-pulse infinite;
|
|
|
|
}
|
2018-11-24 00:53:29 +08:00
|
|
|
.touch-visible #layer2{
|
|
|
|
display: none;
|
|
|
|
background-image: none;
|
|
|
|
animation: none;
|
|
|
|
}
|