Spaces:
Sleeping
Sleeping
Update pages/3ML Project Life Cycle.py
Browse files
pages/3ML Project Life Cycle.py
CHANGED
|
@@ -123,6 +123,14 @@ st.markdown(
|
|
| 123 |
border-top: 2px solid #5d3fd3; /* Soft purple color to match headings */
|
| 124 |
margin: 20px 0;
|
| 125 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
</style>
|
| 127 |
""",
|
| 128 |
unsafe_allow_html=True
|
|
@@ -530,7 +538,7 @@ elif st.session_state.page == "image":
|
|
| 530 |
st.write(
|
| 531 |
"Light emitted from a source (e.g., the Sun) reflects off objects, creating an image. This phenomenon is known as reflection."
|
| 532 |
)
|
| 533 |
-
st.image("Image/reflection_image.png", caption="
|
| 534 |
|
| 535 |
# Section 2: Image Details
|
| 536 |
st.header("Image Details")
|
|
|
|
| 123 |
border-top: 2px solid #5d3fd3; /* Soft purple color to match headings */
|
| 124 |
margin: 20px 0;
|
| 125 |
}
|
| 126 |
+
|
| 127 |
+
/* Target Streamlit image captions */
|
| 128 |
+
[data-testid="stImage"] figcaption {
|
| 129 |
+
color: black !important; /* Set caption text color to black */
|
| 130 |
+
font-size: 16px; /* Adjust font size */
|
| 131 |
+
font-family: 'Arial', sans-serif; /* Change font to Arial */
|
| 132 |
+
text-align: center; /* Center align the caption */
|
| 133 |
+
}
|
| 134 |
</style>
|
| 135 |
""",
|
| 136 |
unsafe_allow_html=True
|
|
|
|
| 538 |
st.write(
|
| 539 |
"Light emitted from a source (e.g., the Sun) reflects off objects, creating an image. This phenomenon is known as reflection."
|
| 540 |
)
|
| 541 |
+
st.image("Image/reflection_image.png", caption="Reflection Diagram")
|
| 542 |
|
| 543 |
# Section 2: Image Details
|
| 544 |
st.header("Image Details")
|