greasyfork.org - Dark Mode

Dark Mode for Greasyfork.org

目前为 2024-12-06 提交的版本。查看 最新版本

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