greasyfork.org - Dark Mode

Dark Mode for Greasyfork.org

  1. /* ==UserStyle==
  2. @name greasyfork.org - Dark Mode
  3. @version 2.2
  4. @namespace typpi.online
  5. @description Dark Mode for Greasyfork.org
  6. @homepageURL https://github.com/Nick2bad4u/UserStyles
  7. @supportURL https://github.com/Nick2bad4u/UserStyles/issues
  8. @author Nick2bad4u
  9. @license UnLicense
  10. ==/UserStyle== */
  11. @-moz-document domain("greasyfork.org") {
  12. /* Invert colors except images and videos */
  13. :is(
  14. html:not([stylus-iframe]),
  15. img,
  16. svg,
  17. video,
  18. h3,
  19. #script-info header h2
  20. ),
  21. header,
  22. #script-description {
  23. filter: invert(1) hue-rotate(180deg) !important;
  24. }
  25.  
  26. /* Ensure background images are not inverted */
  27. :is(html:not([stylus-iframe]), img, svg, video) {
  28. background-color: inherit !important;
  29. }
  30.  
  31. #site-name > a {
  32. filter: invert(1) hue-rotate(180deg) !important;
  33. }
  34.  
  35. #greasyfork-plus-options > ul,
  36. h3,
  37. h2 {
  38. color: #670000;
  39. }
  40. }