Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -81,14 +81,36 @@ def get_well_being_suggestions(emotion):
|
|
81 |
|
82 |
# Streamlit UI
|
83 |
def main():
|
84 |
-
#
|
85 |
st.markdown("""
|
86 |
<style>
|
87 |
.stApp {
|
88 |
-
background-
|
89 |
background-size: cover;
|
90 |
background-position: center;
|
91 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
</style>
|
93 |
""", unsafe_allow_html=True)
|
94 |
|
|
|
81 |
|
82 |
# Streamlit UI
|
83 |
def main():
|
84 |
+
# Custom Styling for purple background
|
85 |
st.markdown("""
|
86 |
<style>
|
87 |
.stApp {
|
88 |
+
background-color: #6a0dad; /* Purple background */
|
89 |
background-size: cover;
|
90 |
background-position: center;
|
91 |
}
|
92 |
+
|
93 |
+
h1, h2, h3 {
|
94 |
+
color: white;
|
95 |
+
font-family: 'Arial', sans-serif;
|
96 |
+
}
|
97 |
+
|
98 |
+
.stTextArea textarea {
|
99 |
+
background-color: #f2f2f2; /* Light grey text area */
|
100 |
+
border-radius: 8px;
|
101 |
+
color: #333333;
|
102 |
+
}
|
103 |
+
|
104 |
+
.stButton button {
|
105 |
+
background-color: #9b4dca; /* Purple button */
|
106 |
+
color: white;
|
107 |
+
font-weight: bold;
|
108 |
+
border-radius: 5px;
|
109 |
+
}
|
110 |
+
|
111 |
+
.stButton button:hover {
|
112 |
+
background-color: #7a33a2; /* Darker purple on hover */
|
113 |
+
}
|
114 |
</style>
|
115 |
""", unsafe_allow_html=True)
|
116 |
|