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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -174,20 +174,21 @@ h1 {
174
  }
175
 
176
  textarea, input {
177
- background: black;
178
- color: white;
179
  border: 2px solid orange;
180
  font-size: 1rem;
181
  padding: 10px;
182
  border-radius: 8px;
183
- caret-color: white; /* Ensures white cursor when typing */
184
  }
185
 
186
- /* Style for focused state to ensure black background and white font */
187
  textarea:focus, input:focus {
188
- background: black; /* Black background when focused or typing */
189
- color: white; /* White text */
190
- border: 2px solid orange; /* Reinforce border for focus */
 
191
  }
192
 
193
  button {
 
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 {