Phaneendrabayi commited on
Commit
28c06d5
·
verified ·
1 Parent(s): f30ec7e

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +10 -18
Home.py CHANGED
@@ -19,16 +19,16 @@ st.markdown("""
19
  font-weight: bold;
20
  color: #4CAF50;
21
  text-align: center;
22
- text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
23
  }
24
 
25
  /* Header Styling */
26
  .header {
27
- font-size: 30px;
28
  font-weight: bold;
29
  color: #1a73e8;
30
  margin-top: 20px;
31
- text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
32
  }
33
 
34
  /* Content Box Styling */
@@ -40,21 +40,14 @@ st.markdown("""
40
  padding: 20px;
41
  background-color: rgba(255, 255, 255, 0.8);
42
  border-radius: 8px;
43
- box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
44
- transition: all 0.3s ease;
45
  }
46
 
47
  /* Hover Effect on Content Box */
48
  .content:hover {
49
- background-color: rgba(0, 0, 255, 0.1);
50
- box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
51
  transform: scale(1.02);
52
- }
53
-
54
- /* Hover Effect on Text */
55
- .content:hover h2, .content:hover p {
56
- color: #4CAF50;
57
- cursor: pointer;
58
  }
59
 
60
  /* Author Section Styling */
@@ -84,11 +77,9 @@ st.markdown('<div class="title">Welcome to "Zero to Hero ML"</div>', unsafe_allo
84
  st.markdown('<div class="section"><div class="header">About the Application</div><div class="content">'
85
  'Welcome to "Zero to Hero ML", an application designed to take you on a journey through the foundational '
86
  'concepts of Artificial Intelligence (AI), Machine Learning (ML), Deep Learning (DL), and Generative AI (GenAI). '
87
- 'Whether you are a beginner or an enthusiast looking to solidify your understanding, this app will guide you '
88
- 'through the key principles and real-world applications of AI technologies.'
89
- '<br><br> This application provides explanations, examples, and use cases for these powerful technologies to help '
90
- 'you understand their impact on industries and everyday life. Let\'s embark on the journey from "Zero" to becoming a '
91
- '"Hero" in the AI space!</div></div>', unsafe_allow_html=True)
92
 
93
  # About the Author
94
  st.markdown('<div class="section"><div class="header">About the Author</div><div class="content">'
@@ -96,3 +87,4 @@ st.markdown('<div class="section"><div class="header">About the Author</div><div
96
  'With a background in computer applications and a passion for AI technologies, I aim to share knowledge and help '
97
  'others dive into the world of data science, machine learning, and AI. Feel free to explore, learn, and connect with '
98
  'me for any queries or discussions on these exciting fields.</div></div>', unsafe_allow_html=True)
 
 
19
  font-weight: bold;
20
  color: #4CAF50;
21
  text-align: center;
22
+ margin-top: 40px;
23
  }
24
 
25
  /* Header Styling */
26
  .header {
27
+ font-size: 28px;
28
  font-weight: bold;
29
  color: #1a73e8;
30
  margin-top: 20px;
31
+ text-align: center;
32
  }
33
 
34
  /* Content Box Styling */
 
40
  padding: 20px;
41
  background-color: rgba(255, 255, 255, 0.8);
42
  border-radius: 8px;
43
+ margin-top: 20px;
44
+ transition: transform 0.3s ease, background-color 0.3s ease;
45
  }
46
 
47
  /* Hover Effect on Content Box */
48
  .content:hover {
 
 
49
  transform: scale(1.02);
50
+ background-color: rgba(0, 0, 255, 0.1);
 
 
 
 
 
51
  }
52
 
53
  /* Author Section Styling */
 
77
  st.markdown('<div class="section"><div class="header">About the Application</div><div class="content">'
78
  'Welcome to "Zero to Hero ML", an application designed to take you on a journey through the foundational '
79
  'concepts of Artificial Intelligence (AI), Machine Learning (ML), Deep Learning (DL), and Generative AI (GenAI). '
80
+ 'This app is built for beginners and enthusiasts who want to understand key principles and real-world applications '
81
+ 'of AI technologies. From understanding basic concepts to seeing how AI impacts industries, this app will guide you '
82
+ 'every step of the way.</div></div>', unsafe_allow_html=True)
 
 
83
 
84
  # About the Author
85
  st.markdown('<div class="section"><div class="header">About the Author</div><div class="content">'
 
87
  'With a background in computer applications and a passion for AI technologies, I aim to share knowledge and help '
88
  'others dive into the world of data science, machine learning, and AI. Feel free to explore, learn, and connect with '
89
  'me for any queries or discussions on these exciting fields.</div></div>', unsafe_allow_html=True)
90
+