ChatGPT responsive + customizations

ChatGPT website is more suitable for wide screens.

  1. /* ==UserStyle==
  2. @name ChatGPT responsive + customizations
  3. @version 1.0.12
  4. @description ChatGPT 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/chatgpt
  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 text fontsize "Custom font size" 1.2rem
  13. @var checkbox biggertextarea "Bigger textarea" 1
  14. @var checkbox nochatgptplus "No ChatGPT plus" 1
  15. @var checkbox widemode "Wide mode" 1
  16. ==/UserStyle== */
  17.  
  18. /* === Credits ===
  19. Website https://breat.fr
  20. facebook https://www.facebook.com/breatfroff
  21. mastodon https://mastodon.social/@breat_fr
  22. telegram https://t.me/breatfr
  23. vk https://vk.com/breatfroff
  24. X (twitter) https://x.com/breatfroff
  25. === Credits === */
  26.  
  27. @-moz-document domain("chatgpt.com") {
  28. /* Custom font size */
  29. :root {
  30. font-size: fontsize;
  31. }
  32. if biggertextarea {
  33. .max-h-\\[25dvh\\],
  34. .max-h-52 {
  35. max-height: 80vh;
  36. }
  37. }
  38. if nochatgptplus {
  39. /* Menu obtain ChatGPT Plus */
  40. nav > div:nth-of-type(3) {
  41. display: none;
  42. }
  43.  
  44. /* You reached limit above textarea */
  45. main > div:nth-of-type(1) > div:nth-of-type(1) > div > div > div > div {
  46. padding-bottom: 0 !important;
  47. }
  48. div[class="flex items-center m-1.5 p-2.5 text-sm cursor-pointer focus-visible:outline-0 radix-disabled:pointer-events-none radix-disabled:opacity-50 group relative hover:bg-[#f5f5f5] focus-visible:bg-[#f5f5f5] radix-state-open:bg-[#f5f5f5] dark:hover:bg-token-main-surface-secondary dark:focus-visible:bg-token-main-surface-secondary rounded-md my-0 px-3 mx-2 dark:radix-state-open:bg-token-main-surface-secondary gap-2.5 py-3 !pr-3"],
  49. div[class="max-h-[var(--radix-dropdown-menu-content-available-height)] overflow-y-auto min-w-fit py-2"] > div:nth-of-type(5) {
  50. display: none !important;
  51. }
  52. body:has(form > div > div:nth-of-type(1) > div > div > div[style="opacity: 1; will-change: auto;"] > button) {
  53. main > div:nth-of-type(1) > div:nth-of-type(1) > div > div > div > div {
  54. padding-bottom: 2em !important;
  55. }
  56. }
  57. }
  58. if widemode {
  59. .md\\:max-w-3xl,
  60. .max-w-3xl {
  61. max-width: 100%;
  62. }
  63. pre > div > div:nth-of-type(3) {
  64. box-sizing: border-box !important;
  65. max-width: 100% !important;
  66. overflow: hidden !important;
  67. }
  68. code.hljs {
  69. max-width: 100% !important;
  70. width: 100% !important;
  71. white-space: break-spaces !important;
  72. }
  73. /* Hide scrollbars */
  74. * {
  75. scrollbar-width: none !important;
  76. -ms-overflow-style: none !important;
  77. -moz-overflow-style: none !important;
  78. -webkit-overflow-style: none !important;
  79. }
  80. ::-webkit-scrollbar {
  81. display: none !important;
  82. width: 0 !important;
  83. }
  84. }
  85. }

QingJ © 2025

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