view nebula-subtitle-style.user.js @ 135:59c8866710f8

[mandarake-direct-link] skip redundant node type check
author nanaya <me@nanaya.net>
date Mon, 08 Jan 2024 21:53:12 +0900
parents ef21ef445fc6
children
line wrap: on
line source

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

'use strict';

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