Greasy Fork

RPS Night Mode

Night mode for site "Rock, Paper, Shotgun"

目前为 2018-08-11 提交的版本。查看 最新版本

// ==UserScript==
// @name         RPS Night Mode
// @namespace    http://tampermonkey.net/
// @version      0.24
// @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; background-color: black;}" +
            ".footer, .header-desktop {background-color: black;}" +
            ".header-desktop .primary a {color: #eee;}" +
            ".header-desktop .secondary a {color: #ddd;}" +
            ".page > main {background-color: #393939;}" +
            ".leaderboards {display: none !important;}" +
            ".tlod {display: none !important;}" +
            "div[class^='eurogamer'] {display: none !important;}" +
            ".article header .breadcrumb a {color: #009C7C;}" +
            ".article header .metadata .author-name a {color: #009C7C;}" +
            ".article main blockquote {background: #272727;}" +
            ".article main table {color: #333;}" +
            ".section-title {color: #009C7C;}" +
            ".section-title img {background-color: white;}" +
            ".footer .section-title {color: #ccc;}" +
            ".title, .page-title, .title a {color: #e9e9e9;}" +
            ".blog-post.feature a {color: #D27298;}" +
            ".article.feature header .subtitle {color: #D27298;}" +
            ".article.feature main a:not(.button) {color: #D27298;}" +
            ".article.feature header .comment-count {color: #D27298;}" +
            ".blog-post .label {color: #D27298;}" +
            ".blog-post.feature .title a {color: #e9e9e9;}" +
            ".blog-post.premium .title a {color: #e9e9e9;}" +
            ".blog-post.premium .label, .blog-post.premium a {color: #8965CF;}" +
            "#right-rail .small-list .list-item .title a {color: #e9e9e9;}" +
            ".comment .person {color: #eee;}" +
            ".comment .date {color: #009C7C;}" +
            ".about-the-author .name {color: #009C7C;}"+
            "#comments .account-details strong {color: #eee;}" +
            ".related-games.count-1 .related-games-list .related-game-item .title a {color: #009C7C;}" +
            "h2,h3,h4,h5 {color: #009C7C !important;}" +
"");