tsi-org commited on
Commit
824cf4a
·
1 Parent(s): d0f56c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -3
app.py CHANGED
@@ -29,9 +29,10 @@ badges = """
29
  """
30
  menu = """
31
  <style>
 
32
  .gradio-container-3-40-1 .prose a {
33
  color: #ffffff!important;
34
- text-decoration: auto!important;
35
  }
36
  .menu-bar {
37
  display: flex;
@@ -43,8 +44,8 @@ menu = """
43
  font-family: 'sans-serif';
44
  }
45
  .menu-bar a, .menu-bar a:visited {
46
- color: white; /* Make all links white */
47
- text-decoration: none; /* Remove underline */
48
  }
49
  .menu-icon {
50
  font-size: 24px;
@@ -67,6 +68,18 @@ menu = """
67
  .menu-item:hover {
68
  background-color: #777;
69
  }
 
 
 
 
 
 
 
 
 
 
 
 
70
  </style>
71
 
72
  <div class="menu-bar">
@@ -79,6 +92,7 @@ menu = """
79
  </div>
80
  </div>
81
 
 
82
  """
83
 
84
  description = """
 
29
  """
30
  menu = """
31
  <style>
32
+ /* Existing styles */
33
  .gradio-container-3-40-1 .prose a {
34
  color: #ffffff!important;
35
+ text-decoration: auto!important;
36
  }
37
  .menu-bar {
38
  display: flex;
 
44
  font-family: 'sans-serif';
45
  }
46
  .menu-bar a, .menu-bar a:visited {
47
+ color: white;
48
+ text-decoration: none;
49
  }
50
  .menu-icon {
51
  font-size: 24px;
 
68
  .menu-item:hover {
69
  background-color: #777;
70
  }
71
+
72
+ /* Responsive styles */
73
+ @media (max-width: 768px) {
74
+ .menu-items {
75
+ flex-direction: column;
76
+ align-items: flex-start;
77
+ gap: 5px;
78
+ }
79
+ .menu-item {
80
+ padding: 8px;
81
+ }
82
+ }
83
  </style>
84
 
85
  <div class="menu-bar">
 
92
  </div>
93
  </div>
94
 
95
+
96
  """
97
 
98
  description = """