Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Darkwurf
- // @namespace http://userstyles.org
- // @description A dark Ernstchan for sensitive eyes.
- // @author Low Effort Ernst-fork of the original by Torschlusspanik
- // @homepage https://userstyles.org/styles/140638
- // @match http://ernstchan.xyz/*
- // @match https://ernstchan.xyz/*
- // @match http://*.ernstchan.xyz/*
- // @match https://*.ernstchan.xyz/*
- // @match https://dietchan.org/*
- // @match http://dietchan.org/*
- // @run-at document-end
- // @version 0.12
- // ==/UserScript==
- (function() {var css = [
- "body {",
- " background-color: #111 !important;",
- "}",
- ".info,",
- ".post {",
- " background-color: #303030 !important;",
- " border-right: 1px solid #000000 !important;",
- " border-bottom: 1px solid #000000 !important;",
- " margin-bottom: 0.5em !important;",
- " overflow: auto !important;",
- "}",
- "body {",
- " color: #c8c8c8 !important;",
- " font: normal 0.8em sans-serif;",
- "}",
- "[id^='posttext'] {",
- " word-break: keep-all !important;",
- " overflow-wrap: normal !important;",
- "}",
- ".title,",
- ".thread_head {",
- " clear: left !important;",
- " color: #c8c8c8 !important;",
- " background-color: #000000 !important;",
- " padding: 5px !important;",
- "}",
- "blockquote.unkfunc,",
- "span.quote {",
- " color: #44cc44 !important;",
- " margin: 0 !important;",
- "}",
- ".postername {",
- " color: #c3c0c0 !important;",
- "}",
- "a:link,",
- "a:visited,",
- "a:hover {",
- " color: #000000 !important;",
- "}",
- ".boardname,",
- ".caption {",
- " color: #000000 !important;",
- " font-size: 2em !important;",
- " margin-top: 0.5em !important;",
- "}",
- ".subject {",
- " color: #b2b2b2 !important;",
- " font-size: 1.2em !important;",
- "}",
- ".notice {",
- " color: #ffffff !important;",
- " background-color: #000000 !important;",
- "}",
- "a:link,",
- "a:visited,",
- "a:hover {",
- " color: #888888 !important;",
- "}",
- ".file {",
- " background-color: #504e4b !important;",
- "}",
- ".sage {",
- " color: #FF69B4 !important;",
- "}",
- "ul.menu li a,",
- "ul.menu_bottom li a {",
- " background-color: #fff !important;",
- " color: #000000 !important;",
- "}",
- ".row1 {",
- " background-color: #666666 !important;",
- "}",
- ".row2 {",
- " background-color: #444444 !important;",
- "}"
- ].join("\n");
- if (typeof GM_addStyle != "undefined") {
- GM_addStyle(css);
- } else if (typeof PRO_addStyle != "undefined") {
- PRO_addStyle(css);
- } else if (typeof addStyle != "undefined") {
- addStyle(css);
- } else {
- var node = document.createElement("style");
- node.type = "text/css";
- node.appendChild(document.createTextNode(css));
- var heads = document.getElementsByTagName("head");
- if (heads.length > 0) {
- heads[0].appendChild(node);
- } else {
- // no head yet, stick it whereever
- document.documentElement.appendChild(node);
- }
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement