neerajkalyank commited on
Commit
fde24c1
·
verified ·
1 Parent(s): 7786acb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -11
app.py CHANGED
@@ -239,16 +239,16 @@ h1, h2, h3, h4, h5, h6 {
239
  }
240
 
241
  /* Tab container styling */
242
- /* Container for the tabs */
243
- .tabs-container {
244
  display: flex;
245
- justify-content: center;
246
- background-color: #333; /* Dark gray background */
247
- border-bottom: 1px solid #ffffff;
248
  }
249
 
250
  /* Individual tab styling */
251
- .tabs-container .tab {
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 for tabs */
261
- .tabs-container .tab:hover {
262
  color: #FFCA28; /* Bright yellow on hover */
263
  }
264
 
265
  /* Active tab styling */
266
- .tabs-container .tab-active {
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()