@@ -428,6 +428,13 @@ a:hover {
428428 text-align : center !important ;
429429 }
430430
431+ .card h2 {
432+ text-align : center !important ;
433+ display : block !important ;
434+ width : 100% !important ;
435+ margin : 1rem auto !important ;
436+ }
437+
431438 .card ul {
432439 text-align : left !important ;
433440 max-width : 280px ;
@@ -452,6 +459,8 @@ a:hover {
452459 font-size : 2rem !important ;
453460 text-align : center !important ;
454461 margin : 1rem auto !important ;
462+ display : block !important ;
463+ width : 100% !important ;
455464 }
456465
457466 p {
@@ -460,6 +469,28 @@ a:hover {
460469 margin : 1rem auto !important ;
461470 }
462471
472+ /* Force center all buttons on mobile */
473+ .btn {
474+ display : block !important ;
475+ margin : 1rem auto !important ;
476+ text-align : center !important ;
477+ width : fit-content !important ;
478+ }
479+
480+ .card .btn {
481+ display : block !important ;
482+ margin : 1rem auto !important ;
483+ text-align : center !important ;
484+ width : fit-content !important ;
485+ }
486+
487+ .main-content .btn {
488+ display : block !important ;
489+ margin : 1rem auto !important ;
490+ text-align : center !important ;
491+ width : fit-content !important ;
492+ }
493+
463494 /* Hamburger menu improvements */
464495 .hamburger {
465496 width : 25px ;
@@ -481,6 +512,29 @@ a:hover {
481512 .mobile-toggle .active .hamburger : nth-child (3 ) {
482513 transform : rotate (45deg ) translate (-6px , -6px );
483514 }
515+
516+ /* Additional centering rules for stubborn elements */
517+ .main-content h2 ,
518+ .card h2 ,
519+ h2 {
520+ text-align : center !important ;
521+ display : block !important ;
522+ width : 100% !important ;
523+ margin-left : auto !important ;
524+ margin-right : auto !important ;
525+ }
526+
527+ .main-content .btn ,
528+ .card .btn ,
529+ .btn ,
530+ a .btn {
531+ display : block !important ;
532+ margin : 1rem auto !important ;
533+ text-align : center !important ;
534+ width : fit-content !important ;
535+ margin-left : auto !important ;
536+ margin-right : auto !important ;
537+ }
484538}
485539
486540
0 commit comments