Greasy Fork is available in English.

Small Thumbnails + Visible Titles

Are thumbnails too large? Too close together? Would you rather always see titles? Gotcha.

  1. /* ==UserStyle==
  2. @name Small Thumbnails + Visible Titles
  3. @version 6.0.1
  4. @description Are thumbnails too large? Too close together? Would you rather always see titles? Gotcha.
  5. @author Valognir (https://www.deviantart.com/Valognir)
  6. @namespace https://greatest.deepsurf.us/en/scripts/404194-small-thumbnails-visible-titles
  7.  
  8. ==/UserStyle== */
  9. @-moz-document domain("deviantart.com") {
  10. div[data-testid="thumb"] {
  11. & > img {
  12. scale: 70%;
  13. margin-top: -50px;
  14. }
  15. }
  16.  
  17.  
  18. [data-testid="content_row"] a[aria-label$=", visual art"] + div,
  19. [data-testid="content_row"] a[aria-label$=", film"] + div {
  20. & > div > div:last-child > div {
  21. content-visibility: visible;
  22. opacity: 1;
  23. }
  24.  
  25. & > div:first-child {
  26. opacity: 0;
  27. }
  28. }
  29. [data-testid="content_row"] a[aria-label$=", visual art"] + div > div:nth-child(3),
  30. [data-testid="content_row"] a[aria-label$=", film"] + div > div:nth-child(3) {
  31. & > div:last-child {
  32. left: 10px;
  33. right: 10px;
  34. bottom: 5px;
  35. & > div > a {
  36. margin-bottom: -8px;
  37. text-shadow: 0 0 3px var(--gray9);
  38. }
  39. }
  40. }
  41.  
  42. .light-green [data-testid="content_row"] a[aria-label$=", visual art"] + div > div:nth-child(3),
  43. .light-green [data-testid="content_row"] a[aria-label$=", film"] + div > div:nth-child(3) {
  44. & > div:last-child {
  45. & > div > a {
  46. text-shadow: 0 0 3px var(--khaki2);
  47. }
  48. h2,
  49. a,
  50. button,
  51. button[aria-label="Award Badge"] > span {
  52. color: var(--khaki9);
  53. &:hover {
  54. color: var(--g-brand);
  55. }
  56. }
  57. }
  58. }
  59.  
  60. .theme-light [data-testid="content_row"] a[aria-label$=", visual art"] + div > div:nth-child(3),
  61. .theme-light [data-testid="content_row"] a[aria-label$=", film"] + div > div:nth-child(3) {
  62. & > div:last-child {
  63. & > div > a {
  64. text-shadow: 0 0 3px var(--gray1);
  65. }
  66. h2,
  67. a,
  68. button,
  69. button[aria-label="Award Badge"] > span {
  70. color: var(--gray9);
  71. &:hover {
  72. color: var(--g-brand);
  73. }
  74. }
  75. }
  76. }
  77. }