Spaces:
Sleeping
Sleeping
Update pages/8_Conclusion.py
Browse files- pages/8_Conclusion.py +18 -1
pages/8_Conclusion.py
CHANGED
|
@@ -6,7 +6,7 @@ st.write("<h1 style='text-align:center; color:Lavender;'>Conclusion</h1>",unsafe
|
|
| 6 |
# Define the URL of the background image (use your own image URL)
|
| 7 |
background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/HjW7hOgulTijaArK4lMUL.jpeg"
|
| 8 |
|
| 9 |
-
# Apply custom CSS for the background image
|
| 10 |
st.markdown(
|
| 11 |
f"""
|
| 12 |
<style>
|
|
@@ -16,6 +16,23 @@ st.markdown(
|
|
| 16 |
background-position: center;
|
| 17 |
height: 100vh;
|
| 18 |
}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</style>
|
| 20 |
""",
|
| 21 |
unsafe_allow_html=True
|
|
|
|
| 6 |
# Define the URL of the background image (use your own image URL)
|
| 7 |
background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/HjW7hOgulTijaArK4lMUL.jpeg"
|
| 8 |
|
| 9 |
+
# Apply custom CSS for the background image and overlay
|
| 10 |
st.markdown(
|
| 11 |
f"""
|
| 12 |
<style>
|
|
|
|
| 16 |
background-position: center;
|
| 17 |
height: 100vh;
|
| 18 |
}}
|
| 19 |
+
|
| 20 |
+
/* Semi-transparent overlay */
|
| 21 |
+
.stApp::before {{
|
| 22 |
+
content: "";
|
| 23 |
+
position: absolute;
|
| 24 |
+
top: 0;
|
| 25 |
+
left: 0;
|
| 26 |
+
width: 100%;
|
| 27 |
+
height: 100%;
|
| 28 |
+
background: rgba(0, 0, 0, 0.4); /* Adjust transparency here (0.4 for 40% transparency) */
|
| 29 |
+
z-index: -1;
|
| 30 |
+
}}
|
| 31 |
+
|
| 32 |
+
/* Styling the content to ensure text visibility */
|
| 33 |
+
.stMarkdown {{
|
| 34 |
+
color: white; /* Ensure text is white for contrast */
|
| 35 |
+
}}
|
| 36 |
</style>
|
| 37 |
""",
|
| 38 |
unsafe_allow_html=True
|