DOMMETI commited on
Commit
0f8252d
·
verified ·
1 Parent(s): 394749d

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +18 -47
Home.py CHANGED
@@ -1,83 +1,54 @@
1
  import streamlit as st
2
  import pandas as pd
3
- import numpy as np
4
  import random
5
  import requests
6
 
 
7
  st.markdown("""
8
  <style>
9
- /* Apply background color to the main Streamlit app */
10
  .stApp {
11
- background-color: #eef2f7;
12
  }
13
 
14
- /* Style for main title */
15
  .stMarkdown h1 {
16
  color: #00FFFF !important;
17
  font-family: 'Roboto', sans-serif;
18
  font-weight: 700;
19
  text-align: center;
20
- margin-bottom: 25px;
21
  }
22
 
23
- /* Style for headers */
24
  .stMarkdown h2 {
25
  color: #FFFACD !important;
26
  font-family: 'Roboto', sans-serif;
27
  font-weight: 600;
28
- margin-top: 30px;
29
- }
30
-
31
- /* Style for subheaders */
32
- .stMarkdown h3 {
33
- color: #ba95b0 !important;
34
- font-family: 'Roboto', sans-serif;
35
- font-weight: 500;
36
- margin-top: 20px;
37
- }
38
-
39
- .custom-subheader {
40
- color: #00FFFF !important;
41
- font-family: 'Roboto', sans-serif;
42
- font-weight: 600;
43
- margin-bottom: 15px;
44
  }
45
 
46
- /* Paragraph styling */
47
  .stMarkdown p {
48
  font-family: 'Georgia', serif;
49
  line-height: 1.8;
50
- color: #333333 !important; /* Darker text color for better visibility */
51
- margin-bottom: 20px;
52
- }
53
-
54
- /* List styling with checkmark bullets */
55
- .icon-bullet {
56
- list-style-type: none;
57
- padding-left: 20px;
58
- }
59
- .icon-bullet li {
60
- font-family: 'Georgia', serif;
61
- font-size: 1.1em;
62
- margin-bottom: 10px;
63
- color: #333333 !important;
64
- }
65
- .icon-bullet li::before {
66
- content: "✔️";
67
- padding-right: 10px;
68
- color: #b3b3ff;
69
  }
70
 
71
  /* Sidebar styling */
72
- .stSidebar .sidebar-content {
73
- background-color: #ffffff;
 
74
  border-radius: 10px;
75
- padding: 15px;
76
  }
77
- .stSidebar h2 {
78
- color: #495057;
 
 
 
 
 
79
  }
 
80
  </style>
81
  """, unsafe_allow_html=True)
82
 
 
83
  st.title("AUTO ML")
 
1
  import streamlit as st
2
  import pandas as pd
3
+ import numpy as np
4
  import random
5
  import requests
6
 
7
+ # Custom CSS to fix styling issues
8
  st.markdown("""
9
  <style>
10
+ /* Background color */
11
  .stApp {
12
+ background-color: #101820;
13
  }
14
 
15
+ /* Fix title and header colors */
16
  .stMarkdown h1 {
17
  color: #00FFFF !important;
18
  font-family: 'Roboto', sans-serif;
19
  font-weight: 700;
20
  text-align: center;
 
21
  }
22
 
 
23
  .stMarkdown h2 {
24
  color: #FFFACD !important;
25
  font-family: 'Roboto', sans-serif;
26
  font-weight: 600;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  }
28
 
 
29
  .stMarkdown p {
30
  font-family: 'Georgia', serif;
31
  line-height: 1.8;
32
+ color: #FFFFFF !important; /* Ensures text is readable */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  }
34
 
35
  /* Sidebar styling */
36
+ section[data-testid="stSidebar"] {
37
+ background-color: #1C1C1C;
38
+ padding: 20px;
39
  border-radius: 10px;
 
40
  }
41
+
42
+ /* Make sidebar text readable */
43
+ section[data-testid="stSidebar"] h1,
44
+ section[data-testid="stSidebar"] h2,
45
+ section[data-testid="stSidebar"] h3,
46
+ section[data-testid="stSidebar"] p {
47
+ color: white !important;
48
  }
49
+
50
  </style>
51
  """, unsafe_allow_html=True)
52
 
53
+ # Title
54
  st.title("AUTO ML")