view nebula-subtitle-style.user.js @ 114:817b62848b27

Backed out changeset 055f5d084706
author nanaya <me@nanaya.net>
date Sun, 15 Jan 2023 23:43:40 +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;
  }
`);