Mpavan45 commited on
Commit
257d96c
·
verified ·
1 Parent(s): 4fcf104

Update pages/3_EDA and Feature Engineering.py

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