view nebula-subtitle-style.user.js @ 87:dac3ba0cd960

Add nebula subtitle style
author nanaya <me@nanaya.pro>
date Sat, 04 Dec 2021 04:06:11 +0900
parents
children 2c4470b73ad9
line wrap: on
line source

// ==UserScript==
// @name        nebula subtitle style
// @namespace   https://myconan.net
// @match       https://nebula.app/*
// @grant       GM_addStyle
// @version     1.0.1
// @author      nanaya
// @description Better subtitle styling
// @downloadURL https://hg.myconan.net/ec-userscripts/raw-file/tip/nebula-subtitle-style.user.js
// ==/UserScript==

/* global GM_addStyle */
GM_addStyle(`
  .vjs-text-track-cue * {
    background: transparent !important;
    text-shadow: 2px 2px 5px #000 !important;
  }
`)