changeset 87:dac3ba0cd960

Add nebula subtitle style
author nanaya <me@nanaya.pro>
date Sat, 04 Dec 2021 04:06:11 +0900
parents 2d9624e04134
children 14eafa2920c8
files nebula-subtitle-style.user.js
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nebula-subtitle-style.user.js	Sat Dec 04 04:06:11 2021 +0900
@@ -0,0 +1,18 @@
+// ==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;
+  }
+`)