YouTube - Square Corners for Thumbnails and Avatars

Makes YouTube thumbnail image corners square again

当前为 2022-11-02 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name YouTube - Square Corners for Thumbnails and Avatars
  3. @description Makes YouTube thumbnail image corners square again
  4. @namespace lednerg
  5. @version 22.11.2.19
  6. @author lednerg
  7. @license CC-BY-NC-SA-4.0
  8. @preprocessor stylus
  9. @var checkbox avatars "Square avatars?" 1
  10. ==/UserStyle== */
  11. @-moz-document domain("youtube.com") {
  12.  
  13. #thumbnail,
  14. ytd-post-renderer,
  15. ytd-post-renderer:before,
  16. ytd-thumbnail:before,
  17. .ytd-hero-playlist-thumbnail-renderer,
  18. .video-stream,
  19. .html5-video-player,
  20. .ytp-miniplayer-scrim {
  21. border-radius: 0 !important;
  22. }
  23. if avatars {
  24. #author-photo,
  25. #avatar,
  26. #author-thumbnail yt-img-shadow,
  27. .ytd-guide-entry-renderer {
  28. border-radius: 0 !important;
  29. }
  30. }
  31. }