Greasy Fork is available in English.

Legacy Script Meta Block

returns old script meta block for Greasy Fork. (as close as possible to old one)

  1. /* ==UserStyle==
  2. @name Legacy Script Meta Block
  3. @description returns old script meta block for Greasy Fork. (as close as possible to old one)
  4. @namespace -
  5. @version 1.0.1
  6. @license GPL-3.0-or-later
  7. ==/UserStyle== */
  8.  
  9. @-moz-document domain("greasyfork.org"), domain("sleazyfork.org") {
  10. /* disable default properties */
  11.  
  12. .inline-script-stats {
  13. display: unset;
  14. margin: 0;
  15. }
  16.  
  17. .script-meta-block {
  18. max-width: none;
  19. }
  20.  
  21. /* return old properties */
  22.  
  23. .inline-script-stats dt,
  24. .inline-script-stats dd {
  25. float: left;
  26. width: 50%;
  27. }
  28.  
  29. /* make 600px max width for script meta block if this is script page */
  30.  
  31. #script-content .script-meta-block {
  32. max-width: 600px;
  33. }
  34.  
  35. /* to prevent style breaking, 18px is minimal height if element doesn't have any content (e.g. author link may not appear) */
  36.  
  37. .inline-script-stats dd span:empty {
  38. display: block;
  39. height: 20px;
  40. }
  41. }