Greasy Fork 还支持 简体中文。

ManyVids responsive + customizations

ManyVids website is more suitable for wide screens.

  1. /* ==UserStyle==
  2. @name ManyVids responsive + customizations
  3. @version 1.0.2
  4. @description ManyVids website is more suitable for wide screens.
  5. @author BreatFR (https://breat.fr)
  6. @namespace https://gitlab.com/breatfr
  7. @homepageURL https://gitlab.com/breatfr/manyvids
  8. @supportURL https://discord.gg/Q8KSHzdBxs
  9. @license AGPL-3.0-or-later; https://www.gnu.org/licenses/agpl-3.0.txt
  10. @preprocessor stylus
  11.  
  12. @var checkbox bigmedias "Big medias" 1
  13. @var text fontsize "Custom font size" 1.2rem
  14. @var checkbox widemode "Wide mode" 1
  15. ==/UserStyle== */
  16.  
  17. /* === Credits ===
  18. Website https://breat.fr
  19. facebook https://www.facebook.com/breatfroff
  20. mastodon https://mastodon.social/@breat_fr
  21. telegram https://t.me/breatfr
  22. vk https://vk.com/breatfroff
  23. X (twitter) https://x.com/breatfroff
  24. === Credits === */
  25.  
  26. @-moz-document domain("manyvids.com") {
  27. :root {
  28. --fontsize: fontsize;
  29. }
  30. /* Custom font size */
  31. :root,
  32. a[class^="CardCreatorHeaderUI_creatorLink__"],
  33. a[class^="SubNav_menuItem__"],
  34. div,
  35. input,
  36. label,
  37. p:not(.mav-badge),
  38. pre,
  39. span:not([class^="CardCreatorHeaderUI_topMvRank__"],[class^="CardCreatorHeaderUI_topClubEarner__"]),
  40. strong,
  41. textarea {
  42. font-size: fontsize !important;
  43. line-height: 1.5 !important;
  44. }
  45. [aria-label="Twitter Icon"] svg {
  46. height: auto !important;
  47. width: calc(var(--fontsize) - .2rem) !important;
  48. }
  49. a.mav-button-primary,
  50. button:not([value="Send application"]),
  51. .banner-info p,
  52. [class^="ViewMore_viewMore__"],
  53. [class^="SubNavUI_container__"] a,
  54. [class^="CardCreatorHeaderUI_topClubEarner__"],
  55. [class^="CardCreatorHeaderUI_topMvRank__"] {
  56. font-size: calc(var(--fontsize) - .3rem) !important;
  57. line-height: 1.2 !important;
  58. }
  59. a#uploadButton,
  60. a[value="Download application"],
  61. button:not(.rmp-button),
  62. div#photoIDImageBtn,
  63. [class^="ViewMore_viewMore__"],
  64. .nav-title {
  65. padding: 0 10px !important;
  66. width: max-content !important;
  67. }
  68. a.mav-button-primary,
  69. .banner-info p {
  70. padding: 0 10px !important;
  71. white-space: wrap !important;
  72. }
  73. .card-media * {
  74. border-radius: .5em !important;
  75. }
  76. if bigmedias {
  77. [class^="post_body__"],
  78. [class^="image_container__"],
  79. [class^="MessagesBroadcast_container-message-image__"],
  80. [class^="MVPlayer_mv_container__"],
  81. [class^="post_container__"],
  82. [class^="single_image__"],
  83. [class^="single_imageContent__"],
  84. [class^="videoAuto_postType___"],
  85. #main-video-player,
  86. img[style="color: transparent;"]:not([class^="post_avatar__"],[data-testid="search-container"] [alt="avatar"],[alt="Google logo"],[alt="X logo"]),
  87. video {
  88. height: auto !important;
  89. max-height: 100% !important;
  90. max-width: 100% !important;
  91. object-fit: contain !important;
  92. width: 100% !important;
  93. }
  94. [class^="post_content__"] {
  95. padding-right: 20px !important;
  96. }
  97. }
  98. if widemode {
  99. [data-testid="search-container"] {
  100. margin-top: 20px;
  101. }
  102. [class^="avatar_avatar__"] {
  103. aspect-ratio: 1 / 1;
  104. height: auto;
  105. width: auto;
  106. }
  107. [class^="CardFooter_container__"],
  108. [class^="VideoCardUI_footerContent__"] {
  109. height: auto !important;
  110. }
  111. [class^="VideoCardUI_videoTitle__"] a {
  112. text-overflow: initial;
  113. white-space: normal;
  114. }
  115. }
  116. }
  117.  
  118. @-moz-document url("https://www.manyvids.com/Vids/"), regexp("https://www\\.manyvids\\.com/Vids/\\?[^/]*") {
  119. if widemode {
  120. .vids-page,
  121. .wrapper.is-filter-visible {
  122. margin-top: 10px !important;
  123. max-width: 100% !important;
  124. width: 100% !important;
  125. }
  126. .wrapper.is-filter-visible {
  127. grid-column-gap: 20px !important;
  128. }
  129. body:not(:has(.nav-bar.collapsed)) .vids-page {
  130. margin-left: 240px !important;
  131. }
  132. body:has(.nav-bar.collapsed) .vids-page {
  133. margin-left: 75px !important;
  134. }
  135. .video-card-list {
  136. grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  137. }
  138. .filter-panel {
  139. width: auto !important;
  140. }
  141. }
  142. }
  143.  
  144. @-moz-document regexp("https://www\\.manyvids\\.com/results\\?[^/]*") {
  145. if widemode {
  146. body>div:nth-of-type(1)>div:nth-of-type(1) {
  147. max-width: 100% !important;
  148. width: 100% !important;
  149. }
  150. .content_wrapper__IMR_j.content_collapsed__QvzFk>main>div {
  151. margin-left: 50px !important;
  152. max-width: 100% !important;
  153. width: 100% !important;
  154. }
  155. .content_wrapper__IMR_j.content_collapsed__QvzFk>main>div>section {
  156. margin-left: -30px;
  157. padding-right: 140px;
  158. }
  159. .content_wrapper__IMR_j.content_notCollapsed__c9BAb>main>div {
  160. margin-left: 50px !important;
  161. max-width: 100% !important;
  162. width: 100% !important;
  163. }
  164. .content_wrapper__IMR_j.content_notCollapsed__c9BAb>main>div>section {
  165. margin-left: -30px;
  166. padding-right: 30px;
  167. }
  168. .filter-panel {
  169. width: auto !important;
  170. }
  171. }
  172. }
  173.  
  174. @-moz-document url-prefix("https://www.manyvids.com/Video/") {
  175. if widemode {
  176. [class^="videoPage_playerActivity__zPeds"] {
  177. max-width: 100% !important;
  178. padding: 0 20px;
  179. width: 100% !important;
  180. }
  181. [class^="videoPage_playerActivityContent__"] {
  182. box-sizing: border-box !important;
  183. grid-template-areas: "player activity_right" "activity_right";
  184. grid-template-columns: auto 300px !important;
  185. }
  186. body:has(aside[class^="bigSideBar_big_sidebar__"]) [class^="videoPage_playerActivityContent__"] {
  187. margin-left: 225px !important;
  188. }
  189. body:not(:has(aside[class^="bigSideBar_big_sidebar__"])) [class^="videoPage_playerActivityContent__"] {
  190. margin-left: 0 !important;
  191. }
  192. .rmp-control-bar-hint {
  193. border-radius: 10px !important;
  194. height: auto !important;
  195. width: auto !important;
  196. }
  197. .rmp-large .rmp-module-overlay,
  198. .rmp-overlay-levels-area * {
  199. height: auto !important;
  200. width: auto !important;
  201. }
  202. [data-testid="overlay"] {
  203. display: none !important;
  204. }
  205. .wrapper.is-filter-visible {
  206. grid-column-gap: 20px !important;
  207. }
  208. [class^="banner_banner__"] {
  209. height: auto;
  210. }
  211. }
  212. }
  213.  
  214. @-moz-document regexp("https://www\\.manyvids\\.com/Profile/[^/]+/[^/]+/Store/Videos"), regexp("https://www\\.manyvids\\.com/Profile/[^/]+/[^/]+/Store/Videos\\?[^/]*") {
  215. if widemode {
  216. body>div>div:nth-of-type(1)>div:nth-of-type(1),
  217. body>div>div:nth-of-type(1)>div:nth-of-type(2),
  218. body>div>div:nth-of-type(1)>div:nth-of-type(1)>div {
  219. max-width: 100% !important;
  220. padding: 0 20px;
  221. width: 100% !important;
  222. }
  223. .wrapper.is-filter-visible {
  224. grid-column-gap: 20px !important;
  225. }
  226. [class^="ProfileTabGrid_grid__"],
  227. [class^="ProfileTabGrid_itemsGrid__"] {
  228. gap: 20px!important;
  229. grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  230. }
  231. }
  232. }
  233.  
  234. @-moz-document regexp("https://www\\.manyvids\\.com/Profile/[^/]+/[^/]+/Store/Items"), regexp("https://www\\.manyvids\\.com/Profile/[^/]+/[^/]+/Store/Items\\?[^/]*") {
  235. if widemode {
  236. body>div>div:nth-of-type(1)>div:nth-of-type(1),
  237. body>div>div:nth-of-type(1)>div:nth-of-type(2),
  238. body>div>div:nth-of-type(1)>div:nth-of-type(1)>div {
  239. max-width: 100% !important;
  240. padding: 0 20px;
  241. width: 100% !important;
  242. }
  243. .wrapper.is-filter-visible {
  244. grid-column-gap: 20px !important;
  245. }
  246. [class^="ProfileTabGrid_grid__"],
  247. [class^="ProfileTabGrid_itemsGrid__"] {
  248. gap: 20px!important;
  249. grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)) !important;
  250. }
  251. }
  252. }
  253.  
  254. @-moz-document regexp("https://www\\.manyvids\\.com/Profile/[^/]+/[^/]+/Store/Custom") {
  255. if widemode {
  256. body>div>div:nth-of-type(1)>div:nth-of-type(1),
  257. body>div>div:nth-of-type(1)>div:nth-of-type(2),
  258. body>div>div:nth-of-type(1)>div:nth-of-type(1)>div {
  259. max-width: 100% !important;
  260. padding: 0 20px;
  261. width: 100% !important;
  262. }
  263. }
  264. }
  265.  
  266. @-moz-document regexp("https://www\\.manyvids\\.com/Activity/[^/]+/[^/]+/club"), regexp("https://www\\.manyvids\\.com/Activity/[^/]+/[^/]+/club\\?[^/]*") {
  267. if widemode {
  268. body>div>div:nth-of-type(1)>div:nth-of-type(1),
  269. body>div>div:nth-of-type(1)>div:nth-of-type(2),
  270. body>div>div:nth-of-type(1)>div:nth-of-type(1)>div,
  271. body>div>div:nth-of-type(1)>div:nth-of-type(2)>nav,
  272. body>div>div:nth-of-type(1)>div:nth-of-type(2)>div,
  273. body>div>div:nth-of-type(1)>div:nth-of-type(2)>div>div {
  274. max-width: 100% !important;
  275. padding: 20px;
  276. width: 100% !important;
  277. }
  278. body>div>div:nth-of-type(1)>div:nth-of-type(1) {
  279. margin: 0 auto !important;
  280. }
  281. body>div>div:nth-of-type(1)>div:nth-of-type(2),
  282. body>div>div:nth-of-type(1)>div:nth-of-type(2)>nav {
  283. padding: 0 20px !important;
  284. }
  285. .wrapper.is-filter-visible {
  286. grid-column-gap: 20px !important;
  287. }
  288. }
  289. }
  290.  
  291. @-moz-document regexp("https://www\\.manyvids\\.com/Profile/[^/]+/[^/]+/live") {
  292. if widemode {
  293. body>div>div:nth-of-type(1)>div:nth-of-type(1),
  294. body>div>div:nth-of-type(1)>div:nth-of-type(1)>div,
  295. body>div>div:nth-of-type(1)>div:nth-of-type(1)>div>div {
  296. max-width: 100% !important;
  297. padding: 20px;
  298. width: 100% !important;
  299. }
  300. body>div>div:nth-of-type(1)>div:nth-of-type(1) {
  301. margin: 0 auto !important;
  302. }
  303. [class^="ticker_container__"],
  304. [class^="ticker_tickerContainer__"] {
  305. max-width: 100% !important;
  306. overflow: hidden;
  307. }
  308. }
  309. }
  310.  
  311. @-moz-document regexp("https://www\\.manyvids\\.com/Profile/[^/]+/[^/]+/Purchased") {
  312. if widemode {
  313. body>div>div:nth-of-type(1)>div:nth-of-type(1),
  314. body>div>div:nth-of-type(1)>div:nth-of-type(2),
  315. body>div>div:nth-of-type(1)>div:nth-of-type(1)>div {
  316. max-width: 100% !important;
  317. padding: 0 20px;
  318. width: 100% !important;
  319. }
  320. .wrapper.is-filter-visible {
  321. grid-column-gap: 20px !important;
  322. }
  323. [class^="ProfileTabGrid_grid__"],
  324. [class^="ProfileTabGrid_itemsGrid__"] {
  325. gap: 20px!important;
  326. grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)) !important;
  327. }
  328. }
  329. }
  330.  
  331. @-moz-document regexp("https://www\\.manyvids\\.com/Social/[^/]+/[^/]+/Followers/"), regexp("https://www\\.manyvids\\.com/Social/[^/]+/[^/]+/Following/") {
  332. if widemode {
  333. #social-app>div:nth-of-type(2),
  334. .description {
  335. max-width: 100% !important;
  336. padding: 0 20px;
  337. width: 100% !important;
  338. }
  339. #social-app>div:nth-of-type(2)>div:nth-of-type(2) {
  340. grid-template-columns: 300px 1fr !important;
  341. max-width: 100% !important;
  342. }
  343. }
  344. }
  345.  
  346. @-moz-document url("https://www.manyvids.com/Create-Free-Account"), url("https://www.manyvids.com/Login") {
  347. if widemode {
  348. [class^="page_page__"],
  349. [class^="page_fullHeight__"],
  350. [class^="page_contentContainer__"],
  351. [class^="SignupFooter_footer__"] {
  352. max-width: 100% !important;
  353. padding: 0 20px;
  354. width: 100% !important;
  355. }
  356. main {
  357. max-width: 60% !important;
  358. }
  359. [class^="SignupAccountTypeSelection_accountType__"] {
  360. justify-content: center;
  361. }
  362. }
  363. }
  364.  
  365. @-moz-document url("https://www.manyvids.com/forgot-password") {
  366. if widemode {
  367. body>div>div:nth-of-type(2),
  368. body>div>div:nth-of-type(2)>div {
  369. max-width: 100% !important;
  370. padding: 0 20px;
  371. width: 100% !important;
  372. }
  373. }
  374. }
  375.  
  376. @-moz-document url-prefix("https://www.manyvids.com/Post/") {
  377. if widemode {
  378. body>div>div:nth-of-type(1)>div:nth-of-type(1),
  379. body>div>div:nth-of-type(1)>div:nth-of-type(2),
  380. body>div>div:nth-of-type(1)>div:nth-of-type(1)>div {
  381. max-width: 100% !important;
  382. padding: 0 20px;
  383. width: 100% !important;
  384. }
  385. [class^="breadcrumbs_container__"] {
  386. justify-content: flex-start !important;
  387. margin-top: 20px;
  388. }
  389. }
  390. }
  391.  
  392. @-moz-document url("https://www.manyvids.com/notifications") {
  393. if widemode {
  394. body>div>div:nth-of-type(1)>div>div>div {
  395. max-width: 100% !important;
  396. padding: 0 20px;
  397. width: 100% !important;
  398. }
  399. [class^="breadcrumbs_container__"] {
  400. justify-content: flex-start !important;
  401. margin-top: 20px;
  402. }
  403. }
  404. }
  405.  
  406. @-moz-document url-prefix("https://www.manyvids.com/Inbox/") {
  407. if widemode {
  408. .fixed-wrapper {
  409. max-width: 100% !important;
  410. padding: 0 20px;
  411. width: 100% !important;
  412. }
  413. .fixed-wrapper>div>div>div>div:nth-of-type(2)>div,
  414. li#conversation-card,
  415. .media-body {
  416. height: auto !important;
  417. max-width: 100% !important;
  418. overflow: hidden !important;
  419. width: 100% !important;
  420. }
  421. .scroll-element_outer {
  422. display: none !important;
  423. height: 0;
  424. width: 0;
  425. }
  426. .notes-tabs {
  427. left: 0;
  428. }
  429. }
  430. }
  431.  
  432. @-moz-document url("https://www.manyvids.com/inbox/broadcast") {
  433. if widemode {
  434. [class^="Conversation_container-options-date__"] {
  435. height: auto !important;
  436. }
  437. }
  438. }
  439.  
  440. @-moz-document url("https://www.manyvids.com/Account-settings/"), url("https://www.manyvids.com/Security-center/") {
  441. if widemode {
  442. .fixed-wrapper {
  443. max-width: 100% !important;
  444. padding: 0 20px;
  445. width: 100% !important;
  446. }
  447. [class^="breadcrumbs_container__"] {
  448. justify-content: flex-start !important;
  449. margin-top: 20px;
  450. }
  451. }
  452. }
  453.  
  454. @-moz-document url("https://www.manyvids.com/View-my-history/1/") {
  455. if widemode {
  456. .fixed-wrapper {
  457. max-width: 100% !important;
  458. padding: 0 20px;
  459. width: 100% !important;
  460. }
  461. [class^="breadcrumbs_container__"] {
  462. justify-content: flex-start !important;
  463. margin-top: 20px;
  464. }
  465. }
  466. form>div>input {
  467. height: fontsize !important;
  468. }
  469. form>div button {
  470. height: auto !important;
  471. }
  472. #btn_download_all_vids {
  473. right: 20px;
  474. }
  475. }