squadrats.com - Dark Mode

Dark Theme for Squad Rats

当前为 2025-01-01 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name squadrats.com - Dark Mode
  3. @namespace typpi.online
  4. @version 1.0.1
  5. @description Dark Theme for Squad Rats
  6. @author Nick2bad4u
  7. @license UnLicense
  8. @homepageURL https://github.com/Nick2bad4u/UserStyles
  9. ==/UserStyle== */
  10. @-moz-document domain("squadrats.com") {
  11. /* Invert colors except images and videos */
  12. *:not(
  13. #classification #neighbours,
  14. img,
  15. svg,
  16. .change-email,
  17. select,
  18. input,
  19. .provider-icons
  20. ) {
  21. background: black !important;
  22. color: white;
  23. }
  24.  
  25. .mapboxgl-canvas.maplibregl-canvas,
  26. .leader-map,
  27. .activity-image {
  28. filter: invert(1) hue-rotate(180deg);
  29. }
  30.  
  31. select,
  32. input {
  33. background-position:
  34. right 0.7em top 50%,
  35. 0 0 !important;
  36. background-size:
  37. 0.65em auto,
  38. 100% !important;
  39. background-repeat: no-repeat, repeat !important;
  40. background-color: #ddbcff !important;
  41. }
  42. }