Spaces:
Sleeping
Sleeping
Update Home_page.py
Browse files- 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:
|
| 13 |
-
border-radius:
|
| 14 |
-
box-shadow:
|
| 15 |
}
|
| 16 |
/* Font Size for Consistency */
|
| 17 |
.medium-font {
|
| 18 |
-
font-size:
|
| 19 |
}
|
| 20 |
/* Title Styling */
|
| 21 |
.main-title {
|
| 22 |
text-align: center;
|
| 23 |
color: #D81B60; /* Pink */
|
| 24 |
-
font-size:
|
| 25 |
font-weight: bold;
|
| 26 |
}
|
| 27 |
/* Subtitle */
|
| 28 |
.sub-title {
|
| 29 |
text-align: center;
|
| 30 |
color: #283593; /* Dark Blue */
|
| 31 |
-
font-size:
|
| 32 |
font-weight: bold;
|
| 33 |
}
|
| 34 |
/* Section Titles */
|
| 35 |
.section-title {
|
| 36 |
color: #9C27B0; /* Purple */
|
| 37 |
-
font-size:
|
| 38 |
font-weight: bold;
|
| 39 |
-
margin-bottom:
|
| 40 |
}
|
| 41 |
/* Paragraph Content */
|
| 42 |
.content {
|
| 43 |
-
font-size:
|
| 44 |
color: #2C3E50;
|
| 45 |
-
line-height: 1.
|
| 46 |
}
|
| 47 |
/* Bullet Points */
|
| 48 |
.content ul {
|
| 49 |
-
font-size:
|
| 50 |
color: #2C3E50;
|
| 51 |
-
padding-left:
|
| 52 |
}
|
| 53 |
.content li {
|
| 54 |
-
margin:
|
| 55 |
}
|
| 56 |
/* Links */
|
| 57 |
.content a {
|
| 58 |
color: #1565C0;
|
| 59 |
text-decoration: none;
|
| 60 |
font-weight: bold;
|
| 61 |
-
font-size:
|
| 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:
|
| 73 |
-
<h1 style="color: #880085; font-size:
|
| 74 |
-
<h2 style="color: #000080; font-size:
|
| 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 |
|