Update Home.py
Browse files
Home.py
CHANGED
|
@@ -7,28 +7,25 @@ def set_bg():
|
|
| 7 |
bg_style = """
|
| 8 |
<style>
|
| 9 |
.stApp {
|
| 10 |
-
background-color: #D4C9BE; /*
|
| 11 |
-
color:
|
| 12 |
}
|
| 13 |
.text-box {
|
| 14 |
-
background-color: rgba(
|
| 15 |
padding: 25px;
|
| 16 |
border-radius: 10px;
|
| 17 |
margin-top: 20px;
|
|
|
|
| 18 |
}
|
| 19 |
-
h1 {
|
|
|
|
| 20 |
text-align: center;
|
| 21 |
-
color: orange;
|
| 22 |
-
}
|
| 23 |
-
h4 {
|
| 24 |
-
color: orange;
|
| 25 |
-
margin-top: 20px;
|
| 26 |
}
|
| 27 |
</style>
|
| 28 |
"""
|
| 29 |
st.markdown(bg_style, unsafe_allow_html=True)
|
| 30 |
|
| 31 |
-
# Apply
|
| 32 |
set_bg()
|
| 33 |
|
| 34 |
|
|
|
|
| 7 |
bg_style = """
|
| 8 |
<style>
|
| 9 |
.stApp {
|
| 10 |
+
background-color: #D4C9BE; /* Beige background */
|
| 11 |
+
color: black;
|
| 12 |
}
|
| 13 |
.text-box {
|
| 14 |
+
background-color: rgba(255, 255, 255, 0.8);
|
| 15 |
padding: 25px;
|
| 16 |
border-radius: 10px;
|
| 17 |
margin-top: 20px;
|
| 18 |
+
color: black;
|
| 19 |
}
|
| 20 |
+
h1, h2, h3, h4, h5, h6 {
|
| 21 |
+
color: black !important;
|
| 22 |
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
}
|
| 24 |
</style>
|
| 25 |
"""
|
| 26 |
st.markdown(bg_style, unsafe_allow_html=True)
|
| 27 |
|
| 28 |
+
# Apply beige background and black text
|
| 29 |
set_bg()
|
| 30 |
|
| 31 |
|