GreasyFork | Modernized ( Optional Dark Theme )

A much cleaner and more modern version of GreasyFork!

目前为 2020-11-12 提交的版本,查看 最新版本

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