annotate nebula-subtitle-style.user.js @ 118:8de2d53a4cb1

Fix metadata - fix download url - unify spacing
author nanaya <me@nanaya.net>
date Sun, 15 Jan 2023 23:57:10 +0900
parents ef21ef445fc6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
87
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
1 // ==UserScript==
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
2 // @name nebula subtitle style
109
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
3 // @namespace https://nanaya.net
87
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
4 // @match https://nebula.app/*
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
5 // @grant GM_addStyle
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
6 // @version 1.0.1
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
7 // @author nanaya
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
8 // @description Better subtitle styling
109
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
9 // @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/nebula-subtitle-style.user.js
87
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
10 // ==/UserScript==
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
11
109
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
12 'use strict';
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
13
87
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
14 /* global GM_addStyle */
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
15 GM_addStyle(`
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
16 .vjs-text-track-cue * {
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
17 background: transparent !important;
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
18 text-shadow: 2px 2px 5px #000 !important;
dac3ba0cd960 Add nebula subtitle style
nanaya <me@nanaya.pro>
parents:
diff changeset
19 }
108
2c4470b73ad9 Switch to semistandard
nanaya <me@nanaya.net>
parents: 87
diff changeset
20 `);