Skip to content

哔哩哔哩番剧播放器3.x cc字幕描边&背景透明 by howard20181

Details

Authorhoward20181

LicenseMIT

CategoryBilibili

Created

Updated

Size598 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

哔哩哔哩番剧播放器3.x不允许设置cc字幕样式,本脚本将其背景设置为透明并加上描边

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         哔哩哔哩番剧播放器3.x cc字幕描边&背景透明
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    哔哩哔哩番剧播放器3.x不允许设置cc字幕样式,本脚本将其背景设置为透明并加上描边
@author        Howard Wu
@license MIT
==/UserStyle== */

@-moz-document regexp(".*://www.bilibili.com/bangumi/play/.+") {
    .squirtle-subtitle-item-text {
        background: rgba(0, 0, 0, 0) !important;
        text-shadow: rgb(0, 0, 0) 0 0 1px, rgb(0, 0, 0) 0 0 1px, rgb(0, 0, 0) 0 0 1px !important;
    }
}

Reviews

No reviews yet.