Files changed (1) hide show
  1. app.py +16 -17
app.py CHANGED
@@ -335,24 +335,23 @@ def customize_navigation_menu_dark_green():
335
  )
336
 
337
  def customize_login_page_with_image(image_path):
338
- # Use columns to center the logo
339
- col1, col2, col3 = st.columns([1, 2, 1]) # Adjust the ratios to center the logo
340
- with col2: # Place the logo in the middle column
341
  st.image(image_path, width=200, use_container_width=False) # Adjust width as needed
342
-
343
- # Add custom styling for the Login Page title
344
- st.markdown(
345
- """
346
- <style>
347
- h1 {
348
- color: #084C3C !important; /* Dark green for Login Page title */
349
- text-align: center; /* Center align the title */
350
- margin-top: 0 !important; /* Remove extra spacing above the title */
351
- }
352
- </style>
353
- """,
354
- unsafe_allow_html=True
355
- )
356
 
357
  def customize_submit_button():
358
  st.markdown(
 
335
  )
336
 
337
  def customize_login_page_with_image(image_path):
338
+ # Use columns to center the logo and title
339
+ col1, col2, col3 = st.columns([1, 2, 1]) # Adjust the ratios to center the content
340
+ with col2: # Place the logo and title in the middle column
341
  st.image(image_path, width=200, use_container_width=False) # Adjust width as needed
342
+ st.markdown(
343
+ """
344
+ <style>
345
+ h1 {
346
+ color: #084C3C !important; /* Dark green for Login Page title */
347
+ text-align: center; /* Center align the title */
348
+ margin-top: 0 !important; /* Remove extra spacing above the title */
349
+ }
350
+ </style>
351
+ """,
352
+ unsafe_allow_html=True
353
+ )
354
+ st.title("Login Page") # The title will be styled in dark green
 
355
 
356
  def customize_submit_button():
357
  st.markdown(