Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,21 +7,31 @@ st.set_page_config(
|
|
| 7 |
page_title="GestureGuru",
|
| 8 |
page_icon="🤖",
|
| 9 |
layout="wide",
|
| 10 |
-
initial_sidebar_state="
|
| 11 |
)
|
| 12 |
|
| 13 |
# --- Custom Style ---
|
| 14 |
st.markdown("""
|
| 15 |
<style>
|
| 16 |
body {
|
| 17 |
-
background:
|
|
|
|
|
|
|
|
|
|
| 18 |
font-family: 'Segoe UI', sans-serif;
|
| 19 |
color: #333;
|
| 20 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
.hero {
|
| 22 |
text-align: center;
|
| 23 |
padding: 5rem 2rem;
|
| 24 |
-
background: linear-gradient(135deg,
|
| 25 |
border-radius: 24px;
|
| 26 |
color: white;
|
| 27 |
margin-bottom: 3rem;
|
|
@@ -38,11 +48,12 @@ body {
|
|
| 38 |
margin-top: 0.5em;
|
| 39 |
}
|
| 40 |
.section {
|
| 41 |
-
background:
|
| 42 |
border-radius: 20px;
|
| 43 |
padding: 2.5rem;
|
| 44 |
margin-bottom: 2.5rem;
|
| 45 |
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
|
|
|
|
| 46 |
}
|
| 47 |
h3 {
|
| 48 |
font-size: 1.8rem;
|
|
@@ -110,7 +121,3 @@ st.markdown("""
|
|
| 110 |
<p>Email: <a href="mailto:your@email.com">your@email.com</a></p>
|
| 111 |
</div>
|
| 112 |
""", unsafe_allow_html=True)
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
|
|
|
| 7 |
page_title="GestureGuru",
|
| 8 |
page_icon="🤖",
|
| 9 |
layout="wide",
|
| 10 |
+
initial_sidebar_state="expanded"
|
| 11 |
)
|
| 12 |
|
| 13 |
# --- Custom Style ---
|
| 14 |
st.markdown("""
|
| 15 |
<style>
|
| 16 |
body {
|
| 17 |
+
background-image: url('https://images.unsplash.com/photo-1581092160613-7f07e5d14c86?auto=format&fit=crop&w=1920&q=80');
|
| 18 |
+
background-size: cover;
|
| 19 |
+
background-attachment: fixed;
|
| 20 |
+
background-position: center;
|
| 21 |
font-family: 'Segoe UI', sans-serif;
|
| 22 |
color: #333;
|
| 23 |
}
|
| 24 |
+
.sidebar .sidebar-content {
|
| 25 |
+
background-color: rgba(255, 255, 255, 0.75);
|
| 26 |
+
padding: 1rem;
|
| 27 |
+
border-radius: 16px;
|
| 28 |
+
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
| 29 |
+
backdrop-filter: blur(8px);
|
| 30 |
+
}
|
| 31 |
.hero {
|
| 32 |
text-align: center;
|
| 33 |
padding: 5rem 2rem;
|
| 34 |
+
background: linear-gradient(135deg, rgba(102,126,234,0.9), rgba(118,75,162,0.9));
|
| 35 |
border-radius: 24px;
|
| 36 |
color: white;
|
| 37 |
margin-bottom: 3rem;
|
|
|
|
| 48 |
margin-top: 0.5em;
|
| 49 |
}
|
| 50 |
.section {
|
| 51 |
+
background: rgba(255, 255, 255, 0.85);
|
| 52 |
border-radius: 20px;
|
| 53 |
padding: 2.5rem;
|
| 54 |
margin-bottom: 2.5rem;
|
| 55 |
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
|
| 56 |
+
backdrop-filter: blur(4px);
|
| 57 |
}
|
| 58 |
h3 {
|
| 59 |
font-size: 1.8rem;
|
|
|
|
| 121 |
<p>Email: <a href="mailto:your@email.com">your@email.com</a></p>
|
| 122 |
</div>
|
| 123 |
""", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|