Greasy Fork

RPS Night Mode

Night mode for site "Rock, Paper, Shotgun"

目前为 2022-10-15 提交的版本。查看 最新版本

// ==UserScript==
// @name         RPS Night Mode
// @namespace    http://tampermonkey.net/
// @version      0.33
// @description  Night mode for site "Rock, Paper, Shotgun"
// @author       Pathduck
// @supportURL   https://greasyfork.org/en/scripts/370482-rps-night-mode
// @@updateURL   https://greasyfork.org/en/scripts/370482-rps-night-mode
// @match        http://*.rockpapershotgun.com/*
// @match        https://*.rockpapershotgun.com/*
// @exclude      http://forum.rockpapershotgun.com/*
// @exclude      https://forum.rockpapershotgun.com/*
// @exclude      http://www.rockpapershotgun.com/wp-admin/*
// @exclude      https://www.rockpapershotgun.com/wp-admin/*
// @grant        GM_addStyle
// @run-at       document-body
// ==/UserScript==

(function() {
    'use strict';
})();

GM_addStyle("" +
            "body {color: #eee !important; background: black !important;}" +
            "figcaption {color: #00b893 !important;}" +
            "input {color: #eee !important;}" +
            "#content {background: #393939 !important;}" +
            ".article_body_content blockquote {background: #222 !important;}" +
            ".article[data-article-type], .summary[data-article-type] {--color: #ee77a7;--strap-color: #ee77a7;}" +
            ".article[data-premium=true], .summary[data-premium=true] {--color: #9763ff !important; --strap-color: #9763ff !important;}" +
            ".app_header, .app_footer {background: black !important; border: none;}" +
            ".app_footer a, .app_footer button {color: #eee !important;}" +
            ".archive_by_date a {color: #00b893 !important;}" +
            ".nav_primary a, .nav_secondary a {color: #eee !important;}" +
            ".strapline, .disclaimer, .alert {color: #eee !important;}" +
            ".section_title, .label {color: #00b893 !important;}" +
            ".summary a, .article p a, .article_header a, .title a, .title, .page_title {color: #00b893 !important;}" +
            ".supporters_shelf .section_title {color: #9763ff !important;}" +
            "");