Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -239,17 +239,24 @@ body {
|
|
239 |
min-height: calc(100vh - 4rem); /* Adjust 4rem if your top/bottom margin (2rem each) changes */
|
240 |
display: flex; /* Helps in making content fill vertical space */
|
241 |
flex-direction: column; /* Stacks content vertically within the container */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
}
|
243 |
|
244 |
.header-container {
|
245 |
width: 100%;
|
246 |
-
height:
|
247 |
position: relative;
|
248 |
display: flex; /* For centering the h1 */
|
249 |
flex-direction: column; /* For vertical alignment */
|
250 |
justify-content: center; /* Centers the h1 vertically */
|
251 |
align-items: center; /* Centers the h1 horizontally */
|
252 |
-
padding:
|
253 |
overflow: hidden;
|
254 |
border-bottom-left-radius: 1rem; /* Equivalent to rounded-b-2xl */
|
255 |
border-bottom-right-radius: 1rem; /* Equivalent to rounded-b-2xl */
|
@@ -270,7 +277,7 @@ label, .gr-checkbox-label span { /* Target labels and checkbox labels */
|
|
270 |
.header-container h1 {
|
271 |
color: #E6E6FA !important; /* Equivalent to text-lavender-100 */
|
272 |
font-size: 2.5rem !important; /* Equivalent to text-3xl, but made a bit larger for a main heading */
|
273 |
-
font-weight:
|
274 |
letter-spacing: 0.05em !important; /* Equivalent to tracking-wide */
|
275 |
width: 100%; /* Equivalent to w-full */
|
276 |
text-align: center; /* Equivalent to text-center */
|
|
|
239 |
min-height: calc(100vh - 4rem); /* Adjust 4rem if your top/bottom margin (2rem each) changes */
|
240 |
display: flex; /* Helps in making content fill vertical space */
|
241 |
flex-direction: column; /* Stacks content vertically within the container */
|
242 |
+
|
243 |
+
/* --- ADD/CHANGE THESE LINES FOR FULL WIDTH --- */
|
244 |
+
max-width: unset !important; /* Removes the 1200px max-width constraint */
|
245 |
+
width: 100% !important; /* Ensures it always takes full available width */
|
246 |
+
margin: 0 !important; /* Removes auto margin, pushes it to edges */
|
247 |
+
border-radius: 0 !important; /* Remove border-radius if you want sharp corners for full width */
|
248 |
+
/* --- END ADD/CHANGE --- */
|
249 |
}
|
250 |
|
251 |
.header-container {
|
252 |
width: 100%;
|
253 |
+
height: 160px;
|
254 |
position: relative;
|
255 |
display: flex; /* For centering the h1 */
|
256 |
flex-direction: column; /* For vertical alignment */
|
257 |
justify-content: center; /* Centers the h1 vertically */
|
258 |
align-items: center; /* Centers the h1 horizontally */
|
259 |
+
padding: 2rem 1rem; /* Padding for text inside, equivalent to p-4 for text content */
|
260 |
overflow: hidden;
|
261 |
border-bottom-left-radius: 1rem; /* Equivalent to rounded-b-2xl */
|
262 |
border-bottom-right-radius: 1rem; /* Equivalent to rounded-b-2xl */
|
|
|
277 |
.header-container h1 {
|
278 |
color: #E6E6FA !important; /* Equivalent to text-lavender-100 */
|
279 |
font-size: 2.5rem !important; /* Equivalent to text-3xl, but made a bit larger for a main heading */
|
280 |
+
font-weight: 600 !important; /* Equivalent to font-bold */
|
281 |
letter-spacing: 0.05em !important; /* Equivalent to tracking-wide */
|
282 |
width: 100%; /* Equivalent to w-full */
|
283 |
text-align: center; /* Equivalent to text-center */
|