Greasy Fork

RPS Night Mode

Night mode for site "Rock, Paper, Shotgun"

目前为 2018-07-21 提交的版本。查看 最新版本

// ==UserScript==
// @name         RPS Night Mode
// @namespace    http://tampermonkey.net/
// @version      0.10
// @description  Night mode for site "Rock, Paper, Shotgun"
// @author       Pathduck
// @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: #2d2d2d;}" +
            ".footer, .header-desktop {background-color: #393939;}" +
            ".header-desktop .primary a {color: #eee;}" +
            ".header-desktop .secondary a {color: #ddd;}" +
            ".page > main {background-color: #393939;}" +
            ".leaderboards {display: none;}" +
            ".tlod {display: none;}" +
            ".article header .breadcrumb a {color: #009C7C;}" +
            ".article header .metadata .author-name a {color: #fff;}" +
            ".section-title {color: #009C7C;}" +
            ".title, .title a {color: #e9e9e9;}" +
            ".blog-post.feature .title a {color: #e9e9e9;}" +
            "#right-rail .small-list .list-item .title a {color: #e9e9e9;}" +
            ".comment .person {color: #eee;}" +
            ".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;}" +
"");