Rule34Hentai - Dark Theme

A simple Dark Theme for Rule34Hentai.net!

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

You will need to install an extension such as Tampermonkey to install this 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!)

// ==UserScript==
// @name         Rule34Hentai - Dark Theme
// @version      0.7
// @description  A simple Dark Theme for Rule34Hentai.net!
// @match        https://*.rule34hentai.net/*
// @namespace http://tampermonkey.net/
// ==/UserScript==

var text_color = '#c8ff00'
var dark_color = '#040004'
var light_color = '#413d3d'

var btn_color1 = '#FA023C'
var btn_color2 = '#4B000F'

var mainCss = 'body{color:' + text_color + ';background:' + light_color + '}a{color:' + text_color + '}ul li a{color:' + text_color + '}.comment,.setupblock,footer,header,section>.blockbody,section>h3{background:' + dark_color + '}.comment,.setupblock,.thumb img,footer,header,section>.blockbody,section>h3,table.zebra,table.zebra td{border:1px solid ' + text_color + '}.thumb img{background:' + light_color + '}button{margin:14px 0;}button,input[type=submit]{min-height:25px;font-size:18px;text-align:center;line-height:30px;color:rgba(255,255,255,.9);border:none;background:linear-gradient(-45deg,' + btn_color1 + ','+ btn_color2 + ');background-size:600%;-webkit-animation:anime 16s linear infinite;animation:anime 16s linear infinite;cursor:pointer;font-weight:bold;width:100%;}@keyframes anime{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}div#fluid_video_wrapper_video-id{height: 60% !important;width: 100% !important;max-height: 1080px;}.fluid_video_wrapper video{max-height: 1080px !important;}'

var styleEl = document.createElement('style')
styleEl.innerHTML = mainCss
document.body.insertAdjacentElement('beforebegin', styleEl)