Imgur - Minimal Design for non-Imgurians

Removes all the unnecessary stuff, for people that's not interested about Imgur culture.

  1. /* ==UserStyle==
  2. @name Imgur - Minimal Design for non-Imgurians
  3. @description Removes all the unnecessary stuff, for people that's not interested about Imgur culture.
  4. @author krisu (https://github.com/krisu5)
  5. @namespace github.com/krisu5/userstyles
  6. @homepageURL https://github.com/krisu5/userstyles/tree/master/Imgur%20-%20Minimal%20Design%20for%20non-Imgurians
  7. @supportURL https://github.com/krisu5/userstyles/issues
  8. @version 1.3.1
  9. @license unlicense
  10. @preprocessor default
  11. ==/UserStyle== */
  12.  
  13. @-moz-document url("https://imgur.com/"), url-prefix("https://imgur.com/upload") {
  14. /* -----------------------------------------------
  15. _____ _
  16. | ___| | |
  17. | |_ _ __ ___ _ __ | |_ _ __ __ _ __ _ ___
  18. | _| '__/ _ \| '_ \| __| '_ \ / _` |/ _` |/ _ \
  19. | | | | | (_) | | | | |_| |_) | (_| | (_| | __/
  20. \_| |_| \___/|_| |_|\__| .__/ \__,_|\__, |\___|
  21. | | __/ |
  22. |_| |___/
  23. ------------------------------------------------ */
  24.  
  25. .InteractiveBackground, .Message.welcome, .TrendingTags, .CoverChangeGallery,
  26. .NewCover.isFixed, .PopUpClose, .Button.upload img, [class*="Emerald"]:not(.EmeraldButton), .SnowFlakesBg,
  27. [class^="UploadSpinner"]
  28. { display: none !important; }
  29.  
  30. body, html { overflow-y: hidden !important; }
  31.  
  32. .Button.upload {
  33. position: fixed !important;
  34. margin: 0 !important;
  35. top: 50% !important;
  36. left: 50% !important;
  37. transform: translate(-50%, -50%) !important;
  38. width: 60vw !important;
  39. height: 23vw !important;
  40. border-radius: 25px !important;
  41. display: flex !important;
  42. justify-content: center !important;
  43. align-items: center !important;
  44. }
  45.  
  46. .Button.upload:hover:before { border-radius: 25px !important; }
  47.  
  48. .Button.upload:after { font-size: clamp(2rem, 5vw, 7rem) !important; }
  49.  
  50. .NewCover { background: transparent !important; }
  51. }
  52.  
  53. @-moz-document domain("imgur.com") {
  54. /* --------------------------------
  55. _____ _ _
  56. | __ \ | | |
  57. | | \/ __ _| | | ___ _ __ _ _
  58. | | __ / _` | | |/ _ \ '__| | | |
  59. | |_\ \ (_| | | | __/ | | |_| |
  60. \____/\__,_|_|_|\___|_| \__, |
  61. __/ |
  62. |___/
  63. & Everything else
  64. --------------------------------- */
  65.  
  66. .CommentsList, .Footer, .Gallery-Sidebar, .NavbarNotifications, .Searchbar, .Navigation-Container,
  67. [class*="share-btn"]:not(.share-btn-other):not(.share-btn-download), .CoverPostMeta.Display,
  68. .Gallery-EngagementBarContainer, .ButtonBackToTop, .Gallery-Content--tags, .TagManager.PostOptions-section,
  69. .TagSuggestion-container, .toast2, [class*="bottomad"], [class*="BottomAd"], .Footer-whitelist, .BottomRecirc,
  70. .btn-wall--no, .BannerTop3, .UploadSpinner-contentWrapper, .Page404-contentWrapper, .Gallery-AccoladesBadge
  71. { display: none !important; }
  72.  
  73. body {
  74. background-color: #27292d;
  75. overflow: auto;
  76. }
  77.  
  78. /* ------------------------------
  79. Logo always in original colors
  80. ------------------------------ */
  81.  
  82. .Navbar-logo path:not([fill="#ffffff"]),
  83. .Navbar-logo path:not([fill="#1BB76E"])
  84. { fill: #fff !important; }
  85. /* v--- Letter "i" dot's color ---v */
  86. .Navbar-logo path[d^="M3.51952 0.756104C1.58599 0.756104"]
  87. { fill: #1BB76E !important; }
  88.  
  89. /* v--- Last three blue colored paths on top (OUTDATED, for example purpose) ---v
  90. .Navbar-logo [fill="#FFD500"]:nth-child(-n+6) { transform: translateY(-1px); } */
  91.  
  92. /* ------------------------------ */
  93.  
  94. .Button.upload { font-size: 0; }
  95.  
  96. .Button.upload:after {
  97. content: "Upload";
  98. font-size: 15px;
  99. }
  100.  
  101. .Button.upload img {
  102. margin-right: 9px;
  103. margin-top: -7px;
  104. }
  105.  
  106. .NewCover.GalleryCover.isFixed, .NewCover.isFixed .GoUp {
  107. visibility: hidden !important;
  108. transition: inherit !important;
  109. box-shadow: none !important;
  110. }
  111.  
  112. .Navbar-signin {
  113. background: #5c940d;
  114. padding: 9px 20px;
  115. border-radius: 3px;
  116. box-shadow: 0 6px 10px 0 rgba(27,28,30,.31);
  117. text-shadow: none !important;
  118. }
  119.  
  120. .Navbar-signup {
  121. padding-left: 20px;
  122. padding-right: 20px;
  123. min-width: inherit !important;
  124. }
  125.  
  126. .EmeraldButton {
  127. font-size: 0 !important;
  128. padding-left: 16px !important;
  129. padding-right: 16px !important;
  130. }
  131.  
  132. .EmeraldButton:after {
  133. content: "Support Imgur!";
  134. font-size: 15px !important;
  135. }
  136.  
  137. .ProfileNavbar-loggedIn .EmeraldButton { margin-right: 25px !important; }
  138.  
  139. .btn-wall--yes {
  140. display: block !important;
  141. width: 100% !important;
  142. height: auto !important;
  143. padding: 20px 0 22px !important;
  144. font-size: 28px !important;
  145. margin: 0 auto !important;
  146. }
  147.  
  148. .Page404Cover-logo {
  149. position: absolute !important;
  150. top: 25vh !important;
  151. margin-top: 0 !important;
  152. margin-bottom: 0 !important;
  153. }
  154. /* ------------------------------
  155. Download button always visible
  156. ------------------------------ */
  157. .Gallery-Options .Dropdown-title,
  158. .Gallery-OptionsMenu button[type="button"]:first-child,
  159. .Gallery-OptionsMenu button[type="button"]:nth-child(3)
  160. { display: none !important; }
  161.  
  162. .Gallery-OptionsMenu .Dropdown-menu {
  163. display: inherit !important;
  164. visibility: hidden !important;
  165. }
  166.  
  167. .Gallery-OptionsMenu .Dropdown-list {
  168. margin: -51px 0 0 -158px !important;
  169. padding: 17px 0 !important;
  170. }
  171.  
  172. .Gallery-OptionsMenu button:not([class=""]) {
  173. width: auto !important;
  174. border-radius: 5px !important;
  175. color: #b4b9c2 !important;
  176. visibility: visible !important;
  177. }
  178.  
  179. .Gallery-OptionsMenu button:hover {
  180. background: #1bb76e !important;
  181. color: #fff !important;
  182. }
  183.  
  184. .Gallery-OptionsMenu button:hover .icon [fill] { fill: #fff !important; }
  185.  
  186. /* -------------------------
  187. Image / video size tweaks
  188. ------------------------- */
  189.  
  190. /* ------- NOT MODAL ------- */
  191.  
  192. .Gallery-ContentWrapper .Gallery-Content--media video:not(.fullscreen) { max-height: 70vh !important; }
  193.  
  194. /* -------- IN MODAL ------- */
  195.  
  196. .ImageViewer > .Dialog-wrapper > div[style^="height:"] {
  197. width: auto !important;
  198. height: auto !important;
  199. }
  200.  
  201. .ImageViewerContent img {
  202. max-height: 99.5vh !important;
  203. max-width: 99vw !important;
  204. min-height: inherit !important;
  205. border: 5px solid #fff !important;
  206. border-radius: 6px !important;
  207. }
  208.  
  209. .ImageViewer {
  210. border: 0 !important;
  211. border-radius: 0 !important;
  212. }
  213.  
  214. /* ------------------------- */
  215.  
  216. .Gallery-ContentWrapper .Gallery-Content--media { background-color: rgba(0,0,0,0.4) !important; }
  217.  
  218. .Gallery-Content--descr {
  219. background: rgba(0,0,0,.3) !important;
  220. padding: 20px !important;
  221. border-radius: 10px !important;
  222. }
  223.  
  224. .loadMore {
  225. padding: 0 0 3px 0 !important;
  226. margin-bottom: 25px !important;
  227. }
  228.  
  229. .loadMore svg { margin-top: 3px !important; }
  230.  
  231. .UploadPost .ImageDescription { padding: 0 24px 24px !important; }
  232. }
  233.  
  234. @-moz-document url-prefix("https://zip.imgur.com/") { * { color: #fff !important; } }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址