Netflix字幕自定義

自行設定字幕字體外框租細顏色Set Netflix subtitle font shadow

目前为 2024-02-02 提交的版本。查看 最新版本

/* ==UserStyle==
@name           Netflix字幕自定義
@namespace      https://gf.qytechs.cn/zh-TW/scripts/486313
@version        1.0.2
@description    自行設定字幕字體外框租細顏色Set Netflix subtitle font shadow
@author         Leadra
@var text       font_sys                "字體自行輸入"    ""
@var select     font_se                 "字體選擇"      ["Netflix Sans","微軟正黑體","源樣黑體","LXGW WenKai*","yozai","GenYoGothic","sans-serif", "serif", "monospace"]
@var select     font_weight             "字體細粗"      ["normal*", "bold"]
@var select     font_style              "字體正斜"      ["normal*", "italic"]
@var number     font_size               "字體size"      [80, 0, 110, 5,"px"]
@var color      font_color              "字體色"        rgba(255, 255, 255, 1)
@var number     sh_size                 "字框size"      [3, 0, 10, 1,"px"]
@var color      sh_color                "字框色"        rgba(7, 5, 255, 1)
@supportURL     https://www.netflix.com/settings/subtitles
@homepageURL    https://gf.qytechs.cn/zh-TW/scripts/486313
@license        MIT-0
==/UserStyle== */
/*參考
https://userstyles.world/style/10249
https://gf.qytechs.cn/zh-TW/scripts/444131
https://userstyles.world/style/7930
*/
@-moz-document url-prefix("https://www.netflix.com/watch/"), url-prefix("https://www.netflix.com/settings/subtitles") {
    /* Set Subtitle Font */
    div.player-timedtext > div.player-timedtext-text-container > span > span {
        font-family: var(--font_sys), var(--font_se) !important;
        font-weight: var(--font_weight) !important;
        font-style: var(--font_style) !important;
        font-size: var(--font_size) !important;//8.4em
        color: var(--font_color) !important;
        text-shadow: 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color), 0 0 var(--sh_size) var(--sh_color) !important;
    }
}
/*
Netflix Sans(網站預設)
微軟正黑體
源樣黑體
LXGW WenKai(霞鶩文楷)
GenYoGothic(源樣黑體N)
yozai(悠哉體)
*/

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址