From 784afec686199be4638635a539f11dd959df28cb Mon Sep 17 00:00:00 2001 From: array-in-a-matrix Date: Wed, 12 Jan 2022 13:32:36 -0500 Subject: [PATCH] formating --- index.js | 77 ++++-------------------------------------------- style.css | 88 +++++++++++++++++++++++++++---------------------------- 2 files changed, 50 insertions(+), 115 deletions(-) diff --git a/index.js b/index.js index eb36949..7ad2f13 100644 --- a/index.js +++ b/index.js @@ -1,71 +1,6 @@ -// const CSS = ` -// .ytp-play-progress, -// .ytp-swatch-background-color { -// animation: RGB 25s ease-in-out infinite; -// } - -// @keyframes RGB { -// from { -// background-color: #FF0000; -// } - -// 7% { -// background-color: #FF7700; -// } - -// 14% { -// background-color: #FFDD00; -// } - -// 21% { -// background-color: #00FF00; -// } - -// 28% { -// background-color: #0000FF; -// } - -// 35% { -// background-color: #8A2BE2; -// } - -// 42% { -// background-color: #C77DF3; -// } - -// 49% { -// background-color: #C77DF3; -// } - -// 56% { -// background-color: #8A2BE2; -// } - -// 63% { -// background-color: #0000FF; -// } - -// 70% { -// background-color: #00FF00; -// } - -// 77% { -// background-color: #FFDD00; -// } - -// 84% { -// background-color: #FF7700; -// } - -// 91% { -// background-color: #FF0000; -// } -// } -// `; - -pageMod.PageMod( { - include: '*', - contentStyleFile: [ - data.url( 'style.css' ) - ] - }) \ No newline at end of file +pageMod.PageMod({ + include: '*', + contentStyleFile: [ + data.url('style.css') + ] +}) \ No newline at end of file diff --git a/style.css b/style.css index d4a81bf..72e67e9 100644 --- a/style.css +++ b/style.css @@ -1,62 +1,62 @@ .ytp-play-progress, .ytp-swatch-background-color { - animation: RGB 25s ease-in-out infinite; + animation: RGB 25s ease-in-out infinite; } @keyframes RGB { - from { - background-color: #FF0000; - } + from { + background-color: #FF0000; + } - 7% { - background-color: #FF7700; - } + 7% { + background-color: #FF7700; + } - 14% { - background-color: #FFDD00; - } + 14% { + background-color: #FFDD00; + } - 21% { - background-color: #00FF00; - } + 21% { + background-color: #00FF00; + } - 28% { - background-color: #0000FF; - } + 28% { + background-color: #0000FF; + } - 35% { - background-color: #8A2BE2; - } + 35% { + background-color: #8A2BE2; + } - 42% { - background-color: #C77DF3; - } + 42% { + background-color: #C77DF3; + } - 49% { - background-color: #C77DF3; - } + 49% { + background-color: #C77DF3; + } - 56% { - background-color: #8A2BE2; - } + 56% { + background-color: #8A2BE2; + } - 63% { - background-color: #0000FF; - } + 63% { + background-color: #0000FF; + } - 70% { - background-color: #00FF00; - } + 70% { + background-color: #00FF00; + } - 77% { - background-color: #FFDD00; - } + 77% { + background-color: #FFDD00; + } - 84% { - background-color: #FF7700; - } + 84% { + background-color: #FF7700; + } - 91% { - background-color: #FF0000; - } -} + 91% { + background-color: #FF0000; + } +} \ No newline at end of file