Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [Script/Style] DarkNight Theme, The shadows betray you, because they belong to me!

 
post Sep 28 2018, 12:55
Post #1
Late for work :(



[CENSORED]
***
Group: Gold Star Club
Posts: 203
Joined: 5-July 08
Level 388 (Dovahkiin)


QUOTE
"There is a prison in a more ancient part of the world, a pit where men are thrown to suffer and die. But sometimes a man rises from the darkness. Sometimes the pit sends something back."

- Alfred on the HentaiVerse

As a fan of dark themes as I like to browse at night, and tired of the inconsistency involved with other themes, I'm sharing the "nightmode" themes that I made.
These are two themes, one for the HentaiVerse, and one for the rest of the website.

As per most scripts, you'll need Tampermonkey installed first.

Works as intended on Firefox, haven't tested on chrome so feel free to hit me up if something is broken if that's your browser.

It's somewhat compatible with Monsterbation. Color alerts will work, just won't display their color. This is due to the way Monsterbation injects the colors.
This can be fixed but will require the Monsterbation author to make slight changes to his script, which I don't want to/can't force him to do.

There is a setting at the start of the e-hentai script to choose whether you want the banner inverted colors or just darkened(examples included in screenshots). This is obviously just preference.
Also the forums already have a dark theme and the wiki seemed like a massive timesink so I just didn't do one for that.

E-Hentai:
Attached ImageAttached ImageAttached ImageAttached ImageAttached Image

Hentaiverse:
Attached ImageAttached ImageAttached ImageAttached ImageAttached ImageAttached Image

Download:
Attached File  DarkNight_HentaiVerse_Theme.user.js.zip ( 1.5k ) Number of downloads: 1079
Attached File  DarkNight_Site_Theme.user.js.zip ( 1.74k ) Number of downloads: 922



This post has been edited by Gary McNabb: Sep 29 2018, 06:29
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 28 2018, 22:10
Post #2
blue penguin



in umbra, igitur, pugnabimus
***********
Group: Gold Star Club
Posts: 10,044
Joined: 24-March 12
Level 500 (Godslayer)


Heh, I know that this may seem a little overboard - moreover since your script should make my own life easier (by not needing to kill off all posts using a dark theme)...

But, could you give the theme script a different name? Pretty please?

EH Dark Theme
EH Dark Grape
EH Wine Style
EH Surfing Penguin
EH Inky
EH Dirty Screen

Just not anything involving pandas.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 28 2018, 22:47
Post #3
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,287
Joined: 18-January 07
Level 500 (Ponyslayer)


other suggestions:

eye-relaxing theme
chic theme
blackboard theme
charcoal theme
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 29 2018, 02:09
Post #4
yami_zetsu



not sad anymore but not happy yet
********
Group: Gold Star Club
Posts: 2,673
Joined: 25-February 13
Level 500 (Ponyslayer)


sorrowful Ailuropoda melanoleuca
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 29 2018, 06:33
Post #5
Late for work :(



[CENSORED]
***
Group: Gold Star Club
Posts: 203
Joined: 5-July 08
Level 388 (Dovahkiin)


QUOTE(blue penguin @ Sep 29 2018, 08:10) *

Heh, I know that this may seem a little overboard - moreover since your script should make my own life easier (by not needing to kill off all posts using a dark theme)...

But, could you give the theme script a different name? Pretty please?

EH Dark Theme
EH Dark Grape
EH Wine Style
EH Surfing Penguin
EH Inky
EH Dirty Screen


Fixed, my bad lol.
It's now at least 120% more batman related.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 27 2019, 07:58
Post #6
elda88



Orang tuaku bodoh babi
***********
Group: Gold Star Club
Posts: 15,527
Joined: 30-June 09
Level 500 (Godslayer)


This is affected not only on Front Page but on Favorites, Popular & Bounty List as well:

Attached Image

And then there's this:

Attached Image
Attached Image
Attached Image
Attached Image



I'm no programmer. But if someone here can highlight which lines and the what codes need to change in order to fix the above issues, I'll edit the downloaded JS file myself.

QUOTE
// ==UserScript==
// @name DarkNight - Site Theme
// @version 1.0
// @description Oh, you think darkness is your ally. But you merely adopted the dark; I was born in it, molded by it.
// @author GaryMcNabb
// @match *://*.e-hentai.org/*
// @match *://*.e-hentai.org/*
// @exclude *://forums.e-hentai.org/*
// @grant none
// @run-at document-start
// ==/UserScript==

var invertBanner = true; //- Setting this to false will dim the banner on the news page instead of inverting it. Default: TRUE

var injStyle = document.createElement("style");
injStyle.innerHTML = `
body,input,select,option,optgroup,textarea{color:#BFBFBF !important;background:#34353B !important}
a,a:link,a:visited{color:#DDD}
a:hover,a:active{color:#FFFBDB}
input[type="button"],input[type="submit"],input[type="file"]{border:2px solid #8d8d8d}
input[type="button"]:enabled:hover,input[type="submit"]:enabled:hover,input[type="button"]:enabled:focus,input[type="submit"]:enabled:focus{background-color:#43464e !important;border-color:#aeaeae !important}
input[type="button"]:enabled:active,input[type="submit"]:enabled:active{background:radial-gradient(#1a1a1a,#43464e) !important;border-color:#c3c3c3 !important}
input[type="text"],input[type="password"],select,textarea{border:1px solid #8d8d8d}
input:disabled,select:disabled,textarea:disabled,table.ptt,table.ptb{color:#bfbfbf}
input[type="text"]:enabled:hover,input[type="password"]:enabled:hover,select:enabled:hover,textarea:enabled:hover,input[type="text"]:enabled:focus,input[type="password"]:enabled:focus,select:enabled:focus,textarea:enabled:focus{background-color:#43464e}
.lc:hover input:enabled ~ span,.lr:hover input:enabled ~ span,.lc input:enabled:focus ~ span,.lr input:enabled:focus ~ span{background-color:#43464e !important;border-color:#aeaeae !important}
.lc input:disabled ~ span,.lr input:disabled ~ span{border-color:#5c5c5c !important}
.lc>span,.lr>span{background-color:#34353b;border:2px solid #8d8d8d}
.lr>span:after{background:#BFBFBF}
.lc>span:after{border-color:#BFBFBF}
.br,a.tdn,span.tdn,#grl,div#iw{color:#FF3333}
.stuffbox{background:#4f535b !important;border:1px solid #000 !important}
div#botm,div.baredge,div.bartop{filter: `+(invertBanner?'invert(100%) brightness(75%) grayscale(100%)':'brightness(50%) grayscale(50%)')+`}
h2,div.newstitle{border-bottom: 1px solid #FFF}
div#eventpane{color: #F1F1F1 !important;border: 1px solid #000 !important;background: #4f535b !important}
div.homebox,div[id^="cell_"],div.id1,table#ett,div#etd,.stuffbox > div > div > table,.stuffbox > table{border: 1px solid #34353b !important;background:#43464e !important}
img.th{border:1px solid #000}
div.ido,div.d,div.ds,div.gm,div#gdt,div.sni,div.smi,div#db{background:#4f535b;border:1px solid #000}
p#nb{color:#AAAAAA}
table.itg{border:2px ridge #000}
table.itg th,tr.gtr{background:#40454b}
div.itg{border-top:2px ridge #000;border-bottom:2px ridge #000}
tr.gtr0,div.it2,div#gmid,div#gright,div#gd2,#gds,div.tha:hover{background:#4f535b}
tr.gtr1{background:#363940}
img.it,div#gd1 div,div#gdt img{border:1px solid #000}
td.itd,td.itu,td.itdc{border-right:1px solid #40454b}
table.ptt td{background:#34353b;border:1px solid #000}
table.ptt td:hover,table.ptb td:hover,td.ptds{color:#000;background:#43464e}
table.ptt span{color:#C2A8A4}
table.ptb td{background:#34353b;border:1px solid #000}
table.ptb span{color:#C2A8A4}
td.ptdd{color:#C2A8A4 !important}
td.ptdd:hover{color:#C2A8A4 !important;background:#34353b !important}
a.tup{color:#00E639}
span.tup{color:#00E639}
h1#gj{color:#b8b8b8;border-bottom:1px solid #000}
div#gd4{border-left:1px solid #000;border-right:1px solid #000}
.g3 a{color:#FF0000}
.g3 a:hover{color:#FF6464}
div#gnc{color:#CCCCCC}
div.gt{border:1px solid #989898;background:#4f535b}
div.gtl{border:1px dashed #8c8c8c;background:#4f535b}
div.gtw{border:1px dotted #8c8c8c;background:#4f535b}
div.c2{background:#34353b;border:1px solid #4f535b}
div.ths{border:1px solid #989898;background:#4f535b}
div.tha{border:1px solid #706563}
div.thd{border:1px solid #706563;color:#706563}
div.idi{border:2px ridge #000}
table.mt{border:1px solid #000;background:#40454b}
div.fp:hover,div.fps{background:#363940;border:1px solid #C2C1C1}
.stdv,.stdk{border:1px solid #34353B !important;}
.hct td{filter:saturate(350%)}
#coinselector > div[onclick]{background:#43464E}
#coinselector > div[onclick]:hover,#dlvl{background:#34353B}
span.scg{color:#7F7}
span.scb{color:#77F}
span.scr{color:#F77}
td.ptds{background:none !important}
`
if(location.pathname == '/logs.php'){
injStyle.innerHTML += 'body > div:nth-child('+(window.location.search.indexOf('karma') > -1 ? '5':'4')+'){background:#16191E !important;border:1px solid #000000 !important}';
}

document.head.appendChild(injStyle);


This post has been edited by Super-hujan86: Jun 27 2019, 08:10
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 14 2020, 10:31
Post #7
Hentai Lover 86



Lurker
Group: Lurkers
Posts: 1
Joined: 18-February 08


I actually know a little bit about this stuff and for the ever fucking life of me I can't get the color of the visited links to change.

I'm 99% sure that this is the one you have to edit to do that but when I do nothing happens? a:visited{color:#xxxxxx}

a:visited{color:#000000 !important}

that should change links I've been to, to Black and yet they stay a light gray.

I changed the code from this:
a,a:link,a:visited{color:#DDD}

to this:
a,a:link{color:#DDD}
a:visited{color: black !important}

or even to this:
a,a:link{color:#DDD}a:visited{color: black !important} or this: a,a:link{color:#DDD};a:visited{color: black !important}


So can somebody explain what I'm doing wrong?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 25th April 2024 - 03:52