From 2896ff4e52241c7cb3ee24f91527c42ef0bfbecb Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 18 Jan 2024 16:15:41 +0100 Subject: remove change in colors for twitter --- plugins/style/style.c | 2 +- plugins/style/style.h | 2 +- plugins/style/style.js | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'plugins/style') diff --git a/plugins/style/style.c b/plugins/style/style.c index 4631518..c63185f 100644 --- a/plugins/style/style.c +++ b/plugins/style/style.c @@ -1,7 +1,7 @@ #include #include #include -#define STYLE_N 7127 + 1000 +#define STYLE_N 7265 + 1000 void read_style_js(char* string) { diff --git a/plugins/style/style.h b/plugins/style/style.h index a28552a..da1c4af 100644 --- a/plugins/style/style.h +++ b/plugins/style/style.h @@ -1,7 +1,7 @@ #ifndef STYLE #define STYLE -#define STYLE_N 7127 + 1000 +#define STYLE_N 7265 + 1000 void read_style_js(char* string); diff --git a/plugins/style/style.js b/plugins/style/style.js index b66e521..c9e3f83 100644 --- a/plugins/style/style.js +++ b/plugins/style/style.js @@ -123,10 +123,16 @@ if (document.domain == "twitter.com") { } /* No change of colors in hover */ + *:hover { + /* background-color: white !important; */ + background-color: !important; + transition: none !important; + }*/ + /* *:hover { background-color: inherit !important; transition: none !important; - } + }*/ /* Hide go to top button */ [aria-label^="New posts are available. Push the period key to go to the them."]{ display: none; -- cgit v1.2.3