1
0

Update gelbooru-disable-nyudachi.user.css

This commit is contained in:
Akamaru
2025-10-25 13:47:43 +02:00
parent 40d41345ab
commit 55bfaedc14

View File

@@ -1,7 +1,7 @@
/* ==UserStyle==
@name Gelbooru - Disable Nyudachi Design
@namespace https://git.ponywave.de/Akamaru/Userscripts
@version 0.1
@version 0.2
@description Blockiert das Nyudachi Design auf Gelbooru und zeigt das normale Design
@author Akamaru
@homepageURL https://git.ponywave.de/Akamaru/Userscripts
@@ -11,44 +11,68 @@
/* Dieses UserCSS befindet sich noch in der Testphase */
@-moz-document regexp("https?:\\/\\/gelbooru\\.com\\/index\\.php$") {
/* Entferne Nyudachi Hintergrund vom body */
body[style*="nyuBar.png"] {
background: #ffffff !important;
/* Verstecke AdBlock-Nachricht generell */
div[style*="text-align: center"][style*="color: #5a5a5a"]:has(a[onclick*="addEngine"]) {
display: none !important;
}
/* Verstecke das animierte Nyudachi Logo */
img[src*="nyudachi/AnimatedLogoGIF.gif"] {
/* Verstecke "Original concept by Danbooru" generell */
#static-index small[style*="color: #aaa"] {
display: none !important;
}
/* Alle folgenden Regeln greifen nur, wenn Nyudachi Design aktiv ist */
/* Stelle normalen Hintergrund wieder her */
body[style*="nyuBar.png"] {
background: url('layout/index_back.png') repeat-x !important;
}
/* Verstecke das animierte Nyudachi Logo und zeige Text stattdessen */
body[style*="nyuBar.png"] #static-index h1 img[src*="nyudachi/AnimatedLogoGIF.gif"] {
display: none !important;
}
body[style*="nyuBar.png"] #static-index h1 a[href*="index.php?page=post&s=list&tags=all"]::after {
content: "Gelbooru";
color: inherit;
}
/* Verstecke alle Nyudachi Grafiken */
img[src*="nyuSniffa.png"],
div[style*="nyuBar2.png"] {
body[style*="nyuBar.png"] img[src*="nyuSniffa.png"],
body[style*="nyuBar.png"] div[style*="nyuBar2.png"] {
display: none !important;
}
/* Verstecke den Nyudachi Werbetext */
div[style*="nyuBar2.png"] ~ b {
/* Verstecke den Nyudachi Werbetext nach dem großen div */
body[style*="nyuBar.png"] div[style*="nyuBar2.png"] ~ b {
display: none !important;
}
/* Setze Link-Farben auf Standardwerte zurück (Gelbooru Blau) */
div#static-index > * > a,
a {
color: #0073ff !important;
/* Verstecke den "Plap plap plap" Footer-Text */
body[style*="nyuBar.png"] div[style*="text-align: center"][style*="color: #5a5a5a"] {
display: none !important;
}
div#static-index > * > a:hover,
a:hover {
color: #3291ff !important;
/* Entferne rosa Link-Farben und stelle Standard wieder her - nur wenn Nyudachi aktiv */
body[style*="nyuBar.png"] div#static-index > * > a {
color: #006ffa !important;
}
/* Setze Search-Button auf Standardfarbe zurück */
.secondary_search {
background: #0073ff !important;
body[style*="nyuBar.png"] div#static-index > * > a:hover {
color: #006ffa !important;
}
.secondary_search:hover {
background: #3291ff !important;
body[style*="nyuBar.png"] a {
color: #006ffa !important;
}
/* Setze Search-Button auf Standardfarbe zurück - nur wenn Nyudachi aktiv */
body[style*="nyuBar.png"] .secondary_search {
background: #006ffa !important;
}
body[style*="nyuBar.png"] .secondary_search:hover {
background: #006ffa !important;
}
}