Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
184 |
}
|
185 |
|
186 |
-
/*
|
187 |
textarea:focus, input:focus {
|
188 |
-
background: black; /* Black background when focused
|
189 |
-
color: white; /* White text */
|
190 |
-
border: 2px solid orange; /*
|
|
|
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 {
|