1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
|
/* ==UserStyle==
@name ChatGPT
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") {
html, body {
height: 100% !important;
background-image: url("https://images.unsplash.com/photo-1485470733090-0aae1788d5af?fm=jpg&q=60&w=3000&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8NGslMjBtb3VudGFpbnxlbnwwfHwwfHx8MA%3D%") !important;
background-size: cover !important;
background-position: center center !important;
background-repeat: no-repeat !important;
background-attachment: fixed !important;
overflow-x: hidden !important;
overflow-y: auto !important;
}
/* React root */
#__next {
background: transparent !important;
height: 100% !important;
}
/* Main scrolling container */
main {
background: transparent !important;
overflow: visible !important;
min-height: 100vh !important;
}
}
@-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") {
/* Assistant message bubble */
div[data-message-author-role="assistant"] {
padding: 12px 16px !important;
border-radius: 14px !important;
margin: 8px 0 !important;
/* Bubble effect without changing colors */
border: 1px solid rgba(17, 190, 191, 0.8) !important;
background-color: rgba(0, 54, 54, 0.7);
}
}
.content-fade::after {
background: none !important;
}
@-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") {
/* Target the ChatGPT prompt (composer) background */
[data-type="unified-composer"] .bg-token-bg-primary,
#prompt-textarea,
.ProseMirror {
background-color: #003636 !important;
}
/* Also ensure the textarea wrapper reflects the new color */
.wcDTda_prosemirror-parent {
background-color: #003636 !important;
}
}
@-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") {
/* make the main chat area and messages wider */
.max-w-\(--thread-content-max-width\) {
max-width: 85vw !important;
width: 85vw !important;
}
/* if the sidebar is present, subtract its width (about 16rem) */
body:has(aside) .max-w-\(--thread-content-max-width\) {
max-width: calc(85vw - 16rem) !important;
width: calc(85vw - 16rem) !important;
}
/* prevent horizontal overflow */
body {
overflow-x: hidden !important;
}
}
@-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") {
/* ========== SIDEBAR BASE ========== */
aside,
#stage-slideover-sidebar {
background-color: #003636 !important;
background-image: none !important;
--sidebar-bg: #003636 !important;
--bg-elevated-secondary: #003636 !important;
}
#stage-slideover-sidebar .shadow-sharp-edge-bottom {
box-shadow: none !important;
}
/* ========== SIDEBAR HEADER ========== */
#sidebar-header {
background-color: #003636 !important;
}
.touch\:px-1\.5.px-2 {
background-color: #003636 !important;
}
/* ========== MENU ITEMS BASE ========== */
.__menu-item[data-sidebar-item="true"] {
background-color: #003636 !important;
border-radius: 10px !important;
}
/* Hover (solid) */
.__menu-item[data-sidebar-item="true"]:hover {
background-color: #004344 !important;
}
/* ========== CHAT HISTORY ITEMS ========== */
/* The REAL clickable paint layer */
a[data-sidebar-item="true"]
> div.flex.min-w-0.grow.items-center.gap-2\.5 {
border-radius: 10px !important;
}
/* Hover (non-active) */
a[data-sidebar-item="true"]:hover:not([data-active])
> div.flex.min-w-0.grow.items-center.gap-2\.5 {
background-color: #004344 !important;
}
/* ACTIVE / CURRENT CHAT — FULL BOX */
.__menu-item[data-sidebar-item="true"][data-active] {
background-color: #008282 !important;
border-radius: 10px !important;
}
/* ========== ACCOUNT SECTION ========== */
[data-testid="accounts-profile-button"] {
background-color: #003636 !important;
border-radius: 10px !important;
}
[data-testid="accounts-profile-button"]:hover {
background-color: #004344 !important;
}
}
/* Mobile / responsive header */
header,
[data-testid="conversation-header"] {
background-color: #003636 !important;
background-image: none !important;
backdrop-filter: none !important;
}
/* Desktop: transparent, keep sticky */
@media (min-width: 1024px) {
header,
[data-testid="conversation-header"] {
background-color: transparent !important;
backdrop-filter: none !important;
}
}
@-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") {
/* Offset chat content so it doesn't go under the sticky header */
main {
padding-top: 56px !important; /* desktop header height */
}
/* Mobile / responsive header is taller */
@media (max-width: 1023px) {
main {
padding-top: 64px !important;
}
}
}
@-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") {
/* ===== OUTER CODE BLOCK WRAPPER ===== */
pre {
padding: 0 !important;
background: none !important;
border-radius: 14px !important;
overflow: visible !important;
}
/* ===== ACTUAL BACKGROUND LAYER ===== */
pre > div {
background-color: #002323 !important;
border-radius: 14px !important;
overflow: hidden !important; /* THIS is the key */
}
/* ===== LANGUAGE HEADER BAR ===== */
pre > div > div:first-child {
background-color: #002323 !important;
border-top-left-radius: 14px !important;
border-top-right-radius: 14px !important;
}
/* ===== SCROLL AREA + CODE ===== */
pre code {
background-color: #002323 !important;
padding: 14px !important;
display: block !important;
}
/* ===== INLINE CODE ===== */
code:not(pre code) {
background-color: #002323 !important;
border-radius: 6px !important;
padding: 0.15em 0.35em !important;
}
pre div,
pre span {
background-color: #002323 !important;
}
}
|