GreasyFork | Modernized ( Optional Dark Theme )

A much cleaner and more modern version of GreasyFork!

目前為 2020-11-15 提交的版本,檢視 最新版本

  1. /* ==UserStyle==
  2. -- THEME STUFF --
  3. @name GreasyFork | Modernized ( Optional Dark Theme )
  4. @version 1.3.11
  5. @description A much cleaner and more modern version of GreasyFork!
  6.  
  7. -- AUTHOR STUFF --
  8. @namespace Freeplay
  9. @author Freeplay (https://pages.codeberg.org/freeplay/)
  10. @homepageURL https://codeberg.org/Freeplay/UserStyles
  11. @supportURL https://codeberg.org/Freeplay/UserStyles/issues
  12. @preprocessor stylus
  13.  
  14.  
  15. --- SETTINGS ---
  16. @var checkbox darkmode "Dark Mode" 0
  17.  
  18. ==/UserStyle== */
  19. /* Btw I didn't know how version numbers properly worked before when I first started making this so... */
  20. /* Nov, 15 / 20
  21. - Added borders to sections
  22. - More fixes
  23. /* Nov, 12 / 20
  24. - Changed header to accommodate for other languages & Username lengths (I didn't think about that stuff before, woops!)
  25. - Added border around script list items
  26. /* Nov, 11 / 20
  27. - Fixed login screen
  28. - Modernised login button in header
  29. - More fixes & Tweaks
  30. - Better thumbnails with Greasy Fork镜像 Tweaks https://gf.qytechs.cn/en/scripts/368183
  31. /* Nov, 7 / 20
  32. - Modernised Favorites List
  33. - Tweaked sidebar scrollbar
  34. - Improved Header & Search bar!
  35. /* Nov, 4 / 20
  36. - Modernised dropdown, contributed by: https://codeberg.org/Riedler
  37. /* Oct, 23 / 20
  38. - Changed card color in Dark Mode
  39. - More fixes
  40. - More tweaks
  41. - More links to buttons...
  42. - Changed button color on hover in light theme
  43. /* Oct, 19 / 20
  44. - Nicer font
  45. - Fixed spacing in some areas
  46. - Fixed alerts box on Dark Mode
  47. - Better sortof seperators
  48. - Transparent blurred header, can be removed by making color-primary var opaque.
  49. - More Tweaks
  50. - Now works with 'Greasy Fork镜像 Tweaks'! https://gf.qytechs.cn/en/scripts/368183
  51. /* Oct, 15 / 20
  52. - Added max-width to alerts
  53. - Added boxes around forms and comments
  54. - Added scrollbar-color to firefox
  55. - Added max-heights to script lists
  56. - More stylized buttons
  57. - More fixes
  58. - Made stat charts on Dark Mode light
  59. /* Aug, 31 / 20
  60. - Fixed ad placement in Script Details page
  61. - Less saturated topbar on light theme, You can always change the colors inside of :root{}
  62. - Moved some buttons on scripts list page
  63. /* Aug, 23 / 20
  64. - Properly modernised the Script Details page! :D
  65. /* Aug, 20 / 20
  66. - Softened Shadows
  67. - Changed script details page a bit
  68. - Fixed header on homepage
  69. - Fixed forums on Dark Mode
  70. - Moved search bar to header
  71. - Fixed some textboxes
  72. - More fixes
  73. /* Aug, 16 / 20
  74. - Better positioning & look
  75. - Better sidebar
  76. - Forums support
  77. - Added max-width to some pages
  78. - Better Metadata
  79. */
  80. /* Jul, 6 / 20
  81. - Dark Mode!
  82. */
  83. /* Jun, 7 / 20
  84. - Changed links back to underlines, Didn't work too well in some areas
  85. */
  86. /* Jun, 5 / 20
  87. - Minor changes - AKA other things I forgot to log.
  88. - Modern TextBox
  89. - Sortof Modern Dropdown
  90. - Links are now shown by the blue color instead of the underline, hovering displays underline
  91. - Tweaked Header
  92. */
  93. @-moz-document domain("gf.qytechs.cn") {
  94. :root {
  95. if darkmode {
  96. /* DARK MODE COLORS */
  97. --color-primary: #272b36bd;
  98. --color-secondary: #072b3a ;
  99. --color-tertiary: #2c3242;
  100. --color-bg: #1c1f28;
  101. --color-text: #d1d1d1;
  102. --color-link: #00b3ff;
  103. --color-link-visited: cyan;
  104. --color-highlighted #287721;
  105. --shadow-normal: 0 0px 3px rgba(0,0,0,0.5);
  106. --shadow-button: none;
  107. --border-button: 1px solid rgba(150,150,150,.1);
  108. } else {
  109. /* LIGHT MODE COLORS */
  110. --color-primary: #980000bd;
  111. --color-secondary: white;
  112. --color-tertiary: white;
  113. --color-bg: #F6F6F6;
  114. --color-text: black;
  115. --color-link: #0265be;
  116. --color-link-visited: #cf2525;
  117. --color-highlighted: #9fefa3;
  118. --shadow-normal: 0 0 10px rgba(0, 0, 0, .01);
  119. --shadow-button: 0px 0px 0px 20px var(--color-bg) inset;
  120. --border-button: 1px #dcdcdc solid;
  121. }
  122. }
  123. * {
  124. transition: background .2s;
  125. }
  126. /* TEXT */
  127. h3, h2 {
  128. color: var(--color-text);
  129. }
  130. h3 {
  131. margin-bottom: 1em !important;
  132. }
  133. p {
  134. color: var(--color-text);
  135. }
  136. pre, textarea, .preview-results {
  137. background-color: var(--color-secondary) !important;
  138. border: var(--border-button) !important;
  139. border-radius: .3rem;
  140. color: var(--color-text);
  141. }
  142. pre.prettyprint {
  143. background-color: white !important;
  144. max-height: none;
  145. margin-top: 0;
  146. }
  147. .post-discussion > p:first-child,
  148. .sidebarred-main-content > p,
  149. .post-discussion > div:last-of-type ,
  150. {
  151. font-size: 0;
  152. }
  153. .sidebarred-main-content > h2 + p {
  154. font-size: inherit !important;
  155. margin-top: 0 !important;
  156. }
  157. /* BUTTONS/LINKS */
  158. select, option, input, button, code, #user-control-panel > li, .sign-in-link a,
  159. .pagination > *, .script-list + .pagination > *, .user-list + .pagination > *,
  160. a.list-option-button, #script-links > li > *, #script-feedback-suggestion a, .discussion-actions a, .report-link, .edit-comment, .post-discussion > p:first-of-type a, .discussion-up-level a, .post-discussion > div > .inline-list > li a,
  161. #script-content > ul li a,
  162. #about-user > p:last-child > *, #about-user > a:first-child,
  163. #install-area a, .expander, #contribution > a, #support-url > a, .script-in-sets > a,
  164. .sidebarred-main-content > p:last-child a, .sidebarred-main-content > p:first-of-type a,
  165. #home-top-sites a,
  166. #by-site-list > li > a {
  167. border: var(--border-button) !important;
  168. text-decoration: none !important;
  169. border-radius: .3rem !important;
  170. padding: 5px 14px;
  171. font-size: 14px;
  172. font-family: Segoe UI, Helvetica, Arial, sans-serif, Segoe UI Emoji !important;
  173. transition: all .2s;
  174. background-color: var(--color-secondary) !important;
  175. color: var(--color-text) !important;
  176. list-style: none;
  177. outline: none !important;
  178. }
  179. code {
  180. padding: 2px 4px !important;
  181. }
  182. select:hover, input:hover, input:focus, button:hover, #user-control-panel > li:hover, .sign-in-link a:hover,
  183. a.list-option-button:hover, #script-links > li > *:hover, #script-feedback-suggestion a:hover, #script-links .current span, .discussion-actions a:hover, .report-link:hover, .edit-comment:hover, .post-discussion > p:first-of-type a:hover, .discussion-up-level a:hover, .post-discussion > div > .inline-list > li a:hover,
  184. #script-content > ul li a:hover,
  185. #about-user > p:last-child > *:hover, #about-user > a:first-child:hover,
  186. .pagination > *:hover, .script-list + .pagination > *:hover, .user-list + .pagination > *:hover, .pagination > *:focus, .script-list + .pagination > *:focus, .user-list + .pagination > *:focus,
  187. #install-area a:hover, .expander:hover, #contribution > a:hover, #support-url > a:hover, .script-in-sets > a:hover,
  188. .sidebarred-main-content > p:last-child a:hover, .sidebarred-main-content > p:first-of-type a:hover,
  189. #home-top-sites a:hover,
  190. #by-site-list > li > a:hover {
  191. box-shadow: var(--shadow-button) !important;
  192. background-color: var(--color-tertiary) !important;
  193. text-decoration: none !important;
  194. }
  195. select:not(#remove-scripts-included) { /* Contributed by https://codeberg.org/Riedler */
  196. appearance:none;
  197. background-image:url("https://riedler.wien/sfto/darklearning/double_triangles_top_bottom_AAA.svg");
  198. background-repeat:no-repeat;
  199. background-position:center right 7px !important;
  200. background-size:auto 50%;
  201. }
  202. nav > li > a, .pagination > a, #user-control-panel > li > a, #script-links > li > a, div[class="list-option-group"] > ul > li > a, h2 > a ,
  203. .comment-meta-item-main a {
  204. text-decoration: none;
  205. color: var(--color-text);
  206. }
  207. .pagination {
  208. margin-bottom: 20px;
  209. }
  210. a {
  211. display: inline-block;
  212. }
  213. a, a.discussion-title, a.discussion-title:hover {
  214. text-underline-offset: .25em;
  215. color: var(--color-link);
  216. }
  217. a:hover, a.discussion-title:hover {
  218. text-decoration: underline;
  219. }
  220. a:visited {
  221. color: var(--color-link-visited);
  222. }
  223. body, html {
  224. background-color: var(--color-bg);
  225. font-family: Segoe UI, Helvetica, Arial, sans-serif, Segoe UI Emoji !important;
  226. }
  227. body > .width-constraint {
  228. max-width: 100% !important;
  229. margin: 0;
  230. padding: 10px;
  231. display: flex;
  232. flex-wrap: wrap;
  233. }
  234. body > .width-constraint > * {
  235. width: 100%;
  236. }
  237. body > .width-constraint > section, .notice, .alert, .announcement {
  238. max-width: 80rem;
  239. margin: auto !important;
  240. }
  241. body > .width-constraint > section:first-child, .notice, .alert {
  242. margin-top: 20px !important;
  243. }
  244. body > .width-constraint > section:last-of-type {
  245. margin-bottom: 40px !important;
  246. }
  247. .alert, .announcement {
  248. background-color: var(--color-secondary);
  249. margin-bottom: 20px !important;
  250. }
  251. .alert *, .announcement {
  252. color: var(--color-text) !important;
  253. padding: 10px;
  254. }
  255. .announcement {
  256. margin-top: 10px !important;
  257. border-radius: .3rem;
  258. }
  259. section {
  260. border: none !important;
  261. }
  262. .notice {
  263. background-color: var(--color-secondary);
  264. }
  265. .text-content, .discussion-list, #browse-user-list, .inline-form, #new_user,
  266. #script-meta, #additional-info, #script-show-info-ad, #script-content .script-discussion-list, canvas,
  267. /*.multiform-page*/, #script-content form:not(.script-in-sets), table, .comment,
  268. #script-content > ul {
  269. padding: 1rem !important;
  270. margin: 0 auto !important;
  271. margin-bottom: 20px !important;
  272. border: var(--border-button) !important;
  273. box-shadow: var(--shadow-normal) !important;
  274. background-color: var(--color-tertiary) !important;
  275. color: var(--color-text);
  276. border-radius: .5rem;
  277. }
  278. .text-content > *:first-child {
  279. margin-top: 0 !important;
  280. }
  281. .text-content > *:last-child, #script-meta > *:last-child {
  282. margin-bottom: 0 !important;
  283. }
  284. @media only screen and (min-width: 940px) {
  285. body {
  286. margin-top: 44px;
  287. }
  288.  
  289. /* HEADER */
  290. #main-header {
  291. position: fixed;
  292. top: 0;
  293. width: 100%;
  294. height: 44px;
  295. padding: 0;
  296. z-index: 5;
  297. background-image: none;
  298. background-color: var(--color-primary);
  299. backdrop-filter: blur(10px);
  300. }
  301. #main-header > .width-constraint {
  302. max-width: 100%;
  303. padding-left: 10px;
  304. padding-right: 10px;
  305. display: flex !important;
  306. align-items: center;
  307. margin: auto !important;
  308. }
  309. #site-name {
  310. position: absolute;
  311. width: 150px;
  312. min-width: 150px;
  313. height: 30px;
  314. margin-top: auto;
  315. margin-bottom: auto;
  316. }
  317. #site-name img {
  318. height: 30px;
  319. }
  320. #site-name-text {
  321. margin-top: 0 !important;
  322. }
  323. #site-name-text > h1 {
  324. height: 30px;
  325. font-size: 25px;
  326. font-weight: 600;
  327. }
  328.  
  329. #site-nav {
  330. display: flex !important;
  331. height: 40px;
  332. padding-top: 1px;
  333. width: auto;
  334. align-items: center;
  335. margin-top: 0 !important;
  336. width: 100%;
  337. justify-content: flex-end;
  338. }
  339. #site-nav > * {
  340. position: relative !important;
  341. }
  342. #site-nav > nav {
  343. width: 100% !important;
  344. height: 20px;
  345. display: flex;
  346. align-items: center;
  347. justify-content: flex-end;
  348. }
  349. #nav-user-info {
  350. width: auto;
  351. order: 2;
  352. height: 20px;
  353. display: flex;
  354. align-items: center;
  355. }
  356. #nav-user-info .sign-out-link, #nav-user-info .sign-in-link {
  357. width: max-content !important;
  358. }
  359. #nav-user-info > form > select {
  360. margin: 0 0 0 26px;
  361. height: 32px;
  362. }
  363. #site-nav > nav > li + li {
  364. margin-left: 1em;
  365. }
  366. #nav-user-info .user-profile-link a, #nav-user-info .sign-out-link a {
  367. text-decoration: none;
  368. font-size: 16px;
  369. }
  370. #nav-user-info .sign-out-link {
  371. font-size: 0;
  372. margin-left: 16px;
  373. }
  374. #nav-user-info .with-submenu {
  375. padding-right: 16px;
  376. }
  377. #nav-user-info a:hover {
  378. text-decoration: underline;
  379. }
  380. .with-submenu > nav {
  381. background-color: var(--color-primary);
  382. backdrop-filter: blur(10px);
  383. }
  384. /* SIDEBAR */
  385. .sidebar ~ div {
  386. max-width: 50rem;
  387. }
  388. .sidebar {
  389. position: sticky;
  390. top: 44px;
  391. order: -1;
  392. margin: -10px 15px -10px -10px;
  393. padding: 20px 0 20px 10px;
  394. height: calc(100vh - 84px);
  395. max-height: calc(100vh - 84px);
  396. overflow-y: auto;
  397. overflow-x: hidden;
  398. z-index: 6;
  399. text-decoration: none !important;
  400. scrollbar-color: var(--color-primary) transparent;
  401. scrollbar-width: thin;
  402. }
  403. .sidebar-search {
  404. position: fixed;
  405. top: 5px;
  406. left: 180px;
  407. }
  408. .sidebar-search input[type="search"] {
  409. height: 32px;
  410. border: none !important;
  411. border-radius: .3rem !important;
  412. width: 170px;
  413. text-align: center;
  414. color: var(--color-text) !important;
  415. padding-inline-end: 30px;
  416. box-shadow: 0px 0px 2px rgba(0,0,0,0.1) !important;
  417. background-color: var(--color-primary) !important;
  418. color: white !important;
  419. font-weight: 700;
  420. filter: opacity(.5);
  421. transition: width .2s, background-color .5s, color .5s, filter .2s;
  422. }
  423. .sidebar-search input[type="search"]:focus, .sidebar-search input[type="search"]:hover {
  424. width: calc(100vw - 450px);
  425. transition: width .5s, background-color .2s, color .2s, filter .2s;
  426. filter: opacity(1);
  427. background-color: var(--color-secondary) !important;
  428. color: var(--color-text) !important;
  429. }
  430. .sidebar-search input[type="submit"] {
  431. display: none;
  432. }
  433. #script-list-option-groups > div, .list-option-group {
  434. padding: 10px;
  435. color: var(--color-text);
  436. background-color: var(--color-secondary);
  437. border-radius: .3rem;
  438. box-shadow: 0px 0px 2px rgba(0,0,0,0.1);
  439. }
  440. #script-list-option-groups > div > ul, .list-option-group > ul {
  441. background-color: transparent;
  442. box-shadow: none;
  443. border: none;
  444. margin: -10px;
  445. }
  446. .list-current {
  447. border-left-color: var(--color-primary) !important;
  448. border-left-width: 4px !important;
  449. }
  450. if darkmode {
  451. .list-current {
  452. background: none !important;
  453. background-color: var(--color-tertiary) !important;
  454. color: var(--color-text);
  455. }
  456. .list-option-group a:hover, .list-option-group a:focus {
  457. background: none !important;
  458. background-color: var(--color-tertiary) !important;
  459. box-shadow: none !important;
  460. }
  461. }
  462. /* LISTS */
  463. .sidebarred-main-content {
  464. margin-top: 10px !important;
  465. }
  466. .sidebarred-main-content > h2 {
  467. margin-top: 0;
  468. }
  469. #browse-script-list {
  470. margin-top: 0;
  471. }
  472. #browse-script-list, #user-script-list, #user-deleted-script-list {
  473. display: grid;
  474. grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  475. grid-gap: 10px;
  476. border: none;
  477. box-shadow: none;
  478. background-color: transparent;
  479. }
  480. }
  481. #browse-script-list > li, #user-script-list > li, #user-deleted-script-list > li {
  482. border: var(--border-button) !important;
  483. border-radius: .5rem;
  484. background-color: var(--color-tertiary);
  485. transition: box-shadow .2s;
  486. color: var(--color-text);
  487. display: flex;
  488. }
  489. #browse-script-list > li:hover, #user-script-list > li:hover, #user-deleted-script-list > li:hover {
  490. box-shadow: 0px 2px 20px rgba(0,0,0,0.1);
  491. }
  492. #browse-script-list > li > article, #user-script-list > li > article, #user-deleted-script-list > li > article {
  493. height: 100%;
  494. display: flex;
  495. flex-wrap: wrap;
  496. width: auto !important;
  497. flex-grow: 1 !important;
  498. max-width: 100% !important;
  499. }
  500. #browse-script-list > li > article > h2 {
  501. overflow: hidden;
  502. max-height: 100px;
  503. }
  504. .inline-script-stats {
  505. margin-top: auto;
  506. width: 100%;
  507. }
  508. .inline-script-stats dd {
  509. max-width: 100%;
  510. }
  511. #browse-script-list > li > article > h2 > a {
  512. font-weight: 600;
  513. }
  514. #browse-script-list > li > article > h2::before {
  515. content: "";
  516. display: flex;
  517. position: relative;
  518. z-index: 2;
  519. width: 100%;
  520. height: 40px;
  521. color: var(--color-tertiary);
  522. background: linear-gradient(transparent, currentColor);
  523. box-shadow: 0 10px 0 var(--color-tertiary);
  524. margin-top: -40px;
  525. transform: translateY(100px);
  526. pointer-events: none;
  527. }
  528. /* Greasy Fork镜像 Tweaks Thumbnail Images */
  529. #browse-script-list > li > article ~ div,
  530. #user-script-list > li > article ~ div,
  531. #user-deleted-script-list > li > article ~ div {
  532. max-height: 185px !important;
  533. height: calc(100% + 2em) !important;
  534. width: auto !important;
  535. max-width: 40% !important;
  536. margin-right: -1em !important;
  537. margin-top: -1em !important;
  538. margin-bottom: -1em !important;
  539. margin-left: 1em !important;
  540. border-top-right-radius: .5rem !important;
  541. border-bottom-right-radius: .5rem !important;
  542. padding: 0 !important;
  543. transition: max-width .5s, width .5s;
  544. display: flex !important;
  545. transition: max-width .5s;
  546. justify-content: center;
  547. }
  548. #browse-script-list > li > article ~ div > img,
  549. #user-script-list > li > article ~ div > img,
  550. #user-deleted-script-list > li > article ~ div > img {
  551. max-width: 100% !important;
  552. width: 100% !important;
  553. align-self: center;
  554. }
  555. #browse-script-list #script-list-ea {
  556. width: 100%;
  557. }
  558. #browse-script-list #script-list-ea + div:last-of-type {
  559. display: none !important;
  560. width: 0 !important;
  561. }
  562. .script-list li:not(.ad-entry) {
  563. border-right: 1px solid #DDDDDD;
  564. }
  565. .ad-entry, #codefund {
  566. grid-column: 1/-1;
  567. }
  568. .ad-entry > div {
  569. height: auto !important;
  570. padding: 0 !important;
  571. }
  572. [data-ea-publisher].loaded .ea-content a:link, [data-ea-type].loaded .ea-content a:link {
  573. color: var(--color-link) !important;
  574. }
  575. .sidebarred-main-content {
  576. display: flex;
  577. flex-wrap: wrap;
  578. height: min-content;
  579. }
  580. .sidebarred-main-content > * {
  581. width: 100%;
  582. }
  583. .sidebarred-main-content > p {
  584. width: auto;
  585. margin: 1em 0 0;
  586. }
  587. .sidebarred-main-content > p:last-child {
  588. order: -1;
  589. }
  590. /*** FILTER BY SITES PAGE ***/
  591. #by-site-list > li > a {
  592. font-size: inherit !important;
  593. }
  594.  
  595. /*** SCRIPT DETAILS PAGE ***/
  596. #script-info {
  597. display: flex;
  598. flex-wrap: wrap;
  599. background: none !important;
  600. }
  601. #script-info > * {
  602. width: 100%;
  603. }
  604. #script-info, #additional-info, #user-profile {
  605. background: none;
  606. background-color: var(--color-tertiary);
  607. box-shadow: none;
  608. color: var(--color-text);
  609. }
  610. #script-info > header {
  611. order: -1;
  612. width: 100%;
  613. }
  614. #script-info header h2 {
  615. font-weight: 600;
  616. }
  617. #script-links {
  618. margin: 12px 0;
  619. padding-top: 12px !important;
  620. padding: 0;
  621. display: flex;
  622. flex-wrap: wrap;
  623. position: sticky;
  624. top: 45px;
  625. display: inline;
  626. width: 150px;
  627. height: min-content;
  628. max-height: calc(100vh - 58px);
  629. overflow-y: auto;
  630. }
  631. #script-links .current {
  632. border: none !important;
  633. box-shadow: none;
  634. }
  635. #script-links li {
  636. margin: 8px 0px;
  637. }
  638. .script-show-applies-to .inline-list {
  639. display: flex;
  640. flex-wrap: wrap;
  641. }
  642. #script-content {
  643. margin: 20px;
  644. width: calc(100% - 200px);
  645. display: flex;
  646. flex-wrap: wrap;
  647. height: min-content;
  648. }
  649. #script-content > * {
  650. width: 100%;
  651. }
  652. .install-link {
  653. background-color: var(--color-highlighted) !important;
  654. }
  655. #script-feedback-suggestion, .script-in-sets, #install-area {
  656. margin: 0;
  657. width: auto !important;
  658. display: flex;
  659. flex-wrap: wrap;
  660. font-size: 0;
  661. }
  662. #script-feedback-suggestion a, .script-in-sets *, #install-area a,
  663. .post-discussion > p:first-child a,
  664. .sidebarred-main-content > p a {
  665. font-size: 14px;
  666. margin: 0;
  667. margin-right: 8px;
  668. margin-bottom: 1em;
  669. }
  670. .discussion-snippet {
  671. white-space: normal !important;
  672. }
  673. .script-in-sets {
  674. order: 1;
  675. width: 100% !important;
  676. }
  677. #script-meta {
  678. order: 2;
  679. max-width: none;
  680. flex: 1 1 400px;
  681. }
  682. #script-meta dt {
  683. max-width: 100px;
  684. }
  685. #script-show-info-ad {
  686. order: 3;
  687. margin-left: 1em !important;
  688. flex: 1 1 200px;
  689. }
  690. #additional-info {
  691. order: 3;
  692. display: flex;
  693. flex-wrap: wrap;
  694. }
  695. #additional-info > * {
  696. width: 100%;
  697. }
  698. .user-screenshots {
  699. order: -1;
  700. margin-top: 0 !important;
  701. margin-bottom: 1em;
  702. width: 100%;
  703. }
  704. .post-discussion {
  705. width: 100%;
  706. }
  707. section > *:first-child, #script-content > *:first-child, #script-content p, #script-content h3, form > p:first-of-type,
  708. .discussion-header {
  709. margin-top: 0 !important;
  710. }
  711. .multiform-page {
  712. padding: 0 !important;
  713. }
  714. canvas {
  715. background-color: white !important;
  716. }
  717. /*** FORUMS ***/
  718. .discussion-read {
  719. background-color: var(--color-secondary) !important;
  720. }
  721. .discussion-list-item {
  722. border-top: var(--border-button) !important;
  723. border-bottom: var(--border-button) !important;
  724. }
  725. .user-content {
  726. background: none;
  727. }
  728. .comment-meta-item a {
  729. margin-bottom: -100px;
  730. }
  731. .discussion-header h2 {
  732. margin-top: .5rem;
  733. }
  734. /* FAVORITES LIST */
  735. .post-discussion > div:last-of-type {
  736. order: 5;
  737. }
  738. /*** USER PAGE ***/
  739. /* About User */
  740. a.report-link.report-link-abs {
  741. margin-top: 1em !important;
  742. }
  743. /* Control Panel */
  744. #user-control-panel, #script-content > ul {
  745. display: flex;
  746. flex-wrap: wrap;
  747. grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  748. grid-gap: 10px;
  749. padding: 10px;
  750. list-style: none;
  751. }
  752. #user-control-panel > li {
  753. text-decoration: none;
  754. list-style: none;
  755. text-align: center;
  756. background-color: var(--color-secondary);
  757. padding: 5px 16px;
  758. border-radius: .3rem;
  759. }
  760. .post-discussion > div > .inline-list {
  761. display: grid;
  762. grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  763. grid-gap: 4px 6px;
  764. }
  765. .post-discussion > div > .inline-list > li a {
  766. display: block;
  767. white-space: nowrap;
  768. overflow: hidden;
  769. text-overflow: ellipsis;
  770. }
  771.  
  772.  
  773. /*** HOMEPAGE ***/
  774. body .width-constraint > .text-content > h2 {
  775. z-index: 2;
  776. position: relative;
  777. margin-bottom: 1rem;
  778. margin-top: 2rem !important;
  779. }
  780. #home-script-nav {
  781. margin-bottom: 60px;
  782. z-index: 1;
  783. width: max-content;
  784. max-width: none;
  785. border: none !important;
  786. }
  787. #home-top-sites {
  788. margin-top: 1rem;
  789. z-index: 2;
  790. position: relative;
  791. font-size: 0;
  792. }
  793.  
  794. /*** POPUPS ***/
  795. .lum-lightbox {
  796. z-index: 100;
  797. }
  798.  
  799.  
  800. }

QingJ © 2025

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