varshitha22 commited on
Commit
fa39c5e
Β·
verified Β·
1 Parent(s): f2b8919

Update Home_page.py

Browse files
Files changed (1) hide show
  1. Home_page.py +17 -17
Home_page.py CHANGED
@@ -9,56 +9,56 @@ st.markdown("""
9
  /* Background Gradient for Sections */
10
  .ml-section {
11
  background: linear-gradient(to right, #E1F5FE, #FCE4EC);
12
- padding: 25px;
13
- border-radius: 12px;
14
- box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
15
  }
16
  /* Font Size for Consistency */
17
  .medium-font {
18
- font-size: 20px !important;
19
  }
20
  /* Title Styling */
21
  .main-title {
22
  text-align: center;
23
  color: #D81B60; /* Pink */
24
- font-size: 48px;
25
  font-weight: bold;
26
  }
27
  /* Subtitle */
28
  .sub-title {
29
  text-align: center;
30
  color: #283593; /* Dark Blue */
31
- font-size: 48px;
32
  font-weight: bold;
33
  }
34
  /* Section Titles */
35
  .section-title {
36
  color: #9C27B0; /* Purple */
37
- font-size: 53px;
38
  font-weight: bold;
39
- margin-bottom: 12px;
40
  }
41
  /* Paragraph Content */
42
  .content {
43
- font-size: 20px;
44
  color: #2C3E50;
45
- line-height: 1.8;
46
  }
47
  /* Bullet Points */
48
  .content ul {
49
- font-size: 20px;
50
  color: #2C3E50;
51
- padding-left: 30px;
52
  }
53
  .content li {
54
- margin: 10px 0;
55
  }
56
  /* Links */
57
  .content a {
58
  color: #1565C0;
59
  text-decoration: none;
60
  font-weight: bold;
61
- font-size: 20px;
62
  }
63
  .content a:hover {
64
  text-decoration: underline;
@@ -69,9 +69,9 @@ st.markdown("""
69
 
70
  # Title & Subtitle
71
  st.markdown("""
72
- <div class="ml-section medium-font" style="text-align: center; margin-bottom: 25px;">
73
- <h1 style="color: #880085; font-size: 48px;">πŸš€ Unlock the Power of AI & Machine Learning!</h1>
74
- <h2 style="color: #000080; font-size: 33px;">Start from zero and become a hero! πŸš€πŸ“ˆ</h2>
75
  </div>
76
  """, unsafe_allow_html=True)
77
 
 
9
  /* Background Gradient for Sections */
10
  .ml-section {
11
  background: linear-gradient(to right, #E1F5FE, #FCE4EC);
12
+ padding: 20px;
13
+ border-radius: 10px;
14
+ box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
15
  }
16
  /* Font Size for Consistency */
17
  .medium-font {
18
+ font-size: 18px !important;
19
  }
20
  /* Title Styling */
21
  .main-title {
22
  text-align: center;
23
  color: #D81B60; /* Pink */
24
+ font-size: 36px;
25
  font-weight: bold;
26
  }
27
  /* Subtitle */
28
  .sub-title {
29
  text-align: center;
30
  color: #283593; /* Dark Blue */
31
+ font-size: 32px;
32
  font-weight: bold;
33
  }
34
  /* Section Titles */
35
  .section-title {
36
  color: #9C27B0; /* Purple */
37
+ font-size: 30px;
38
  font-weight: bold;
39
+ margin-bottom: 10px;
40
  }
41
  /* Paragraph Content */
42
  .content {
43
+ font-size: 18px;
44
  color: #2C3E50;
45
+ line-height: 1.6;
46
  }
47
  /* Bullet Points */
48
  .content ul {
49
+ font-size: 18px;
50
  color: #2C3E50;
51
+ padding-left: 25px;
52
  }
53
  .content li {
54
+ margin: 8px 0;
55
  }
56
  /* Links */
57
  .content a {
58
  color: #1565C0;
59
  text-decoration: none;
60
  font-weight: bold;
61
+ font-size: 18px;
62
  }
63
  .content a:hover {
64
  text-decoration: underline;
 
69
 
70
  # Title & Subtitle
71
  st.markdown("""
72
+ <div class="ml-section medium-font" style="text-align: center; margin-bottom: 20px;">
73
+ <h1 style="color: #880085; font-size: 36px;">πŸš€ Unlock the Power of AI & Machine Learning!</h1>
74
+ <h2 style="color: #000080; font-size: 28px;">Start from zero and become a hero! πŸš€πŸ“ˆ</h2>
75
  </div>
76
  """, unsafe_allow_html=True)
77