Harika22 commited on
Commit
c18f69e
·
verified ·
1 Parent(s): 7e5b28a

Update pages/4_Data and types of data.py

Browse files
Files changed (1) hide show
  1. pages/4_Data and types of data.py +17 -16
pages/4_Data and types of data.py CHANGED
@@ -3,13 +3,13 @@ import pandas as pd
3
 
4
  st.markdown("""
5
  <style>
6
- /* Set a vibrant background color */
7
  body {
8
- background-color: #1e1e1e; /* Dark gray background */
9
  }
10
  /* Style for main title */
11
  h1 {
12
- color: #FF5733; /* Bright orange */
13
  font-family: 'Arial', sans-serif;
14
  font-weight: 700;
15
  text-align: center;
@@ -17,30 +17,30 @@ st.markdown("""
17
  }
18
  /* Style for headers */
19
  h2 {
20
- color: #F1C40F; /* Golden yellow */
21
  font-family: 'Arial', sans-serif;
22
  font-weight: 600;
23
  margin-top: 30px;
24
  }
25
 
26
  /* Style for subheaders */
27
- h3 {
28
- color: #58D68D; /* Light green */
29
  font-family: 'Arial', sans-serif;
30
  font-weight: 500;
31
  margin-top: 20px;
32
  }
33
  .custom-subheader {
34
- color: #3498DB; /* Bright blue */
35
  font-family: 'Arial', sans-serif;
36
  font-weight: 600;
37
  margin-bottom: 15px;
38
  }
39
  /* Paragraph styling */
40
  p {
41
- font-family: 'Georgia', serif;
42
  line-height: 1.8;
43
- color: #EAEAEA; /* Light gray for text */
44
  margin-bottom: 20px;
45
  }
46
  /* List styling with checkmark bullets */
@@ -49,29 +49,29 @@ st.markdown("""
49
  padding-left: 20px;
50
  }
51
  .icon-bullet li {
52
- font-family: 'Georgia', serif;
53
  font-size: 1.1em;
54
  margin-bottom: 10px;
55
- color: #D5DBDB; /* Light gray */
56
  }
57
  .icon-bullet li::before {
58
  content: "✔️";
59
  padding-right: 10px;
60
- color: #FF5733; /* Bright orange */
61
  }
62
  /* Sidebar styling */
63
  .sidebar .sidebar-content {
64
- background-color: #2C3E50; /* Dark blue-gray */
65
  border-radius: 10px;
66
  padding: 15px;
67
  }
68
  .sidebar h2 {
69
- color: #ECF0F1; /* Light gray */
70
  }
71
- /* Mobile specific styles */
72
  @media only screen and (max-width: 600px) {
73
  .stApp {
74
- background-color: #1e1e1e; /* Dark gray background for mobile */
75
  }
76
  h1, h2 {
77
  font-size: 18px; /* Adjust font size for mobile devices */
@@ -81,6 +81,7 @@ st.markdown("""
81
  """, unsafe_allow_html=True)
82
 
83
 
 
84
  st.title("DATA")
85
  st.subheader("What is data?...")
86
  st.markdown("""
 
3
 
4
  st.markdown("""
5
  <style>
6
+ /* Set a dark gradient background */
7
  body {
8
+ background: linear-gradient(135deg, #2a2a72, #009ffd);
9
  }
10
  /* Style for main title */
11
  h1 {
12
+ color: #F4A300;
13
  font-family: 'Arial', sans-serif;
14
  font-weight: 700;
15
  text-align: center;
 
17
  }
18
  /* Style for headers */
19
  h2 {
20
+ color: #fff;
21
  font-family: 'Arial', sans-serif;
22
  font-weight: 600;
23
  margin-top: 30px;
24
  }
25
 
26
  /* Style for subheaders */
27
+ h3 {
28
+ color: #00b8d4;
29
  font-family: 'Arial', sans-serif;
30
  font-weight: 500;
31
  margin-top: 20px;
32
  }
33
  .custom-subheader {
34
+ color: #F4A300;
35
  font-family: 'Arial', sans-serif;
36
  font-weight: 600;
37
  margin-bottom: 15px;
38
  }
39
  /* Paragraph styling */
40
  p {
41
+ font-family: 'Times New Roman', serif;
42
  line-height: 1.8;
43
+ color: #FFFFFF; /* Keeping the text readable on dark backgrounds */
44
  margin-bottom: 20px;
45
  }
46
  /* List styling with checkmark bullets */
 
49
  padding-left: 20px;
50
  }
51
  .icon-bullet li {
52
+ font-family: 'Times New Roman', serif;
53
  font-size: 1.1em;
54
  margin-bottom: 10px;
55
+ color: #FFFFFF; /* Keep text normal for better contrast */
56
  }
57
  .icon-bullet li::before {
58
  content: "✔️";
59
  padding-right: 10px;
60
+ color: #F4A300;
61
  }
62
  /* Sidebar styling */
63
  .sidebar .sidebar-content {
64
+ background-color: #ffffff;
65
  border-radius: 10px;
66
  padding: 15px;
67
  }
68
  .sidebar h2 {
69
+ color: #495057;
70
  }
71
+ /* Mobile specific styles */
72
  @media only screen and (max-width: 600px) {
73
  .stApp {
74
+ background: linear-gradient(135deg, #2a2a72, #009ffd);
75
  }
76
  h1, h2 {
77
  font-size: 18px; /* Adjust font size for mobile devices */
 
81
  """, unsafe_allow_html=True)
82
 
83
 
84
+
85
  st.title("DATA")
86
  st.subheader("What is data?...")
87
  st.markdown("""