mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 04:01:20 -08:00
42 lines
832 B
SCSS
42 lines
832 B
SCSS
.art-video-player {
|
|
.art-subtitle {
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 20;
|
|
bottom: 10px;
|
|
width: 100%;
|
|
padding: 0 20px;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: 20px;
|
|
pointer-events: none;
|
|
text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.5);
|
|
|
|
p {
|
|
word-break: break-all;
|
|
height: fit-content;
|
|
margin: 5px 0 0;
|
|
line-height: 1.2;
|
|
}
|
|
}
|
|
|
|
.art-bilingual {
|
|
p:nth-child(n + 2) {
|
|
transform: scale(0.6);
|
|
transform-origin: center top;
|
|
}
|
|
}
|
|
|
|
&.art-subtitle-show {
|
|
.art-subtitle {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
&.art-control-show {
|
|
.art-subtitle {
|
|
bottom: 50px;
|
|
}
|
|
}
|
|
}
|