Spaces:
Sleeping
Sleeping
Update pages/2_Data Cleaning and Processing .py
Browse files
pages/2_Data Cleaning and Processing .py
CHANGED
|
@@ -32,9 +32,7 @@ else:
|
|
| 32 |
|
| 33 |
|
| 34 |
# Define the URL of the background image (use your own image URL)
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
# Apply custom CSS for the background image
|
| 38 |
st.markdown(
|
| 39 |
f"""
|
| 40 |
<style>
|
|
@@ -44,6 +42,23 @@ st.markdown(
|
|
| 44 |
background-position: center;
|
| 45 |
height: 100vh;
|
| 46 |
}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
</style>
|
| 48 |
""",
|
| 49 |
unsafe_allow_html=True
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
# Define the URL of the background image (use your own image URL)
|
| 35 |
+
# Apply custom CSS for the background image and overlay
|
|
|
|
|
|
|
| 36 |
st.markdown(
|
| 37 |
f"""
|
| 38 |
<style>
|
|
|
|
| 42 |
background-position: center;
|
| 43 |
height: 100vh;
|
| 44 |
}}
|
| 45 |
+
|
| 46 |
+
/* Semi-transparent overlay */
|
| 47 |
+
.stApp::before {{
|
| 48 |
+
content: "";
|
| 49 |
+
position: absolute;
|
| 50 |
+
top: 0;
|
| 51 |
+
left: 0;
|
| 52 |
+
width: 100%;
|
| 53 |
+
height: 100%;
|
| 54 |
+
background: rgba(0, 0, 0, 0.4); /* Adjust transparency here (0.4 for 40% transparency) */
|
| 55 |
+
z-index: -1;
|
| 56 |
+
}}
|
| 57 |
+
|
| 58 |
+
/* Styling the content to ensure text visibility */
|
| 59 |
+
.stMarkdown {{
|
| 60 |
+
color: white; /* Ensure text is white for contrast */
|
| 61 |
+
}}
|
| 62 |
</style>
|
| 63 |
""",
|
| 64 |
unsafe_allow_html=True
|