DreamStream-1 commited on
Commit
ccefc1b
·
verified ·
1 Parent(s): 71184ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -8
app.py CHANGED
@@ -174,21 +174,30 @@ h1 {
174
  }
175
 
176
  textarea, input {
177
- background: black; /* Maintains black background */
178
- color: white; /* Text color stays white */
179
  border: 2px solid orange;
180
  font-size: 1rem;
181
  padding: 10px;
182
  border-radius: 8px;
183
- caret-color: white; /* Ensures white text cursor */
 
184
  }
185
 
186
- /* Enable black background and white text even on focus/typing */
187
  textarea:focus, input:focus {
188
- background: black; /* Black background when focused */
189
- color: white; /* White text remains consistent */
190
- border: 2px solid orange; /* Border is orange on focus for emphasis */
191
- outline: none; /* Removes default browser outline */
 
 
 
 
 
 
 
 
192
  }
193
 
194
  button {
 
174
  }
175
 
176
  textarea, input {
177
+ background: black; /* Black background */
178
+ color: white; /* White text always active */
179
  border: 2px solid orange;
180
  font-size: 1rem;
181
  padding: 10px;
182
  border-radius: 8px;
183
+ caret-color: white; /* White typing cursor */
184
+ outline: none; /* No focus outline */
185
  }
186
 
187
+ /* Ensure the text stays white and background black when focused */
188
  textarea:focus, input:focus {
189
+ background: black;
190
+ color: white;
191
+ border: 2px solid orange;
192
+ outline: none;
193
+ }
194
+
195
+ /* Prevent hover effects from breaking consistency */
196
+ textarea:hover, input:hover {
197
+ background: black;
198
+ color: white;
199
+ border: 2px solid orange;
200
+ outline: none;
201
  }
202
 
203
  button {