Google Search Dark Night Mode Theme

Google Search Dark Night Mode Theme - currently undergoing build

当前为 2018-08-17 提交的版本,查看 最新版本

// ==UserScript==
// @name        Google Search Dark Night Mode Theme 
// @namespace   english
// @description Google Search Dark Night Mode Theme - currently undergoing build
// @include     http*://*google.*/search?*
// @version     1.8
// @run-at document-start
// @grant       GM_addStyle
// ==/UserScript==



var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = '                                                body {/*\n*/    color: #d5d5d5  !important   ; /*\n*/}body {/*\n*/    background: #393939  !important   ; /*\n*/}a:link, .w, #prs a:visited, #prs a:active, .q:active, .q:visited, .kl:active, .tbotu {/*\n*/    color: #b1d1f5  !important   ; /*\n*/}.a, cite, cite a:link, cite a:visited, .cite, .cite:link, #nygTcd > i, .bc a:link {/*\n*/    color: #c6e7de  !important   ; /*\n*/    font-style: normal  !important   ; /*\n*/}.f, .f a:link {/*\n*/    color: #f5f5f5  !important   ; /*\n*/}.s .st em, .st.s.std em {/*\n*/    color: #fff  !important   ; /*\n*/}.s {/*\n*/    color: #a1a1a1  !important   ; /*\n*/}#fbar {/*\n*/    background: #303030  !important   ; /*\n*/    border-top: 1px solid #292929  !important   ; /*\n*/   /*\n*/}.b2hzT {/*\n*/    border-bottom: 1px solid #292929  !important   ; /*\n*/}.b0KoTc {/*\n*/    color: rgba(222, 222, 222, 0.5)  !important   ; /*\n*/}#swml {/*\n*/    /*\n*/    border-left: 1px solid #292929  !important   ; /*\n*/}#brs .med {/*\n*/    color: #fff  !important   ; /*\n*/    /*\n*/}#appbar {/*\n*/    background: #242424  !important   ; /*\n*/   /*\n*/}#hdtb {/*\n*/    background: #303030  !important   ; /*\n*/    color: #dadada  !important   ; /*\n*/  /*\n*/    border-bottom: 1px solid #383838  !important   ; /*\n*/     /*\n*/}#hdtbSum {/*\n*/    background: #393939  !important   ; /*\n*/   /*\n*/}.hdtbItm label:hover, .hdtbItm a:hover, #hdtb-more-mn a:hover, #hdtb .hdtb-mitem a:hover, .hdtb-mn-hd:hover, #hdtb-more:hover, #hdtb-tls:hover {/*\n*/    color: #d5d5d5  !important   ; /*\n*/}#hdtb .hdtb-mitem a {/*\n*/    color: #aaa  !important   ; /*\n*/}.sfbgg {/*\n*/    background-color: #393939  !important   ; /*\n*/ /*\n*/}.gb_8 .gb_b {/*\n*//*\n*/  /*\n*/    filter: invert(100%)  !important   ; /*\n*//*\n*/}.gb_Mc .gb_b {/*\n*//*\n*/   /*\n*/    filter: invert(100%)  !important   ; /*\n*//*\n*/}.sbibod {/*\n*//*\n*/    background-color: #202020  !important   ; /*\n*/    /*\n*/    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16),0 0 0 1px rgba(0,0,0,0.08)  !important   ; /*\n*/ /*\n*/}.sbib_a {/*\n*//*\n*/    background: #878787  !important   ; /*\n*/  /*\n*//*\n*/}#lst-ib {/*\n*//*\n*/    color: #fff  !important   ; /*\n*//*\n*/}.sbdd_b {/*\n*//*\n*/    background: #414141  !important   ; /*\n*/    border: 1px solid #ccc  !important   ; /*\n*/    border-top-color: #d9d9d9  !important   ; /*\n*/    box-shadow: 0 2px 4px rgba(0,0,0,0.2)  !important   ; /*\n*/    -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2)  !important   ; /*\n*/ /*\n*//*\n*/}.sbsb_a {/*\n*//*\n*/    background: #4d4d4d  !important   ; /*\n*//*\n*/}.sbsb_d {/*\n*//*\n*/    background: #3e3e3e  !important   ; /*\n*//*\n*/}#hdtb-msb .hdtb-tl-sel, #hdtb-msb .hdtb-tl-sel:hover {/*\n*//*\n*/    background: -moz-linear-gradient(top,#1a1a1a,#2d2d2d)  !important   ; /*\n*/    -moz-box-shadow: inset 0 1px 2px 0 rgba(0,0,0,0.1)  !important   ; /*\n*/    border: 1px solid #414141  !important   ; /*\n*/    box-shadow: inset 0 1px 2px 0 rgba(0,0,0,0.1)  !important   ; /*\n*//*\n*/}/*\n*//*\n*//*\n*//*\n*//*\n*/ .wUrVib {/*\n*/    color: #d3d1f0;/*\n*/ }/*\n*//*\n*/ /*\n*/.EZRelc {/*\n*//*\n*/    color: #d0cdf2;/*\n*/   /*\n*//*\n*/}a:visited{color: #b1d1f5 !important;}/*\n*/.card , .mnr-c {/*\n*/    background-color: #4e4e4e;/*\n*/ /*\n*/    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);/*\n*/ /*\n*/    border-bottom: 1px hidden #2c2c2c;/*\n*/}.LgElHb {/*\n*/    background-color: #353535;/*\n*/  /*\n*/}.fbar {/*\n*/    background: #232323;/*\n*/  /*\n*/}.fbar a,.fbar a:hover,.fbar a:active,.fbar a:visited{/*\n*/    color: #6e6e6e  !important ;/*\n*/  /*\n*/} .ZhSjR {/*\n*/    color: #dedede;/*\n*/}hr {/*\n*/    /*\n*/    border-bottom: 1px solid #717171;/*\n*/   /*\n*/}.GNJvt {/*\n*/ /*\n*/    background-color: #272727;/*\n*/    color: #70757A;/*\n*/  /*\n*/    color: #e4e4e4;/*\n*/   /*\n*/    border: 1px solid #2c2c2c;/*\n*/   /*\n*/}.qzEoUe {/*\n*/    color: #d8f3ee;/*\n*/    /*\n*/}.kno-ecr-pt {/*\n*/    color: rgba(225, 225, 225, 0.9);/*\n*/   /*\n*/}.wwUB2c {/*\n*/    color: #C8C8C8;/*\n*/   /*\n*/}.kno-rdesc {/*\n*/    color: #DEDEDE;/*\n*/}.w8qArf, .w8qArf a.fl {/*\n*/    color: #dadada;/*\n*/}.LrzXr {/*\n*/    color: #B6B6B6;/*\n*/}.kp-header svg{filter:invert(100%);} a:link, .w, #prs a:visited, #prs a:active, .q:active, .q:visited, .kl:active, .tbotu {    color: #e7d2c3 !important;}                                     ';
document.getElementsByTagName('head')[0].appendChild(style);