Dhom1 commited on
Commit
4d3aa69
·
verified ·
1 Parent(s): 0b76f3d

Update src/style.css

Browse files
Files changed (1) hide show
  1. src/style.css +31 -5
src/style.css CHANGED
@@ -130,6 +130,31 @@ main.stApp {
130
  z-index: 1;
131
  }
132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  /* === Timeline styles === */
134
  .timeline {
135
  margin-top: 2rem;
@@ -140,13 +165,14 @@ main.stApp {
140
  .timeline-card {
141
  display: flex;
142
  align-items: flex-start;
143
- background: rgba(255, 255, 255, 0.05);
 
144
  border-left: 6px solid #36ba01;
145
  border-radius: 12px;
146
- padding: 1rem;
147
  margin-bottom: 1rem;
148
  backdrop-filter: blur(6px);
149
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
150
  }
151
  .timeline-card .icon {
152
  font-size: 1.6rem;
@@ -157,10 +183,10 @@ main.stApp {
157
  .timeline-card h4 {
158
  margin: 0;
159
  font-size: 1.1rem;
160
- color: #f5faff;
161
  }
162
  .timeline-card p {
163
  margin: 0.3rem 0 0;
164
  font-size: 0.9rem;
165
- color: #cad8e5;
166
  }
 
130
  z-index: 1;
131
  }
132
 
133
+ /* === Override default Streamlit button styling === */
134
+ .stButton > button {
135
+ background: linear-gradient(90deg, #004c97, #36BA01);
136
+ color: white;
137
+ border: none;
138
+ border-radius: 50px;
139
+ padding: 1rem 2rem;
140
+ font-size: 1.2rem;
141
+ font-weight: 600;
142
+ cursor: pointer;
143
+ box-shadow: 0 0 25px rgba(54, 186, 1, 0.4);
144
+ transition: transform 0.3s ease-in-out;
145
+ animation: pulseAI 2.5s infinite;
146
+ }
147
+
148
+ .stButton > button:hover {
149
+ transform: scale(1.05);
150
+ }
151
+
152
+ @keyframes pulseAI {
153
+ 0% { transform: scale(1); }
154
+ 50% { transform: scale(1.03); }
155
+ 100% { transform: scale(1); }
156
+ }
157
+
158
  /* === Timeline styles === */
159
  .timeline {
160
  margin-top: 2rem;
 
165
  .timeline-card {
166
  display: flex;
167
  align-items: flex-start;
168
+ /* Slightly brighter card background for better contrast */
169
+ background: rgba(255, 255, 255, 0.08);
170
  border-left: 6px solid #36ba01;
171
  border-radius: 12px;
172
+ padding: 1.2rem;
173
  margin-bottom: 1rem;
174
  backdrop-filter: blur(6px);
175
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
176
  }
177
  .timeline-card .icon {
178
  font-size: 1.6rem;
 
183
  .timeline-card h4 {
184
  margin: 0;
185
  font-size: 1.1rem;
186
+ color: #e5f0fb;
187
  }
188
  .timeline-card p {
189
  margin: 0.3rem 0 0;
190
  font-size: 0.9rem;
191
+ color: #a9bcd4;
192
  }