Greasy Fork

Kitsu Nightmode

DarkMode for Kitsu

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

// ==UserScript==
// @name         Kitsu Nightmode
// @namespace    http://tampermonkey.net/
// @version      0.3.1a
// @description  DarkMode for Kitsu
// @author       AnzoDK (Kitsu.io/users/AnzoDK)
// @match        https://kitsu.io/
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    window.onload = function () {
        var css = '#ember8{background-color:#1a1a1a!important;}.feed-aside > div:nth-child(1) > ul:nth-child(1) > li{background-color:#262626!important;border-color: black;}.stream-item--title-block{background-color:#262626;}.text-xs-center{background-color:#262626;}.stream-item{background-color:#262626!important;}{background-color:#262626!important;}#ember392 > div:nth-child(1) > div:nth-child(1){background-color:#262626!important;}.form-control {background-color:#262626!important;}.add-content-header{background-color:#262626!important;border-color: background-color:#262626!important;;}.stream-add-content{background-color:#262626!important;}.stream-item-comments{background-color:#262626;}.comment-box{background-color:#262626;}.comment-box-row{}.user-blotter{background-color: #262626;}.timeline-link.active{background-color:black!important;}.gate--hover{background-color: #262626;}.gate--label{background-color: #262626;}.nsfw-gate{background-color: #262626!important;}.stream-content{background-color: #262626!important;}.media-tag-synopsis{background-color: #262626!important;}.tagged-media{background-color: #262626!important;border-color:#262626!important;}p{color:#595858!important;}.media{background-color: #262626!important}.add-comment{border-color: #262626!important}div.spoiler-gate a{background-color:#262626!important;border-color:#262626!important;}.stream-content-editor{background-color:#262626!important;}.dismiss-blotter{background-color:#262626!important;}'
var head = document.head || document.getElementsByTagName('head')[0],
    style = document.createElement('style');

style.type = 'text/css';
if (style.styleSheet){
  // This is required for IE8 and below.
  style.styleSheet.cssText = css;
} else {
  style.appendChild(document.createTextNode(css));
}

head.appendChild(style);
}
})();