Spaces:
Running
Running
Update pages/gen_ai.py
Browse files- pages/gen_ai.py +12 -11
pages/gen_ai.py
CHANGED
@@ -15,36 +15,37 @@ st.set_page_config(page_title="GenAI Mentor Chat", layout="centered")
|
|
15 |
st.markdown("""
|
16 |
<style>
|
17 |
.main {
|
18 |
-
background: linear-gradient(135deg, #
|
19 |
-
color: white;
|
20 |
padding: 2rem;
|
|
|
21 |
}
|
22 |
.stButton>button {
|
23 |
background: #ffffff10;
|
24 |
-
border:
|
25 |
color: white;
|
26 |
-
font-size:
|
27 |
-
padding: 0.7em 1.1em;
|
28 |
-
border-radius: 10px;
|
29 |
-
width: 100%;
|
30 |
-
transition: 0.2s ease;
|
31 |
font-weight: 600;
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
.stButton>button:hover {
|
34 |
background: #ffffff30;
|
35 |
border-color: #fff;
|
36 |
color: #ffffff;
|
37 |
}
|
38 |
-
h1, h3, label {
|
39 |
color: #ffffff;
|
40 |
text-align: center;
|
41 |
}
|
42 |
hr {
|
43 |
-
border: 1px solid #
|
|
|
44 |
}
|
45 |
</style>
|
46 |
""", unsafe_allow_html=True)
|
47 |
-
|
48 |
# --- Title ---
|
49 |
st.title("🤖 GenAI Mentor Chat")
|
50 |
|
|
|
15 |
st.markdown("""
|
16 |
<style>
|
17 |
.main {
|
18 |
+
background: linear-gradient(135deg, #3e32a8 0%, #80ffe0 100%);
|
|
|
19 |
padding: 2rem;
|
20 |
+
font-family: 'Segoe UI', sans-serif;
|
21 |
}
|
22 |
.stButton>button {
|
23 |
background: #ffffff10;
|
24 |
+
border: 2px solid #ffffff50;
|
25 |
color: white;
|
26 |
+
font-size: 18px;
|
|
|
|
|
|
|
|
|
27 |
font-weight: 600;
|
28 |
+
padding: 0.8em 1.2em;
|
29 |
+
border-radius: 12px;
|
30 |
+
width: 100%;
|
31 |
+
transition: 0.3s ease;
|
32 |
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
|
33 |
}
|
34 |
.stButton>button:hover {
|
35 |
background: #ffffff30;
|
36 |
border-color: #fff;
|
37 |
color: #ffffff;
|
38 |
}
|
39 |
+
h1, h3, p, label {
|
40 |
color: #ffffff;
|
41 |
text-align: center;
|
42 |
}
|
43 |
hr {
|
44 |
+
border: 1px solid #ffffff50;
|
45 |
+
margin: 2em 0;
|
46 |
}
|
47 |
</style>
|
48 |
""", unsafe_allow_html=True)
|
|
|
49 |
# --- Title ---
|
50 |
st.title("🤖 GenAI Mentor Chat")
|
51 |
|