view nebula-subtitle-style.user.js @ 108:2c4470b73ad9

Switch to semistandard No more `;` at the start of line.
author nanaya <me@nanaya.net>
date Sun, 15 Jan 2023 23:24:03 +0900
parents dac3ba0cd960
children ef21ef445fc6
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;
  }
`);