osheina commited on
Commit
5fe089b
·
verified ·
1 Parent(s): fb29124

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -11
app.py CHANGED
@@ -22,6 +22,7 @@ st.markdown(
22
  background: linear-gradient(135deg, #ffccbc, #ffc107);
23
  padding: 1rem;
24
  border-radius: 10px;
 
25
  }
26
 
27
  /* Обертка для блока контента */
@@ -134,19 +135,12 @@ st.markdown("""
134
  st.image("image.webp", caption="Sign Language Recognition", use_column_width=True)
135
 
136
  # Боковая панель
 
137
  st.sidebar.markdown(
138
  """
139
  <style>
140
- .sidebar .sidebar-content {
141
- background: linear-gradient(135deg, #ffccbc, #ffc107);
142
- padding: 1rem;
143
- border-radius: 10px;
144
- }
145
- .sidebar .sidebar-content h2 {
146
- color: #ff7043;
147
- }
148
  .sidebar .sidebar-content a {
149
- color: #8d6e63;
150
  font-size: 1.2rem;
151
  text-decoration: none;
152
  }
@@ -155,7 +149,6 @@ st.sidebar.markdown(
155
  text-decoration: underline;
156
  }
157
  </style>
158
- <h2>Navigation</h2>
159
  <a href="#camera">Camera</a><br>
160
  <a href="#video-upload">Video Upload</a><br>
161
  <a href="#about">About</a>
@@ -163,4 +156,3 @@ st.sidebar.markdown(
163
  unsafe_allow_html=True
164
  )
165
 
166
-
 
22
  background: linear-gradient(135deg, #ffccbc, #ffc107);
23
  padding: 1rem;
24
  border-radius: 10px;
25
+ color: #4CAF50;
26
  }
27
 
28
  /* Обертка для блока контента */
 
135
  st.image("image.webp", caption="Sign Language Recognition", use_column_width=True)
136
 
137
  # Боковая панель
138
+ st.sidebar.title("Navigation")
139
  st.sidebar.markdown(
140
  """
141
  <style>
 
 
 
 
 
 
 
 
142
  .sidebar .sidebar-content a {
143
+ color: #4CAF50;
144
  font-size: 1.2rem;
145
  text-decoration: none;
146
  }
 
149
  text-decoration: underline;
150
  }
151
  </style>
 
152
  <a href="#camera">Camera</a><br>
153
  <a href="#video-upload">Video Upload</a><br>
154
  <a href="#about">About</a>
 
156
  unsafe_allow_html=True
157
  )
158