mimi111222 commited on
Commit
d3f1b05
·
verified ·
1 Parent(s): 130db4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -48
app.py CHANGED
@@ -79,51 +79,31 @@ st.markdown("""
79
  50% { background-position: 100% 50%; }
80
  100% { background-position: 0% 50%; }
81
  }
82
- /* Animated Header - COMPLETELY FIXED WITH SOLID TEXT */
83
- .animated-header {
 
 
 
 
84
  text-align: center;
85
- padding: 3.5rem 2rem;
86
- margin-bottom: 2.5rem;
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
- /* Add a subtle shine effect */
100
- .animated-header::before {
101
- content: '';
102
- position: absolute;
103
- top: -50%;
104
- right: -30%;
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
- @keyframes rotate {
114
- 0% { transform: rotate(0deg); }
115
- 100% { transform: rotate(360deg); }
116
- }
117
-
118
- @keyframes fadeInDown {
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
- # Animated Header
333
  st.markdown("""
334
- <div class="animated-header">
335
- <h1 style="font-size: 4rem; font-weight: 900; color: #ffffff; margin: 0; position: relative; z-index: 100; letter-spacing: -0.02em; text-shadow: 0 0 40px rgba(102, 126, 234, 0.9), 0 4px 15px rgba(0, 0, 0, 0.8);">
336
- 🧠 AI Study Helper Pro
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