Guest User

gHacks Dark Mode UserScript

a guest
Dec 2nd, 2018
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name        gHacks Dark Mode
  3. // @namespace   UserScripts
  4. // @icon        https://ghacks.net/favicon.ico
  5. // @match       *://*.ghacks.net/*
  6. // @grant       GM_addStyle
  7. // ==/UserScript==
  8.  
  9. GM_addStyle('\
  10. body {\
  11.  background: #3B3B3B;\
  12.  color: #EEE !important;\
  13. }\
  14. h2>a, .heading, .heading--huge, .heading--large, .user-content h2, .widget_text .textwidget h2, .heading--big, .heading--medium, .user-content h3, .widget_text .textwidget h3, .heading--normal, .heading--small, .user-content h5, .widget_text .textwidget h5, .heading--tiny {\
  15.  color: #F3B434 !important;\
  16. }\
  17. a { color: #FFF !important; }\
  18. .comment-item__header, input:not([type="submit"]):not([type="checkbox"]), textarea, select {\
  19.  background: #272727 !important;\
  20.  color: #EEE !important;\
  21. }\
  22. .button--orange, input[type="submit"], .nav-links span.current { background-color: transparent !important }\
  23. .button--orange:hover, input[type="submit"]:hover, .nav-links span.current:hover, .button--orange:focus, input[type="submit"]:focus, .nav-links span.current:focus { background-color: #F3B434 !important }\
  24. .user-content a:not(:hover), .widget_text .textwidget a:not(:hover) { border-bottom: 2px solid #727272 !important }\
  25. ');
Add Comment
Please, Sign In to add comment