@@ -550,6 +550,144 @@ html[data-theme-resolved="dark"] .philly-phillies-red {
550550 1px 1px 0 rgba (255 , 255 , 255 , 0.7 );
551551}
552552
553+ /* Markdown Table Styling */
554+ .tip-content table {
555+ width : 100% ;
556+ margin : 2rem 0 ;
557+ border-collapse : separate;
558+ border-spacing : 0 ;
559+ border : 1px solid var (--border-color );
560+ border-radius : 0.5rem ;
561+ overflow : hidden;
562+ font-size : 0.95rem ;
563+ line-height : 1.6 ;
564+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.1 );
565+ transition : border-color 0.3s ease;
566+ }
567+
568+ .tip-content table thead {
569+ background-color : var (--primary-color );
570+ color : white;
571+ }
572+
573+ .tip-content table thead th {
574+ padding : 1rem 1.5rem ;
575+ text-align : left;
576+ font-weight : 600 ;
577+ font-size : 0.9rem ;
578+ text-transform : uppercase;
579+ letter-spacing : 0.5px ;
580+ border-bottom : 3px solid var (--primary-dark );
581+ position : relative;
582+ }
583+
584+ .tip-content table thead th : not (: last-child ) {
585+ border-right : 1px solid rgba (255 , 255 , 255 , 0.2 );
586+ }
587+
588+ .tip-content table tbody tr {
589+ background-color : var (--bg-primary );
590+ transition : background-color 0.2s ease;
591+ }
592+
593+ .tip-content table tbody tr : nth-child (even) {
594+ background-color : var (--bg-secondary );
595+ }
596+
597+ .tip-content table tbody tr : hover {
598+ background-color : var (--bg-tertiary );
599+ transform : scale (1.01 );
600+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
601+ }
602+
603+ .tip-content table tbody td {
604+ padding : 1.25rem 1.5rem ;
605+ border-bottom : 1px solid var (--border-color );
606+ vertical-align : top;
607+ line-height : 1.7 ;
608+ }
609+
610+ .tip-content table tbody td : not (: last-child ) {
611+ border-right : 1px solid var (--border-color );
612+ }
613+
614+ .tip-content table tbody tr : last-child td {
615+ border-bottom : none;
616+ }
617+
618+ /* Dark theme table adjustments */
619+ html [data-theme = "dark" ] .tip-content table ,
620+ html [data-theme-resolved = "dark" ] .tip-content table {
621+ border-color : var (--border-color );
622+ box-shadow : 0 2px 8px rgba (0 , 0 , 0 , 0.3 );
623+ }
624+
625+ html [data-theme = "dark" ] .tip-content table thead ,
626+ html [data-theme = "dark" ] .tip-content table thead {
627+ background-color : var (--primary-color );
628+ }
629+
630+ html [data-theme = "dark" ] .tip-content table tbody tr : hover ,
631+ html [data-theme = "dark" ] .tip-content table tbody tr : hover {
632+ background-color : var (--bg-tertiary );
633+ box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.4 );
634+ }
635+
636+ /* Responsive table styling */
637+ @media (max-width : 768px ) {
638+ .tip-content table {
639+ font-size : 0.875rem ;
640+ margin : 1.5rem 0 ;
641+ }
642+
643+ .tip-content table thead th ,
644+ .tip-content table tbody td {
645+ padding : 0.75rem 1rem ;
646+ }
647+
648+ .tip-content table thead th {
649+ font-size : 0.8rem ;
650+ }
651+ }
652+
653+ /* Enhanced table for comparison tables */
654+ .tip-content table .comparison-table {
655+ margin : 2.5rem 0 ;
656+ }
657+
658+ .tip-content table .comparison-table thead th : first-child {
659+ background : linear-gradient (135deg , # dc3545, # c82333 );
660+ color : white;
661+ }
662+
663+ .tip-content table .comparison-table thead th : last-child {
664+ background : linear-gradient (135deg , # 28a745, # 218838 );
665+ color : white;
666+ }
667+
668+ .tip-content table .comparison-table tbody td {
669+ position : relative;
670+ }
671+
672+ .tip-content table .comparison-table tbody td : first-child {
673+ background-color : rgba (220 , 53 , 69 , 0.05 );
674+ }
675+
676+ .tip-content table .comparison-table tbody td : last-child {
677+ background-color : rgba (40 , 167 , 69 , 0.05 );
678+ }
679+
680+ /* Dark theme comparison table adjustments */
681+ html [data-theme = "dark" ] .tip-content table .comparison-table tbody td : first-child ,
682+ html [data-theme-resolved = "dark" ] .tip-content table .comparison-table tbody td : first-child {
683+ background-color : rgba (220 , 53 , 69 , 0.15 );
684+ }
685+
686+ html [data-theme = "dark" ] .tip-content table .comparison-table tbody td : last-child ,
687+ html [data-theme-resolved = "dark" ] .tip-content table .comparison-table tbody td : last-child {
688+ background-color : rgba (40 , 167 , 69 , 0.15 );
689+ }
690+
553691/* Header icon styling */
554692.header-icon {
555693 width : 300px ;
0 commit comments