ChatGPT responsive + customizations

ChatGPT website is more suitable for wide screens.

当前为 2024-10-09 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name ChatGPT responsive + customizations
  3. @version 1.0.9
  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;
  47. }
  48. form > div > div:nth-of-type(1) {
  49. display: none;
  50. }
  51. }
  52. if widemode {
  53. .md\\:max-w-3xl,
  54. .max-w-3xl {
  55. max-width: 100%;
  56. }
  57. pre > div > div:nth-of-type(3) {
  58. box-sizing: border-box !important;
  59. max-width: 100% !important;
  60. overflow: hidden !important;
  61. }
  62. code.hljs {
  63. max-width: 100% !important;
  64. width: 100% !important;
  65. white-space: break-spaces !important;
  66. }
  67. main > div:nth-of-type(1) > div:nth-of-type(1) > div > div > div > div > button {
  68. border-color: var(--text-primary);
  69. height: 50px;
  70. width: 50px;
  71. }
  72. main > div:nth-of-type(1) > div:nth-of-type(1) > div > div > div > div > button > svg {
  73. height: 25px;
  74. width: 25px;
  75. }
  76. main > div:nth-of-type(1) > div:nth-of-type(1) > div > div > div > div > button:hover,
  77. main > div:nth-of-type(1) > div:nth-of-type(1) > div > div > div > div > button:hover svg {
  78. border-color: rgb(254, 132, 132);
  79. stroke: rgb(254, 132, 132);
  80. }
  81. /* Hide scrollbars */
  82. * {
  83. scrollbar-width: none !important;
  84. -ms-overflow-style: none !important;
  85. -moz-overflow-style: none !important;
  86. -webkit-overflow-style: none !important;
  87. }
  88. ::-webkit-scrollbar {
  89. display: none !important;
  90. width: 0 !important;
  91. }
  92. }
  93. }

QingJ © 2025

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