GreasyFork Beautify Mod!

Custom Themes, premade themes and more

当前为 2018-07-03 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name GreasyFork Beautify Mod!
  3. // @namespace GreasyFork Beautify Mod!
  4. // @version
  5. // @description Custom Themes, premade themes and more
  6. // @author TigerYT
  7. // @match *://greasyfork.org/*
  8. // @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
  9. // ==/UserScript==
  10.  
  11. $('body').css({
  12. 'background' : '#16151D'
  13. });
  14.  
  15. $('input').css({
  16. '-webkit-appearance' : 'textfield',
  17. 'background-color' : '#17151B',
  18. '-webkit-rtl-ordering' : 'logical',
  19. 'cursor' : 'text',
  20. 'padding' : '1px',
  21. 'border-width' : '10px',
  22. 'border-style' : 'solid',
  23. 'border-color' : '#17151B',
  24. 'border-image' : 'initial',
  25. 'border-radius' : '7px'
  26. });
  27.  
  28. $('.script-list, .user-list, .text-content').css({
  29. 'list-style-type' : 'none',
  30. 'box-shadow' : '0 0 5px rgba(29,27,38,0.3)',
  31. 'background-color' : '#1D1B26',
  32. 'border' : '1px solid rgba(29,27,38,0.6)',
  33. 'border-radius' : '5px',
  34. 'box-sizing' : 'border-box',
  35. 'margin' : '14px 0'
  36. });
  37.  
  38. $('body, select, input').css({
  39. 'font-family' : '"Open Sans", sans-serif',
  40. 'color' : '#888'
  41. });
  42.  
  43. $('#main-header').css({
  44. 'background-color' : '#0B0A0D',
  45. 'background-image' : 'linear-gradient(#694BA1, #493372)',
  46. 'padding' : '0.25em 0'
  47. });
  48.  
  49. $('#main-header .subtitle').css({
  50. 'margin' : '-8px 0 0 10px',
  51. 'font-size' : '0.7em',
  52. 'text-shadow' : '-1px -1px 0px #493372, 1px -1px 0px #493372, -1px 1px 0px #493372, 1px 1px 0px #493372'
  53. });
  54.  
  55. $('a:visited').css({
  56. 'color' : '#694BA1'
  57. });
  58.  
  59. $('a').css({
  60. 'color' : '#493372'
  61. });
  62.  
  63. $('figure').css({
  64. 'padding' : '5px',
  65. 'border' : 'none',
  66. 'border-radius' : '5px'
  67. });
  68.  
  69. $('nav nav').css({
  70. 'position' : 'absolute',
  71. 'right' : '0',
  72. 'background-color' : '#493372',
  73. 'min-width' : '100%',
  74. 'display' : 'none',
  75. 'padding' : '5px 0',
  76. 'z-index' : '10'
  77. });
  78.  
  79. $(':focus').css({
  80. 'outline' : '-webkit-focus-ring-color auto 5px',
  81. 'outline-color' : 'transparent',
  82. 'outline-style' : 'auto',
  83. 'outline-width' : '5px'
  84. });
  85.  
  86. $('#nav-user-info > span.user-profile-link > a').css({
  87. 'color' : 'white !important'
  88. });
  89.  
  90. $('#nav-user-info > span.sign-out-link > a').css({
  91. 'color' : 'white !important'
  92. });