nightprogrammer commited on
Commit
3f9c2ab
Β·
verified Β·
1 Parent(s): 82bf5c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  import math
3
  import time
4
 
5
- # Inject custom CSS for the theme
6
  st.markdown(
7
  """
8
  <style>
@@ -22,6 +22,10 @@ st.markdown(
22
  color: white !important; /* Button text color */
23
  border-radius: 5px !important;
24
  }
 
 
 
 
25
  div[data-testid="stMarkdownContainer"] p {
26
  font-family: 'Trebuchet MS', sans-serif; /* Text style */
27
  }
@@ -31,7 +35,7 @@ st.markdown(
31
  )
32
 
33
  # Title with updated theme
34
- st.title("πŸš€ Advanced Calculator with Purple-Blue Theme 🌈")
35
 
36
  # Animation for menu reveal
37
  with st.expander("πŸŽ›οΈ Open the Menu (Click Me!)"):
 
2
  import math
3
  import time
4
 
5
+ # Inject custom CSS for the theme and hover effect
6
  st.markdown(
7
  """
8
  <style>
 
22
  color: white !important; /* Button text color */
23
  border-radius: 5px !important;
24
  }
25
+ button:hover {
26
+ background-color: #5e03fc !important; /* Hover color */
27
+ color: #e0e0ff !important; /* Slightly lighter hover text for effect */
28
+ }
29
  div[data-testid="stMarkdownContainer"] p {
30
  font-family: 'Trebuchet MS', sans-serif; /* Text style */
31
  }
 
35
  )
36
 
37
  # Title with updated theme
38
+ st.title("πŸš€ Advanced Night Calculator")
39
 
40
  # Animation for menu reveal
41
  with st.expander("πŸŽ›οΈ Open the Menu (Click Me!)"):