mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
commit
e925ae98e2
1 changed files with 5 additions and 3 deletions
|
@ -670,14 +670,16 @@ export default {
|
||||||
.shaka-text-wrapper > span {
|
.shaka-text-wrapper > span {
|
||||||
background: #0008 !important;
|
background: #0008 !important;
|
||||||
backdrop-filter: blur(20rem);
|
backdrop-filter: blur(20rem);
|
||||||
border: 1.5rem solid var(--efy_color_border);
|
|
||||||
border-radius: var(--efy_radius);
|
border-radius: var(--efy_radius);
|
||||||
padding: 8rem 12rem;
|
padding: 6rem 10rem;
|
||||||
line-height: 28rem;
|
line-height: 24rem;
|
||||||
}
|
}
|
||||||
.shaka-text-wrapper > span:empty {
|
.shaka-text-wrapper > span:empty {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
.shaka-text-wrapper > span * {
|
||||||
|
background: transparent !important;
|
||||||
|
}
|
||||||
/* apply to all spans that don't include multiple other spans to avoid the style being applied to the text container too when the subtitles are two lines */
|
/* apply to all spans that don't include multiple other spans to avoid the style being applied to the text container too when the subtitles are two lines */
|
||||||
.shaka-text-wrapper > span > span *:first-child:last-child {
|
.shaka-text-wrapper > span > span *:first-child:last-child {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
|
|
Loading…
Reference in a new issue