Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,16 +19,20 @@ def Projects():
|
|
| 19 |
}
|
| 20 |
|
| 21 |
st.markdown(
|
| 22 |
-
"""
|
| 23 |
<style>
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
margin-bottom: 20px;
|
| 26 |
text-align: center;
|
| 27 |
-
}
|
| 28 |
-
.project-image-container img {
|
| 29 |
max-height: 200px; /* Set a fixed height for the images */
|
| 30 |
width: auto; /* Maintain aspect ratio */
|
| 31 |
-
}
|
| 32 |
</style>
|
| 33 |
""",
|
| 34 |
unsafe_allow_html=True,
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
st.markdown(
|
| 22 |
+
f"""
|
| 23 |
<style>
|
| 24 |
+
body {{
|
| 25 |
+
background-image: url("https://png.pngtree.com/png-vector/20190621/ourmid/pngtree-datasciencedata-sciencedollar-blue-dotted-line-line-icon-png-image_1489517.jpg");
|
| 26 |
+
background-size: cover;
|
| 27 |
+
}}
|
| 28 |
+
.project-image-container {{
|
| 29 |
margin-bottom: 20px;
|
| 30 |
text-align: center;
|
| 31 |
+
}}
|
| 32 |
+
.project-image-container img {{
|
| 33 |
max-height: 200px; /* Set a fixed height for the images */
|
| 34 |
width: auto; /* Maintain aspect ratio */
|
| 35 |
+
}}
|
| 36 |
</style>
|
| 37 |
""",
|
| 38 |
unsafe_allow_html=True,
|