Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,51 +79,31 @@ st.markdown("""
|
|
| 79 |
50% { background-position: 100% 50%; }
|
| 80 |
100% { background-position: 0% 50%; }
|
| 81 |
}
|
| 82 |
-
/*
|
| 83 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
text-align: center;
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
|
| 88 |
-
border-radius: 30px;
|
| 89 |
-
border: 3px solid rgba(102, 126, 234, 0.6);
|
| 90 |
-
box-shadow:
|
| 91 |
-
0 25px 70px rgba(0, 0, 0, 0.6),
|
| 92 |
-
0 10px 40px rgba(102, 126, 234, 0.4),
|
| 93 |
-
inset 0 2px 0 rgba(255, 255, 255, 0.15);
|
| 94 |
-
animation: fadeInDown 0.8s ease;
|
| 95 |
-
position: relative;
|
| 96 |
-
overflow: visible;
|
| 97 |
}
|
| 98 |
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
width: 300px;
|
| 106 |
-
height: 300px;
|
| 107 |
-
background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
|
| 108 |
-
animation: rotate 10s linear infinite;
|
| 109 |
-
pointer-events: none;
|
| 110 |
-
z-index: 0;
|
| 111 |
}
|
| 112 |
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
from {
|
| 120 |
-
opacity: 0;
|
| 121 |
-
transform: translateY(-30px);
|
| 122 |
-
}
|
| 123 |
-
to {
|
| 124 |
-
opacity: 1;
|
| 125 |
-
transform: translateY(0);
|
| 126 |
-
}
|
| 127 |
}
|
| 128 |
/* Premium Tabs */
|
| 129 |
.stTabs [data-baseweb="tab-list"] {
|
|
@@ -329,15 +309,11 @@ header {visibility: hidden;}
|
|
| 329 |
</style>
|
| 330 |
""", unsafe_allow_html=True)
|
| 331 |
|
| 332 |
-
#
|
| 333 |
st.markdown("""
|
| 334 |
-
<div class="
|
| 335 |
-
<
|
| 336 |
-
|
| 337 |
-
</h1>
|
| 338 |
-
<p style="color: #ffffff; font-size: 1.4rem; margin-top: 1rem; font-weight: 400; position: relative; z-index: 100; text-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6); letter-spacing: 0.5px;">
|
| 339 |
-
⚡ Supercharge Your Learning with Advanced AI Technology
|
| 340 |
-
</p>
|
| 341 |
</div>
|
| 342 |
""", unsafe_allow_html=True)
|
| 343 |
|
|
|
|
| 79 |
50% { background-position: 100% 50%; }
|
| 80 |
100% { background-position: 0% 50%; }
|
| 81 |
}
|
| 82 |
+
/* NEW HEADER - Simple and Visible */
|
| 83 |
+
.hero-header {
|
| 84 |
+
background: linear-gradient(135deg, #1e1e3f 0%, #2d2d5f 100%);
|
| 85 |
+
padding: 3rem 2rem;
|
| 86 |
+
border-radius: 25px;
|
| 87 |
+
margin-bottom: 2rem;
|
| 88 |
text-align: center;
|
| 89 |
+
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
| 90 |
+
border: 2px solid #667eea;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
}
|
| 92 |
|
| 93 |
+
.hero-title {
|
| 94 |
+
font-size: 3.5rem;
|
| 95 |
+
font-weight: 900;
|
| 96 |
+
color: #ffffff;
|
| 97 |
+
margin: 0 0 1rem 0;
|
| 98 |
+
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
}
|
| 100 |
|
| 101 |
+
.hero-subtitle {
|
| 102 |
+
font-size: 1.3rem;
|
| 103 |
+
color: #ffffff;
|
| 104 |
+
margin: 0;
|
| 105 |
+
font-weight: 400;
|
| 106 |
+
opacity: 0.95;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
}
|
| 108 |
/* Premium Tabs */
|
| 109 |
.stTabs [data-baseweb="tab-list"] {
|
|
|
|
| 309 |
</style>
|
| 310 |
""", unsafe_allow_html=True)
|
| 311 |
|
| 312 |
+
# New Simple Header
|
| 313 |
st.markdown("""
|
| 314 |
+
<div class="hero-header">
|
| 315 |
+
<div class="hero-title">🧠 AI Study Helper Pro</div>
|
| 316 |
+
<div class="hero-subtitle">⚡ Supercharge Your Learning with Advanced AI Technology</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 317 |
</div>
|
| 318 |
""", unsafe_allow_html=True)
|
| 319 |
|