Spaces:
Running
Running
neerajkalyank
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -239,16 +239,16 @@ h1, h2, h3, h4, h5, h6 {
|
|
239 |
}
|
240 |
|
241 |
/* Tab container styling */
|
242 |
-
/*
|
243 |
-
.tabs
|
244 |
display: flex;
|
245 |
-
justify-content:
|
246 |
-
background-color: #333; /* Dark gray background */
|
247 |
-
border-bottom: 1px solid #
|
248 |
}
|
249 |
|
250 |
/* Individual tab styling */
|
251 |
-
.tabs
|
252 |
padding: 12px 20px;
|
253 |
font-weight: 600;
|
254 |
font-size: 1em;
|
@@ -257,19 +257,18 @@ h1, h2, h3, h4, h5, h6 {
|
|
257 |
transition: color 0.3s ease, border-color 0.3s ease;
|
258 |
}
|
259 |
|
260 |
-
/* Hover effect
|
261 |
-
.tabs
|
262 |
color: #FFCA28; /* Bright yellow on hover */
|
263 |
}
|
264 |
|
265 |
/* Active tab styling */
|
266 |
-
.tabs
|
267 |
-
color: #FF8C00; /* Bright orange for active tab text */
|
268 |
border-bottom: 3px solid #FF8C00; /* Orange underline for active tab */
|
269 |
font-weight: 700; /* Bold font for active tab */
|
270 |
}
|
271 |
|
272 |
-
|
273 |
"""
|
274 |
|
275 |
app.launch()
|
|
|
239 |
}
|
240 |
|
241 |
/* Tab container styling */
|
242 |
+
/* Tab container styling */
|
243 |
+
.nav-tabs {
|
244 |
display: flex;
|
245 |
+
justify-content: space-around;
|
246 |
+
background-color: #333; /* Dark gray background for tab container */
|
247 |
+
border-bottom: 1px solid #fff; /* Thin line under the tab container */
|
248 |
}
|
249 |
|
250 |
/* Individual tab styling */
|
251 |
+
.nav-tabs .nav-item {
|
252 |
padding: 12px 20px;
|
253 |
font-weight: 600;
|
254 |
font-size: 1em;
|
|
|
257 |
transition: color 0.3s ease, border-color 0.3s ease;
|
258 |
}
|
259 |
|
260 |
+
/* Hover effect on tabs */
|
261 |
+
.nav-tabs .nav-item:hover {
|
262 |
color: #FFCA28; /* Bright yellow on hover */
|
263 |
}
|
264 |
|
265 |
/* Active tab styling */
|
266 |
+
.nav-tabs .nav-item.active {
|
267 |
+
color: #FF8C00; /* Bright orange for the active tab text */
|
268 |
border-bottom: 3px solid #FF8C00; /* Orange underline for active tab */
|
269 |
font-weight: 700; /* Bold font for active tab */
|
270 |
}
|
271 |
|
|
|
272 |
"""
|
273 |
|
274 |
app.launch()
|