diff --git a/base.css b/base.css index bd0de68..234057d 100644 --- a/base.css +++ b/base.css @@ -1,19 +1,7 @@ -.none__51a8f { - scrollbar-width: auto !important; - overflow-y: scroll !important; - overflow-x: hidden !important; - margin-right: 2px; -} - -.none__51a8f:hover::-webkit-scrollbar { - width: 0.30em !important; - border-radius: 25px; - height: 0px !important; - background: transparent !important; - -} - -.none__51a8f::-webkit-scrollbar-thumb { - background: var(--background-accent); - border-radius: 25px; +nav[class*="guilds_"]>ul[class*="tree_"]>div[class*="none_"]:hover { + scrollbar-width: thin; + scrollbar-color: var(--scrollbar-thin-thumb) var(--scrollbar-thin-track); } +nav[class*="guilds_"]>ul[class*="tree_"]>div[class*="none_"] { + margin-right: -2px; +} \ No newline at end of file diff --git a/index.user.css b/index.user.css index 582a5b7..5407a51 100644 --- a/index.user.css +++ b/index.user.css @@ -1,11 +1,11 @@ /* ==UserStyle== @name Server List Scrollbar @namespace https://github.com/kckarnige/server-scroll -@version 1.0.0 -@description A neat little Discord theme that a adds a scrollbar to the server list +@version 2.0.0 +@description A neat little Discord theme that a adds a scrollbar to your server list @author KayoticCarnige ==/UserStyle== */ -@-moz-document domain("discord.com"), domain("dev.fosscord.com") { +@-moz-document domain("discord.com") { @import url('https://raw.githack.com/kckarnige/server-scroll/main/base.css'); } diff --git a/readme.md b/readme.md index acce9fd..010dbe7 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@
I lost my mouse, so I made this :)
+Because consistency matters.
@@ -16,4 +16,4 @@ If you want to add this to your theme, put this into your base CSS file:
[
Stylus Theme Install](https://github.com/kckarnige/server-scroll/raw/main/index.user.css)
-[
BetterDiscord Theme Download](https://betterdiscord.net/ghdl/?url=https://raw.githubusercontent.com/kckarnige/server-scroll/main/serverlistscroll.theme.css)
+[
BetterDiscord Theme Download](https://github.com/kckarnige/server-scroll/raw/main/serverlistscroll.theme.css)
diff --git a/serverlistscroll.theme.css b/serverlistscroll.theme.css
index 47dd2b2..a0ced3b 100644
--- a/serverlistscroll.theme.css
+++ b/serverlistscroll.theme.css
@@ -1,7 +1,7 @@
/**
* @name Server List Scrollbar
- * @version 1.0.0
- * @description A neat little Discord theme that a adds a scrollbar to the server list
+ * @version 2.0.0
+ * @description A neat little Discord theme that a adds a scrollbar to your server list
* @author KayoticCarnige
* @source https://github.com/kckarnige/server-scroll
**/