File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /* Unchanged from previous version */
1+ /* Base styles for mobile-friendliness */
22* {
33 margin : 0 ;
44 padding : 0 ;
@@ -198,6 +198,45 @@ header h1 {
198198 animation : spin 1s linear infinite;
199199}
200200
201+ .photo-frame {
202+ margin : 20px auto;
203+ padding : 10px ;
204+ background : # f3e5f5 ;
205+ border : 5px solid # ab47bc ;
206+ border-radius : 10px ;
207+ max-width : 100% ;
208+ box-shadow : 0 5px 15px rgba (0 , 0 , 0 , 0.2 );
209+ }
210+
211+ .photo-frame img {
212+ max-width : 100% ;
213+ height : auto;
214+ display : block;
215+ border-radius : 5px ;
216+ }
217+
218+ .secret-quote {
219+ text-align : center;
220+ font-style : italic;
221+ color : # 6a1b9a ;
222+ margin-top : 15px ;
223+ animation : fade-in 1.5s ease-out;
224+ }
225+
226+ .secret-signature {
227+ text-align : center;
228+ font-size : 0.9em ;
229+ color : # ab47bc ;
230+ margin-top : 10px ;
231+ }
232+
233+ .error {
234+ color : # d32f2f ;
235+ text-align : center;
236+ margin-top : 10px ;
237+ animation : shake 0.3s ease;
238+ }
239+
201240@keyframes fade-in {
202241 from { opacity : 0 ; }
203242 to { opacity : 1 ; }
@@ -225,6 +264,14 @@ header h1 {
225264 to { transform : rotate (360deg ); }
226265}
227266
267+ @keyframes shake {
268+ 0% { transform : translateX (0 ); }
269+ 25% { transform : translateX (-5px ); }
270+ 50% { transform : translateX (5px ); }
271+ 75% { transform : translateX (-5px ); }
272+ 100% { transform : translateX (0 ); }
273+ }
274+
228275.fade-in {
229276 animation : fade-in 1s ease-out;
230277}
@@ -250,5 +297,7 @@ footer {
250297 .card {
251298 height : 60px ;
252299 }
300+ .photo-frame {
301+ width : 90% ;
302+ }
253303 }
254-
You can’t perform that action at this time.
0 commit comments