Fandom Remove Background Colour

Fixes background to make it compatible with Dark Background and Light Text browser extension.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

/* ==UserStyle==
@name        Fandom Remove Background Colour
@namespace   fandom.com
@version     1.2.0
@description Fixes background to make it compatible with Dark Background and Light Text browser extension.
@author      Korakys
@license     CC0

@preprocessor stylus
@var checkbox bkgd     'Background Colour Overwrite' 1
@var color   bkgdColor 'Background Colour Picker' #888
@var checkbox bkgdImg  'Background Images' 1
==/UserStyle== */
 
@-moz-document domain("fandom.com") {

if bkgd {
  body {
    background-color: bkgdColor !important;
    background-image: initial !important;
  }
}

if bkgdImg {
  body {
    background-image: initial !important;
  }

  .main-container, .fandom-community-header__background, .fandom-community-header__background::before {
    background-image: none !important;
  }
}

}