aboutsummaryrefslogtreecommitdiff
path: root/plugins/style
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-12-29 18:37:50 +0100
committerNunoSempere <nuno.sempere@protonmail.com>2023-12-29 18:37:50 +0100
commit6ed0181a0c7520cf818661ab10c537f43489cae2 (patch)
tree395cf16f9e25e42c59ec9a5d44bc2c651c8b5aff /plugins/style
parentf2535db66f58272ee93441c1955b0871dd38bf25 (diff)
fix F11 screen toggling
Diffstat (limited to 'plugins/style')
-rw-r--r--plugins/style/style.c2
-rw-r--r--plugins/style/style.h2
-rw-r--r--plugins/style/style.js9
3 files changed, 11 insertions, 2 deletions
diff --git a/plugins/style/style.c b/plugins/style/style.c
index efa6b9a..4631518 100644
--- a/plugins/style/style.c
+++ b/plugins/style/style.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#define STYLE_N 6894 + 1000
+#define STYLE_N 7127 + 1000
void read_style_js(char* string)
{
diff --git a/plugins/style/style.h b/plugins/style/style.h
index 5c22e87..a28552a 100644
--- a/plugins/style/style.h
+++ b/plugins/style/style.h
@@ -1,7 +1,7 @@
#ifndef STYLE
#define STYLE
-#define STYLE_N 6894 + 1000
+#define STYLE_N 7127 + 1000
void read_style_js(char* string);
diff --git a/plugins/style/style.js b/plugins/style/style.js
index 30f35a6..b66e521 100644
--- a/plugins/style/style.js
+++ b/plugins/style/style.js
@@ -127,6 +127,15 @@ if (document.domain == "twitter.com") {
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;
+ }
+
+ /* No transparency at the top */
+ [aria-live^="polite"]{
+ background: white !important;
+ }
`;