Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -174,21 +174,30 @@ 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; /*
|
|
|
|
| 184 |
}
|
| 185 |
|
| 186 |
-
/*
|
| 187 |
textarea:focus, input:focus {
|
| 188 |
-
background: black;
|
| 189 |
-
color: white;
|
| 190 |
-
border: 2px solid orange;
|
| 191 |
-
outline: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 {
|