mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-29 19:36:36 +08:00
优化
优化
This commit is contained in:
Vendored
+16
-11
@@ -328,19 +328,24 @@ body {
|
||||
}
|
||||
|
||||
/* ── 播放器字幕(WebVTT <track>)──
|
||||
去掉浏览器默认黑底,用文字阴影保证亮画面下的可读性;
|
||||
font 简写携带 line-height 收紧两行字幕的行距(默认行距偏大)。 */
|
||||
video::cue {
|
||||
background-color: transparent;
|
||||
color: #fff;
|
||||
font:
|
||||
500 1.15em/1.35 "PingFang SC",
|
||||
彻底去除浏览器 User Agent 默认的半透明黑底背景框,使用文字阴影保证亮暗画面下的可读性。 */
|
||||
::cue,
|
||||
video::cue,
|
||||
::cue(*),
|
||||
video::cue(*) {
|
||||
background: transparent !important;
|
||||
background-color: transparent !important;
|
||||
color: #ffffff !important;
|
||||
font-family:
|
||||
"PingFang SC",
|
||||
"Microsoft YaHei",
|
||||
"Noto Sans CJK SC",
|
||||
"Source Han Sans SC",
|
||||
sans-serif;
|
||||
sans-serif !important;
|
||||
font-weight: 500 !important;
|
||||
line-height: 1.35 !important;
|
||||
text-shadow:
|
||||
0 1px 3px rgba(0, 0, 0, 0.9),
|
||||
0 0 8px rgba(0, 0, 0, 0.55),
|
||||
0 0 16px rgba(0, 0, 0, 0.35);
|
||||
0 1px 3px rgba(0, 0, 0, 0.95),
|
||||
0 0 8px rgba(0, 0, 0, 0.8),
|
||||
0 0 16px rgba(0, 0, 0, 0.6) !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user