Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,27 @@ PASS_CODE_ver = "555"
|
|
| 8 |
|
| 9 |
st.sidebar.title("Navigation")
|
| 10 |
page = st.sidebar.radio("Go to", ["Home", "About us", "Guidelines & Standarts used"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
if page == "Home":
|
| 13 |
if 'page_redirect' in st.session_state:
|
|
|
|
| 8 |
|
| 9 |
st.sidebar.title("Navigation")
|
| 10 |
page = st.sidebar.radio("Go to", ["Home", "About us", "Guidelines & Standarts used"])
|
| 11 |
+
st.markdown(
|
| 12 |
+
"""
|
| 13 |
+
<style>
|
| 14 |
+
/* This changes the background color of the sidebar */
|
| 15 |
+
[data-testid="stSidebar"] {
|
| 16 |
+
background-color: #f0f0f5; /* Change this to the color you prefer */
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
/* This changes the text color in the sidebar */
|
| 20 |
+
[data-testid="stSidebar"] .css-145kmo2 {
|
| 21 |
+
color: #333333; /* Change this to your desired text color */
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
/* This changes the header text color in the sidebar */
|
| 25 |
+
[data-testid="stSidebar"] h1 {
|
| 26 |
+
color: #ff6347; /* Example: Tomato color for headers */
|
| 27 |
+
}
|
| 28 |
+
</style>
|
| 29 |
+
""",
|
| 30 |
+
unsafe_allow_html=True
|
| 31 |
+
)
|
| 32 |
|
| 33 |
if page == "Home":
|
| 34 |
if 'page_redirect' in st.session_state:
|