1
0
Files
Userscripts/gelbooru-disable-nyudachi.user.css
2025-10-25 13:49:40 +02:00

78 lines
2.6 KiB
CSS

/* ==UserStyle==
@name Gelbooru - Disable Nyudachi Design
@namespace https://git.ponywave.de/Akamaru/Userscripts
@version 0.2
@description Blockiert das Nyudachi Design auf Gelbooru und zeigt das normale Design
@author Akamaru
@homepageURL https://git.ponywave.de/Akamaru/Userscripts
@updateURL https://git.ponywave.de/Akamaru/Userscripts/raw/branch/master/gelbooru-disable-nyudachi.user.css
==/UserStyle== */
/* Dieses UserCSS befindet sich noch in der Testphase */
@-moz-document regexp("https?:\\/\\/gelbooru\\.com\\/(index\\.php)?$") {
/* Verstecke AdBlock-Nachricht generell */
div[style*="text-align: center"][style*="color: #5a5a5a"]:has(a[onclick*="addEngine"]) {
display: none !important;
}
/* 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 */
body[style*="nyuBar.png"] img[src*="nyuSniffa.png"],
body[style*="nyuBar.png"] div[style*="nyuBar2.png"] {
display: none !important;
}
/* Verstecke den Nyudachi Werbetext nach dem großen div */
body[style*="nyuBar.png"] div[style*="nyuBar2.png"] ~ b {
display: none !important;
}
/* Verstecke den "Plap plap plap" Footer-Text */
body[style*="nyuBar.png"] div[style*="text-align: center"][style*="color: #5a5a5a"] {
display: none !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;
}
body[style*="nyuBar.png"] div#static-index > * > a:hover {
color: #006ffa !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;
}
}