1+ /* ...existing code... */
2+
13/* Light/Dark theme variables */
24: root {
35 --bg : # ffffff ;
@@ -127,7 +129,6 @@ a:hover {
127129 text-shadow : 1px 1px 2px rgba (255 , 255 , 255 , 0.25 );
128130}
129131
130-
131132.navbar ul {
132133 list-style : none;
133134 display : flex;
@@ -259,7 +260,7 @@ a:hover {
259260/* Layout */
260261.grid {
261262 display : grid;
262- gap : 1 rem ;
263+ gap : 1.25 rem ; /* MODIFIED: Increased spacing */
263264 grid-template-columns : repeat (auto-fill, minmax (220px , 1fr ));
264265 margin-top : 1rem ;
265266}
@@ -287,21 +288,34 @@ a:hover {
287288 background : var (--bg-alt );
288289 border : 1px solid var (--border );
289290 border-radius : var (--radius );
290- padding : 1 rem ;
291+ padding : 1.25 rem ; /* MODIFIED: Increased padding */
291292 display : flex;
292293 flex-direction : column;
293294 gap : 0.5rem ;
294295 box-shadow : 0 1px 2px rgba (0 , 0 , 0 , 0.08 );
295296}
296297
298+ /* NEW: Style for card description text */
299+ .card p {
300+ font-size : 0.9rem ;
301+ color : # cbd5e1 ; /* Assumes dark theme, adjust as needed */
302+ line-height : 1.5 ;
303+ margin : 0 0 1rem 0 ;
304+ }
305+
297306.home-page .card {
298307 background : rgba (26 , 92 , 102 , 0.2 );
299308 border : 2px solid rgba (0 , 217 , 255 , 0.5 );
309+ /* MODIFIED: Added transitions for hover */
310+ transition : transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
311+ will-change : transform;
300312}
301313
302- .home-page .card : hover h3 {
303- transform : translateY (-7px );
304- color : rgb (0 , 143 , 165 );
314+ /* MODIFIED: Enhanced hover effect */
315+ .home-page .card : hover {
316+ transform : translateY (-6px );
317+ border-color : rgba (0 , 217 , 255 , 0.9 );
318+ box-shadow : 0 10px 25px rgba (0 , 217 , 255 , 0.1 );
305319}
306320
307321.card h3 {
@@ -310,6 +324,11 @@ a:hover {
310324 transition : transform 1.5s ease;
311325}
312326
327+ .home-page .card : hover h3 {
328+ transform : translateY (-7px );
329+ color : # 00d9ff ; /* MODIFIED: Brighter color */
330+ }
331+
313332.card-footer {
314333 margin-top : auto;
315334 font-size : 0.85rem ;
@@ -325,38 +344,36 @@ a:hover {
325344 text-decoration : none;
326345 font-weight : 500 ;
327346 font-size : 0.9rem ;
328- transition : background 0.3s ease;
347+ transition : all 0.3s ease; /* MODIFIED: Changed to 'all' */
329348}
330349
331350.card-link-button : hover {
332- background : # 215b6a ;
351+ background : linear-gradient ( 45 deg , rgb ( 10 , 176 , 255 ) , rgb ( 10 , 104 , 115 )); /* MODIFIED: Brighter gradient */
333352 text-decoration : none;
353+ transform : scale (1.05 ); /* MODIFIED: Added pop */
354+ box-shadow : 0 4px 15px rgba (0 , 166 , 255 , 0.25 ); /* MODIFIED: Added glow */
355+ }
356+
357+ /* NEW: Added active state for click */
358+ .card-link-button : active {
359+ transform : scale (0.98 );
360+ box-shadow : none;
334361}
335362
336363.chart-placeholder {
337- background : repeating-linear-gradient (45deg ,
338- var (--bg ),
339- var (--bg ) 10px ,
340- var (--bg-alt ) 10px ,
341- var (--bg-alt ) 20px );
364+ background : repeating-linear-gradient (
365+ 45deg ,
366+ var (--bg ),
367+ var (--bg ) 10px ,
368+ var (--bg-alt ) 10px ,
369+ var (--bg-alt ) 20px
370+ );
342371 border : 1px dashed var (--border );
343372 padding : 2rem ;
344373 text-align : center;
345374 border-radius : var (--radius );
346375}
347376
348-
349- .home-page .card {
350- background : rgba (26 , 92 , 102 , 0.2 );
351- border : 2px solid rgba (0 , 217 , 255 , 0.5 );
352- }
353-
354- .home-page .card : hover h3 {
355- transform : translateY (-7px );
356- color : rgb (0 , 143 , 165 );
357- }
358-
359-
360377/* Buttons & inputs */
361378button ,
362379input ,
@@ -476,7 +493,7 @@ blockquote {
476493 pointer-events : none;
477494}
478495
479- .bg-layer + .bg-layer {
496+ .bg-layer + .bg-layer {
480497 opacity : 0 ;
481498}
482499
@@ -509,7 +526,6 @@ blockquote {
509526 background : linear-gradient (135deg , # 89f7fe 0% , # 66a6ff 50% , # 4facfe 100% ) !important ;
510527}
511528
512-
513529/* Weather Animations: Sun, Clouds, Rain, Snow, Fog, Storm */
514530.sun-wrap {
515531 position : absolute;
@@ -527,13 +543,11 @@ blockquote {
527543 height : 72px ;
528544 border-radius : 50% ;
529545 background : radial-gradient (circle at 30% 30% , # fff8b0, # ffd36b 40% , rgba (255 , 183 , 77 , 0.95 ) 60% );
530- box-shadow : 0 0 40px 12px rgba (255 , 200 , 80 , 0.12 ),
531- 0 0 80px 36px rgba (255 , 183 , 77 , 0.06 );
546+ box-shadow : 0 0 40px 12px rgba (255 , 200 , 80 , 0.12 ), 0 0 80px 36px rgba (255 , 183 , 77 , 0.06 );
532547 animation : sun-pulse 6s ease-in-out infinite, sun-bob 10s ease-in-out infinite;
533548}
534549
535550@keyframes sun-pulse {
536-
537551 0% ,
538552 100% {
539553 transform : scale (1 );
@@ -547,7 +561,6 @@ blockquote {
547561}
548562
549563@keyframes sun-bob {
550-
551564 0% ,
552565 100% {
553566 transform : translateY (0 );
@@ -674,7 +687,6 @@ blockquote {
674687}
675688
676689@keyframes lightning-flash {
677-
678690 0% ,
679691 85% ,
680692 100% {
@@ -725,7 +737,6 @@ blockquote {
725737 }
726738}
727739
728-
729740/**Pagination **/
730741
731742.pagination {
@@ -757,7 +768,6 @@ blockquote {
757768 cursor : not-allowed;
758769}
759770
760-
761771.hero-section {
762772 position : relative;
763773 height : 54vh ;
@@ -797,6 +807,7 @@ blockquote {
797807 color : # fafafa ;
798808 font-style : italic;
799809}
810+
800811@media (max-width : 768px ) {
801812 .hero-title {
802813 font-size : 2.2rem ;
@@ -815,27 +826,22 @@ blockquote {
815826 }
816827}
817828
818-
819829.fav-icon {
820830 cursor : pointer;
821- padding : 6px ;
831+ padding : 6px ;
822832 border-radius : 50% ;
823833 display : flex;
824834 align-items : center;
825835 justify-content : center;
826836 background-color : rgb (242 , 215 , 220 );
827837 transition : all 0.25s ease;
828- box-shadow :
829- 0 4px 6px rgba (16 , 11 , 11 , 0.1 ),
830- 0 0 10px rgba (242 , 215 , 220 , 0.4 );
838+ box-shadow : 0 4px 6px rgba (16 , 11 , 11 , 0.1 ), 0 0 10px rgba (242 , 215 , 220 , 0.4 );
831839}
832840
833841.fav-icon : hover {
834842 background-color : rgb (246 , 215 , 220 );
835843 transform : scale (1.1 );
836- box-shadow :
837- 0 6px 8px rgba (16 , 11 , 11 , 0.15 ),
838- 0 0 15px rgba (242 , 215 , 220 , 0.5 );
844+ box-shadow : 0 6px 8px rgba (16 , 11 , 11 , 0.15 ), 0 0 15px rgba (242 , 215 , 220 , 0.5 );
839845}
840846
841847.fav-icon : active {
@@ -867,7 +873,6 @@ blockquote {
867873 animation : fadeSlideIn 0.2s ease;
868874}
869875
870-
871876.favourites-dropdown select {
872877 width : 100% ;
873878 border : none;
@@ -884,9 +889,10 @@ blockquote {
884889.favourites-dropdown select : hover {
885890 background : # f0f0f0 ;
886891}
892+
887893.favourites-option {
888894 background : # 4a90e2 ;
889- color : # ffffff ;
895+ color : # ffffff ;
890896 transition : background 0.3s ease;
891897 cursor : pointer;
892898}
@@ -1057,3 +1063,5 @@ blockquote {
10571063 opacity : 0.7 ;
10581064 cursor : default;
10591065}
1066+
1067+ /* ...existing code... */
0 commit comments