LakshmiHarika commited on
Commit
7ffd9fc
·
verified ·
1 Parent(s): 3cdf0ba

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +19 -20
pages/Data Collection.py CHANGED
@@ -1,45 +1,44 @@
1
  import streamlit as st
2
  import pandas as pd
3
 
4
- # Page configuration
5
  st.set_page_config(
6
  page_title="HomePage",
7
  page_icon="🚀",
8
  layout="wide"
9
  )
10
-
11
  # Global CSS for consistent styling across all pages
12
  st.markdown("""
13
  <style>
14
  body, .stApp {
15
- color: #4F4F4F;
16
- background-color: #FFFFFF;
17
  }
18
  h1, h2, h3, h4, h5, h6 {
19
- color: #BB3385;
20
  }
21
  p {
22
- color: #4F4F4F;
23
  }
24
  ul li {
25
- color: #4F4F4F;
26
- }
27
- table {
28
- font-size: 14px; /* Decreased font size for smaller table */
29
- margin: auto;
30
- width: 70%; /* Reduced table width */
31
- border-collapse: collapse;
32
- }
33
- th {
34
- font-weight: bold;
35
- text-align: center;
36
- }
37
- td {
38
- text-align: left;
39
  }
40
  </style>
41
  """, unsafe_allow_html=True)
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  # Page Title
44
  st.markdown("""
45
  <div style="text-align: left; margin-top: 20px;">
 
1
  import streamlit as st
2
  import pandas as pd
3
 
 
4
  st.set_page_config(
5
  page_title="HomePage",
6
  page_icon="🚀",
7
  layout="wide"
8
  )
 
9
  # Global CSS for consistent styling across all pages
10
  st.markdown("""
11
  <style>
12
  body, .stApp {
13
+ color: #4F4F4F; /* Replace with your desired font color */
14
+ background-color: #FFFFFF; /* Optional: Set a fixed background color */
15
  }
16
  h1, h2, h3, h4, h5, h6 {
17
+ color: #BB3385; /* Replace with your heading color */
18
  }
19
  p {
20
+ color: #4F4F4F; /* Replace with your paragraph text color */
21
  }
22
  ul li {
23
+ color: #4F4F4F; /* List item color */
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
  </style>
26
  """, unsafe_allow_html=True)
27
 
28
+ st.markdown(
29
+ """
30
+ <style>
31
+ .stApp {
32
+ background-image: url("https://huggingface.co/spaces/LakshmiHarika/MachineLearning/resolve/main/DALL%C2%B7E%202024-12-03%2023.34.47%20-%20A%20simple%20and%20elegant%20background%20image%20for%20an%20AI-themed%20web%20application.%20The%20background%20should%20feature%20a%20soft%20gradient%20transitioning%20from%20white%20to%20ligh.webp");
33
+ background-size: cover;
34
+ background-repeat: no-repeat;
35
+ background-attachment: fixed;
36
+ }
37
+ </style>
38
+ """,
39
+ unsafe_allow_html=True
40
+ )
41
+
42
  # Page Title
43
  st.markdown("""
44
  <div style="text-align: left; margin-top: 20px;">