Update pages/2_Data_CLeaning_and_Preprocessing.py
Browse files
pages/2_Data_CLeaning_and_Preprocessing.py
CHANGED
|
@@ -110,9 +110,11 @@ st.markdown(
|
|
| 110 |
<style>
|
| 111 |
.stApp {{
|
| 112 |
background-image: url("{background_image_url}");
|
| 113 |
-
background-size: cover;
|
| 114 |
-
background-position: center;
|
| 115 |
-
|
|
|
|
|
|
|
| 116 |
}}
|
| 117 |
|
| 118 |
/* Semi-transparent overlay */
|
|
@@ -126,12 +128,28 @@ st.markdown(
|
|
| 126 |
background: rgba(0, 0, 0, 0.4); /* Adjust transparency here (0.4 for 40% transparency) */
|
| 127 |
z-index: -1;
|
| 128 |
}}
|
| 129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
.stMarkdown {{
|
| 131 |
-
color: white; /* White text
|
| 132 |
-
font-size:
|
| 133 |
}}
|
| 134 |
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
""",
|
| 136 |
unsafe_allow_html=True
|
| 137 |
)
|
|
|
|
|
|
| 110 |
<style>
|
| 111 |
.stApp {{
|
| 112 |
background-image: url("{background_image_url}");
|
| 113 |
+
background-size: cover; /* Ensures the background image covers the entire screen */
|
| 114 |
+
background-position: center; /* Centers the image */
|
| 115 |
+
background-repeat: no-repeat; /* Prevents the background from repeating */
|
| 116 |
+
background-attachment: fixed; /* Keeps the background fixed while scrolling */
|
| 117 |
+
height: 100vh; /* Ensures full viewport height is covered */
|
| 118 |
}}
|
| 119 |
|
| 120 |
/* Semi-transparent overlay */
|
|
|
|
| 128 |
background: rgba(0, 0, 0, 0.4); /* Adjust transparency here (0.4 for 40% transparency) */
|
| 129 |
z-index: -1;
|
| 130 |
}}
|
| 131 |
+
|
| 132 |
+
/* Container to center elements and limit width */
|
| 133 |
+
.content-container {{
|
| 134 |
+
max-width: 70%; /* Limit content width to 70% */
|
| 135 |
+
margin: 0 auto; /* Center the container horizontally */
|
| 136 |
+
padding: 50px; /* Add padding for spacing */
|
| 137 |
+
}}
|
| 138 |
+
|
| 139 |
+
/* Styling the markdown content */
|
| 140 |
.stMarkdown {{
|
| 141 |
+
color: white; /* White text for better visibility */
|
| 142 |
+
font-size: 100px; /* Adjust font size for readability */
|
| 143 |
}}
|
| 144 |
</style>
|
| 145 |
+
|
| 146 |
+
<div class="content-container">
|
| 147 |
+
<div class="stMarkdown">
|
| 148 |
+
<!-- Replace this with your app's content -->
|
| 149 |
+
<p>Insert your app's content here. All elements will be aligned to the center and limited to 70% width.</p>
|
| 150 |
+
</div>
|
| 151 |
+
</div>
|
| 152 |
""",
|
| 153 |
unsafe_allow_html=True
|
| 154 |
)
|
| 155 |
+
|